PageSourceSearch

https://app.usenotch.ai/_next/static/chunks/43672-3d4146434d9e9a54.js

js usenotch.ai collected 2026-10-04 02:34:07 UTC 142,107 bytes, 14 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43672],{26463:e=>{"use strict";var t=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,d=(e,a)=>{for(var i in a)t(e,i,{get:a[i],enumerable:!0})},n={};d(n,{Decimal:()=>eX,Public:()=>s,detectRuntime:()=>eQ,makeStrictEnum:()=>y,objectEnumValues:()=>I}),e.exports=((e,d,n,s)=>{if(d&&"object"==typeof d||"function"==typeof d)for(let o of i(d))r.call(e,o)||o===n||t(e,o,{get:()=>d[o],enumerable:!(s=a(d,o))||s.enumerable});return e})(t({},"__esModule",{value:!0}),n);var s={};function o(){return e=>e}d(s,{validator:()=>o});var c=Symbol(),u=new WeakMap,l=class{constructor(e){e===c?u.set(this,"Prisma.".concat(this._getName())):u.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return u.get(this)}},m=class extends l{_getNamespace(){return"NullTypes"}},p=class extends m{};h(p,"DbNull");var A=class extends m{};h(A,"JsonNull");var g=class extends m{};h(g,"AnyNull");var I={classes:{DbNull:p,JsonNull:A,AnyNull:g},instances:{DbNull:new p(c),JsonNull:new A(c),AnyNull:new g(c)}};function h(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var S=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function y(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!S.has(t))throw TypeError("Invalid enum value: ".concat(String(t)))}})}var k,E,f="0123456789abcdef",P="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",v="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",T={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},C=!0,b="[DecimalError] ",w=b+"Invalid argument: ",F=b+"Precision limit exceeded",R=b+"crypto unavailable",D="[object Decimal]",N=Math.floor,U=Math.pow,V=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,B=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,M=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,O=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,G=P.length-1,L=v.length-1,_={toStringTag:D};function x(e){var t,a,i,r=e.length-1,d="",n=e[0];if(r>0){for(d+=n,t=1;t<r;t++)(a=7-(i=e[t]+"").length)&&(d+=X(a)),d+=i;(a=7-(i=(n=e[t])+"").length)&&(d+=X(a))}else if(0===n)return"0";for(;n%10==0;)n/=10;return d+n}function W(e,t,a){if(e!==~~e||e<t||e>a)throw Error(w+e)}function H(e,t,a,i){var r,d,n,s;for(d=e[0];d>=10;d/=10)--t;return--t<0?(t+=7,r=0):(r=Math.ceil((t+1)/7),t%=7),d=U(10,7-t),s=e[r]%d|0,null==i?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),n=a<4&&99999==s||a>3&&49999==s||5e4==s||0==s):n=(a<4&&s+1==d||a>3&&s+1==d/2)&&(e[r+1]/d/100|0)==U(10,t-2)-1||(s==d/2||0==s)&&(e[r+1]/d/100|0)==0:t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),n=(i||a<4)&&9999==s||!i&&a>3&&4999==s):n=((i||a<4)&&s+1==d||!i&&a>
13&&s+1==d/2)&&(e[r+1]/d/1e3|0)==U(10,t-3)-1,n}function K(e,t,a){for(var i,r,d=[0],n=0,s=e.length;n<s;){for(r=d.length;r--;)d[r]*=t;for(d[0]+=f.indexOf(e.charAt(n++)),i=0;i<d.length;i++)d[i]>a-1&&(void 0===d[i+1]&&(d[i+1]=0),d[i+1]+=d[i]/a|0,d[i]%=a)}return d.reverse()}_.absoluteValue=_.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),$(e)},_.ceil=function(){return $(new this.constructor(this),this.e+1,2)},_.clampedTo=_.clamp=function(e,t){var a=this.constructor;if(e=new a(e),t=new a(t),!e.s||!t.s)return new a(NaN);if(e.gt(t))throw Error(w+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new a(this)},_.comparedTo=_.cmp=function(e){var t,a,i,r,d=this.d,n=(e=new this.constructor(e)).d,s=this.s,o=e.s;if(!d||!n)return s&&o?s!==o?s:d===n?0:!d^s<0?1:-1:NaN;if(!d[0]||!n[0])return d[0]?s:n[0]?-o:0;if(s!==o)return s;if(this.e!==e.e)return this.e>e.e^s<0?1:-1;for(i=d.length,r=n.length,t=0,a=i<r?i:r;t<a;++t)if(d[t]!==n[t])return d[t]>n[t]^s<0?1:-1;return i===r?0:i>r^s<0?1:-1},_.cosine=_.cos=function(){var e,t,a=this,i=a.constructor;return a.d?a.d[0]?(e=i.precision,t=i.rounding,i.precision=e+Math.max(a.e,a.sd())+7,i.rounding=1,a=function(e,t){var a,i,r;if(t.isZero())return t;(i=t.d.length)<32?r=(1/es(4,a=Math.ceil(i/3))).toString():(a=16,r="2.3283064365386962890625e-10"),e.precision+=a,t=en(e,1,t.times(r),new e(1));for(var d=a;d--;){var n=t.times(t);t=n.times(n).minus(n).times(8).plus(1)}return e.precision-=a,t}(i,eo(i,a)),i.precision=e,i.rounding=t,$(2==E||3==E?a.neg():a,e,t,!0)):new i(1):new i(NaN)},_.cubeRoot=_.cbrt=function(){var e,t,a,i,r,d,n,s,o,c,u=this.constructor;if(!this.isFinite()||this.isZero())return new u(this);for(C=!1,(d=this.s*U(this.s*this,1/3))&&Math.abs(d)!=1/0?i=new u(d.toString()):(a=x(this.d),(d=((e=this.e)-a.length+1)%3)&&(a+=1==d||-2==d?"0":"00"),d=U(a,1/3),e=N((e+1)/3)-(e%3==(e<0?-1:2)),(i=new u(a=d==1/0?"5e"+e:(a=d.toExponential()).slice(0,a.indexOf("e")+1)+e)).s=this.s),n=(e=u.precision)+3;;)if(i=q((c=(o=(s=i).times(s).times(s)).plus(this)).plus(this).times(s),c.plus(o),n+2,1),x(s.d).slice(0,n)===(a=x(i.d)).slice(0,n))if("9999"!=(a=a.slice(n-3,n+1))&&(r||"4999"!=a)){+a&&(+a.slice(1)||"5"!=a.charAt(0))||($(i,e+1,1),t=!i.times(i).times(i).eq(this));break}else{if(!r&&($(s,e+1,0),s.times(s).times(s).eq(this))){i=s;break}n+=4,r=1}return C=!0,$(i,e,u.rounding,t)},_.decimalPlaces=_.dp=function(){var e,t=this.d,a=NaN;if(t){if(a=((e=t.length-1)-N(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)a--;a<0&&(a=0)}return a},_.dividedBy=_.div=function(e){return q(this,new this.constructor(e))},_.dividedToIntegerBy=_.divToInt=function(e){var t=this.constructor;return $(q(this,new t(e),0,1,1),t.precision,t.rounding)},_.equals=_.eq=function(e){return 0===this.cmp(e)},_.floor=function(){return $(new this.constructor(this),this.e+1,3)},_.greaterThan=_.gt=function(e){return this.cmp(e)>0},_.greaterThanOrEqualTo=_.gte=function(e){var t=this.cmp(e);return 1==t||0===t},_.hyperbolicCosine=_.cosh=function(){var e,t,a,i,r,d=this,n=d.constructor,s=new n(1);if(!d.isFinite())return new n(d.s?1/0:NaN);if(d.isZero())return s;a=n.precision,i=n.rounding,n.precision=a+Math.max(d.e,d.sd())+4,n.rounding=1,(r=d.d.length)<32?t=(1/es(4,e=Math.ceil(r/3))).toString():(e=16,t="2.3283064365386962890625e-10"),d=en(n,1,d.times(t),new n(1),!0);for(var o,c=e,u=new n(8);c--;)o=d.times(d),d=s.minus(o.times(u.minus(o.times(u))));return $(d,n.precision=a,n.rounding=i,!0)},_.hyperbolicSine=_.sinh=function(){var e,t,a,i,r=this,d=r.constructor;if(!r.isFinite()||r.isZero())return new d(r);if(t=d.precision,a=d.rounding,d.precision=t+Math.max(r.e,r.sd())+4,d.rounding=1,(i=r.d.length)<3)r=en(d,2,r,r,!0);else{e=(e=1.4*Math.sqrt(i))>16?16:0|e,r=en(d,2,r=r.times(1/es(5,e)),r,!0);for(var n,s=new d(5),o=new d(16),c=new d(20);e--;)n=r.times(r),r=r.times(s.plus(n.times(o.times(n).plus(c))))}return d.precision=t,d.rounding=a,$(r,t,a,!0)},_.hyperbolicTangent=_.tanh=function(){var e,t,a=this.constructor;return this.isFinite()?this.isZero()?new a(this):(e=a.precision,t=a.rounding,a.precision=e+7,a.rounding=1,q(this.sinh(),this.cosh(),a.precision=e,a.rounding=t)):new a(this.s)},_.inverseCosine=_.acos=function(){var e,t=this,a=t.constructor,i=t.abs().cmp(1),r=a.precision,d=a.rounding;return -1!==i?0===i?t.isNeg()?Z(a,r,d):new a(0):new a(NaN):t.isZero()?Z(a,r+4,d).times(.5):(a.precision=r+6,a.rounding=1,t=t.asin(),e=Z(a,r+4,d).times(.5),a.precision=r,a.rounding=d,e.minus(t))},_.inverseHyperbolicCosine=_.acosh=function(){var e,t,a=this,i=a.constructor;return a.lte(1)?new i(a.eq(1)?0:NaN):a.isFinite()?(e=i.precision,t=i.rounding,i.precision=e+Math.max(Math.abs(a.e),a.sd())+4,i.rounding=1,C=!1,a=a.times(a).minus(1).sqrt().plus(a),C=!0,i.precision=e,i.rounding=t,a.ln()):new i(a)},_.inverseHyperbolicSine=_.asinh=function(){var e,t,a=this,i=a.constructor;return!a.isFinite()||a.isZero()?new i(a):(e=i.precision,t=i.rounding,i.precision=e+2*Math.max(Math.abs(a.e),a.sd())+6,i.roun
1ding=1,C=!1,a=a.times(a).plus(1).sqrt().plus(a),C=!0,i.precision=e,i.rounding=t,a.ln())},_.inverseHyperbolicTangent=_.atanh=function(){var e,t,a,i,r=this,d=r.constructor;return r.isFinite()?r.e>=0?new d(r.abs().eq(1)?r.s/0:r.isZero()?r:NaN):(e=d.precision,t=d.rounding,Math.max(i=r.sd(),e)<-(2*r.e)-1?$(new d(r),e,t,!0):(d.precision=a=i-r.e,r=q(r.plus(1),new d(1).minus(r),a+e,1),d.precision=e+4,d.rounding=1,r=r.ln(),d.precision=e,d.rounding=t,r.times(.5))):new d(NaN)},_.inverseSine=_.asin=function(){var e,t,a,i,r=this,d=r.constructor;return r.isZero()?new d(r):(t=r.abs().cmp(1),a=d.precision,i=d.rounding,-1!==t?0===t?((e=Z(d,a+4,i).times(.5)).s=r.s,e):new d(NaN):(d.precision=a+6,d.rounding=1,r=r.div(new d(1).minus(r.times(r)).sqrt().plus(1)).atan(),d.precision=a,d.rounding=i,r.times(2)))},_.inverseTangent=_.atan=function(){var e,t,a,i,r,d,n,s,o,c=this,u=c.constructor,l=u.precision,m=u.rounding;if(c.isFinite()){if(c.isZero())return new u(c);if(c.abs().eq(1)&&l+4<=L)return(n=Z(u,l+4,m).times(.25)).s=c.s,n}else{if(!c.s)return new u(NaN);if(l+4<=L)return(n=Z(u,l+4,m).times(.5)).s=c.s,n}for(u.precision=s=l+10,u.rounding=1,e=a=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(C=!1,t=Math.ceil(s/7),i=1,o=c.times(c),n=new u(c),r=c;-1!==e;)if(r=r.times(o),d=n.minus(r.div(i+=2)),r=r.times(o),void 0!==(n=d.plus(r.div(i+=2))).d[t])for(e=t;n.d[e]===d.d[e]&&e--;);return a&&(n=n.times(2<<a-1)),C=!0,$(n,u.precision=l,u.rounding=m,!0)},_.isFinite=function(){return!!this.d},_.isInteger=_.isInt=function(){return!!this.d&&N(this.e/7)>this.d.length-2},_.isNaN=function(){return!this.s},_.isNegative=_.isNeg=function(){return this.s<0},_.isPositive=_.isPos=function(){return this.s>0},_.isZero=function(){return!!this.d&&0===this.d[0]},_.lessThan=_.lt=function(e){return 0>this.cmp(e)},_.lessThanOrEqualTo=_.lte=function(e){return 1>this.cmp(e)},_.logarithm=_.log=function(e){var t,a,i,r,d,n,s,o=this.constructor,c=o.precision,u=o.rounding;if(null==e)e=new o(10),t=!0;else{if(a=(e=new o(e)).d,e.s<0||!a||!a[0]||e.eq(1))return new o(NaN);t=e.eq(10)}if(a=this.d,this.s<0||!a||!a[0]||this.eq(1))return new o(a&&!a[0]?-1/0:1!=this.s?NaN:a?0:1/0);if(t)if(a.length>1)r=!0;else{for(i=a[0];i%10==0;)i/=10;r=1!==i}if(C=!1,H((s=q(d=ei(this,n=c+5),t?z(o,n+10):ei(e,n),n,1)).d,i=c,u))do if(n+=10,s=q(d=ei(this,n),t?z(o,n+10):ei(e,n),n,1),!r){+x(s.d).slice(i+1,i+15)+1==1e14&&(s=$(s,c+1,0));break}while(H(s.d,i+=10,u));return C=!0,$(s,c,u)},_.minus=_.sub=function(e){var t,a,i,r,d,n,s,o,c,u,l,m,p=this.constructor;if(e=new p(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new p(e.d||this.s!==e.s?this:NaN):e=new p(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);if(c=this.d,m=e.d,s=p.precision,o=p.rounding,!c[0]||!m[0]){if(m[0])e.s=-e.s;else{if(!c[0])return new p(3===o?-0:0);e=new p(this)}return C?$(e,s,o):e}if(a=N(e.e/7),u=N(this.e/7),c=c.slice(),d=u-a){for((l=d<0)?(t=c,d=-d,n=m.length):(t=m,a=u,n=c.length),d>(i=Math.max(Math.ceil(s/7),n)+2)&&(d=i,t.length=1),t.reverse(),i=d;i--;)t.push(0);t.reverse()}else{for((l=(i=c.length)<(n=m.length))&&(n=i),i=0;i<n;i++)if(c[i]!=m[i]){l=c[i]<m[i];break}d=0}for(l&&(t=c,c=m,m=t,e.s=-e.s),n=c.length,i=m.length-n;i>0;--i)c[n++]=0;for(i=m.length;i>d;){if(c[--i]<m[i]){for(r=i;r&&0===c[--r];)c[r]=1e7-1;--c[r],c[i]+=1e7}c[i]-=m[i]}for(;0===c[--n];)c.pop();for(;0===c[0];c.shift())--a;return c[0]?(e.d=c,e.e=j(c,a),C?$(e,s,o):e):new p(3===o?-0:0)},_.modulo=_.mod=function(e){var t,a=this.constructor;return e=new a(e),this.d&&e.s&&(!e.d||e.d[0])?e.d&&(!this.d||this.d[0])?(C=!1,9==a.modulo?(t=q(this,e.abs(),0,3,1),t.s*=e.s):t=q(this,e,0,a.modulo,1),t=t.times(e),C=!0,this.minus(t)):$(new a(this),a.precision,a.rounding):new a(NaN)},_.naturalExponential=_.exp=function(){return ea(this)},_.naturalLogarithm=_.ln=function(){return ei(this)},_.negated=_.neg=function(){var e=new this.constructor(this);return e.s=-e.s,$(e)},_.plus=_.add=function(e){var t,a,i,r,d,n,s,o,c,u,l=this.constructor;if(e=new l(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new l(e.d||this.s===e.s?this:NaN)):e=new l(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(c=this.d,u=e.d,s=l.precision,o=l.rounding,!c[0]||!u[0])return u[0]||(e=new l(this)),C?$(e,s,o):e;
1if(d=N(this.e/7),i=N(e.e/7),c=c.slice(),r=d-i){for(r<0?(a=c,r=-r,n=u.length):(a=u,i=d,n=c.length),r>(n=(d=Math.ceil(s/7))>n?d+1:n+1)&&(r=n,a.length=1),a.reverse();r--;)a.push(0);a.reverse()}for((n=c.length)-(r=u.length)<0&&(r=n,a=u,u=c,c=a),t=0;r;)t=(c[--r]=c[r]+u[r]+t)/1e7|0,c[r]%=1e7;for(t&&(c.unshift(t),++i),n=c.length;0==c[--n];)c.pop();return e.d=c,e.e=j(c,i),C?$(e,s,o):e},_.precision=_.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(w+e);return this.d?(t=Y(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},_.round=function(){var e=this.constructor;return $(new e(this),this.e+1,e.rounding)},_.sine=_.sin=function(){var e,t,a=this,i=a.constructor;return a.isFinite()?a.isZero()?new i(a):(e=i.precision,t=i.rounding,i.precision=e+Math.max(a.e,a.sd())+7,i.rounding=1,a=function(e,t){var a,i=t.d.length;if(i<3)return t.isZero()?t:en(e,2,t,t);a=(a=1.4*Math.sqrt(i))>16?16:0|a,t=en(e,2,t=t.times(1/es(5,a)),t);for(var r,d=new e(5),n=new e(16),s=new e(20);a--;)r=t.times(t),t=t.times(d.plus(r.times(n.times(r).minus(s))));return t}(i,eo(i,a)),i.precision=e,i.rounding=t,$(E>2?a.neg():a,e,t,!0)):new i(NaN)},_.squareRoot=_.sqrt=function(){var e,t,a,i,r,d,n=this.d,s=this.e,o=this.s,c=this.constructor;if(1!==o||!n||!n[0])return new c(!o||o<0&&(!n||n[0])?NaN:n?this:1/0);for(C=!1,0==(o=Math.sqrt(+this))||o==1/0?(((t=x(n)).length+s)%2==0&&(t+="0"),o=Math.sqrt(t),s=N((s+1)/2)-(s<0||s%2),i=new c(t=o==1/0?"5e"+s:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+s)):i=new c(o.toString()),a=(s=c.precision)+3;;)if(i=(d=i).plus(q(this,d,a+2,1)).times(.5),x(d.d).slice(0,a)===(t=x(i.d)).slice(0,a))if("9999"!=(t=t.slice(a-3,a+1))&&(r||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||($(i,s+1,1),e=!i.times(i).eq(this));break}else{if(!r&&($(d,s+1,0),d.times(d).eq(this))){i=d;break}a+=4,r=1}return C=!0,$(i,s,c.rounding,e)},_.tangent=_.tan=function(){var e,t,a=this,i=a.constructor;return a.isFinite()?a.isZero()?new i(a):(e=i.precision,t=i.rounding,i.precision=e+10,i.rounding=1,(a=a.sin()).s=1,a=q(a,new i(1).minus(a.times(a)).sqrt(),e+10,0),i.precision=e,i.rounding=t,$(2==E||4==E?a.neg():a,e,t,!0)):new i(NaN)},_.times=_.mul=function(e){var t,a,i,r,d,n,s,o,c,u=this.constructor,l=this.d,m=(e=new u(e)).d;if(e.s*=this.s,!l||!l[0]||!m||!m[0])return new u(!e.s||l&&!l[0]&&!m||m&&!m[0]&&!l?NaN:!l||!m?e.s/0:0*e.s);for(a=N(this.e/7)+N(e.e/7),(o=l.length)<(c=m.length)&&(d=l,l=m,m=d,n=o,o=c,c=n),d=[],i=n=o+c;i--;)d.push(0);for(i=c;--i>=0;){for(t=0,r=o+i;r>i;)s=d[r]+m[i]*l[r-i-1]+t,d[r--]=s%1e7|0,t=s/1e7|0;d[r]=(d[r]+t)%1e7|0}for(;!d[--n];)d.pop();return t?++a:d.shift(),e.d=d,e.e=j(d,a),C?$(e,u.precision,u.rounding):e},_.toBinary=function(e,t){return ec(this,2,e,t)},_.toDecimalPlaces=_.toDP=function(e,t){var a=this,i=a.constructor;return a=new i(a),void 0===e?a:(W(e,0,1e9),void 0===t?t=i.rounding:W(t,0,8),$(a,e+a.e+1,t))},_.toExponential=function(e,t){var a,i=this,r=i.constructor;return void 0===e?a=J(i,!0):(W(e,0,1e9),void 0===t?t=r.rounding:W(t,0,8),a=J(i=$(new r(i),e+1,t),!0,e+1)),i.isNeg()&&!i.isZero()?"-"+a:a},_.toFixed=function(e,t){var a,i,r=this.constructor;return void 0===e?a=J(this):(W(e,0,1e9),void 0===t?t=r.rounding:W(t,0,8),a=J(i=$(new r(this),e+this.e+1,t),!1,e+i.e+1)),this.isNeg()&&!this.isZero()?"-"+a:a},_.toFraction=function(e){var t,a,i,r,d,n,s,o,c,u,l,m,p=this.d,A=this.constructor;if(!p)return new A(this);if(c=a=new A(1),i=o=new A(0),n=(d=(t=new A(i)).e=Y(p)-this.e-1)%7,t.d[0]=U(10,n<0?7+n:n),null==e)e=d>0?t:c;else{if(!(s=new A(e)).isInt()||s.lt(c))throw Error(w+s);e=s.gt(t)?d>0?t:c:s}for(C=!1,s=new A(x(p)),u=A.precision,A.precision=d=7*p.length*2;l=q(s,t,0,1,1),1!=(r=a.plus(l.times(i))).cmp(e);)a=i,i=r,r=c,c=o.plus(l.times(r)),o=r,r=t,t=s.minus(l.times(r)),s=r;return r=q(e.minus(a),i,0,1,1),o=o.plus(r.times(c)),a=a.plus(r.times(i)),o.s=c.s=this.s,m=1>q(c,i,d,1).minus(this).abs().cmp(q(o,a,d,1).minus(this).abs())?[c,i]:[o,a],A.precision=u,C=!0,m},_.toHexadecimal=_.toHex=function(e,t){return ec(this,16,e,t)},_.toNearest=function(e,t){var a=this,i=a.constructor;if(a=new i(a),null==e){if(!a.d)return a;e=new i(1),t=i.rounding}else{if(e=new i(e),void 0===t?t=i.rounding:W(t,0,8),!a.d)return e.s?a:e;if(!e.d)return e.s&&(e.s=a.s),e}return e.d[0]?(C=!1,a=q(a,e,0,t,1).times(e),C=!0,$(a)):(e.s=a.s,a=e),a},_.toNumber=function(){return+this},_.toOctal=function(e,t){return ec(this,8,e,t)},_.toPower=_.pow=function(e){var t,a,i,r,d,n,s=this,o=s.constructor,c=+(e=new o(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new o(U(+s,c));if((s=new o(s)).eq(1))return s;if(i=o.precision,d=o.rounding,e.eq(1))return $(s,i,d);if((t=N(e.e/7))>=e.d.length-1&&(a=c<0?-c:c)<=0x1fffffffffffff)return r=Q(o,s,a,i),e.s<0?new o(1).div(r):$(r,i,d);if((n=s.s)<0){if(t<e.d.length-1)return new o(NaN);if(1&e.d[t]||(n=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=n,s}return(t=0!=(a=U(+s,c))&&isFinite(a)?new o(a+"").e:N(c*(Math.log("0."+x(s.d))/Math.LN10+s.e+1)))>o.maxE+1||t<o.minE-1?new o(t>0?n/0:0):(C=!1,o.rounding=s.s=1,a=Math.min(12,(t+"").length),(r=ea(e.times(ei(s,i+a)),i)).d&&H((r=$(r,i+5,1)).d,i,d)&&(t=i+10,+x((r=$(ea(e.times(ei(s,t+a
1)),t),t+5,1)).d).slice(i+1,i+15)+1==1e14&&(r=$(r,i+1,0))),r.s=n,C=!0,o.rounding=d,$(r,i,d))},_.toPrecision=function(e,t){var a,i=this,r=i.constructor;return void 0===e?a=J(i,i.e<=r.toExpNeg||i.e>=r.toExpPos):(W(e,1,1e9),void 0===t?t=r.rounding:W(t,0,8),a=J(i=$(new r(i),e,t),e<=i.e||i.e<=r.toExpNeg,e)),i.isNeg()&&!i.isZero()?"-"+a:a},_.toSignificantDigits=_.toSD=function(e,t){var a=this.constructor;return void 0===e?(e=a.precision,t=a.rounding):(W(e,1,1e9),void 0===t?t=a.rounding:W(t,0,8)),$(new a(this),e,t)},_.toString=function(){var e=this.constructor,t=J(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},_.truncated=_.trunc=function(){return $(new this.constructor(this),this.e+1,1)},_.valueOf=_.toJSON=function(){var e=this.constructor,t=J(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var q=function(){function e(e,t,a){var i,r=0,d=e.length;for(e=e.slice();d--;)i=e[d]*t+r,e[d]=i%a|0,r=i/a|0;return r&&e.unshift(r),e}function t(e,t,a,i){var r,d;if(a!=i)d=a>i?1:-1;else for(r=d=0;r<a;r++)if(e[r]!=t[r]){d=e[r]>t[r]?1:-1;break}return d}function a(e,t,a,i){for(var r=0;a--;)e[a]-=r,r=+(e[a]<t[a]),e[a]=r*i+e[a]-t[a];for(;!e[0]&&e.length>1;)e.shift()}return function(i,r,d,n,s,o){var c,u,l,m,p,A,g,I,h,S,y,E,f,P,v,T,C,b,w,F,R=i.constructor,D=i.s==r.s?1:-1,U=i.d,V=r.d;if(!U||!U[0]||!V||!V[0])return new R(!i.s||!r.s||(U?V&&U[0]==V[0]:!V)?NaN:U&&0==U[0]||!V?0*D:D/0);for(o?(p=1,u=i.e-r.e):(o=1e7,p=7,u=N(i.e/p)-N(r.e/p)),w=V.length,C=U.length,S=(h=new R(D)).d=[],l=0;V[l]==(U[l]||0);l++);if(V[l]>(U[l]||0)&&u--,null==d?(P=d=R.precision,n=R.rounding):P=s?d+(i.e-r.e)+1:d,P<0)S.push(1),A=!0;else{if(P=P/p+2|0,l=0,1==w){for(m=0,V=V[0],P++;(l<C||m)&&P--;l++)v=m*o+(U[l]||0),S[l]=v/V|0,m=v%V|0;A=m||l<C}else{for((m=o/(V[0]+1)|0)>1&&(V=e(V,m,o),U=e(U,m,o),w=V.length,C=U.length),T=w,E=(y=U.slice(0,w)).length;E<w;)y[E++]=0;(F=V.slice()).unshift(0),b=V[0],V[1]>=o/2&&++b;do m=0,(c=t(V,y,w,E))<0?(f=y[0],w!=E&&(f=f*o+(y[1]||0)),(m=f/b|0)>1?(m>=o&&(m=o-1),I=(g=e(V,m,o)).length,E=y.length,1==(c=t(g,y,I,E))&&(m--,a(g,w<I?F:V,I,o))):(0==m&&(c=m=1),g=V.slice()),(I=g.length)<E&&g.unshift(0),a(y,g,E,o),-1==c&&(E=y.length,(c=t(V,y,w,E))<1&&(m++,a(y,w<E?F:V,E,o))),E=y.length):0===c&&(m++,y=[0]),S[l++]=m,c&&y[0]?y[E++]=U[T]||0:(y=[U[T]],E=1);while((T++<C||void 0!==y[0])&&P--);A=void 0!==y[0]}S[0]||S.shift()}if(1==p)h.e=u,k=A;else{for(l=1,m=S[0];m>=10;m/=10)l++;h.e=l+u*p-1,$(h,s?d+h.e+1:d,n,A)}return h}}();function $(e,t,a,i){var r,d,n,s,o,c,u,l,m,p=e.constructor;e:if(null!=t){if(!(l=e.d))return e;for(r=1,s=l[0];s>=10;s/=10)r++;if((d=t-r)<0)d+=7,n=t,o=(u=l[m=0])/U(10,r-n-1)%10|0;else if((m=Math.ceil((d+1)/7))>=(s=l.length))if(i){for(;s++<=m;)l.push(0);u=o=0,r=1,d%=7,n=d-7+1}else break e;else{for(u=s=l[m],r=1;s>=10;s/=10)r++;d%=7,o=(n=d-7+r)<0?0:u/U(10,r-n-1)%10|0}if(i=i||t<0||void 0!==l[m+1]||(n<0?u:u%U(10,r-n-1)),c=a<4?(o||i)&&(0==a||a==(e.s<0?3:2)):o>5||5==o&&(4==a||i||6==a&&(d>0?n>0?u/U(10,r-n):0:l[m-1])%10&1||a==(e.s<0?8:7)),t<1||!l[0])return l.length=0,c?(t-=e.e+1,l[0]=U(10,(7-t%7)%7),e.e=-t||0):l[0]=e.e=0,e;if(0==d?(l.length=m,s=1,m--):(l.length=m+1,s=U(10,7-d),l[m]=n>0?(u/U(10,r-n)%U(10,n)|0)*s:0),c)for(;;)if(0==m){for(d=1,n=l[0];n>=10;n/=10)d++;for(n=l[0]+=s,s=1;n>=10;n/=10)s++;d!=s&&(e.e++,1e7==l[0]&&(l[0]=1));break}else{if(l[m]+=s,1e7!=l[m])break;l[m--]=0,s=1}for(d=l.length;0===l[--d];)l.pop()}return C&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function J(e,t,a){if(!e.isFinite())return er(e);var i,r=e.e,d=x(e.d),n=d.length;return t?(a&&(i=a-n)>0?d=d.charAt(0)+"."+d.slice(1)+X(i):n>1&&(d=d.charAt(0)+"."+d.slice(1)),d=d+(e.e<0?"e":"e+")+e.e):r<0?(d="0."+X(-r-1)+d,a&&(i=a-n)>0&&(d+=X(i))):r>=n?(d+=X(r+1-n),a&&(i=a-r-1)>0&&(d=d+"."+X(i))):((i=r+1)<n&&(d=d.slice(0,i)+"."+d.slice(i)),a&&(i=a-n)>0&&(r+1===n&&(d+="."),d+=X(i))),d}function j(e,t){var a=e[0];for(t*=7;a>=10;a/=10)t++;return t}function z(e,t,a){if(t>G)throw C=!0,a&&(e.precision=a),Error(F);return $(new e(P),t,1,!0)}function Z(e,t,a){if(t>L)throw Error(F);return $(new e(v),t,a,!0)}function Y(e){var t=e.length-1,a=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)a--;for(t=e[0];t>=10;t/=10)a++}return a}function X(e){for(var t="";e--;)t+="0";return t}function Q(e,t,a,i){var r,d=new e(1),n=Math.ceil(i/7+4);for(C=!1;;){if(a%2&&eu((d=d.times(t)).d,n)&&(r=!0),0===(a=N(a/2))){a=d.d.length-1,r&&0===d.d[a]&&++d.d[a];break}eu((t=t.times(t)).d,n)}return C=!0,d}function ee(e){return 1&e.d[e.d.length-1]}function et(e,t,a){for(var i,r=new e(t[0]),d=0;++d<t.length;)if((i=new e(t[d])).s)r[a](i)&&(r=i);else{r=i;break}return r}function ea(e,t){var a,i,r,d,n,s,o,c=0,u=0,l=0,m=e.constructor,p=m.rounding,A=m.precision;if(!e.d||!e.d[0]||e.e>17)return new m(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(C=!1,o=A):o=t,s=new m(.03125);e.e>-2;)e=e.times(s),l+=5;for(o+=i=Math.log(U(2,l))/Math.LN10*2+5|0,a=d=n=new m(1),m.precision=o;;){if(d=$(d.times(e),o,1),a=a.times(++u),x((s=n.plus(q(d,a,o,1))).d).slice(0,o)===x(n.d).slice(0,o)){for(r=l;r--;)n=$(n.times(n),o,1);if(null!=t)return m.precision=A,n;if(!(c<3&&H(n.d,o-i,p,c)))return $(n,m.precision=A,p,C=!0);m.precision=o+=10,a=d=s=new m(1),u=0,c++}n=s}}function ei(e,t){var a,i,r,d,n,s,o,c,u,l,m,p=1,A=e,g=A.d,I=A.constructor,h=I.roun
1ding,S=I.precision;if(A.s<0||!g||!g[0]||!A.e&&1==g[0]&&1==g.length)return new I(g&&!g[0]?-1/0:1!=A.s?NaN:g?0:A);if(null==t?(C=!1,u=S):u=t,I.precision=u+=10,i=(a=x(g)).charAt(0),!(15e14>Math.abs(d=A.e)))return c=z(I,u+2,S).times(d+""),A=ei(new I(i+"."+a.slice(1)),u-10).plus(c),I.precision=S,null==t?$(A,S,h,C=!0):A;for(;i<7&&1!=i||1==i&&a.charAt(1)>3;)i=(a=x((A=A.times(e)).d)).charAt(0),p++;for(d=A.e,i>1?(A=new I("0."+a),d++):A=new I(i+"."+a.slice(1)),l=A,o=n=A=q(A.minus(1),A.plus(1),u,1),m=$(A.times(A),u,1),r=3;;){if(n=$(n.times(m),u,1),x((c=o.plus(q(n,new I(r),u,1))).d).slice(0,u)===x(o.d).slice(0,u))if(o=o.times(2),0!==d&&(o=o.plus(z(I,u+2,S).times(d+""))),o=q(o,new I(p),u,1),null!=t)return I.precision=S,o;else{if(!H(o.d,u-10,h,s))return $(o,I.precision=S,h,C=!0);I.precision=u+=10,c=n=A=q(l.minus(1),l.plus(1),u,1),m=$(A.times(A),u,1),r=s=1}o=c,r+=2}}function er(e){return String(e.s*e.s/0)}function ed(e,t){var a,i,r;for((a=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(a<0&&(a=i),a+=+t.slice(i+1),t=t.substring(0,i)):a<0&&(a=t.length),i=0;48===t.charCodeAt(i);i++);for(r=t.length;48===t.charCodeAt(r-1);--r);if(t=t.slice(i,r)){if(r-=i,e.e=a=a-i-1,e.d=[],i=(a+1)%7,a<0&&(i+=7),i<r){for(i&&e.d.push(+t.slice(0,i)),r-=7;i<r;)e.d.push(+t.slice(i,i+=7));i=7-(t=t.slice(i)).length}else i-=r;for(;i--;)t+="0";e.d.push(+t),C&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function en(e,t,a,i,r){var d,n,s,o,c=e.precision,u=Math.ceil(c/7);for(C=!1,o=a.times(a),s=new e(i);;){if(n=q(s.times(o),new e(t++*t++),c,1),s=r?i.plus(n):i.minus(n),i=q(n.times(o),new e(t++*t++),c,1),void 0!==(n=s.plus(i)).d[u]){for(d=u;n.d[d]===s.d[d]&&d--;);if(-1==d)break}d=s,s=i,i=n,n=d}return C=!0,n.d.length=u+1,n}function es(e,t){for(var a=e;--t;)a*=e;return a}function eo(e,t){var a,i=t.s<0,r=Z(e,e.precision,1),d=r.times(.5);if((t=t.abs()).lte(d))return E=i?4:1,t;if((a=t.divToInt(r)).isZero())E=i?3:2;else{if((t=t.minus(a.times(r))).lte(d))return E=ee(a)?i?2:3:i?4:1,t;E=ee(a)?i?1:4:i?3:2}return t.minus(r).abs()}function ec(e,t,a,i){var r,d,n,s,o,c,u,l,m,p=e.constructor,A=void 0!==a;if(A?(W(a,1,1e9),void 0===i?i=p.rounding:W(i,0,8)):(a=p.precision,i=p.rounding),e.isFinite()){for(n=(u=J(e)).indexOf("."),A?(r=2,16==t?a=4*a-3:8==t&&(a=3*a-2)):r=t,n>=0&&(u=u.replace(".",""),(m=new p(1)).e=u.length-n,m.d=K(J(m),10,r),m.e=m.d.length),d=o=(l=K(u,10,r)).length;0==l[--o];)l.pop();if(l[0]){if(n<0?d--:((e=new p(e)).d=l,e.e=d,l=(e=q(e,m,a,i,0,r)).d,d=e.e,c=k),n=l[a],s=r/2,c=c||void 0!==l[a+1],c=i<4?(void 0!==n||c)&&(0===i||i===(e.s<0?3:2)):n>s||n===s&&(4===i||c||6===i&&1&l[a-1]||i===(e.s<0?8:7)),l.length=a,c)for(;++l[--a]>r-1;)l[a]=0,a||(++d,l.unshift(1));for(o=l.length;!l[o-1];--o);for(n=0,u="";n<o;n++)u+=f.charAt(l[n]);if(A){if(o>1)if(16==t||8==t){for(n=16==t?4:3,--o;o%n;o++)u+="0";for(o=(l=K(u,r,t)).length;!l[o-1];--o);for(n=1,u="1.";n<o;n++)u+=f.charAt(l[n])}else u=u.charAt(0)+"."+u.slice(1);u=u+(d<0?"p":"p+")+d}else if(d<0){for(;++d;)u="0"+u;u="0."+u}else if(++d>o)for(d-=o;d--;)u+="0";else d<o&&(u=u.slice(0,d)+"."+u.slice(d))}else u=A?"0p+0":"0";u=(16==t?"0x":2==t?"0b":8==t?"0o":"")+u}else u=er(e);return e.s<0?"-"+u:u}function eu(e,t){if(e.length>t)return e.length=t,!0}function el(e){return new this(e).abs()}function em(e){return new this(e).acos()}function ep(e){return new this(e).acosh()}function eA(e,t){return new this(e).plus(t)}function eg(e){return new this(e).asin()}function eI(e){return new this(e).asinh()}function eh(e){return new this(e).atan()}function eS(e){return new this(e).atanh()}function ey(e,t){e=new this(e),t=new this(t);var a,i=this.precision,r=this.rounding,d=i+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(a=t.s<0?Z(this,i,r):new this(0)).s=e.s:!e.d||t.isZero()?(a=Z(this,d,1).times(.5)).s=e.s:t.s<0?(this.precision=d,this.rounding=1,a=this.atan(q(e,t,d,1)),t=Z(this,d,1),this.precision=i,this.rounding=r,a=e.s<0?a.minus(t):a.plus(t)):a=this.atan(q(e,t,d,1)):(a=Z(this,d,1).times(t.s>0?.25:.75)).s=e.s:a=new this(NaN),a}function ek(e){return new this(e).cbrt()}function eE(e){return $(e=new this(e),e.e+1,2)}function ef(e,t,a){return new this(e).clamp(t,a)}function eP(e){if(!e||"object"!=typeof e)throw Error(b+"Object expected");var t,a,i,r=!0===e.defaults,d=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(t=0;t<d.length;t+=3)if(a=d[t],r&&(this[a]=T[a]),void 0!==(i=e[a]))if(N(i)===i&&i>=d[t+1]&&i<=d[t+2])this[a]=i;else throw Error(w+a+": "+i);if(a="crypto",r&&(this[a]=T[a]),void 0!==(i=e[a]))if(!0===i||!1===i||0===i||1===i)if(i)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[a]=!0;else throw Error(R);else this[a]=!1;else throw Error(w+a+": "+i);return this}function ev(e){return new this(e).cos()}function eT(e){return new this(e).cosh()}function eC(e,t){return new this(e).div(t)}function eb(e){return new this(e).exp()}function ew(e){return $(e=new this(e),e.e+1,3)}function eF(){var e,t,a=new this(0);for(C=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)a.d&&(a=a.plus(t.times(t)));else{if(t.s)return C=!0,new this(1/0);a=t}return C=!0,a.sqrt()}function eR(e){return e instanceof eY||e&&e.toStringTag===D||!1}function eD(e){return new this(e).ln()}function eN(e,t){return new this(e).log(t)}function eU(e){return new this(e).log(2)}function eV(e){return new this(e).log(10)}function eB(){return et(this,arguments,"lt")}function eM(){return et(this,arguments,"gt")}function eO(e,t){return new this(e).mod(t)}function eG(e,t){return new this(e).mul(t)}function eL(e,t){return new this(e).pow(t)}function e_(e){var t,a,i,r,d=0,n=new this(1),s=[];if(void 0===e?e=this.precision:W(e,1,1e9),i=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(i));d<i;)(r=t[d])>=429e7?t[d]=crypto.getRandomValues(new Uint32Array(1))[0]:s[d++]=r%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=4);d<i;)(r=t[d]+(t[d+1]<<8)+(t[d+2]<<16)+((127&t[d+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,d):(s.push(r%1e7),d+=4);d=i/4}else throw Error(R);else for(;d<i;)s[d++]=1e7*Math.random()|0;for(i=s[--d],e%=7,i&&e&&(r=U(10,7-e),s[d]=(i/r|0)*r);0===s[d];d--)s.pop();if(d<0)a=0,s=[0];else{for(a=-1;0===s[0];a-=7)s.shift();for(i=1,r=s[0];r>=10;r/=10)i++;i<7&&(a-=7-i)}return n.e=a,n.d=s,n}function ex(e){return $(e=new this(e),e.e+1,this.rounding)}function eW(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eH(e){return new this(e).sin()}function eK(e){return new this(e).sinh()}function eq(e){return new this(e).sqrt()}function e$(e,t){return new this(e).sub(t)}function eJ(){var e=0,t=arguments,a=new this(t[0]);for(C=!1;a.s&&++e<t.length;)a=a.plus(t[e]);return C=!0,$(a,this.precision,this.rounding)}function ej(e){return new this(e).tan()}function ez(e){return new this(e).tanh()}function eZ(e){return $(e=new this(e),e.e+1,1)}_[Symbol.for("nodejs.util.inspect.custom")]=_.toString,_[Symbol.toStringTag]="Decimal";var eY=_.constructor=function e(t){var a,i,r;function d(e){var t,a,i;if(!(this instanceof d))return new d(e);if(this.constructor=d,eR(e)){this.s=e.s,C?!e.d||e.e>d.maxE?(this.e=NaN,this.d=null):e.e<d.minE?(this.e=0,this.d=[0]):(this.e=e.e,this.d=e.d.slice()):(this.e=e.e,this.d=e.d?e.d.slice():e.d);return}if("number"==(i=typeof e)){if(0===e){this.s=1/e<0?-1:1,this.e=0,this.d=[0];return}if(e<0?(e=-e,this.s=-1):this.s=1,e===~~e&&e<1e7){for(t=0,a=e;a>=10;a/=10)t++;C?t>d.maxE?(this.e=NaN,this.d=null):t<d.minE?(this.e=0,this.d=[0]):(this.e=t,this.d=[e]):(this.e=t,this.d=[e]);return}if(0*e!=0){e||(this.s=NaN),this.e=NaN,this.d=null;return}return ed(this,e.toString())}if("string"!==i)throw Error(w+e);return 45===(a=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===a&&(e=e.slice(1)),this.s=1),O.test(e)?ed(this,e):function(e,t){var a,i,r,d,n,s,o,c,u;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),O.test(t))return ed(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(B.test(t))a=16,t=t.toLowerCase();else if(V.test(t))a=2;else if(M.test(t))a=8;else throw Error(w+t);for((d=t.search(/p/i))>0?(o=+t.slice(d+1),t=t.substring(2,d)):t=t.slice(2),n=(d=t.indexOf("."))>=0,i=e.constructor,n&&(d=(s=(t=t.replace(".","")).length)-d,r=Q(i,new i(a),d,2*d)),d=u=(c=K(t,a,1e7)).length-1;0===c[d];--d)c.pop();return d<0?new i(0*e.s):(e.e=j(c,u),e.d=c,C=!1,n&&(e=q(e,r,4*s)),o&&(e=e.times(54>Math.abs(o)?U(2,o):eY.pow(2,o))),C=!0,e)}(this,e)}if(d.prototype=_,d.ROUND_UP=0,d.ROUND_DOWN=1,d.ROUND_CEIL=2,d.ROUND_FLOOR=3,d.ROUND_HALF_UP=4,d.ROUND_HALF_DOWN=5,d.ROUND_HALF_EVEN=6,d.ROUND_HALF_CEIL=7,d.ROUND_HALF_FLOOR=8,d.EUCLID=9,d.config=d.set=eP,d.clone=e,d.isDecimal=eR,d.abs=el,d.acos=em,d.acosh=ep,d.add=eA,d.asin=eg,d.asinh=eI,d.atan=eh,d.atanh=eS,d.atan2=ey,d.cbrt=ek,d.ceil=eE,d.clamp=ef,d.cos=ev,d.cosh=eT,d.div=eC,d.exp=eb,d.floor=ew,d.hypot=eF,d.ln=eD,d.log=eN,d.log10=eV,d.log2=eU,d.max=eB,d.min=eM,d.mod=eO,d.mul=eG,d.pow=eL,d.random=e_,d.round=ex,d.sign=eW,d.sin=eH,d.sinh=eK,d.sqrt=eq,d.sub=e$,d.sum=eJ,d.tan=ej,d.tanh=ez,d.trunc=eZ,void 0===t&&(t={}),t&&!0!==t.defaults)for(r=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],a=0;a<r.length;)t.hasOwnProperty(i=r[a++])||(t[i]=this[i]);return d.config(t),d}(T);P=new eY(P),v=new eY(v);var eX=eY;function eQ(){var e,t,a;return"object"==typeof Netlify?"netlify":"string"==typeof EdgeRuntime?"edge-light":(null==(e=globalThis.navigator)?void 0:e.userAgent)==="Cloudflare-Workers"?"workerd":globalThis.Deno?"deno":globalThis.__lagon__?"lagon":(null==(a=null==(t=globalThis.process)?void 0:t.release)?void 0:a.name)==="node"?"node":globalThis.Bu
1n?"bun":globalThis.fastly?"fastly":"unknown"}},43672:(e,t,a)=>{e.exports=a(92410)},92410:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0});let{Decimal:i,objectEnumValues:r,makeStrictEnum:d,Public:n,detectRuntime:s}=a(26463),o={};t.Prisma=o,t.$Enums={},o.prismaVersion={client:"5.7.1",engine:"0ca5ccbcfa6bdc81c003cf549abe4269f59c41e5"},o.PrismaClientKnownRequestError=()=>{throw Error(`PrismaClientKnownRequestError is unable to be run ${runtimeDescription}.
2In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.PrismaClientUnknownRequestError=()=>{throw Error(`PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}.
3In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.PrismaClientRustPanicError=()=>{throw Error(`PrismaClientRustPanicError is unable to be run ${runtimeDescription}.
4In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.PrismaClientInitializationError=()=>{throw Error(`PrismaClientInitializationError is unable to be run ${runtimeDescription}.
5In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.PrismaClientValidationError=()=>{throw Error(`PrismaClientValidationError is unable to be run ${runtimeDescription}.
6In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.NotFoundError=()=>{throw Error(`NotFoundError is unable to be run ${runtimeDescription}.
7In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.Decimal=i,o.sql=()=>{throw Error(`sqltag is unable to be run ${runtimeDescription}.
8In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.empty=()=>{throw Error(`empty is unable to be run ${runtimeDescription}.
9In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.join=()=>{throw Error(`join is unable to be run ${runtimeDescription}.
10In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.raw=()=>{throw Error(`raw is unable to be run ${runtimeDescription}.
11In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.validator=n.validator,o.getExtensionContext=()=>{throw Error(`Extensions.getExtensionContext is unable to be run ${runtimeDescription}.
12In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.defineExtension=()=>{throw Error(`Extensions.defineExtension is unable to be run ${runtimeDescription}.
13In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},o.DbNull=r.instances.DbNull,o.JsonNull=r.instances.JsonNull,o.AnyNull=r.instances.AnyNull,o.NullTypes={DbNull:r.classes.DbNull,JsonNull:r.classes.JsonNull,AnyNull:r.classes.AnyNull},t.Prisma.TransactionIsolationLevel=d({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),t.Prisma.WorkspaceScalarFieldEnum={id:"id",name:"name",avatar:"avatar",winningSpendThreshold:"winningSpendThreshold",weeklyNovelUspConceptsCount:"weeklyNovelUspConceptsCount",weeklyNovelFormatConceptsCount:"weeklyNovelFormatConceptsCount",weeklyWinnerVariantConceptsCount:"weeklyWinnerVariantConceptsCount",competitorAdsWinningFlightTimeDays:"competitorAdsWinningFlightTimeDays",metaChangesEnabled:"metaChangesEnabled",videoAgentMainModelId:"videoAgentMainModelId",videoAgentKieSeedanceModelId:"videoAgentKieSeedanceModelId",createdAt:"createdAt",updatedAt:"updatedAt",isRealCustomer:"isRealCustomer",isSelfServed:"isSelfServed",fbUrl:"fbUrl",tikTokUsername:"tikTokUsername",instagramUsername:"instagramUsername",facebookPageId:"facebookPageId",facebookPageName:"facebookPageName",facebookPagePictureUrl:"facebookPagePictureUrl",facebookPageConnectedByUserId:"facebookPageConnectedByUserId",facebookPageConnectedAt:"facebookPageConnectedAt",instagramBusinessAccountId:"instagramBusinessAccountId",instagramBusinessUsername:"instagramBusinessUsername",defaultMetaAdId:"defaultMetaAdId",facebookAccessToken:"facebookAccessToken",metaAdAccountId:"metaAdAccountId",metaAdAccountName:"metaAdAccountName",lastFetchedMetaAdsAccounts:"lastFetchedMetaAdsAccounts",lastMetaAccountSyncCompletedAt:"lastMetaAccountSyncCompletedAt",productType:"productType",verticalAndSubvertical:"verticalAndSubvertical",lastFetchedMetaInsightsAt:"lastFetchedMetaInsightsAt",lastMetaAccountSyncError:"lastMetaAccountSyncError",lastFacebookPostsScrapedAt:"lastFacebookPostsScrapedAt",lastFacebookAdsScrapedAt:"lastFacebookAdsScrapedAt",lastTikTokVideosScrapedAt:"lastTikTokVideosScrapedAt",lastInstagramReelsScrapedAt:"lastInstagramReelsScrapedAt",lastFetchedTikTokInsightsAt:"lastFetchedTikTokInsightsAt",lastTikTokAccountSyncError:"lastTikTokAccountSyncError",lastTriggeredFetchedMetaInsightsViaUIAt:"lastTriggeredFetchedMetaInsightsViaUIAt",lastTriggeredFetchCompet
13itorAds:"lastTriggeredFetchCompetitorAds",lastTriggeredFetchCompetitorAdsViaUIAt:"lastTriggeredFetchCompetitorAdsViaUIAt",lastTriggeredFetchAdRulesAt:"lastTriggeredFetchAdRulesAt",googleAccessToken:"googleAccessToken",googleAccessTokenExpiresAt:"googleAccessTokenExpiresAt",googleRefreshToken:"googleRefreshToken",onboardingStep:"onboardingStep",cinematicAdEnabled:"cinematicAdEnabled",isAllowAgents:"isAllowAgents",heroImagesEnabled:"heroImagesEnabled",adAccountId:"adAccountId",wordsToReplace:"wordsToReplace",wordsToAvoid:"wordsToAvoid",brandGuideline:"brandGuideline",overridePaywall:"overridePaywall",ghlLocationId:"ghlLocationId",ghlCompanyId:"ghlCompanyId",targetCpr:"targetCpr",targetRoas:"targetRoas",proposedChanges:"proposedChanges",metaAdsLookbackDays:"metaAdsLookbackDays",videoAgentSuggestionChips:"videoAgentSuggestionChips",ownerId:"ownerId"},t.Prisma.AssetScalarFieldEnum={id:"id",workspaceId:"workspaceId",fileSize:"fileSize",mediaWidth:"mediaWidth",mediaHeight:"mediaHeight",fileName:"fileName",s3Bucket:"s3Bucket",s3Path:"s3Path",signedLink:"signedLink",expiryTime:"expiryTime",createdAt:"createdAt",description:"description",type:"type",scope:"scope",status:"status",source:"source",sourceUrl:"sourceUrl",adRequestId:"adRequestId",productId:"productId",brandProductId:"brandProductId",metaAdCreativeDetailId:"metaAdCreativeDetailId",assetFolderSourceId:"assetFolderSourceId",facebookPostId:"facebookPostId",tikTokVideoId:"tikTokVideoId",instagramReelId:"instagramReelId",metadataTags:"metadataTags",relevance:"relevance",pHash:"pHash",s3PathThumb:"s3PathThumb",prompt:"prompt",videoAdSuitability:"videoAdSuitability",videoAdSuitabilityReason:"videoAdSuitabilityReason",productAngle:"productAngle"},t.Prisma.AssetSegmentScalarFieldEnum={id:"id",assetId:"assetId",startTime:"startTime",endTime:"endTime",thumbnailS3Bucket:"thumbnailS3Bucket",thumbnailS3Key:"thumbnailS3Key",clipS3Bucket:"clipS3Bucket",clipS3Key:"clipS3Key",description:"description",setting:"setting",actions:"actions",objects:"objects",mood:"mood",energy:"energy",motionDescription:"motionDescription",cameraWork:"cameraWork",quality:"quality",shotType:"shotType",subjectType:"subjectType",lighting:"lighting",hasTextOverlay:"hasTextOverlay",hasLogo:"hasLogo",isCleanBroll:"isCleanBroll",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CompetitorScalarFieldEnum={id:"id",metaAdLibraryAccountId:"metaAdLibraryAccountId",websiteUrl:"websiteUrl",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",businessEmail:"businessEmail",magicCode:"magicCode",magicCodeExpiresAt:"magicCodeExpiresAt",googleDisplayName:"googleDisplayName",googleEmail:"googleEmail",firstName:"firstName",lastName:"lastName",displayName:"displayName",email:"email",avatar:"avatar",isWhitelisted:"isWhitelisted",isAdmin:"isAdmin",isDemoUser:"isDemoUser",isDeveloper:"isDeveloper",isAgencyUser:"isAgencyUser",selfReportedAgencyStatus:"selfReportedAgencyStatus",agencyWebsite:"agencyWebsite",brandCategory:"brandCategory",companySize:"companySize",isArchived:"isArchived",abuseGuardOverride:"abuseGuardOverride",abuseGuardOverrideReason:"abuseGuardOverrideReason",abuseGuardOverrideUpdatedAt:"abuseGuardOverrideUpdatedAt",abuseGuardOverrideUpdatedByUserId:"abuseGuardOverrideUpdatedByUserId",abuseGuardBlockedAt:"abuseGuardBlockedAt",abuseGuardBlockedAction:"abuseGuardBlockedAction",abuseGuardBlockedReasons:"abuseGuardBlockedReasons",signupCountry:"signupCountry",facebookId:"facebookId",facebookEmail:"facebookEmail",facebookAccessToken:"facebookAccessToken",facebookRefreshToken:"facebookRefreshToken",facebookLongLivedToken:"facebookLongLivedToken",facebookLongLivedTokenExpiresAt:"facebookLongLivedTokenExpiresAt",facebookProfileAvatar:"facebookProfileAvatar",facebookFirstName:"facebookFirstName",facebookLastName:"facebookLastName",tiktokOpenId:"tiktokOpenId",tiktokAccessToken:"tiktokAccessToken",tiktokAccessTokenExpiresAt:"tiktokAccessTokenExpiresAt",tiktokRefreshToken:"tiktokRefreshToken",tiktokRefreshTokenExpiresAt:"tiktokRefreshTokenExpiresAt",tiktokDisplayName:"tiktokDisplayName",tiktokAvatar:"tiktokAvatar",stripeCustomerId:"stripeCustomerId",activeCampaignContactId:"activeCampaignContactId",lastSyncedWithActiveCampaignAt:"lastSyncedWithActiveCampaignAt",ghlUserId:"ghlUserId",ghlCompanyId:"ghlCompanyId",subscriptionLevel:"subscriptionLevel",overridePaywall:"overridePaywall",via:"via",skippedFreemium:"skippedFreemium",videoOnboardingCompleted:"videoOnboardingCompleted",retentionOfferRedeemedAt:"retentionOfferRedeemedAt",retentionOfferAttemptId:"retentionOfferAttemptId",retentionOfferAttemptSubscriptionId:"retentionOfferAttemptSubscriptionId",retentionOfferAttemptStartedAt:"retentionOfferAttemptStartedAt",retentionOfferAttemptParams:"retentionOfferAttemptParams"},t.Prisma.AbuseRiskEventScalarFieldEnum={id:"id",createdAt:"createdAt",eventType:"eventType",userId:"userId",workspaceId:"workspaceId",action:"action",email:"email",emailDomain:"emailDomain",ipHash:"ipHash",deviceHash:"deviceHash",userAgentHash:"userAgentHash",riskScore:"riskScore",reasons:"reasons",metadata:"metadata"},t.Prisma.WorkspaceDomainSubmissionScalarFieldEnum={id:"id",createdAt:"createdAt",workspaceId:"workspaceId",host:"host",lastSeenAt:"lastSeenAt"},t.Prisma.VideoAgentSessionScalarFieldEnum={id:"id",userId:"userId",workspaceId:"workspaceId",workspaceDir:"workspaceDir",claudeSessionId:"claudeSessionId",origin:"origin",agentState:"agentState",editorState:"editorState",conversationAnalysis:"conversationAnalysis",parentSessionId:"parentSessionId",buildFinishedAt:"buildFinishedAt",createdAt:"createdAt",updatedAt:"updatedAt",lastActiveAt:"lastActiveAt",deletedAt:"deletedAt",title:"title",modelId:"modelId",workspaceModelId:"workspaceModelId",workspaceModelConfigured:"workspaceModelConfigured",clipGenerationCount:"clipGenerationCount",billableAiVideoDurationSeconds:"billableAiVideoDurationSeconds",creditsChargedTotal:"creditsChargedTotal",videoDownloadedAt:"videoDownloadedAt",videoDownloadCount:"videoDownloadCount",lastDownloadedVideoUrl:"lastDownloadedVideoUrl",videoShowcaseId:"videoShowcaseId",videoCreativeIdeaId:"videoCreativeIdeaId"},t.Prisma.CreditLedgerEntryScalarFieldEnum={id:"id",workspaceId:"workspaceId",userId:"userId",sessionId:"sessionId",generatedAdVideoId:"generatedAdVideoId",amountCredits:"amountCredits",productArea:"productArea",reason:"reason",description:"description",metadata:"metadata",dedupeKey:"dedupeKey",createdAt:"createdAt"},t.Prisma.VideoAgentSessionAssetScalarFieldEnum={id:"id",sessionId:"sessionId",fileName:"fileName",mimeType:"mimeType",fileSize:"fileSize",assetType:"assetType",s3Bucket:"s3Bucket",s3Key:"s3Key",publicUrl:"publicUrl",uploadedAt:"uploadedAt"},t.Prisma.VideoAgentMessageScalarFieldEnum={id:"id",sessionId:"sessionId",role:"role",content:"content",metadata:"metadata",metrics:"metrics",createdAt:"createdAt"},t.Prisma.BrandReportCorrectionScalarFieldEnum={id:"id",schemaVersion:"schemaVersion",inputVersion:"inputVersion",sessionId:"sessionId",sourceMessageId:"sourceMessageId",clientMessageId:"clientMessageId",reportId:"reportId",baseRevision:"baseRevision",targetRevision:"targetRevision",status:"status",sections:"sections",progress:"progress",createdAt:"createdAt",updatedAt:"updatedAt",completedAt:"completedAt"},t.Prisma.AdAccountScalarFieldEnum={id:"id",facebookId:"facebookId",name:"name",amountSpent:"amountSpent",currency:"currency",accountStatus:"accountStatus",isActive:"isActive",userId:"userId"}
13,t.Prisma.NotificationScalarFieldEnum={id:"id",title:"title",body:"body",destinationUrl:"destinationUrl",type:"type",read:"read",readAdmin:"readAdmin",createdAt:"createdAt",updatedAt:"updatedAt",archived:"archived",workspaceId:"workspaceId",adBriefGenerationRequestId:"adBriefGenerationRequestId",personalisedAgentId:"personalisedAgentId"},t.Prisma.ReviewScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",workspaceId:"workspaceId",recentActivity:"recentActivity",campaignId:"campaignId",notificationId:"notificationId"},t.Prisma.CampaignScalarFieldEnum={id:"id",name:"name",createdAt:"createdAt",updatedAt:"updatedAt",defaultMetaAdId:"defaultMetaAdId",isDeleted:"isDeleted",archived:"archived",isDraft:"isDraft",lastSeenAtByCustomer:"lastSeenAtByCustomer",lastSeenAtByAdmin:"lastSeenAtByAdmin",metaCampaignId:"metaCampaignId",metaCampaignName:"metaCampaignName",createdByAdmin:"createdByAdmin",newAdsRequested:"newAdsRequested",description:"description",newAdsRequestCompleted:"newAdsRequestCompleted",workspaceId:"workspaceId"},t.Prisma.ReferenceAdScalarFieldEnum={id:"id",referenceAd:"referenceAd",campaignId:"campaignId"},t.Prisma.AdSetScalarFieldEnum={id:"id",name:"name",clusterMapUrl:"clusterMapUrl",thumbnailS3Bucket:"thumbnailS3Bucket",thumbnailS3Key:"thumbnailS3Key",insightsText:"insightsText",createdAt:"createdAt",updatedAt:"updatedAt",isDraft:"isDraft",campaignId:"campaignId",dailyBudget:"dailyBudget",bidAmount:"bidAmount",optimizationGoal:"optimizationGoal",billingEvent:"billingEvent",adOpportunityId:"adOpportunityId",metaAdSetId:"metaAdSetId",recommendedActionId:"recommendedActionId",adBriefGenerationRequestId:"adBriefGenerationRequestId",adIdeaId:"adIdeaId"},t.Prisma.AdLibraryIdScalarFieldEnum={id:"id",adLibraryId:"adLibraryId",campaignId:"campaignId"},t.Prisma.AdOpportunityScalarFieldEnum={id:"id",title:"title",type:"type",createdAt:"createdAt",updatedAt:"updatedAt",anchorAdId:"anchorAdId",anchorAdPrimaryText:"anchorAdPrimaryText",anchorAdCreativeS3Key:"anchorAdCreativeS3Key",anchorAdCreativeS3Bucket:"anchorAdCreativeS3Bucket",anchorAdCta:"anchorAdCta",anchorAdHeadline:"anchorAdHeadline",anchorAdDisplayUrl:"anchorAdDisplayUrl",anchorAdLinkDescription:"anchorAdLinkDescription",anchorAdAdSetName:"anchorAdAdSetName",anchorAdBackgroundInfo:"anchorAdBackgroundInfo",workspaceId:"workspaceId",campaignId:"campaignId",notificationId:"notificationId"},t.Prisma.ReportScalarFieldEnum={id:"id",name:"name",type:"type",status:"status",iframeUrl:"iframeUrl",s3Bucket:"s3Bucket",s3Path:"s3Path",reportDate:"reportDate",createdAt:"createdAt",updatedAt:"updatedAt",startDate:"startDate",endDate:"endDate",overview:"overview",historicData:"historicData",topAds:"topAds",headline:"headline",description:"description",metricsToDisplay:"metricsToDisplay",notificationId:"notificationId",lastSeenAtByCustomer:"lastSeenAtByCustomer",lastSeenAtByAdmin:"lastSeenAtByAdmin",workspaceId:"workspaceId"},t.Prisma.CreativeScalarFieldEnum={id:"id",name:"name",createdAt:"createdAt",updatedAt:"updatedAt",position:"position",figmaUrl:"figmaUrl",figmaUrl9By16:"figmaUrl9By16",videoFilename:"videoFilename",videoS3Key:"videoS3Key",videoS3Bucket:"videoS3Bucket",archived:"archived",status:"status",primaryText:"primaryText",cta:"cta",headline:"headline",linkDescription:"linkDescription",displayUrl:"displayUrl",websiteUrl:"websiteUrl",metaAdcreativeId:"metaAdcreativeId",metaAdId:"metaAdId",adSetId:"adSetId",chatThreadId:"chatThreadId",figma1by1ImageS3Bucket:"figma1by1ImageS3Bucket",figma1by1ImageS3Key:"figma1by1ImageS3Key",figma9by16ImageS3Bucket:"figma9by16ImageS3Bucket",figma9by16ImageS3Key:"figma9by16ImageS3Key",recommendedActionId:"recommendedActionId"},t.Prisma.ChatThreadScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",notificationId:"notificationId",association:"association",lastSeenAtByCustomer:"lastSeenAtByCustomer",lastSeenAtByAdmin:"lastSeenAtByAdmin",workspaceId:"workspaceId",subject:"subject",isResolved:"isResolved"},t.Prisma.MessageScalarFieldEnum={id:"id",createdAt:"createdAt",chatThreadId:"chatThreadId",senderId:"senderId",isAdmin:"isAdmin",type:"type",content:"content"},t.Prisma.InvitationScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",token:"token",expiresAt:"expiresAt",w
13orkspaceId:"workspaceId",recipientEmail:"recipientEmail",grantOwnership:"grantOwnership",sharedSessionId:"sharedSessionId",createdByUserId:"createdByUserId"},t.Prisma.MetaInsightScalarFieldEnum={id:"id",createdAt:"createdAt",name:"name",metaId:"metaId",account_id:"account_id",cost_per_unique_inline_link_click:"cost_per_unique_inline_link_click",cost_per_unique_click:"cost_per_unique_click",cost_per_inline_post_engagement:"cost_per_inline_post_engagement",cost_per_inline_link_click:"cost_per_inline_link_click",reach:"reach",spend:"spend",clicks:"clicks",impressions:"impressions",frequency:"frequency",ctr:"ctr",cpm:"cpm",cpc:"cpc",cpp:"cpp",video_plays:"video_plays",video_3sec_views:"video_3sec_views",video_15sec_views:"video_15sec_views",video_p25_watched:"video_p25_watched",video_p50_watched:"video_p50_watched",video_p75_watched:"video_p75_watched",video_p95_watched:"video_p95_watched",video_p100_watched:"video_p100_watched",video_avg_time_watched_sec:"video_avg_time_watched_sec",video_thruplays:"video_thruplays",cost_per_thruplay:"cost_per_thruplay",timeIncrement:"timeIncrement",until:"until",since:"since",insightType:"insightType",metaAdDetailId:"metaAdDetailId",metaAdSetDetailId:"metaAdSetDetailId",metaCampaignDetailId:"metaCampaignDetailId",workspaceId:"workspaceId"},t.Prisma.MetaInsightCostDetailScalarFieldEnum={id:"id",action_type:"action_type",value:"value",insightId:"insightId"},t.Prisma.MetaCampaignDetailScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",metaUpdatedTime:"metaUpdatedTime",lastFetchedAt:"lastFetchedAt",metaAdAccountId:"metaAdAccountId",metaCampaignId:"metaCampaignId",metaName:"metaName",metaStatus:"metaStatus",metaObjective:"metaObjective",workspaceId:"workspaceId",metaLifetimeBudget:"metaLifetimeBudget",metaDailyBudget:"metaDailyBudget",campaignId:"campaignId"},t.Prisma.MetaAdSetDetailScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",metaUpdatedTime:"metaUpdatedTime",lastFetchedAt:"lastFetchedAt",metaAdAccountId:"metaAdAccountId",metaCampaignId:"metaCampaignId",metaAdSetId:"metaAdSetId",metaName:"metaName",metaStatus:"metaStatus",metaDailyBudget:"metaDailyBudget",metaLifetimeBudget:"metaLifetimeBudget",metaCampaignDetailId:"metaCampaignDetailId",promotedObject:"promotedObject",attributionSpec:"attributionSpec",targeting:"targeting",adSetId:"adSetId",workspaceId:"workspaceId"},t.Prisma.MetaAdDetailScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",lastFetchedAt:"lastFetchedAt",metaUpdatedTime:"metaUpdatedTime",metaAdAccountId:"metaAdAccountId",metaCampaignId:"metaCampaignId",metaAdSetId:"metaAdSetId",metaAdId:"metaAdId",metaName:"metaName",workspaceId:"workspaceId",metaStatus:"metaStatus",metaCampaignDetailId:"metaCampaignDetailId",metaAdSetDetailId:"metaAdSetDetailId",totalSpend:"totalSpend",last30DaysSpend:"last30DaysSpend",totalRevenue:"totalRevenue",last30DaysRevenue:"last30DaysRevenue",totalResults:"totalResults",last30DaysResults:"last30DaysResults",totalVideoPlays:"totalVideoPlays",totalVideo3SecViews:"totalVideo3SecViews",totalVideo15SecViews:"totalVideo15SecViews",totalVideoP25Watched:"totalVideoP25Watched",totalVideoP50Watched:"totalVideoP50Watched",totalVideoP75Watched:"totalVideoP75Watched",totalVideoP95Watched:"totalVideoP95Watched",totalVideoP100Watched:"totalVideoP100Watched",totalVideoThruplays:"totalVideoThruplays",latestVideoAvgTimeWatchedSec:"latestVideoAvgTimeWatchedSec",creativeId:"creativeId"},t.Prisma.MetaAdcreativeDetailScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",metaAdcreativeId:"metaAdcreativeId",metaAccountId:"metaAccountId",metaAdAccountId:"metaAdAccountId",metaName:"metaName",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",thumbnailS3Key:"thumbnailS3Key",thumbnailS3Bucket:"thumbnailS3Bucket",metaImageHash:"metaImageHash",metaBody:"metaBody",metaTitle:"metaTitle",metaDescription:"metaDescription",metaDisplayUrl:"metaDisplayUrl",metaWebsiteUrl:"metaWebsiteUrl",metaCta:"metaCta",metaVideoId:"metaVideoId",videoS3Bucket:"videoS3Bucket",videoS3Key:"videoS3Key",mediaType:"mediaType",metaObjectType:"metaObjectType",metaAdcreativeStatus:"metaAdcreativeStatus",metaAdDetailId:"metaAdDetailId",workspaceId:"workspaceId"},t.Prisma.MetaInsightActionScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",metaInsightId:"metaInsightId",action:"action",value:"value",oneDayClick:"oneDayClick",sevenDayClick:"sevenDayClick",twentyEightDayClick:"twentyEightDayClick",oneDayView:"oneDayView",sevenDayView:"sevenDayView",twentyEightDayView:"twentyEightDayView",type:"type"},t.Prisma.RecommendedActionScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",status:"status",context:"context",workspaceId:"workspaceId",type:"type",metaDailyBudget:"metaDailyBudget",severity:"severity",rejectReason:"rejectReason",campaignId:"campaignId",metaCampaignDetailId:"metaCampaignDetailId",metaAdSetDetailId:"metaAdSetDetailId",metaAdDetailId:"metaAdDetailId",challengerAnchorAdPrimaryText:"challengerAnchorAdPrimaryText",challengerAnchorAdCreativeS3Key:"challengerAnchorAdCreativeS3Key",challengerAnchorAdCreativeS3Bucket:"challengerAnchorAdCreativeS3Bucket",challengerAnchorAdHeadline:"challengerAnchorAdHeadline",challengerAnchorAdDescription:"challengerAnchorAdDescription",challengerAnchorAdDisplayUrl:"challengerAnchorAdDisplayUrl",challengerAnchorAdCta:"challengerAnchorAdCta",notificationId:"notificationId",lastSeenAtByCustomer:"lastSeenAtByCustomer",lastSeenAtByAdmin:"lastSeenAtByAdmin",recommendedAdSetId:"recommendedAdSetId"},t.Prisma.MetaAdCreativeScalarFieldEnum={id:"id",metaAdAccountId:"metaAdAccountId",metaAdId:"metaAdId",metaPageId:"metaPageId",metaCreativeId:"metaCreativeId",name:"name",url:"url",body:"body",title:"title",description:"description",spend:"spend",ctr:"ctr",cpm:"cpm",cpc:"cpc",cpp:"cpp",reach:"reach",impressions:"impressions",flightTimeDays:"flightTimeDays",spendFloat:"spendFloat",ctrFloat:"ctrFloat",cpmFloat:"cpmFloat",cpcFloat:"cpcFloat",cppFloat:"cppFloat",cprFloat:"cprFloat",resultFloat:"resultFloat",reachFloat:"reachFloat",impressionsFloat:"impressionsFloat",flightTimeDaysFloat:"flightTimeDaysFloat",clicksFloat:"clicksFloat",adUrl:"adUrl",imageHash:"imageHash",imageUrl:"imageUrl",s3Filename:"s3Filename",s3Key:"s3Key",s3Bucket:"s3Bucket",s3Folder:"s3Folder",cta:"cta",pageProfilePictureUrl:"pageProfilePictureUrl",lastActiveTime:"lastActiveTime",adCreatedTime:"adCreatedTime",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CreativeAngleScalarFieldEnum={id:"id",llmAngleName:"llmAngleName",llmAngleDescription:"llmAngleDescription",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CreativeAngleUsageScalarFieldEnum={id:"id",metaAdCreativeId:"metaAdCreativeId",creativeAngleId:"creativeAngleId",usageDescription:"usageDescription",llmSuggestedAngleName:"llmSuggestedAngleName",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ChangeLogScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",type:"type",message:"message",jsonData:"jsonData",userId:"userId",workspaceId:"workspaceId",campaignId:"campaignId",adSetId:"adSetId",creativeId:"creativeId",recommendedActionId:"recommendedActionId"},t.Prisma.AdRequestScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",instructionsDescription:"instructionsDescription",promotionOrDiscounts:"promotionOrDiscounts",audienceDescription:"audienceDescription",message:"message",workspaceId:"workspaceId"},t.Prisma.AdRequestProductScalarFieldEnum={id:"id",productName:"productName",url:"url",description:"description",adRequestId:"adRequestId"},t.Prisma.AdAttributesScalarFieldEnum={id:"id",adId:"adId",attributes:"attributes",elements:"elements",adConcept:"adConcept",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ClientDossierScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",websiteUrl:"websiteUrl",name:"name",overview:"overview",industry:"industry",tagLine:"tagLine",positioning:"positioning",tone:"tone",visionMission:"visionMission",otherUrls:"otherUrls",regulatoryCompliance:"regulatoryCompliance",productType:"productType",productTypeReasoning:"productTypeReasoning",workspaceId:"workspaceId"},t.Prisma.BrandScoreScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",score:"score",tier:"tier",breakdown:"breakdown",workspaceId:"workspaceId"},t.Prisma.AdProductScalarFieldEnum={id:"id",urls:"urls",name:"name",description:"description",originalPrice
13:"originalPrice",discountedPrice:"discountedPrice",deletedAt:"deletedAt",headlines:"headlines",subHeadlines:"subHeadlines",socialProofs:"socialProofs",offers:"offers",features:"features",benefits:"benefits",painPoints:"painPoints",processSteps:"processSteps",ctas:"ctas",trustBadges:"trustBadges",createdAt:"createdAt",updatedAt:"updatedAt",workspaceId:"workspaceId"},t.Prisma.AdTestingStrategyRequestScalarFieldEnum={id:"id",metaAdDetailId:"metaAdDetailId",adImpactProfile:"adImpactProfile",strategies:"strategies",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdBriefGenerationRequestScalarFieldEnum={id:"id",marketerInsight:"marketerInsight",winningAdLevers:"winningAdLevers",status:"status",failureReason:"failureReason",type:"type",name:"name",generatedBriefContent:"generatedBriefContent",userId:"userId",nps:"nps",similarityScore:"similarityScore",similarityScoreVisualImagery:"similarityScoreVisualImagery",similarityScoreCreativeCopy:"similarityScoreCreativeCopy",similarityScoreAdCopy:"similarityScoreAdCopy",productId:"productId",metaAdDetailId:"metaAdDetailId",adInspirations:"adInspirations",systemVersion:"systemVersion",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",adTestingStrategyRequestId:"adTestingStrategyRequestId",winningVariantIdeaId:"winningVariantIdeaId",challengerIdeaId:"challengerIdeaId"},t.Prisma.AdBriefVariantScalarFieldEnum={id:"id",name:"name",variantVersion:"variantVersion",editVersion:"editVersion",adConcept:"adConcept",creativeTextElements:"creativeTextElements",creativeVisualElements:"creativeVisualElements",visualDescription:"visualDescription",adTitle:"adTitle",adBody:"adBody",adDescription:"adDescription",feedback:"feedback",feedbackChat:"feedbackChat",userEdits:"userEdits",sources:"sources",similarityScore:"similarityScore",similarityScoreVisualImagery:"similarityScoreVisualImagery",similarityScoreCreativeCopy:"similarityScoreCreativeCopy",similarityScoreAdCopy:"similarityScoreAdCopy",changeCombination:"changeCombination",adBriefGenerationRequestId:"adBriefGenerationRequestId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdBriefVariantImprovementChatScalarFieldEnum={id:"id",conversation:"conversation",adBriefGenerationRequestId:"adBriefGenerationRequestId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdBriefReferenceEmbeddingsScalarFieldEnum={id:"id",sourceType:"sourceType",key:"key",value:"value",embedding:"embedding",workspaceId:"workspaceId",productId:"productId",metaAdDetailId:"metaAdDetailId",adBriefGenerationRequestId:"adBriefGenerationRequestId",originType:"originType",originValue:"originValue",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdFormatScalarFieldEnum={id:"id",name:"name",description:"description",category:"category",thumbstoppingScore:"thumbstoppingScore",thumbstoppingScoreReason:"thumbstoppingScoreReason",productSuitability:"productSuitability",standoutAspectField:"standoutAspectField",standoutAspectValue:"standoutAspectValue",standoutAspectSearchableText:"standoutAspectSearchableText",status:"status",rejectionReason:"rejectionReason",isEnabled:"isEnabled",createdAt:"createdAt",updatedAt:"updatedAt",workspaceId:"workspaceId",seasonOrEventId:"seasonOrEventId"},t.Prisma.AdFormatReferenceAdScalarFieldEnum={id:"id",adFormatId:"adFormatId",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",industry:"industry",productType:"productType",elements:"elements",status:"status",rejectionReason:"rejectionReason",searchableText:"searchableText",metaLibraryAdId:"metaLibraryAdId",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",pageVerticalAndSubverticals:"pageVerticalAndSubverticals"},t.Prisma.VideoTranscriptsScalarFieldEnum={id:"id",transcript:"transcript",createdAt:"createdAt",updatedAt:"updatedAt",metaAdcreativeDetailId:"metaAdcreativeDetailId"},t.Prisma.BrandInstructionsScalarFieldEnum={id:"id",workspaceId:"workspaceId",instructions:"instructions",inputThreadIds:"inputThreadIds",updateType:"updateType",createdAt:"createdAt"},t.Prisma.BriefReviewRequestScalarFieldEnum={id:"id",briefGenerationRequestId:"briefGenerationRequestId",brandInstructionId:"brandInstructionId",generatedReview:"generatedReview",createdAt:"createdAt"}
13,t.Prisma.BackgroundProcessRequestScalarFieldEnum={id:"id",processType:"processType",processStatus:"processStatus",errorMessage:"errorMessage",processResult:"processResult",entityName:"entityName",entityId:"entityId",timeoutSeconds:"timeoutSeconds",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AsyncJobScalarFieldEnum={id:"id",name:"name",brokerMessageId:"brokerMessageId",parentId:"parentId",description:"description",entityName:"entityName",entityId:"entityId",timeOutSeconds:"timeOutSeconds",type:"type",status:"status",jobParams:"jobParams",result:"result",retries:"retries",createdAt:"createdAt",updatedAt:"updatedAt",startedRunningAt:"startedRunningAt",completedAt:"completedAt",expiresAt:"expiresAt"},t.Prisma.BatchJobRunScalarFieldEnum={id:"id",jobType:"jobType",jobArgs:"jobArgs",awsBatchJobId:"awsBatchJobId",status:"status",errorReason:"errorReason",result:"result",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomerTestimonialToUSPScalarFieldEnum={id:"id",customerTestimonialId:"customerTestimonialId",uspId:"uspId",emotionalIntensity:"emotionalIntensity",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomerTestimonialScalarFieldEnum={id:"id",productIdentifier:"productIdentifier",title:"title",body:"body",rating:"rating",testimonialTimestamp:"testimonialTimestamp",customerName:"customerName",customerEmail:"customerEmail",analysisResults:"analysisResults",isGoldenNugget:"isGoldenNugget",productId:"productId",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",personaId:"personaId",uspId:"uspId"},t.Prisma.CustomerTestimonialClusterScalarFieldEnum={id:"id",adIds:"adIds",testimonialsInfo:"testimonialsInfo",isOutlierCluster:"isOutlierCluster",clusterName:"clusterName",insightType:"insightType",isUpvoted:"isUpvoted",feedbackReason:"feedbackReason",uspIds:"uspIds",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PerformanceAlertsScalarFieldEnum={id:"id",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",alertName:"alertName",alertId:"alertId",alertTimestamp:"alertTimestamp",alertFilters:"alertFilters",alertSummary:"alertSummary",actedOn:"actedOn",actedOnAt:"actedOnAt",actedOnBy:"actedOnBy",wasCorrect:"wasCorrect",marketerNotes:"marketerNotes",metaAdDetailId:"metaAdDetailId",metaCampaignDetailId:"metaCampaignDetailId",metaAdSetDetailId:"metaAdSetDetailId"},t.Prisma.ContentShareScalarFieldEnum={id:"id",type:"type",sharedContent:"sharedContent",expiry:"expiry",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdHypothesisScalarFieldEnum={id:"id",adId:"adId",systemPrompt:"systemPrompt",generatedHypothesis:"generatedHypothesis",isUserGiven:"isUserGiven",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",concept:"concept",executionMethod:"executionMethod",keyElements:"keyElements"},t.Prisma.IdeaFeedbackFromUserScalarFieldEnum={id:"id",winnerVariantIdeaId:"winnerVariantIdeaId",feedbackType:"feedbackType",feedbackReason:"feedbackReason",feedbackDate:"feedbackDate",feedbackUserId:"feedbackUserId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.WinnerVariantIdeaScalarFieldEnum={id:"id",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",metaAdDetailIds:"metaAdDetailIds",hypothesisSuccessRate:"hypothesisSuccessRate",winnersContributionScore:"winnersContributionScore",totalWinningCreatives:"totalWinningCreatives",totalWinningCreativesUsingHypothesis:"totalWinningCreativesUsingHypothesis",totalLosingCreatives:"totalLosingCreatives",totalLosingCreativesSampleSize:"totalLosingCreativesSampleSize",totalSampledLosingCreativesUsingHypothesis:"totalSampledLosingCreativesUsingHypothesis",extrapolatedLosingCreativesUsingHypothesis:"extrapolatedLosingCreativesUsingHypothesis",spendThreshold:"spendThreshold",winningAdsStartDate:"winningAdsStartDate",winningAdsEndDate:"winningAdsEndDate",totalSpend:"totalSpend",activeSince:"activeSince",totalResults:"totalResults",totalRevenue:"totalRevenue",cpr:"cpr",roas:"roas",averageRoas:"averageRoas",averageCpr:"averageCpr",reasoning:"reasoning",productUrl:"productUrl",adHypothesisId:"adHypothesisId",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"}
13,t.Prisma.AdHypothesisValidationResultScalarFieldEnum={id:"id",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",isCreativeUsingHypothesis:"isCreativeUsingHypothesis",adHypothesisId:"adHypothesisId",hypothesisGenerationPrompt:"hypothesisGenerationPrompt",hypothesisValidationPrompt:"hypothesisValidationPrompt",isWinnerCreative:"isWinnerCreative",spendThreshold:"spendThreshold",winningAdsStartDate:"winningAdsStartDate",winningAdsEndDate:"winningAdsEndDate",totalLosingCreatives:"totalLosingCreatives",createdAt:"createdAt",updatedAt:"updatedAt",workspaceId:"workspaceId"},t.Prisma.WinnerVariantIdeaTestingStrategyScalarFieldEnum={id:"id",typeOfChange:"typeOfChange",magnitude:"magnitude",whatIsBeingChanged:"whatIsBeingChanged",executionDetails:"executionDetails",whyItPreservesTheHypothesis:"whyItPreservesTheHypothesis",selected:"selected",winnerVariantIdeaId:"winnerVariantIdeaId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductScalarFieldEnum={id:"id",name:"name",visualDescription:"visualDescription",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",imageUrl:"imageUrl",status:"status",setupStep:"setupStep",isPhysicalGood:"isPhysicalGood",productInformation:"productInformation",sizeDescription:"sizeDescription",renderingRules:"renderingRules",productKind:"productKind",identityState:"identityState",defaultVariantKey:"defaultVariantKey",variantKeys:"variantKeys",usageMechanics:"usageMechanics",identityDraftedAt:"identityDraftedAt",identityConfirmedAt:"identityConfirmedAt",arollFramesStale:"arollFramesStale",archivedAt:"archivedAt",generateIdeasForProductEnabled:"generateIdeasForProductEnabled",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductTrainingShotScalarFieldEnum={id:"id",productId:"productId",angle:"angle",description:"description",status:"status",assetId:"assetId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductArollFrameScalarFieldEnum={id:"id",trainingShotId:"trainingShotId",sourceTrainingShotIds:"sourceTrainingShotIds",name:"name",prompt:"prompt",imageUrl:"imageUrl",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",status:"status",feedback:"feedback",approved:"approved",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductHeroImageScalarFieldEnum={id:"id",productId:"productId",assetId:"assetId",sortOrder:"sortOrder",state:"state",provenance:"provenance",variantKey:"variantKey",reviewFlag:"reviewFlag",flaggedAt:"flaggedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CreativeMatrixScalarFieldEnum={id:"id",metaImageHash:"metaImageHash",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",mediaType:"mediaType",videoUrl:"videoUrl",videoS3Key:"videoS3Key",videoS3Bucket:"videoS3Bucket",adFormatId:"adFormatId",seasonOrEventId:"seasonOrEventId",promotionId:"promotionId",personaId:"personaId",workspaceId:"workspaceId",adTitle:"adTitle",adBody:"adBody",adCta:"adCta",adDescription:"adDescription",adWebsiteUrl:"adWebsiteUrl",salientFeatures:"salientFeatures",customerTestimonialId:"customerTestimonialId",createdAt:"createdAt",updatedAt:"updatedAt",videoAdSuitability:"videoAdSuitability",videoAdSuitabilityReason:"videoAdSuitabilityReason"},t.Prisma.CreativeMatrixToMetaAdDetailScalarFieldEnum={id:"id",creativeMatrixId:"creativeMatrixId",metaAdCreativeDetailId:"metaAdCreativeDetailId",metaAdDetailId:"metaAdDetailId"},t.Prisma.USPScalarFieldEnum={id:"id",name:"name",description:"description",weightage:"weightage",primaryBenefitDomain:"primaryBenefitDomain",secondaryBenefitDomain:"secondaryBenefitDomain",relevantProductDetails:"relevantProductDetails",createdAt:"createdAt",updatedAt:"updatedAt",status:"status",firstDetectedSource:"firstDetectedSource",impactScore:"impactScore",impactScoreReason:"impactScoreReason",utilisationScore:"utilisationScore",scoreJson:"scoreJson",scoreUpdatedAt:"scoreUpdatedAt",workspaceId:"workspaceId"},t.Prisma.AssetFolderSourceScalarFieldEnum={id:"id",workspaceId:"workspaceId",folderId:"folderId",variant:"variant",createdAt:"createdAt",lastSyncedAt:"lastSyncedAt",status:"status",folderName:"folderName"},t.Prisma.CreativeMatrixAttributeScalarFieldEnum={id:"id",name:"name",description:"description",creativeMatrixAttributeType:"creativeMatrixAttributeType",weightage:"weightage",isEnabled:"isEnabled",createdAt:"createdAt",updatedAt:"updatedAt",seasonEventStartDate:"seasonEventStartDate",seasonEventEndDate:"seasonEventEndDate"},t.Prisma.AdIdeaScalarFieldEnum={id:"id",workspaceId:"workspaceId",name:"name",description:"description",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",status:"status",type:"type",isSampleAdIdea:"isSampleAdIdea",isExcludedFromCredits:"isExcludedFromCredits",adFormatId:"adFormatId",personaId:"personaId",seasonOrEventId:"seasonOrEventId",ideaSummary:"ideaSummary",ideaCohesion:"ideaCohesion",formatReason:"formatReason",uspReason:"uspReason",overallScore:"overallScore",referenceAd:"referenceAd",rationale:"rationale",executionInstructions:"executionInstructions",numVariants:"numVariants",winnerAdId:"winnerAdId",sourceCreativeMatrixId:"sourceCreativeMatrixId",salientFeatures:"salientFeatures",testingStrategies:"testingStrategies",parentId:"parentId",isActive:"isActive",version:"version",createdBy:"createdBy",createdAt:"createdAt",updatedAt:"updatedAt",lastDownloadedAt:"lastDownloadedAt",winnerRank:"winnerRank",winnerVariantCandidatePoolSize:"winnerVariantCandidatePoolSize",winnerVariantRunStartDate:"winnerVariantRunStartDate",adConceptBoardId:"adConceptBoardId",generatedAdVideoId:"generatedAdVideoId",videoAgentSessionId:"videoAgentSessionId"},t.Prisma.AdIdeaMetaPublishScalarFieldEnum={id:"id",adIdeaId:"adI
13deaId",workspaceId:"workspaceId",generatedAdVideoId:"generatedAdVideoId",adIdeaVariantId:"adIdeaVariantId",metaAdId:"metaAdId",metaCreativeId:"metaCreativeId",metaCampaignId:"metaCampaignId",metaAdSetId:"metaAdSetId",adsManagerUrl:"adsManagerUrl",publishedBy:"publishedBy",publishedAt:"publishedAt",source:"source",matchConfidence:"matchConfidence",matchedBy:"matchedBy",matchedAt:"matchedAt",revokedAt:"revokedAt",revokedBy:"revokedBy"},t.Prisma.CreativeFingerprintScalarFieldEnum={id:"id",workspaceId:"workspaceId",kind:"kind",refId:"refId",phash:"phash",dhash:"dhash",frames:"frames",durationSec:"durationSec",status:"status",createdAt:"createdAt"},t.Prisma.AdLinkSuggestionScalarFieldEnum={id:"id",workspaceId:"workspaceId",adIdeaId:"adIdeaId",metaAdId:"metaAdId",distance:"distance",signal:"signal",status:"status",createdAt:"createdAt",resolvedAt:"resolvedAt",resolvedBy:"resolvedBy"},t.Prisma.AdIdeaTikTokPublishScalarFieldEnum={id:"id",adIdeaId:"adIdeaId",workspaceId:"workspaceId",generatedAdVideoId:"generatedAdVideoId",adIdeaVariantId:"adIdeaVariantId",tikTokAdAccountId:"tikTokAdAccountId",tiktokAdId:"tiktokAdId",tiktokAdCreativeMaterialId:"tiktokAdCreativeMaterialId",tiktokCampaignId:"tiktokCampaignId",tiktokAdGroupId:"tiktokAdGroupId",tiktokIdentityId:"tiktokIdentityId",tiktokIdentityType:"tiktokIdentityType",adsManagerUrl:"adsManagerUrl",publishedBy:"publishedBy",publishedAt:"publishedAt"},t.Prisma.TikTokCreatorPublishScalarFieldEnum={id:"id",workspaceId:"workspaceId",tikTokCreatorAccountId:"tikTokCreatorAccountId",adIdeaId:"adIdeaId",generatedAdVideoId:"generatedAdVideoId",adIdeaVariantId:"adIdeaVariantId",sourceVideoUrl:"sourceVideoUrl",caption:"caption",privacyLevel:"privacyLevel",postMode:"postMode",disableComment:"disableComment",disableDuet:"disableDuet",disableStitch:"disableStitch",brandedContent:"brandedContent",yourBrand:"yourBrand",tiktokPublishId:"tiktokPublishId",tiktokVideoId:"tiktokVideoId",status:"status",errorCode:"errorCode",errorReason:"errorReason",publishedBy:"publishedBy",publishedAt:"publishedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.MetaSocialPublishScalarFieldEnum={id:"id",workspaceId:"workspaceId",publishedByUserId:"publishedByUserId",adIdeaId:"adIdeaId",generatedAdVideoId:"generatedAdVideoId",adIdeaVariantId:"adIdeaVariantId",pageId:"pageId",pageName:"pageName",instagramBusinessAccountId:"instagramBusinessAccountId",igUsername:"igUsername",mediaUrl:"mediaUrl",mediaKind:"mediaKind",caption:"caption",asReel:"asReel",facebookStatus:"facebookStatus",facebookPostId:"facebookPostId",facebookError:"facebookError",instagramStatus:"instagramStatus",instagramMediaId:"instagramMediaId",instagramError:"instagramError",publishedAt:"publishedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdIdeaVariantScalarFieldEnum={id:"id",variantGroupId:"variantGroupId",adIdeaId:"adIdeaId",name:"name",isDefault:"isDefault",status:"status",referenceVariantId:"referenceVariantId",testingStrategy:"testingStrategy",reviewerEmail:"reviewerEmail",reviewStatus:"reviewStatus",rejectionComment:"rejectionComment",adTitle:"adTitle",adBody:"adBody",adCta:"adCta",adDisplayUrl:"adDisplayUrl",adWebsiteUrl:"adWebsiteUrl",metaImageHash:"metaImageHash",imageDownloadedAt:"imageDownloadedAt",adCopySource:"adCopySource",elements:"elements",contentSummary:"contentSummary",feedback:"feedback",feedbackType:"feedbackType",feedbackOption:"feedbackOption",feedbackActionTaken:"feedbackActionTaken",feedbackText:"feedbackText",parentId:"parentId",isActive:"isActive",version:"version",versionName:"versionName",createdBy:"createdBy",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GeneratedAdImageScalarFieldEnum={id:"id",adIdeaVariantId:"adIdeaVariantId",adIdeaId:"adIdeaId",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",mimeType:"mimeType",promptForAnimation:"promptForAnimation",referenceStaticImage:"referenceStaticImage",status:"status",createdBy:"createdBy",figmaActionJson:"figmaActionJson",generatedLayerJson:"generatedLayerJson",customInstructions:"customInstructions",generationModel:"generationModel",v2FigmaLayerJson:"v2FigmaLayerJson",parentId:"parentId",isActive:"isActive",isSelected:"isSelected",version:"version",aspectRatio:"aspectRatio",createdAt:"createdAt",updatedAt:"updatedAt",isStyleAdherent:"isStyleAdherent",referenceStyleImages:"referenceStyleImages",textToAdReferenceImage:"textToAdReferenceImage",canvaDesignId:"canvaDesignId",canvaExportUserId:"canvaExportUserId",errorMessage:"errorMessage",errorType:"errorType",errorProvider:"errorProvider"},t.Prisma.BriefIdeaScalarFieldEnum={id:"id",name:"name",ideaSummary:"ideaSummary",ideaType:"ideaType",ideaStatus:"ideaStatus",adTitle:"adTitle",ad
13Body:"adBody",adCta:"adCta",adDisplayUrl:"adDisplayUrl",adWebsiteUrl:"adWebsiteUrl",testingStrategies:"testingStrategies",recommendedReferenceAd:"recommendedReferenceAd",productId:"productId",uspId:"uspId",adFormatId:"adFormatId",persuasionTechniqueId:"persuasionTechniqueId",seasonOrEventId:"seasonOrEventId",promotionId:"promotionId",executionInstructions:"executionInstructions",productUrl:"productUrl",winProbability:"winProbability",similarAdsCount:"similarAdsCount",exampleContent:"exampleContent",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",parentBriefIdeaId:"parentBriefIdeaId",personaId:"personaId",feedback:"feedback"},t.Prisma.CreativeMatrixAttributeScoreScalarFieldEnum={id:"id",attributeCombination:"attributeCombination",totalAds:"totalAds",totalAdsWithAttribute:"totalAdsWithAttribute",totalWinningAds:"totalWinningAds",totalWinningAdsWithAttribute:"totalWinningAdsWithAttribute",winnerContributionScore:"winnerContributionScore",baselineScore:"baselineScore",lift:"lift",score:"score",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CreativeMatrixUserEditScalarFieldEnum={id:"id",metaImageHash:"metaImageHash",attributeType:"attributeType",attributeValues:"attributeValues",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AttributeCompatibilityScoreScalarFieldEnum={id:"id",workspaceId:"workspaceId",productId:"productId",attributeCombination:"attributeCombination",score:"score",reason:"reason",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PromotionScalarFieldEnum={id:"id",name:"name",description:"description",startDate:"startDate",endDate:"endDate",status:"status",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PromptScalarFieldEnum={id:"id",key:"key",description:"description",systemPrompt:"systemPrompt",userPrompt:"userPrompt",variables:"variables",version:"version",isActive:"isActive",createdBy:"createdBy",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomerTestimonialSnippetScalarFieldEnum={id:"id",testimonialId:"testimonialId",emotionalIntensity:"emotionalIntensity",uspId:"uspId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdElementScalarFieldEnum={id:"id",mediaType:"mediaType",contentType:"contentType",content:"content",persuasionTechniqueId:"persuasionTechniqueId",uspId:"uspId",creativeMatrixId:"creativeMatrixId",metaLibraryAdId:"metaLibraryAdId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductPageScalarFieldEnum={id:"id",url:"url",productId:"productId",workspaceId:"workspaceId",pageContent:"pageContent",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductPageElementScalarFieldEnum={id:"id",pageId:"pageId",mediaType:"mediaType",contentType:"contentType",content:"content",uspId:"uspId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.MetaAdLibraryAccountScalarFieldEnum={id:"id",pageId:"pageId",pageUrl:"pageUrl",followersCount:"followersCount",likeCount:"likeCount",pageCategories:"pageCategories",title:"title",profilePictureImageS3Key:"profilePictureImageS3Key",profilePictureImageS3Bucket:"profilePictureImageS3Bucket",websiteUrls:"websiteUrls",productType:"productType",lastScrapedAt:"lastScrapedAt",lastFetchCount:"lastFetchCount",lastFetchHitLimit:"lastFetchHitLimit",createdAt:"createdAt",updatedAt:"updatedAt",isGlobal:"isGlobal",isValidAccount:"isValidAccount",isDeleted:"isDeleted",pageVerticalAndSubverticals:"pageVerticalAndSubverticals"},t.Prisma.MetaLibraryAdScalarFieldEnum={id:"id",adArchiveId:"adArchiveId",metaAdLibraryAccountId:"metaAdLibraryAccountId",body:"body",caption:"caption",ctaText:"ctaText",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",linkDescription:"linkDescription",linkUrl:"linkUrl",title:"title",startDate:"startDate",publisherPlatform:"publisherPlatform",mediaType:"mediaType",videoUrl:"videoUrl",videoS3Key:"videoS3Key",videoS3Bucket:"videoS3Bucket",lastSeenAt:"lastSeenAt",status:"status",errorMessage:"errorMessage",pHash:"pHash",metaImageHash:"metaImageHash",impressionsText:"impressionsText",impressionsIndex:"impressionsIndex",seasonOrEventId:"seasonOrEventId",adFormatId:"adFormatId",personaId:"personaId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PersonaScalarFieldEnum={id:"id",name:"name",attributes:"attributes",previewContent:"previewContent",sources:"sources",status:"status",imageS3Bucket:"imageS3Bucket",imageS3Key:"imageS3Key",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ImageGenerationRequestScalarFieldEnum={id:"id",inputInstru
13ctions:"inputInstructions",referenceAssets:"referenceAssets",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",sourceEntity:"sourceEntity",sourceEntityId:"sourceEntityId",workspaceId:"workspaceId",status:"status",errorMessage:"errorMessage",figmaActionJson:"figmaActionJson",generatedLayerJson:"generatedLayerJson",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.DesignGuidelineScalarFieldEnum={id:"id",assetList:"assetList",createdAt:"createdAt",updatedAt:"updatedAt",brandGuidelineJson:"brandGuidelineJson",colors:"colors",fonts:"fonts",designGuidelines:"designGuidelines",contentGuidelines:"contentGuidelines",processedUrls:"processedUrls",workspaceId:"workspaceId",generatedGridS3Key:"generatedGridS3Key",generatedGridS3Bucket:"generatedGridS3Bucket",status:"status"},t.Prisma.ImageGenerationConversationScalarFieldEnum={id:"id",createdAt:"createdAt",updatedAt:"updatedAt",referenceAdImage:"referenceAdImage",generatedAdImageId:"generatedAdImageId",contextAssets:"contextAssets"},t.Prisma.ImageGenerationMessageScalarFieldEnum={id:"id",conversationId:"conversationId",role:"role",responseId:"responseId",status:"status",createdAt:"createdAt"},t.Prisma.ImageGenerationContentScalarFieldEnum={id:"id",messageId:"messageId",type:"type",text:"text",s3Key:"s3Key",s3Bucket:"s3Bucket",createdAt:"createdAt"},t.Prisma.WinnerVariantRuleScalarFieldEnum={id:"id",workspaceId:"workspaceId",entityType:"entityType",field:"field",operator:"operator",value:"value",createdAt:"createdAt",updatedAt:"updatedAt",isActive:"isActive"},t.Prisma.ActionItemScalarFieldEnum={id:"id",name:"name",description:"description",status:"status",actionItemType:"actionItemType",completedByUserId:"completedByUserId",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProductContentPieceScalarFieldEnum={id:"id",content:"content",productId:"productId",uspId:"uspId",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SubscriptionScalarFieldEnum={id:"id",workspaceId:"workspaceId",userId:"userId",stripeSubscriptionId:"stripeSubscriptionId",stripePriceId:"stripePriceId",status:"status",currentPeriodStart:"currentPeriodStart",currentPeriodEnd:"currentPeriodEnd",canceledAt:"canceledAt",cancelAtPeriodEnd:"cancelAtPeriodEnd",planId:"planId",priceId:"priceId",createdAt:"createdAt",updatedAt:"updatedAt",migratedToUserSubscriptionId:"migratedToUserSubscriptionId",migrationStatus:"migrationStatus"},t.Prisma.UserSubscriptionScalarFieldEnum={id:"id",userId:"userId",stripeSubscriptionId:"stripeSubscriptionId",stripePriceId:"stripePriceId",status:"status",stripeStatus:"stripeStatus",currentPeriodStart:"currentPeriodStart",currentPeriodEnd:"currentPeriodEnd",canceledAt:"canceledAt",cancelAtPeriodEnd:"cancelAtPeriodEnd",pendingTeamSeatLimit:"pendingTeamSeatLimit",pendingPlanTransitionPriceId:"pendingPlanTransitionPriceId",pendingPlanTransitionStartedAt:"pendingPlanTransitionStartedAt",pendingPlanTransitionAttemptId:"pendingPlanTransitionAttemptId",pendingPlanTransitionParams:"pendingPlanTransitionParams",pendingPlanTransitionInvoiceId:"pendingPlanTransitionInvoiceId",pendingPlanTransitionExpiresAt:"pendingPlanTransitionExpiresAt",nativeTrialStartedAt:"nativeTrialStartedAt",nativeTrialActivatedAt:"nativeTrialActivatedAt",nativeTrialConvertedAt:"nativeTrialConvertedAt",planId:"planId",priceId:"priceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PlanCheckoutReservationScalarFieldEnum={userId:"userId",generation:"generation",requestFingerprint:"requestFingerprint",checkoutSessionParams:"checkoutSessionParams",stripeCheckoutSessionId:"stripeCheckoutSessionId",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CancellationFeedbackScalarFieldEnum={id:"id",userId:"userId",userSubscriptionId:"userSubscriptionId",reasons:"reasons",feedback:"feedback",replacement:"replacement",replacementDetails:"replacementDetails",cancellationTiming:"cancellationTiming",acceptedRetentionOffer:"acceptedRetentionOffer",createdAt:"createdAt"},t.Prisma.PlanScalarFieldEnum={id:"id",stripeProductId:"stripeProductId",name:"name",description:"description",features:"features",createdAt:"createdAt",updatedAt:"updatedAt",planCode:"planCode",defaultFeatureUsageConfig:"defaultFeatureUsageConfig"},t.Prisma.PriceScalarFieldEnum={id:"id",planId:"planId",stripePriceId:"stripePriceId",stripeProductId:"stripeProductId",stripeLookupKey:"stripeLookupKey",amount:"amount",currency:"currency",interval:"interval",trialPeriodDays:"trialPeriodDays",isDefault:"isDefault",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SubscriptionUsageConfigScalarFieldEnum={id:"id",subscriptionId:"subscriptionId",featureUsageConfig:"featureUsageConfig",isActive:"isActive",createdAt:"createdAt",updatedAt:"updatedAt"}
13,t.Prisma.StripeEventLogsScalarFieldEnum={id:"id",eventId:"eventId",eventType:"eventType",objectType:"objectType",objectId:"objectId",customerId:"customerId",eventData:"eventData",receivedAt:"receivedAt",processedAt:"processedAt",processed:"processed",processingError:"processingError",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdIdeaVariantReviewScalarFieldEnum={id:"id",adIdeaVariantId:"adIdeaVariantId",contentGuidelines:"contentGuidelines",review:"review",createdAt:"createdAt"},t.Prisma.WorkspaceOnboardingStateScalarFieldEnum={id:"id",workspaceId:"workspaceId",currentStep:"currentStep",brandExtractionResult:"brandExtractionResult",productDetailsData:"productDetailsData",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.WorkspaceUserNotificationPreferenceScalarFieldEnum={id:"id",userId:"userId",workspaceId:"workspaceId",notifyOnProductsParsingEnd:"notifyOnProductsParsingEnd",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CanvaUserScalarFieldEnum={id:"id",canvaUserId:"canvaUserId",canvaTeamId:"canvaTeamId",accessToken:"accessToken",refreshToken:"refreshToken",expiresAt:"expiresAt",canvaLinkToken:"canvaLinkToken",canvaLinkTokenExpiresAt:"canvaLinkTokenExpiresAt",isRegistered:"isRegistered",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AdConceptBoardScalarFieldEnum={id:"id",name:"name",slug:"slug",logoImageS3Bucket:"logoImageS3Bucket",logoImageS3Key:"logoImageS3Key",senderName:"senderName",showInsights:"showInsights",createdAt:"createdAt",updatedAt:"updatedAt",workspaceId:"workspaceId"},t.Prisma.AdIdeaCommentScalarFieldEnum={id:"id",authorEmail:"authorEmail",authorUserId:"authorUserId",commentText:"commentText",adIdeaId:"adIdeaId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GeneratedAdVideoScalarFieldEnum={id:"id",title:"title",productId:"productId",editorState:"editorState",aspectRatio:"aspectRatio",videoFile:"videoFile",generationStatus:"generationStatus",error:"error",source:"source",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt",generationStartedAt:"generationStartedAt",billableAiVideoDurationSeconds:"billableAiVideoDurationSeconds",generationReason:"generationReason",billingType:"billingType",creditsCharged:"creditsCharged",parentId:"parentId",metaVideoId:"metaVideoId",isPersonalisedVideo:"isPersonalisedVideo",adIdeaId:"adIdeaId"},t.Prisma.VideoSceneScalarFieldEnum={id:"id",videoId:"videoId",type:"type",contentType:"contentType",durationSeconds:"durationSeconds",videoFile:"videoFile",config:"config",status:"status",error:"error",isActive:"isActive",versionNumber:"versionNumber",versionGroupId:"versionGroupId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAdTemplateScalarFieldEnum={id:"id",name:"name",contentSquare:"contentSquare",contentLandscape:"contentLandscape",contentPortrait:"contentPortrait",thumbnailSquare:"thumbnailSquare",thumbnailLandscape:"thumbnailLandscape",thumbnailPortrait:"thumbnailPortrait",isDefault:"isDefault",status:"status",usageCategories:"usageCategories",type:"type",tags:"tags",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAdHookTemplateScalarFieldEnum={id:"id",name:"name",promptTemplate:"promptTemplate",defaultConfig:"defaultConfig",videoS3Key:"videoS3Key",videoS3Bucket:"videoS3Bucket",thumbnailS3Key:"thumbnailS3Key",thumbnailS3Bucket:"thumbnailS3Bucket",tags:"tags",workspaceId:"workspaceId",otherVariants:"otherVariants",audioConfig:"audioConfig",filters:"filters",perfStats:"perfStats",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoTemplateCollectionScalarFieldEnum={id:"id",name:"name",description:"description",supportedCategories:"supportedCategories",tags:"tags",avatarConfig:"avatarConfig",scenes:"scenes",dialogueGenerationPrompt:"dialogueGenerationPrompt",dependencies:"dependencies",backgroundConfig:"backgroundConfig",dialogues:"dialogues",sampleVideoS3Key:"sampleVideoS3Key",sampleVideoS3Bucket:"sampleVideoS3Bucket",status:"status",metadata:"metadata",previewAssets:"previewAssets",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAvatarScalarFieldEnum={id:"id",name:"name",videoS3Key:"videoS3Key",videoS3Bucket:"videoS3Bucket",thumbnailS3Key:"thumbnailS3Key",thumbnailS3Bucket:"thumbnailS3Bucket",metadata:"metadata",otherVariants:"otherVariants",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PublicGeneratedAdsScalarFieldEnum={id:"id",twitterPostId:"twitterPostId",twitterReplyId:"twitterReplyId",productUrl:"productUrl",productDetails:"productDetails",generationStatus:"generationStatus",referenceAdS3Key:"referenceAdS3Key",referenceAdS3Bucket:"referenceAdS3Bucket",videoS3Key:"videoS3Key",videoS3Bucket:"videoS3Bucket",animationPrompt:"animationPrompt",generatedAdS3Key:"generatedAdS3Key",generatedAdS3Bucket:"generatedAdS3Bucket",adTitle:"adTitle",ad
13Body:"adBody",adCta:"adCta",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ScheduledPostScalarFieldEnum={id:"id",adFormatId:"adFormatId",adFormatReferenceAdId:"adFormatReferenceAdId",animationPrompt:"animationPrompt",referenceAdAnimationS3Key:"referenceAdAnimationS3Key",referenceAdAnimationS3Bucket:"referenceAdAnimationS3Bucket",caption:"caption",status:"status",error:"error",twitterPostId:"twitterPostId",parentTwitterPostId:"parentTwitterPostId",scheduledAt:"scheduledAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GlobalSettingsScalarFieldEnum={id:"id",settings:"settings"},t.Prisma.GHLCompanyScalarFieldEnum={id:"id",companyId:"companyId",name:"name",logoUrl:"logoUrl",accessToken:"accessToken",refreshToken:"refreshToken",tokenExpiresAt:"tokenExpiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomFontScalarFieldEnum={id:"id",workspaceId:"workspaceId",fontFamily:"fontFamily",fileName:"fileName",s3Bucket:"s3Bucket",s3Key:"s3Key",fileFormat:"fileFormat",fileSize:"fileSize",variants:"variants",createdAt:"createdAt",uploadedAt:"uploadedAt",updatedAt:"updatedAt"},t.Prisma.PopularAdsClusterScalarFieldEnum={id:"id",slug:"slug",label:"label",value:"value",type:"type",contentJson:"contentJson",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.FacebookPostScalarFieldEnum={id:"id",postId:"postId",postFacebookId:"postFacebookId",pageId:"pageId",pageName:"pageName",pageUrl:"pageUrl",text:"text",link:"link",url:"url",likes:"likes",comments:"comments",shares:"shares",viewsCount:"viewsCount",isVideo:"isVideo",videoUrl:"videoUrl",videoS3Bucket:"videoS3Bucket",videoS3Path:"videoS3Path",thumbnailS3Bucket:"thumbnailS3Bucket",thumbnailS3Path:"thumbnailS3Path",timestamp:"timestamp",time:"time",metaAdLibraryAccountId:"metaAdLibraryAccountId",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AudioAssetScalarFieldEnum={id:"id",voiceId:"voiceId",name:"name",gender:"gender",age:"age",accent:"accent",descriptive:"descriptive",useCase:"useCase",category:"category",metadata:"metadata",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoHooksScalarFieldEnum={id:"id",category:"category",pov:"pov",hook:"hook"},t.Prisma.VideoLayoutTemplateScalarFieldEnum={id:"id",name:"name",aspectRatio:"aspectRatio",layoutJson:"layoutJson",status:"status",tags:"tags",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoLayoutTemplateOrderingScalarFieldEnum={id:"id",collectionName:"collectionName",order:"order",templateId:"templateId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAgentAvatarScalarFieldEnum={id:"id",workspaceId:"workspaceId",name:"name",description:"description",imagePrompt:"imagePrompt",s3Bucket:"s3Bucket",s3Key:"s3Key",publicUrl:"publicUrl",sourceImageS3Bucket:"sourceImageS3Bucket",sourceImageS3Key:"sourceImageS3Key",sourceImageUrl:"sourceImageUrl",imagePromptUsed:"imagePromptUsed",iterationCount:"iterationCount",gender:"gender",age:"age",accent:"accent",voiceProvider:"voiceProvider",voiceId:"voiceId",voiceName:"voiceName",voiceCloneStatus:"voiceCloneStatus",voiceCloneAudioId:"voiceCloneAudioId",voicePreviewUrl:"voicePreviewUrl",status:"status",failureReason:"failureReason",createdAt:"createdAt",archivedAt:"archivedAt"},t.Prisma.VideoAgentAudioScalarFieldEnum={id:"id",workspaceId:"workspaceId",name:"name",fileName:"fileName",mimeType:"mimeType",s3Bucket:"s3Bucket",s3Key:"s3Key",publicUrl:"publicUrl",duration:"duration",fileSize:"fileSize",createdAt:"createdAt"},t.Prisma.VideoShowcaseScalarFieldEnum={id:"id",vertical:"vertical",subVertical:"subVertical",trendName:"trendName",title:"title",shortDescription:"shortDescription",whyItWorks:"whyItWorks",keyVideoElements:"keyVideoElements",videoUrl:"videoUrl",thumbnailUrl:"thumbnailUrl",status:"status",sortOrder:"sortOrder",referenceAnalysis:"referenceAnalysis",analysisVersion:"analysisVersion",templateInstructions:"templateInstructions",launchPrompt:"launchPrompt",referenceImageUrls:"referenceImageUrls",summary:"summary",sourceSessionId:"sourceSessionId",templateState:"templateState",createdAt:"createdAt",updatedAt:"updatedAt"}
13,t.Prisma.VideoCreativeIdeaScalarFieldEnum={id:"id",title:"title",concept:"concept",hookAngle:"hookAngle",targetAudience:"targetAudience",shootStyle:"shootStyle",uspAngle:"uspAngle",toneVibe:"toneVibe",sceneSummary:"sceneSummary",painPoint:"painPoint",coreMessage:"coreMessage",status:"status",productId:"productId",workspaceId:"workspaceId",adIdeaId:"adIdeaId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokVideoScalarFieldEnum={id:"id",videoId:"videoId",videoUrl:"videoUrl",authorUsername:"authorUsername",authorDisplayName:"authorDisplayName",authorAvatar:"authorAvatar",authorVerified:"authorVerified",authorFollowers:"authorFollowers",caption:"caption",textLanguage:"textLanguage",likes:"likes",comments:"comments",shares:"shares",plays:"plays",saves:"saves",duration:"duration",height:"height",width:"width",coverUrl:"coverUrl",definition:"definition",videoS3Bucket:"videoS3Bucket",videoS3Path:"videoS3Path",coverS3Bucket:"coverS3Bucket",coverS3Path:"coverS3Path",musicName:"musicName",musicAuthor:"musicAuthor",musicOriginal:"musicOriginal",isAd:"isAd",isPinned:"isPinned",isSponsored:"isSponsored",hashtags:"hashtags",mentions:"mentions",postedAt:"postedAt",workspaceId:"workspaceId",tikTokCreatorId:"tikTokCreatorId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokCompetitorScalarFieldEnum={id:"id",name:"name",workspaceId:"workspaceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokCreatorScalarFieldEnum={id:"id",tiktokUserId:"tiktokUserId",handle:"handle",displayName:"displayName",avatarUrl:"avatarUrl",verified:"verified",followersCount:"followersCount",followingCount:"followingCount",totalLikes:"totalLikes",bio:"bio",lastScrapedAt:"lastScrapedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokAdLibraryAdvertiserScalarFieldEnum={id:"id",advertiserId:"advertiserId",advertiserName:"advertiserName",lastScrapedAt:"lastScrapedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokLibraryAdScalarFieldEnum={id:"id",adId:"adId",adTitle:"adTitle",adType:"adType",adVideoUrl:"adVideoUrl",adVideoCover:"adVideoCover",adStartDate:"adStartDate",adEndDate:"adEndDate",adImpressions:"adImpressions",targetingByLocation:"targetingByLocation",targetingByAge:"targetingByAge",targetingByGender:"targetingByGender",imageS3Key:"imageS3Key",imageS3Bucket:"imageS3Bucket",tikTokAdLibraryAdvertiserId:"tikTokAdLibraryAdvertiserId",status:"status",errorMessage:"errorMessage",adFormatId:"adFormatId",lastSeenAt:"lastSeenAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokAdAccountScalarFieldEnum={id:"id",tiktokAdvertiserId:"tiktokAdvertiserId",name:"name",currency:"currency",status:"status",timezone:"timezone",isActive:"isActive",userId:"userId",lastSyncError:"lastSyncError",lastSyncedAt:"lastSyncedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokCreatorAccountScalarFieldEnum={id:"id",workspaceId:"workspaceId",userId:"userId",openId:"openId",unionId:"unionId",username:"username",displayName:"displayName",avatarUrl:"avatarUrl",accessToken:"accessToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshToken:"refreshToken",refreshTokenExpiresAt:"refreshTokenExpiresAt",scopes:"scopes",lastSyncError:"lastSyncError",lastSyncedAt:"lastSyncedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokCampaignScalarFieldEnum={id:"id",tiktokCampaignId:"tiktokCampaignId",name:"name",status:"status",objectiveType:"objectiveType",budget:"budget",budgetMode:"budgetMode",tikTokAdAccountId:"tikTokAdAccountId",workspaceId:"workspaceId",tiktokCreatedAt:"tiktokCreatedAt",tiktokUpdatedAt:"tiktokUpdatedAt",lastFetchedAt:"lastFetchedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokAdGroupScalarFieldEnum={id:"id",tiktokAdGroupId:"tiktokAdGroupId",name:"name",status:"status",budget:"budget",budgetMode:"budgetMode",startTime:"startTime",endTime:"endTime",scheduleType:"scheduleType",placementType:"placementType",placements:"placements",targeting:"targeting",tikTokAdAccountId:"tikTokAdAccountId",tikTokCampaignId:"tikTokCampaignId",workspaceId:"workspaceId",tiktokCreatedAt:"tiktokCreatedAt",tiktokUpdatedAt:"tiktokUpdatedAt",lastFetchedAt:"lastFetchedAt",createdAt:"createdAt",updatedAt:"updatedAt"}
13,t.Prisma.TikTokAdScalarFieldEnum={id:"id",tiktokAdId:"tiktokAdId",name:"name",status:"status",videoId:"videoId",imageIds:"imageIds",identityId:"identityId",identityType:"identityType",adText:"adText",callToAction:"callToAction",landingPageUrl:"landingPageUrl",tikTokAdAccountId:"tikTokAdAccountId",tikTokCampaignId:"tikTokCampaignId",tikTokAdGroupId:"tikTokAdGroupId",workspaceId:"workspaceId",totalSpend:"totalSpend",last30DaysSpend:"last30DaysSpend",tiktokCreatedAt:"tiktokCreatedAt",tiktokUpdatedAt:"tiktokUpdatedAt",lastFetchedAt:"lastFetchedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokAdCreativeScalarFieldEnum={id:"id",tiktokMaterialId:"tiktokMaterialId",materialType:"materialType",videoUrl:"videoUrl",posterUrl:"posterUrl",duration:"duration",width:"width",height:"height",s3Bucket:"s3Bucket",s3Key:"s3Key",tikTokAdAccountId:"tikTokAdAccountId",workspaceId:"workspaceId",lastFetchedAt:"lastFetchedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TikTokInsightScalarFieldEnum={id:"id",createdAt:"createdAt",insightType:"insightType",since:"since",until:"until",timeIncrement:"timeIncrement",spend:"spend",impressions:"impressions",clicks:"clicks",reach:"reach",conversions:"conversions",cpc:"cpc",cpm:"cpm",ctr:"ctr",actions:"actions",tikTokAdAccountId:"tikTokAdAccountId",tikTokCampaignId:"tikTokCampaignId",tikTokAdGroupId:"tikTokAdGroupId",tikTokAdId:"tikTokAdId",workspaceId:"workspaceId"},t.Prisma.PublicLandingSessionScalarFieldEnum={token:"token",message:"message",files:"files",source:"source",consumedAt:"consumedAt",createdAt:"createdAt",expiresAt:"expiresAt"},t.Prisma.ReferenceAdAnalysisCacheScalarFieldEnum={videoSha256:"videoSha256",analysisVersion:"analysisVersion",videoUrl:"videoUrl",referenceAnalysis:"referenceAnalysis",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAgentScheduleScalarFieldEnum={id:"id",scheduleId:"scheduleId",userId:"userId",workspaceId:"workspaceId",name:"name",instruction:"instruction",frequency:"frequency",scheduledHour:"scheduledHour",scheduledDayOfWeek:"scheduledDayOfWeek",scheduledDayOfMonth:"scheduledDayOfMonth",isEnabled:"isEnabled",billingDisabledAt:"billingDisabledAt",isLatest:"isLatest",runOnce:"runOnce",nextRunAt:"nextRunAt",createdAt:"createdAt",updatedAt:"updatedAt",personalisedAgentId:"personalisedAgentId",runType:"runType"},t.Prisma.VideoAgentScheduleRunScalarFieldEnum={id:"id",scheduleId:"scheduleId",scheduleEntryId:"scheduleEntryId",status:"status",startedAt:"startedAt",completedAt:"completedAt",sessionId:"sessionId",outputMessageId:"outputMessageId",errorMessage:"errorMessage",snapshotJson:"snapshotJson",userFacingSummaryMarkdown:"userFacingSummaryMarkdown",attemptCount:"attemptCount",relayedAt:"relayedAt",heartbeatAt:"heartbeatAt",planJson:"planJson",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.InstagramReelScalarFieldEnum={id:"id",reelId:"reelId",shortCode:"shortCode",reelUrl:"reelUrl",ownerUsername:"ownerUsername",ownerFullName:"ownerFullName",ownerId:"ownerId",caption:"caption",transcript:"transcript",likes:"likes",comments:"comments",shares:"shares",views:"views",plays:"plays",duration:"duration",height:"height",width:"width",coverUrl:"coverUrl",videoUrl:"videoUrl",videoS3Bucket:"videoS3Bucket",videoS3Path:"videoS3Path",coverS3Bucket:"coverS3Bucket",coverS3Path:"coverS3Path",musicTitle:"musicTitle",musicArtist:"musicArtist",hashtags:"hashtags",mentions:"mentions",postedAt:"postedAt",workspaceId:"workspaceId",instagramAccountId:"instagramAccountId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.InstagramCompetitorAccountScalarFieldEnum={id:"id",igUserId:"igUserId",handle:"handle",fullName:"fullName",biography:"biography",profilePictureUrl:"profilePictureUrl",profilePictureS3Bucket:"profilePictureS3Bucket",profilePictureS3Path:"profilePictureS3Path",followersCount:"followersCount",followingCount:"followingCount",postsCount:"postsCount",isVerified:"isVerified",isPrivate:"isPrivate",isBusiness:"isBusiness",externalUrl:"externalUrl",category:"category",lastScrapedAt:"lastScrapedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.InstagramCompetitorScalarFieldEnum={id:"id",workspaceId:"workspaceId",instagramCompetitorAccountId:"instagramCompetitorAccountId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ReferenceActorScalarFieldEnum={id:"id",externalId:"externalId",source:"source",gender:"gender",ageBucket:"ageBucket",skinTone:"skinTone",name:"name",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ReferenceFrameScalarFieldEnum={id:"id",externalId:"externalId",source:"source",actorId:"actorId",s3Key:"s3Key",publicUrl:"publicUrl",hd:"hd",rawTags:"rawTags",setting:"setting",activity:"activity",format:"format",cameraAngle:"cameraAngle",realism:"realism",hasPersonInFirstFrame:"hasPersonInFirstFrame",emotions:"emotions",vibe:"vibe",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAgentJournalLogScalarFieldEnum={id:"id",sessionId:"sessionId",workspaceId:"workspaceId",dayBucketUtc:"dayBucketUtc",sessionTime:"sessionTime",summary:"summary",sessionType:"sessionType",scheduledRunId:"scheduledRunId",personalisedAgentId:"personalisedAgentId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VideoAgentFactMemoryScalarFieldEnum={id:"id",workspaceId:"workspaceId",key:"key",summary:"summary",value:"value",references:"references",isAlwaysLoaded:"isAlwaysLoaded",personalisedAgentId:"personalisedAgentId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.FormSubmissionScalarFieldEnum={id:"id",workspaceId:"workspaceId",userId:"userId",formType:"formType",data:"data",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PersonalisedAgentScalarFieldEnum={id:"id",workspaceId:"workspaceId",userId:"userId",type:"type",status:"status",name:"name",goal:"goal",description:"description",config:"config",outputFormats:"outputFormats",videosPerRun:"videosPerRun",staticPerRun:"staticPerRun",mainSessionId:"mainSessionId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AgentEntitlementScalarFieldEnum={id:"id",personalisedAgentId:"personalisedAgentId",ownerId:"ownerId",workspaceId:"workspaceId",status:"status",trialEndsAt:"trialEndsAt",stripeSubscriptionId:"stripeSubscriptionId",stripeItemId:"stripeItemId",currentPeriodEnd:"currentPeriodEnd",bundledPlanCode:"bundledPlanCode",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AgentTrialUsageScalarFieldEnum={id:"id",workspaceId:"workspaceId",agentType:"agentType",trialedAt:"trialedAt"},t.Prisma.SlackInstallationScalarFieldEnum={id:"id",workspaceId:"workspaceId",slackTeamId:"slackTeamId",slackTeamName:"slackTeamName",botUserId:"botUserId",botToken:"botToken",scopes:"scopes",installedById:"installedById",deactivatedAt:"deactivatedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SlackAgentChannelScalarFieldEnum={id:"id",installationId:"installationId",slackChannelId:"slackChannelId",slackChannelName:"slackChannelName",agentId:"agentId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SlackAgentThreadScalarFieldEnum={id:"id",channelDbId:"channelDbId",slackThreadTs:"slackThreadTs",sessionId:"sessionId",createdAt:"createdAt"},t.Prisma.CreativeAnalysisScalarFieldEnum={id:"id",workspaceId:"workspaceId",source:"source",sourceKey:"sourceKey",mediaType:"mediaType",analysisVersion:"analysisVersion",analysis:"analysis",sourceMediaUrls:"sourceMediaUrls",s3Bucket:"s3Bucket",s3Key:"s3Key",computedAt:"computedAt",computedBy:"computedBy"},t.Prisma.McpOAuthClientScalarFieldEnum={id:"id",clientId:"clientId",clientName:"clientName",redirectUris:"redirectUris",tokenEndpointAuthMethod:"tokenEndpointAuthMethod",grantTypes:"grantTypes",responseTypes:"responseTypes",createdAt:"createdAt"},t.Prisma.McpOAuthTokenScalarFieldEnum={id:"id",tokenHash:"tokenHash",refreshTokenHash:"refreshTokenHash",clientId:"clientId",userId:"userId",activeWorkspaceId:"activeWorkspaceId",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",revokedAt:"revokedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.McpOAuthAuthCodeScalarFieldEnum={id:"id",codeHash:"codeHash",clientId:"clientId",userId:"userId",redirectUri:"redirectUri",codeChallenge:"codeChallenge",codeChallengeMethod:"codeChallengeMethod",scope:"scope",expiresAt:"expiresAt",consumedAt:"consumedAt",createdAt:"createdAt"},t.Prisma.MetaChangeSetScalarFieldEnum={id:"id",workspaceId:"workspaceId",adAccountId:"adAccountId",businessId:"businessId",origin:"origin",status:"status",targetType:"targetType",targetId:"targetId",targetName:"targetName",createdBySessionId:"createdBySessionId",createdByUserId:"createdByUserId",sourceScheduleRunId:"sourceScheduleRunId",currentRevision:"currentRevision",relayedAt:"relayedAt",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.MetaChangeRevisionScalarFieldEnum={id:"id",changeSetId:"changeSetId",revision:"revision",steps:"steps",baseSnapshot:"baseSnapshot",contentHash:"contentHash",riskTier:"riskTier",rationale:"rationale",supersedesRevision:"supersedesRevision",createdAt:"createdAt"},t.Prisma.MetaChangeApprovalScalarFieldEnum={id:"id",revisionId:"revisionId",userId:"userId",contentHash:"contentHash",approvedAt:"approvedAt"},t.Prisma.MetaChangeAttemptScalarFieldEnum={idempotencyKey:"idempotencyKey",revisionId:"revisionId",stepIndex:"stepIndex",attempt:"attempt",outcome:"outcome",externalIds:"externalIds",rawError:"rawError",normalizedError:"normalizedError",readBack:"readBack",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BrandWikiPageScalarFieldEnum={workspaceId:"workspaceId",currentVersionId:"currentVersionId",optedInAt:"optedInAt",status:"status",sourceVersion:"sourceVersion",lastError:"lastError",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BrandWikiVersionScalarFieldEnum={id:"id",workspaceId:"workspaceId",version:"version",prose:"prose",markdown:"markdown",findings:"findings",sourceVersion:"sourceVersion",trigger:"trigger",changedSectionIds:"changedSectionIds",model:"model",generatedAt:"generatedAt"},t.Prisma.WorkspaceContentVersionScalarFieldEnum={workspaceId:"workspaceId",version:"version",lastChangedAt:"lastChangedAt"},t.Prisma.RetirementAccessScalarFieldEnum={ownerId:"ownerId",createdAt:"createdAt",updatedAt:"updatedAt",expiresAt:"expiresAt",enabledAt:"enabledAt",creditPeriodStart:"creditPeriodStart",creditLimit:"
13creditLimit",unlimited:"unlimited",unlimitedWorkspaceIds:"unlimitedWorkspaceIds",sourceSubscriptionId:"sourceSubscriptionId",refunds:"refunds"},t.Prisma.SortOrder={asc:"asc",desc:"desc"},t.Prisma.NullableJsonNullValueInput={DbNull:o.DbNull,JsonNull:o.JsonNull},t.Prisma.JsonNullValueInput={JsonNull:o.JsonNull},t.Prisma.QueryMode={default:"default",insensitive:"insensitive"},t.Prisma.JsonNullValueFilter={DbNull:o.DbNull,JsonNull:o.JsonNull,AnyNull:o.AnyNull},t.Prisma.NullsOrder={first:"first",last:"last"},t.AdRequestAssetsTypes=t.$Enums.AdRequestAssetsTypes={AdRequestCreative:"AdRequestCreative",AdRequestReferenceAd:"AdRequestReferenceAd",AdRequestAudience:"AdRequestAudience",AdRequestInstruction:"AdRequestInstruction",BrandLogo:"BrandLogo",ProductShot:"ProductShot",ModelShot:"ModelShot",ProductInUse:"ProductInUse",VideoCreative:"VideoCreative",ImageCreative:"ImageCreative",CertificationBadge:"CertificationBadge",BrandHomepageScreenshot:"BrandHomepageScreenshot",ProductPageScreenshot:"ProductPageScreenshot",VideoThumbnail:"VideoThumbnail"},t.AssetScope=t.$Enums.AssetScope={AdRequest:"AdRequest",Product:"Product",Brand:"Brand"},t.AssetStatus=t.$Enums.AssetStatus={Pending:"Pending",Completed:"Completed",Failed:"Failed"},t.AssetSource=t.$Enums.AssetSource={UserUploaded:"UserUploaded",GeneratedAsset:"GeneratedAsset",URL:"URL"},t.AssetRelevance=t.$Enums.AssetRelevance={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH"},t.AbuseGuardOverride=t.$Enums.AbuseGuardOverride={NONE:"NONE",BLOCK_FREE_GENERATION:"BLOCK_FREE_GENERATION",ALLOW_FREE_GENERATION:"ALLOW_FREE_GENERATION"},t.SubscriptionLevel=t.$Enums.SubscriptionLevel={WORKSPACE:"WORKSPACE",USER:"USER"},t.AssetType=t.$Enums.AssetType={IMAGE:"IMAGE",VIDEO:"VIDEO",AUDIO:"AUDIO"},t.NotificationType=t.$Enums.NotificationType={AdOpportunity:"AdOpportunity",Report:"Report",Review:"Review",Onboarding:"Onboarding",Chat:"Chat",RecommendedAction:"RecommendedAction",BriefGenerationStarted:"BriefGenerationStarted",BriefGenerationCompleted:"BriefGenerationCompleted",ReleaseUpdate:"ReleaseUpdate",AgentAction:"AgentAction",MemoryConsolidation:"MemoryConsolidation"},t.AdOpportunityType=t.$Enums.AdOpportunityType={FatigueAdRefresh:"FatigueAdRefresh",WinningAdVariants:"WinningAdVariants",NewAdIdea:"NewAdIdea"},t.ReportType=t.$Enums.ReportType={CompetitorIntel:"CompetitorIntel",AdPerformance:"AdPerformance",BrandInsight:"BrandInsight"},t.ReportStatus=t.$Enums.ReportStatus={Draft:"Draft",Finished:"Finished"},t.ReportMetrics=t.$Enums.ReportMetrics={Roas:"Roas",CPR:"CPR",Spend:"Spend"},t.CreativeStatus=t.$Enums.CreativeStatus={Generating:"Generating",ReadyForClientReview:"ReadyForClientReview",Approved:"Approved",ChangesRequested:"ChangesRequested",Abandoned:"Abandoned",Published:"Published"},t.ChatAssociation=t.$Enums.ChatAssociation={Workspace:"Workspace",Creative:"Creative"},t.MessageType=t.$Enums.MessageType={Text:"Text",SystemMessage:"SystemMessage",Files:"Files"},t.MetaInsightType=t.$Enums.MetaInsightType={Campaign:"Campaign",AdSet:"AdSet",Ad:"Ad"},t.MetaStatus=t.$Enums.MetaStatus={ACTIVE:"ACTIVE",PAUSED:"PAUSED",DELETED:"DELETED",ARCHIVED:"ARCHIVED"},t.MetaObjective=t.$Enums.MetaObjective={APP_INSTALLS:"APP_INSTALLS",BRAND_AWARENESS:"BRAND_AWARENESS",CONVERSIONS:"CONVERSIONS",EVENT_RESPONSES:"EVENT_RESPONSES",LEAD_GENERATION:"LEAD_GENERATION",LINK_CLICKS:"LINK_CLICKS",MESSAGES:"MESSAGES",POST_ENGAGEMENT:"POST_ENGAGEMENT",PRODUCT_CATALOG_SALES:"PRODUCT_CATALOG_SALES",REACH:"REACH",STORE_VISITS:"STORE_VISITS",VIDEO_VIEWS:"VIDEO_VIEWS",PAGE_LIKES:"PAGE_LIKES",OFFER_CLAIMS:"OFFER_CLAIMS",OUTCOME_APP_PROMOTION:"OUTCOME_APP_PROMOTION",OUTCOME_AWARENESS:"OUTCOME_AWARENESS",OUTCOME_ENGAGEMENT:"OUTCOME_ENGAGEMENT",OUTCOME_LEADS:"OUTCOME_LEADS",OUTCOME_SALES:"OUTCOME_SALES",OUTCOME_TRAFFIC:"OUTCOME_TRAFFIC",NONE:"NONE"},t.MetaLibraryAdMediaType=t.$Enums.MetaLibraryAdMediaType={Image:"Image",Video:"Video"},t.MetaAdcreativeObjectType=t.$Enums.MetaAdcreativeObjectType={APPLICATION:"APPLICATION",DOMAIN:"DOMAIN",EVENT:"EVENT",OFFER:"OFFER",PAGE:"PAGE",PHOTO:"PHOTO",SHARE:"SHARE",STATUS:"STATUS",STORE_ITEM:"STORE_ITEM",V
13IDEO:"VIDEO",INVALID:"INVALID",PRIVACY_CHECK_FAIL:"PRIVACY_CHECK_FAIL",POST_DELETED:"POST_DELETED"},t.MetaAdcreativeStatus=t.$Enums.MetaAdcreativeStatus={ACTIVE:"ACTIVE",IN_PROCESS:"IN_PROCESS",WITH_ISSUES:"WITH_ISSUES",DELETED:"DELETED"},t.MetaTypeInsightAction=t.$Enums.MetaTypeInsightAction={COST_PER_ACTION_TYPE:"COST_PER_ACTION_TYPE",ACTIONS:"ACTIONS",WEBSITE_PURCHASE_ROAS:"WEBSITE_PURCHASE_ROAS",MOBILE_APP_PURCHASE_ROAS:"MOBILE_APP_PURCHASE_ROAS",PURCHASE_ROAS:"PURCHASE_ROAS",ACTION_VALUES:"ACTION_VALUES",CONVERSIONS:"CONVERSIONS",CONVERSION_VALUES:"CONVERSION_VALUES"},t.ActionStatus=t.$Enums.ActionStatus={RECOMMENDED:"RECOMMENDED",PENDING:"PENDING",READY_TO_PUBLISH:"READY_TO_PUBLISH",PUBLISHING:"PUBLISHING",PUBLISHED:"PUBLISHED",REJECTED:"REJECTED",PUBLISH_ERROR:"PUBLISH_ERROR"},t.ActionType=t.$Enums.ActionType={CREATIVE_FATIGUE:"CREATIVE_FATIGUE",LOSING_AD:"LOSING_AD",LOSING_ADSET:"LOSING_ADSET",WINNING_VARIANT:"WINNING_VARIANT",AD_VARIANT:"AD_VARIANT",SCALE_BUDGET:"SCALE_BUDGET",NEW_OPPORTUNITY:"NEW_OPPORTUNITY",CHALLENGER:"CHALLENGER"},t.RecommendedActionSeverity=t.$Enums.RecommendedActionSeverity={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH"},t.Industry=t.$Enums.Industry={Skincare:"Skincare",ProductivityTools:"ProductivityTools",CleaningSupplies:"CleaningSupplies",Food:"Food",Finance:"Finance",HomeGoods:"HomeGoods",HomeServices:"HomeServices",Education:"Education",Health:"Health",Other:"Other"},t.ClientDossierProductType=t.$Enums.ClientDossierProductType={ECommerce:"ECommerce",Service:"Service",Agency:"Agency"},t.AdBriefGenerationRequestStatus=t.$Enums.AdBriefGenerationRequestStatus={Pending:"Pending",Completed:"Completed",Failed:"Failed"},t.AdBriefGenerationRequestType=t.$Enums.AdBriefGenerationRequestType={WinningVariant:"WinningVariant",Challenger:"Challenger"},t.DataSourceType=t.$Enums.DataSourceType={ClientDossier:"ClientDossier",AdAttributes:"AdAttributes",AdProduct:"AdProduct",AdInspiration:"AdInspiration"},t.OriginType=t.$Enums.OriginType={URL:"URL",UserInput:"UserInput"},t.AdFormatStatus=t.$Enums.AdFormatStatus={Draft:"Draft",Approved:"Approved",Merged:"Merged",Rejected:"Rejected"},t.AdFormatReferenceAdStatus=t.$Enums.AdFormatReferenceAdStatus={Draft:"Draft",Approved:"Approved",Rejected:"Rejected"},t.BrandInstructionsUpdateType=t.$Enums.BrandInstructionsUpdateType={User:"User",System:"System"},t.ProcessType=t.$Enums.ProcessType={BrandInstructionsGeneration:"BrandInstructionsGeneration",BrandInstructionsUpdate:"BrandInstructionsUpdate",AdHypothesisValidation:"AdHypothesisValidation",WinnerVariantIdeasFinder:"WinnerVariantIdeasFinder",ProductAdTagging:"ProductAdTagging",PersuasionTechniqueAdAnalysis:"PersuasionTechniqueAdAnalysis",AdFormatFinder:"AdFormatFinder",ProductUSPClustering:"ProductUSPClustering",CreativeMatrixPreprocessing:"CreativeMatrixPreprocessing",CreativeMatrixAttributesProcessing:"CreativeMatrixAttributesProcessing",ProductUSPFromReviews:"ProductUSPFromReviews",CreativeMatrixRetagging:"CreativeMatrixRetagging",WorkspaceAdPerformanceMetricsCalculation:"WorkspaceAdPerformanceMetricsCalculation",GlobalAdPerformanceMetricsCalculation:"GlobalAdPerformanceMetricsCalculation",WorkspaceCompatibilityScoresCalculation:"WorkspaceCompatibilityScoresCalculation",GlobalCompatibilityScoresCalculation:"GlobalCompatibilityScoresCalculation",AdIdeaGeneration:"AdIdeaGeneration",PostOnboardingAdIdeaGeneration:"PostOnboardingAdIdeaGeneration",CustomerTestimonialProcessing:"CustomerTestimonialProcessing",ProductKnowledgeBaseProcessing:"ProductKnowledgeBaseProcessing",MetaAdLibraryScraper:"MetaAdLibraryScraper",FindNovelAdFormats:"FindNovelAdFormats",GeneratePersonas:"GeneratePersonas",AdImageGeneration:"AdImageGeneration",FigmaFrameGeneration:"FigmaFrameGeneration"},t.ProcessStatus=t.$Enums.ProcessStatus={Pending:"Pending",Completed:"Completed",Failed:"Failed"},t.AsyncJobName=t.$Enums.AsyncJobName={PostOnboardingAdIdeaGeneration:"PostOnboardingAdIdeaGeneration",AdIdeaVariantContentGeneration:"AdIdeaVariantContentGeneration",AdIdeaVariantGeneration:"AdIdeaVariantGeneration",SetupWinnerVariantIdea:"SetupWinnerVariantIdea",SimplifiedAdIdeaGeneration:"SimplifiedAdIdeaGeneration",AdIdeaGeneration:"AdIdeaGeneration",NovelUSPAdIdeaGeneration:"NovelUSPAdIdeaGeneration",NovelFormatAdIdeaGeneration:"NovelFormatAdIdeaGeneration",WinnerVariantAdIdeaGeneration:"WinnerVariantAdIdeaGeneration",SyncCreativeMatrix:"SyncCreativeMatrix",SyncMetaAdDetailPerformance:"SyncMetaAdDetailPerformance",SyncMetaAdAccount:"SyncMetaAdAccount",LinkUSPToPersonas:"LinkUSPToPersonas",LinkUSPToProducts:"LinkUSPToProducts",GetBrandWebsiteAssets:"GetBrandWebsiteAssets",GetProductWebsiteAssets:"GetProductWebsiteAssets",BulkProcessProducts:"BulkProcessProducts",ExtractPersonaFromURL:"ExtractPersonaFromURL",ExtractProductInfoFromURL:"ExtractProductInfoFromURL",ExtractUSPFromProductInfo:"ExtractUSPFromProductInfo",DeduplicateUSP:"DeduplicateUSP",DeduplicatePersonas:"DeduplicatePersonas",ProcessPastAdCreativesWorkflow:"ProcessPastAdCreativesWorkflow",ProcessWorkspaceCompetitorAds:"ProcessWorkspaceCompetitorAds",ProcessCompetitorAds:"ProcessCompetitorAds",ProcessPastAdCreatives:"ProcessPastAdCreatives",GenerateImageForPersonas:"GenerateImageForPersonas",ProcessNewUspWorkflow:"ProcessNewUspWorkflow",ProcessUnprocessedUsps:"ProcessUnprocessedUsps",UploadGoogleDriveAssets:"UploadGoogleDriveAssets",TestingStrategyGeneration:"TestingStrategyGeneration",USPRankingAndEffectivenessCalculation:"USPRankingAndEffectivenessCalculation",ExtractPromotionsFromWebsite:"ExtractPromotionsFromWebsite",DeduplicatePromotions:"DeduplicatePromotions",AdImageGeneration:"AdImageGeneration",GenerateUpdatedAdImage:"GenerateUpdatedAdImage",EraseObjectFromImage:"EraseObjectFromImage",FigmaFrameGeneration:"FigmaFrameGeneration",ProcessBrandGuidelines:"ProcessBrandGuidelines",CalculateCreativeMatrixScores:"CalculateCreativeMatrixScores",TagCreativesWithUSP:"Tag
13CreativesWithUSP",IndexUploadedAssets:"IndexUploadedAssets",GenerateAdIdeaFromCompetitorAdWorkflow:"GenerateAdIdeaFromCompetitorAdWorkflow",GenerateAdIdeaFromUniqueFormatWorkflow:"GenerateAdIdeaFromUniqueFormatWorkflow",RetagMetaLibraryAd:"RetagMetaLibraryAd",ProcessBrandGuidelinesFromPastAds:"ProcessBrandGuidelinesFromPastAds",ProcessManuallyAddedProductWorkflow:"ProcessManuallyAddedProductWorkflow",ProcessManuallyAddedProductTask:"ProcessManuallyAddedProductTask",ReplaceAdProductShot:"ReplaceAdProductShot",RemoveAdLogo:"RemoveAdLogo",VideoAdGeneration:"VideoAdGeneration",StaticImageAnimationGeneration:"StaticImageAnimationGeneration",ProcessBrandWebsite:"ProcessBrandWebsite",ProcessProductInfo:"ProcessProductInfo",ProcessBrandProductsInfo:"ProcessBrandProductsInfo",ProcessBrandCompetitors:"ProcessBrandCompetitors",ExtractAndParseProducts:"ExtractAndParseProducts",AssignProductToAssets:"AssignProductToAssets",TextToAdGeneration:"TextToAdGeneration",ApplyBrandAdherence:"ApplyBrandAdherence",CreateSizeVariant:"CreateSizeVariant",RunwayAnimationGeneration:"RunwayAnimationGeneration",ScheduledPostAnimationGeneration:"ScheduledPostAnimationGeneration",ExportVideo:"ExportVideo",GenerateVideoScript:"GenerateVideoScript",VideoPlaygroundGeneration:"VideoPlaygroundGeneration",HydrateVideoTemplate:"HydrateVideoTemplate",UGCPlaygroundGeneration:"UGCPlaygroundGeneration",RefineVideoScript:"RefineVideoScript",RegenerateVideoScene:"RegenerateVideoScene",AnalyzeExplainerChanges:"AnalyzeExplainerChanges",AdIdeaVariantDownloadZip:"AdIdeaVariantDownloadZip",ResizeEndCardImage:"ResizeEndCardImage",GenerateHookPreview:"GenerateHookPreview",RegenerateSceneFirstFrame:"RegenerateSceneFirstFrame",CustomHookGeneration:"CustomHookGeneration",RenderAnimatedAdWithMusic:"RenderAnimatedAdWithMusic",FixLogo:"FixLogo",GenerateHookCustomisationSuggestions:"GenerateHookCustomisationSuggestions",ScrapeFacebookPageAdsAndPhotos:"ScrapeFacebookPageAdsAndPhotos",GeneratePersonaDetails:"GeneratePersonaDetails",FixProductImage:"FixProductImage",GenerateSceneVideos:"GenerateSceneVideos",HydrateCollectionFirstFrames:"HydrateCollectionFirstFrames",SelectAndCreateAdsFromFacebookPage:"SelectAndCreateAdsFromFacebookPage",GeneratePersonalisedStoryboards:"GeneratePersonalisedStoryboards",SoraVideoGeneration:"SoraVideoGeneration",SoraVideoRemix:"SoraVideoRemix",IndexWorkspaceCompetitorAds:"IndexWorkspaceCompetitorAds",MotionControlVideoGeneration:"MotionControlVideoGeneration",PreprocessVideoForBRoll:"PreprocessVideoForBRoll",LayoutVariantGeneration:"LayoutVariantGeneration",DeleteMetaData:"DeleteMetaData",GatherProductInfo:"GatherProductInfo",ExtractFacebookPageUrl:"ExtractFacebookPageUrl",RegenerateCaptions:"RegenerateCaptions",AnalyzeFootage:"AnalyzeFootage",AvatarGeneration:"AvatarGeneration",AvatarIteration:"AvatarIteration",VoiceClone:"VoiceClone",GenerateRequiredShots:"GenerateRequiredShots",GenerateProductArollFrames:"GenerateProductArollFrames",RegenerateArollFrame:"RegenerateArollFrame",UnifiedProductImport:"UnifiedProductImport",GenerateVideoCreativeIdeas:"GenerateVideoCreativeIdeas",ScrapeTikTokProfileVideos:"ScrapeTikTokProfileVideos",IndexWorkspaceCompetitorTikTokAds:"IndexWorkspaceCompetitorTikTokAds",ProcessTikTokCompetitorAds:"ProcessTikTokCompetitorAds",ScrapeInstagramProfileReels:"ScrapeInstagramProfileReels",SyncTikTokInsights:"SyncTikTokInsights",SyncAllTikTokInsights:"SyncAllTikTokInsights",SyncFacebookPagePostsGraphApi:"SyncFacebookPagePostsGraphApi",SyncInstagramReelsGraphApi:"SyncInstagramReelsGraphApi",ImportFactMemoryFile:"ImportFactMemoryFile"},t.AsyncJobType=t.$Enums.AsyncJobType={Workflow:"Workflow",Task:"Task"},t.AsyncJobStatus=t.$Enums.AsyncJobStatus={Enqueued:"Enqueued",Waiting:"Waiting",Running:"Running",Completed:"Completed",Failed:"Failed",Aborted:"Aborted"},t.BatchJobRunType=t.$Enums.BatchJobRunType={FindNovelAdFormats:"FindNovelAdFormats",CompetitorAdScraping:"CompetitorAdScraping",RankAllUSPs:"RankAllUSPs",AllWorkspacesMetaAccountSync:"AllWorkspacesMetaAccountSync",WorkspaceMetaAccountSync:"WorkspaceMetaAccountSync",DailyAdConceptsGenerationForAllWorksp
13aces:"DailyAdConceptsGenerationForAllWorkspaces",WeeklyAdConceptsGenerationForAllWorkspaces:"WeeklyAdConceptsGenerationForAllWorkspaces",GenerateAdConceptsForWorkspace:"GenerateAdConceptsForWorkspace",FreshAdIdeasForAllWorkspaces:"FreshAdIdeasForAllWorkspaces",WeeklyFacebookPageScraping:"WeeklyFacebookPageScraping",PopulateActiveCampaign:"PopulateActiveCampaign",ResumeAbandonedVideoSessions:"ResumeAbandonedVideoSessions"},t.BatchJobRunStatus=t.$Enums.BatchJobRunStatus={Pending:"Pending",Running:"Running",Completed:"Completed",Failed:"Failed"},t.TestimonialInsightType=t.$Enums.TestimonialInsightType={DelightPoints:"DelightPoints",Improvements:"Improvements",ProductUsages:"ProductUsages"},t.ContentShareType=t.$Enums.ContentShareType={WeeklyPerformanceReport:"WeeklyPerformanceReport",Report:"Report"},t.FeedbackType=t.$Enums.FeedbackType={ThumbsUp:"ThumbsUp",ThumbsDown:"ThumbsDown"},t.ProductStatus=t.$Enums.ProductStatus={ParsedUnconfirmed:"ParsedUnconfirmed",UserConfirmed:"UserConfirmed"},t.ProductSetupStep=t.$Enums.ProductSetupStep={ProductInfo:"ProductInfo",Train:"Train",FineTune:"FineTune"},t.ProductKind=t.$Enums.ProductKind={PHYSICAL:"PHYSICAL",SOFTWARE:"SOFTWARE",SERVICE:"SERVICE"},t.IdentityState=t.$Enums.IdentityState={DRAFT:"DRAFT",CONFIRMED:"CONFIRMED",NEEDS_ATTENTION:"NEEDS_ATTENTION"},t.TrainingShotStatus=t.$Enums.TrainingShotStatus={Pending:"Pending",Matched:"Matched",Uploaded:"Uploaded",Skipped:"Skipped"},t.ArollFrameStatus=t.$Enums.ArollFrameStatus={Pending:"Pending",Generating:"Generating",Regenerating:"Regenerating",Completed:"Completed",Failed:"Failed"},t.HeroImageState=t.$Enums.HeroImageState={DRAFT:"DRAFT",CONFIRMED:"CONFIRMED",EXCLUDED:"EXCLUDED"},t.HeroImageProvenance=t.$Enums.HeroImageProvenance={IMPORT_DRAFT:"IMPORT_DRAFT",USER:"USER",AGENT:"AGENT"},t.EntityStatus=t.$Enums.EntityStatus={Discovered:"Discovered",PendingReview:"PendingReview",Approved:"Approved",Rejected:"Rejected"},t.AssetSourceVariant=t.$Enums.AssetSourceVariant={GoogleDrive:"GoogleDrive",
13S3:"S3"},t.CreativeMatrixAttributeType=t.$Enums.CreativeMatrixAttributeType={PersuasionTechnique:"PersuasionTechnique",SeasonOrEvent:"SeasonOrEvent"},t.AdIdeaStatus=t.$Enums.AdIdeaStatus={Draft:"Draft",ReadyForGeneration:"ReadyForGeneration",GenerationInProgress:"GenerationInProgress",GenerationCompleted:"GenerationCompleted",GenerationFailed:"GenerationFailed",Approved:"Approved",Archived:"Archived"},t.AdIdeaType=t.$Enums.AdIdeaType={NovelFormatChallenger:"NovelFormatChallenger",NovelUSPChallenger:"NovelUSPChallenger",WinnerVariant:"WinnerVariant",Custom:"Custom",TextToImage:"TextToImage",AnimatedStatic:"AnimatedStatic",FormatClone:"FormatClone",CompetitorClone:"CompetitorClone",Cinematic:"Cinematic",UserUploadedAd:"UserUploadedAd",ChallengerRemix:"ChallengerRemix",UGCRemix:"UGCRemix",VideoAgent:"VideoAgent"},t.PublishLinkSource=t.$Enums.PublishLinkSource={NOTCH_PUBLISH:"NOTCH_PUBLISH",MATCHED_AUTO:"MATCHED_AUTO",MATCHED_CONFIRMED:"MATCHED_CONFIRMED"},t.FingerprintKind=t.$Enums.FingerprintKind={GENERATED_IMAGE:"GENERATED_IMAGE",GENERATED_VIDEO:"GENERATED_VIDEO",META_CREATIVE_IMAGE:"META_CREATIVE_IMAGE",META_CREATIVE_VIDEO:"META_CREATIVE_VIDEO"},t.FingerprintStatus=t.$Enums.FingerprintStatus={OK:"OK",SOURCE_UNAVAILABLE:"SOURCE_UNAVAILABLE",FAILED:"FAILED"},t.SuggestionStatus=t.$Enums.SuggestionStatus={PENDING:"PENDING",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",EXPIRED:"EXPIRED"},t.TikTokCreatorPublishStatus=t.$Enums.TikTokCreatorPublishStatus={UPLOADING:"UPLOADING",PROCESSING:"PROCESSING",PUBLISHED:"PUBLISHED",FAILED:"FAILED"},t.MetaSocialPublishMediaKind=t.$Enums.MetaSocialPublishMediaKind={IMAGE:"IMAGE",VIDEO:"VIDEO"},t.MetaSocialPublishTargetStatus=t.$Enums.MetaSocialPublishTargetStatus={SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",SKIPPED:"SKIPPED"},t.GenerationStatus=t.$Enums.GenerationStatus={Pending:"Pending",Completed:"Completed",Error:"Error",Archived:"Archived"},t.ReviewStatus=t.$Enums.ReviewStatus={Pending:"Pending",Accepted:"Accepted",Rejected:"Rejected"},t.ImageGenerationErrorType=t.$Enums.ImageGenerationErrorType={content_moderation:"content_moderation",api_error:"api_error",timeout:"timeout",rate_limit:"rate_limit",generation_failure:"generation_failure",unknown:"unknown"},t.BriefIdeaType=t.$Enums.BriefIdeaType={NovelFormatChallenger:"NovelFormatChallenger",NovelUSPChallenger:"NovelUSPChallenger",Custom:"Custom"},t.BriefIdeaStatus=t.$Enums.BriefIdeaStatus={Created:"Created",BriefGenerated:"BriefGenerated",Completed:"Completed",Archived:"Archived"},t.UserEditedCreativeMatrixValuesType=t.$Enums.UserEditedCreativeMatrixValuesType={AdFormat:"AdFormat",PersuasionTechnique:"PersuasionTechnique",SeasonOrEvent:"SeasonOrEvent",Product:"Product",USP:"USP"},t.MetaLibraryAdStatus=t.$Enums.MetaLibraryAdStatus={Pending:"Pending",Processing:"Processing",Completed:"Completed",Error:"Error",Skipped:"Skipped"},t.ImageGenerationRequestStatus=t.$Enums.ImageGenerationRequestStatus={Pending:"Pending",Completed:"Completed",Failed:"Failed"},t.ImageGenerationMessageStatus=t.$Enums.ImageGenerationMessageStatus={InProgress:"InProgress",Completed:"Completed",Failed:"Failed"},t.WinnerVariantRuleEntityType=t.$Enums.WinnerVariantRuleEntityType={MetaAdDetail:"MetaAdDetail",MetaAdSetDetail:"MetaAdSetDetail",MetaCampaignDetail:"MetaCampaignDetail"},t.WinnerVariantRuleOperator=t.$Enums.WinnerVariantRuleOperator={CONTAINS:"CONTAINS",NOT_CONTAINS:"NOT_CONTAINS"},t.ActionItemStatus=t.$Enums.ActionItemStatus={Pending:"Pending",Completed:"Completed"},t.ActionItemType=t.$Enums.ActionItemType={AddTeamMembers:"AddTeamMembers",ReviewBrandGuidelines:"ReviewBrandGuidelines",ReviewPromotions:"ReviewPromotions",ReviewPersonas:"ReviewPersonas",ReviewProductDetails:"ReviewProductDetails",ReviewLogos:"ReviewLogos",ReviewProductOrServiceAssets:"ReviewProductOrServiceAssets",ConnectMetaAdAccount:"ConnectMetaAdAccount"},t.SubscriptionStatus=t.$Enums.SubscriptionStatus={Active:"Active",Cancelled:"Cancelled",Trial:"Trial"},t.SubscriptionMigrationStatus=t.$Enums.SubscriptionMigrationStatus={Pending:"Pending",Completed:"Completed",Failed:"Failed"},t.PlanInterval=t.$Enums.PlanInterval={Month:"Month",Year:"Year"},t.OnboardingStep=t.$Enums.OnboardingStep={WELCOME:"WELCOME",AGENCY_QUESTION:"AGENCY_QUESTION",AGENCY_WEBSITE:"AGENCY_WEBSITE",BRAND_CATEGORY:"BRAND_CATEGORY",COMPANY_SIZE:"COMPANY_SIZE",WEBSITE:"WEBSITE",LOADING:"LOADING",FACEBOOK_PAGE:"FACEBOOK_PAGE",BRAND_INFO:"BRAND_INFO",BRAND_COLORS:"BRAND_COLORS",BRAND_FONTS:"BRAND_FONTS",HOMEPAGE_DETECTED:"HOMEPAGE_DETECTED",SPECIFIC_PRODUCT_URL:"SPECIFIC_PRODUCT_URL",PRODUCT_LISTING_DETECTED:"PRODUCT_LISTING_DETECTED",PRODUCT_DETAILS:"PRODUCT_DETAILS",SELECT_PRODUCT:"SELECT_PRODUCT",MANUAL_PRODUCT:"MANUA
13L_PRODUCT",GENERATION_STARTED:"GENERATION_STARTED"},t.VideoGenerationStatus=t.$Enums.VideoGenerationStatus={Pending:"Pending",Generating:"Generating",Completed:"Completed",Failed:"Failed",Archived:"Archived"},t.VideoGenerationSource=t.$Enums.VideoGenerationSource={BRoll:"BRoll",UGCRemix:"UGCRemix",VideoAgent:"VideoAgent"},t.VideoSceneType=t.$Enums.VideoSceneType={AI:"AI",Template:"Template"},t.VideoSceneContentType=t.$Enums.VideoSceneContentType={Hook:"Hook",Explainer:"Explainer",Bumper:"Bumper",Banner:"Banner",BackgroundMusic:"BackgroundMusic"},t.VideoSceneStatus=t.$Enums.VideoSceneStatus={Pending:"Pending",Generating:"Generating",Completed:"Completed",Failed:"Failed"},t.VideoAdTemplateStatus=t.$Enums.VideoAdTemplateStatus={Draft:"Draft",Published:"Published",Archived:"Archived"},t.VideoAdTemplateType=t.$Enums.VideoAdTemplateType={Banner:"Banner",Bumper:"Bumper"},t.ScheduledPostStatus=t.$Enums.ScheduledPostStatus={Pending:"Pending",Scheduled:"Scheduled",Completed:"Completed",Failed:"Failed"},t.CustomFontFormat=t.$Enums.CustomFontFormat={TTF:"TTF",WOFF:"WOFF",WOFF2:"WOFF2",OTF:"OTF"},t.PopularAdsClusterType=t.$Enums.PopularAdsClusterType={IndustrySubvertical:"IndustrySubvertical",SeasonOrEvent:"SeasonOrEvent"},t.VideoShowcaseStatus=t.$Enums.VideoShowcaseStatus={Draft:"Draft",Published:"Published",Archived:"Archived"},t.VideoCreativeIdeaStatus=t.$Enums.VideoCreativeIdeaStatus={Generating:"Generating",Generated:"Generated",Selected:"Selected",Dismissed:"Dismissed"},t.TikTokLibraryAdStatus=t.$Enums.TikTokLibraryAdStatus={Pending:"Pending",Completed:"Completed",Error:"Error",Skipped:"Skipped"},t.TikTokInsightType=t.$Enums.TikTokInsightType={Campaign:"Campaign",AdGroup:"AdGroup",Ad:"Ad"},t.PersonalisedAgentRunType=t.$Enums.PersonalisedAgentRunType={WeeklyDrop:"WeeklyDrop",Heartbeat:"Heartbeat"},t.Gender=t.$Enums.Gender={Male:"Male",Female:"Female",Other:"Other"},t.AgeBucket=t.$Enums.AgeBucket={Kid:"Kid",YoungAdult:"YoungAdult",Adult:"Adult",Senior:"Senior"},t.PersonalisedAgentType=t.$Enums.PersonalisedAgentType={PaidSocial:"PaidSocial",AIInfluencer:"AIInfluencer",OrganicSocial:"OrganicSocial"},t.PersonalisedAgentStatus=t.$Enums.PersonalisedAgentStatus={Draft:"Draft",Active:"Active",Paused:"Paused",Archived:"Archived"},t.CreativeAnalysisSource=t.$Enums.CreativeAnalysisSource={owned_meta_ad:"owned_meta_ad",competitor_meta_library_ad:"competitor_meta_library_ad",user_upload:"user_upload",generated_static_ad:"generated_static_ad",external_url:"external_url"},t.CreativeAnalysisMediaType=t.$Enums.CreativeAnalysisMediaType={static:"static",video:"video"},t.MetaChangeOrigin=t.$Enums.MetaChangeOrigin={USER_CHAT:"USER_CHAT",USER_FORM:"USER_FORM",AGENT:"AGENT",HEARTBEAT:"HEARTBEAT",ADMIN:"ADMIN"},t.MetaChangeSetStatus=t.$Enums.MetaChangeSetStatus={OPEN:"OPEN",APPROVED:"APPROVED",EXECUTING:"EXECUTING",APPLIED:"APPLIED",PARTIALLY_APPLIED:"PARTIALLY_APPLIED",FAILED:"FAILED",STALE:"STALE",REJECTED:"REJECTED",WITHDRAWN:"WITHDRAWN",EXPIRED:"EXPIRED",SUPERSEDED:"SUPERSEDED"},t.MetaChangeTargetType=t.$Enums.MetaChangeTargetType={AD:"AD",ADSET:"ADSET",CAMPAIGN:"CAMPAIGN"},t.MetaChangeRiskTier=t.$Enums.MetaChangeRiskTier={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH"},t.MetaChangeAttemptOutcome=t.$Enums.MetaChangeAttemptOutcome={RESERVED:"RESERVED",APPLIED:"APPLIED",FAILED:"FAILED",AMBIGUOUS:"AMBIGUOUS",RECONCILED_APPLIED:"RECONCILED_APPLIED"},t.BrandWikiStatus=t.$Enums.BrandWikiStatus={Idle:"Idle",Queued:"Queued",Generating:"Generating",Failed:"Failed"},t.Prisma.ModelName={Workspace:"Workspace",Asset:"Asset",AssetSegment:"AssetSegment",Competitor:"Competitor",User:"User",AbuseRiskEvent:"AbuseRiskEvent",WorkspaceDomainSubmission:"WorkspaceDomainSubmission",VideoAgentSession:"VideoAgentSession",CreditLedgerEntry:"CreditLedgerEntry",VideoAgentSessionAsset:"VideoAgentSessionAsset",VideoAgentMessage:"VideoAgentMessage",BrandReportCorrection:"BrandReportCorrection",AdAccount:"AdAccount",Notification:"Notification",Review:"Review",Campaign:"Campaign",ReferenceAd:"ReferenceAd",AdSet:"AdSet",AdLibraryId:"AdLibraryId",AdOpportunity:"AdOpportunity",Report:"Report",Creative:"Creative",ChatThread:"ChatThread",Message:"Message",Invitation:"Invitation",MetaInsight:"MetaInsight",MetaInsightCostDetail:"MetaInsightCostDetail",MetaCampaignDetail:"MetaCampaignDetail",MetaAdSetDetail:"MetaAdSetDetail",MetaAdDetail:"MetaAdDetail",MetaAdcreativeDetail:"MetaAdcreativeDetail",MetaInsightAction:"MetaInsightAction",RecommendedAction:"RecommendedAction",MetaAdCreative:"MetaAdCreative",CreativeAngle:"CreativeAngle",CreativeAngleUsage:"CreativeAngleUsage",ChangeLog:"ChangeLog",AdRequest:"AdRequest",AdRequestProduct:"AdRequestProduct",AdAttributes:"AdAttributes",ClientDossier:"ClientDossier",BrandScore:"BrandScore",AdProduct:"AdProduct",AdTestingStrategyRequest:"AdTestingStrategyRequest",AdBriefGenerationRequest:"AdBriefGenerationRequest",AdBriefVariant:"AdBriefVariant",AdBriefVariantImprovementChat:"AdBriefVariantImprovementChat",AdBriefReferenceEmbeddings:"AdBriefReferenceEmbeddings",AdFormat:"AdFormat",AdFormatReferenceAd:"AdFormatReferenceAd",VideoTranscripts:"VideoTranscripts",BrandInstructions:"BrandInstructions",BriefReviewRequest:"BriefReviewRequest",Backgroun
13dProcessRequest:"BackgroundProcessRequest",AsyncJob:"AsyncJob",BatchJobRun:"BatchJobRun",CustomerTestimonialToUSP:"CustomerTestimonialToUSP",CustomerTestimonial:"CustomerTestimonial",CustomerTestimonialCluster:"CustomerTestimonialCluster",PerformanceAlerts:"PerformanceAlerts",ContentShare:"ContentShare",AdHypothesis:"AdHypothesis",IdeaFeedbackFromUser:"IdeaFeedbackFromUser",WinnerVariantIdea:"WinnerVariantIdea",AdHypothesisValidationResult:"AdHypothesisValidationResult",WinnerVariantIdeaTestingStrategy:"WinnerVariantIdeaTestingStrategy",Product:"Product",ProductTrainingShot:"ProductTrainingShot",ProductArollFrame:"ProductArollFrame",ProductHeroImage:"ProductHeroImage",CreativeMatrix:"CreativeMatrix",CreativeMatrixToMetaAdDetail:"CreativeMatrixToMetaAdDetail",USP:"USP",AssetFolderSource:"AssetFolderSource",CreativeMatrixAttribute:"CreativeMatrixAttribute",AdIdea:"AdIdea",AdIdeaMetaPublish:"AdIdeaMetaPublish",CreativeFingerprint:"CreativeFingerprint",AdLinkSuggestion:"AdLinkSuggestion",AdIdeaTikTokPublish:"AdIdeaTikTokPublish",TikTokCreatorPublish:"TikTokCreatorPublish",MetaSocialPublish:"MetaSocialPublish",AdIdeaVariant:"AdIdeaVariant",GeneratedAdImage:"GeneratedAdImage",BriefIdea:"BriefIdea",CreativeMatrixAttributeScore:"CreativeMatrixAttributeScore",CreativeMatrixUserEdit:"CreativeMatrixUserEdit",AttributeCompatibilityScore:"AttributeCompatibilityScore",Promotion:"Promotion",Prompt:"Prompt",CustomerTestimonialSnippet:"CustomerTestimonialSnippet",AdElement:"AdElement",ProductPage:"ProductPage",ProductPageElement:"ProductPageElement",MetaAdLibraryAccount:"MetaAdLibraryAccount",MetaLibraryAd:"MetaLibraryAd",Persona:"Persona",ImageGenerationRequest:"ImageGenerationRequest",DesignGuideline:"DesignGuideline",ImageGenerationConversation:"ImageGenerationConversation",ImageGenerationMessage:"ImageGenerationMessage",ImageGenerationContent:"ImageGenerationContent",WinnerVariantRule:"WinnerVariantRule",ActionItem:"ActionItem",ProductContentPiece:"ProductContentPiece",Subscription:"Subscription",UserSubscription:"UserSubscription",PlanCheckoutReservation:"PlanCheckoutReservation",CancellationFeedback:"CancellationFeedback",Plan:"Plan",Price:"Price",SubscriptionUsageConfig:"SubscriptionUsageConfig",StripeEventLogs:"StripeEventLogs",AdIdeaVariantReview:"AdIdeaVariantReview",WorkspaceOnboardingState:"WorkspaceOnboardingState",WorkspaceUserNotificationPreference:"WorkspaceUserNotificationPreference",CanvaUser:"CanvaUser",AdConceptBoard:"AdConceptBoard",AdIdeaComment:"AdIdeaComment",GeneratedAdVideo:"GeneratedAdVideo",VideoScene:"VideoScene",VideoAdTemplate:"VideoAdTemplate",VideoAdHookTemplate:"VideoAdHookTemplate",VideoTemplateCollection:"VideoTemplateCollection",VideoAvatar:"VideoAvatar",PublicGeneratedAds:"PublicGeneratedAds",ScheduledPost:"ScheduledPost",GlobalSettings:"GlobalSettings",GHLCompany:"GHLCompany",CustomFont:"CustomFont",PopularAdsCluster:"PopularAdsCluster",FacebookPost:"FacebookPost",AudioAsset:"AudioAsset",VideoHooks:"VideoHooks",VideoLayoutTemplate:"VideoLayoutTemplate",VideoLayoutTemplateOrdering:"VideoLayoutTemplateOrdering",VideoAgentAvatar:"VideoAgentAvatar",VideoAgentAudio:"VideoAgentAudio",VideoShowcase:"VideoShowcase",VideoCreativeIdea:"VideoCreativeIdea",TikTokVideo:"TikTokVideo",TikTokCompetitor:"TikTokCompetitor",TikTokCreator:"TikTokCreator",TikTokAdLibraryAdvertiser:"TikTokAdLibraryAdvertiser",TikTokLibraryAd:"TikTokLibraryAd",TikTokAdAccount:"TikTokAdAccount",TikTokCreatorAccount:"TikTokCreatorAccount",TikTokCampaign:"TikTokCampaign",TikTokAdGroup:"TikTokAdGroup",TikTokAd:"TikTokAd",TikTokAdCreative:"TikTokAdCreative",TikTokInsight:"TikTokInsight",PublicLandingSession:"PublicLandingSession",ReferenceAdAnalysisCache:"ReferenceAdAnalysisCache",VideoAgentSchedule:"VideoAgentSchedule",VideoAgentScheduleRun:"VideoAgentScheduleRun",InstagramReel:"InstagramReel",InstagramCompetitorAccount:"InstagramCompetitorAccount",InstagramCompetitor:"InstagramCompetitor",ReferenceActor:"ReferenceActor",ReferenceFrame:"ReferenceFrame",VideoAgentJournalLog:"VideoAgentJournalLog",VideoAgentFactMemory:"VideoAgentFactMemory",FormSubmission:"FormSubmission",PersonalisedAgent:"PersonalisedAgent",AgentEntitlement:"AgentEntitlement",AgentTrialUsage:"AgentTrialUsage",SlackInstallation:"SlackInstallation",SlackAgentChannel:"SlackAgentChannel",SlackAgentThread:"SlackAgentThread",CreativeAnalysis:"CreativeAnalysis",McpOAuthClient:"McpOAuthClient",McpOAuthToken:"McpOAuthToken",McpOAuthAuthCode:"McpOAuthAuthCode",MetaChangeSet:"MetaChangeSet",MetaChangeRevision:"MetaChangeRevision",MetaChangeApproval:"MetaChangeApproval",MetaChangeAttempt:"MetaChangeAttempt",BrandWikiPage:"BrandWikiPage",BrandWikiVersion:"BrandWikiVersion",WorkspaceContentVersion:"Worksp
13aceContentVersion",RetirementAccess:"RetirementAccess"};class c{constructor(){return new Proxy(this,{get(e,t){let a=s(),i={workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Vercel Edge Functions"}[a],r="PrismaClient is unable to run in ";throw void 0!==i?r+=i+". As an alternative, try Accelerate: https://pris.ly/d/accelerate.":r+="this browser environment, or has been bundled for the browser (running in `"+a+"`).",Error(r+=`
14If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`)}})}}t.PrismaClient=c,Object.assign(t,o)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.