1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[385],{2804:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let{Decimal:r,objectEnumValues:i,makeStrictEnum:s,Public:o,getRuntime:u,skip:a}=n(3847),l={};t.Prisma=l,t.$Enums={},l.prismaVersion={client:"6.16.2",engine:"1c57fdcd7e44b29b9313256c76699e91c3ac3c43"},l.PrismaClientKnownRequestError=()=>{let e=u().prettyName;throw Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 2In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.PrismaClientUnknownRequestError=()=>{let e=u().prettyName;throw Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 3In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.PrismaClientRustPanicError=()=>{let e=u().prettyName;throw Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 4In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.PrismaClientInitializationError=()=>{let e=u().prettyName;throw Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 5In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.PrismaClientValidationError=()=>{let e=u().prettyName;throw Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 6In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.Decimal=r,l.sql=()=>{let e=u().prettyName;throw Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 7In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.empty=()=>{let e=u().prettyName;throw Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 8In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.join=()=>{let e=u().prettyName;throw Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 9In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.raw=()=>{let e=u().prettyName;throw Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 10In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.validator=o.validator,l.getExtensionContext=()=>{let e=u().prettyName;throw Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 11In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.defineExtension=()=>{let e=u().prettyName;throw Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${e}). 12In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},l.DbNull=i.instances.DbNull,l.JsonNull=i.instances.JsonNull,l.AnyNull=i.instances.AnyNull,l.NullTypes={DbNull:i.classes.DbNull,JsonNull:i.classes.JsonNull,AnyNull:i.classes.AnyNull},t.Prisma.TransactionIsolationLevel=s({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),t.Prisma.BlogUserScalarFieldEnum={id:"id",name:"name",email:"email",passwordHash:"passwordHash",role:"role",isActive:"isActive",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BlogAIPromptHistoryScalarFieldEnum={id:"id",userId:"userId",topic:"topic",tone:"tone",createdAt:"createdAt"},t.Prisma.BlogAIBrandVoiceScalarFieldEnum={id:"id",companyName:"companyName",audience:"audience",toneGuidelines:"toneGuidelines",wordsToUse:"wordsToUse",wordsToAvoid:"wordsToAvoid",defaultCTA:"defaultCTA",createdAt:"createdAt",updatedAt:"updatedAt"}
12,t.Prisma.BlogPostScalarFieldEnum={id:"id",title:"title",slug:"slug",excerpt:"excerpt",body:"body",featuredImageUrl:"featuredImageUrl",adminNote:"adminNote",status:"status",authorId:"authorId",publishedAt:"publishedAt",categoryId:"categoryId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BlogCategoryScalarFieldEnum={id:"id",name:"name",slug:"slug",createdAt:"createdAt"},t.Prisma.BlogSessionScalarFieldEnum={id:"id",userId:"userId",sessionTokenHash:"sessionTokenHash",expiresAt:"expiresAt",createdAt:"createdAt"},t.Prisma.BlogMediaScalarFieldEnum={id:"id",ownerId:"ownerId",filename:"filename",originalFilename:"originalFilename",mimeType:"mimeType",sizeBytes:"sizeBytes",blobKey:"blobKey",publicUrl:"publicUrl",createdAt:"createdAt"},t.Prisma.SortOrder={asc:"asc",desc:"desc"},t.Prisma.QueryMode={default:"default",insensitive:"insensitive"},t.Prisma.NullsOrder={first:"first",last:"last"},t.BlogUserRole=t.$Enums.BlogUserRole={sales_user:"sales_user",admin:"admin"},t.BlogPostStatus=t.$Enums.BlogPostStatus={draft:"draft",submitted:"submitted",published:"published"},t.Prisma.ModelName={BlogUser:"BlogUser",BlogAIPromptHistory:"BlogAIPromptHistory",BlogAIBrandVoice:"BlogAIBrandVoice",BlogPost:"BlogPost",BlogCategory:"BlogCategory",BlogSession:"BlogSession",BlogMedia:"BlogMedia"},t.PrismaClient=class{constructor(){return new Proxy(this,{get(e,t){let n=u();throw Error((n.isEdge?`PrismaClient is not configured to run in ${n.prettyName}. In order to run Prisma Client on edge runtime, either:
13- Use Prisma Accelerate: https://pris.ly/d/accelerate 14- Use Driver Adapters: https://pris.ly/d/driver-adapters 15`:"PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `"+n.prettyName+"`).")+` 16If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`)}})}},Object.assign(t,l)},385:function(e,t,n){let r=n(2804);e.exports=r},3847:function(e){"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=e=>{throw TypeError(e)},o=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},u=(e,t,n)=>t.has(e)?s("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),a={};o(a,{Decimal:()=>tt,Public:()=>l,getRuntime:()=>C,makeStrictEnum:()=>A,objectEnumValues:()=>y}),e.exports=((e,s,o,u)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let o of r(s))i.call(e,o)||void 0===o||t(e,o,{get:()=>s[o],enumerable:!(u=n(s,o))||u.enumerable});return e})(t({},"__esModule",{value:!0}),a);var l={};function c(...e){return e=>e}o(l,{validator:()=>c});var h,d=Symbol(),f=new WeakMap,p=class{constructor(e){e===d?f.set(this,"Prisma.".concat(this._getName())):f.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return f.get(this)}},m=class extends p{_getNamespace(){return"NullTypes"}},g=class extends m{constructor(){super(...arguments),u(this,h)}};h=new WeakMap,E(g,"DbNull");var w,b=class extends m{constructor(){super(...arguments),u(this,w)}};w=new WeakMap,E(b,"JsonNull");var v,N=class extends m{constructor(){super(...arguments),u(this,v)}};v=new WeakMap,E(N,"AnyNull");var y={classes:{DbNull:g,JsonNull:b,AnyNull:N},instances:{DbNull:new g(d),JsonNull:new b(d),AnyNull:new N(d)}};function E(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var x=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function A(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!x.has(t))throw TypeError("Invalid enum value: ".concat(String(t)))}})}var P=()=>{var e,t;return(null==(t=null==(e=globalThis.process)?void 0:e.release)?void 0:t.name)==="node"},M=()=>{var e,t;return!!globalThis.Bun||!!(null!=(t=null==(e=globalThis.process)?void 0:e.versions)&&t.bun)},S=()=>!!globalThis.Deno,I=()=>"object"==typeof globalThis.Netlify,O=()=>"object"==typeof globalThis.EdgeRuntime,R=()=>{var e;return(null==(e=globalThis.navigator)?void 0:e.userAgent)==="Cloudflare-Workers"},T={node:"Node.js",workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Edge Runtime (Vercel Edge Functions, Vercel Edge Middleware, Next.js (Pages Router) Edge API Routes, Next.js (App Router) Edge Route Handlers or Next.js Middleware)"};function C(){var e;let t=null!=(e=[[I,"netlify"],[O,"edge-light"],[R,"workerd"],[S,"deno"],[M,"bun"],[P,"node"]].flatMap(e=>e[0]()?[e[1]]:[]).at(0))?e:"";return{id:t,prettyName:T[t]||t,isEdge:["workerd","deno","netlify","edge-light"].includes(t)}}var B,q,D="0123456789abcdef",F="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",k="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823
16066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",U={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},_=!0,$="[DecimalError] ",j=$+"Invalid argument: ",Z=$+"Precision limit exceeded",H=$+"crypto unavailable",L="[object Decimal]",V=Math.floor,J=Math.pow,W=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,z=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,K=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,G=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Q=F.length-1,X=k.length-1,Y={toStringTag:L};function ee(e){var t,n,r,i=e.length-1,s="",o=e[0];if(i>0){for(s+=o,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(s+=eh(n)),s+=r;(n=7-(r=(o=e[t])+"").length)&&(s+=eh(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return s+o}function et(e,t,n){if(e!==~~e||e<t||e>n)throw Error(j+e)}function en(e,t,n,r){var i,s,o,u;for(s=e[0];s>=10;s/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),s=J(10,7-t),u=e[i]%s|0,null==r?t<3?(0==t?u=u/100|0:1==t&&(u=u/10|0),o=n<4&&99999==u||n>3&&49999==u||5e4==u||0==u):o=(n<4&&u+1==s||n>3&&u+1==s/2)&&(e[i+1]/s/100|0)==J(10,t-2)-1||(u==s/2||0==u)&&(e[i+1]/s/100|0)==0:t<4?(0==t?u=u/1e3|0:1==t?u=u/100|0:2==t&&(u=u/10|0),o=(r||n<4)&&9999==u||!r&&n>3&&4999==u):o=((r||n<4)&&u+1==s||!r&&n>3&&u+1==s/2)&&(e[i+1]/s/1e3|0)==J(10,t-3)-1,o}function er(e,t,n){for(var r,i,s=[0],o=0,u=e.length;o<u;){for(i=s.length;i--;)s[i]*=t;for(s[0]+=D.indexOf(e.charAt(o++)),r=0;r<s.length;r++)s[r]>n-1&&(void 0===s[r+1]&&(s[r+1]=0),s[r+1]+=s[r]/n|0,s[r]%=n)}return s.reverse()}Y.absoluteValue=Y.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),es(e)},Y.ceil=function(){return es(new this.constructor(this),this.e+1,2)},Y.clampedTo=Y.clamp=function(e,t){var n=this.constructor;if(e=new n(e),t=new n(t),!e.s||!t.s)return new n(NaN);if(e.gt(t))throw Error(j+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new n(this)},Y.comparedTo=Y.cmp=function(e){var t,n,r,i,s=this.d,o=(e=new this.constructor(e)).d,u=this.s,a=e.s;if(!s||!o)return u&&a?u!==a?u:s===o?0:!s^u<0?1:-1:NaN;if(!s[0]||!o[0])return s[0]?u:o[0]?-a:0;if(u!==a)return u;if(this.e!==e.e)return this.e>e.e^u<0?1:-1;for(r=s.length,i=o.length,t=0,n=r<i?r:i;t<n;++t)if(s[t]!==o[t])return s[t]>o[t]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},Y.cosine=Y.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i;if(t.isZero())return t;(r=t.d.length)<32?i=(1/eN(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10"),e.precision+=n,t=ev(e,1,t.times(i),new e(1));for(var s=n;s--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=n,t}(r,ey(r,n)),r.precision=e,r.rounding=t,es(2==q||3==q?n.neg():n,e,t,!0)):new r(1):new r(NaN)},Y.cubeRoot=Y.cbrt=function(){var e,t,n,r,i,s,o,u,a,l,c=this.constructor;if(!this.isFinite()||this.isZero())return new c(this);for(_=!1,(s=this.s*J(this.s*this,1/3))&&Math.abs(s)!=1/0?r=new c(s.toString()):(n=ee(this.d),(s=((e=this.e)-n.length+1)%3)&&(n+=1==s||-2==s?"0":"00"),s=J(n,1/3),e=V((e+1)/3)-(e%3==(e<0?-1:2)),n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e,(r=new c(n)).s=this.s),o=(e=c.precision)+3;;)if(l=(a=(u=r).times(u).times(u)).plus(this),r=ei(l.plus(this).times(u),l.plus(a),o+2,1),ee(u.d).slice(0,o)===(n=ee(r.d)).slice(0,o)){if
vendor: 4,813 bytes, line 16
16("9999"!=(n=n.slice(o-3,o+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(es(r,e+1,1),t=!r.times(r).times(r).eq(this));break}if(!i&&(es(u,e+1,0),u.times(u).times(u).eq(this))){r=u;break}o+=4,i=1}return _=!0,es(r,e,c.rounding,t)},Y.decimalPlaces=Y.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=((e=t.length-1)-V(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},Y.dividedBy=Y.div=function(e){return ei(this,new this.constructor(e))},Y.dividedToIntegerBy=Y.divToInt=function(e){var t=this.constructor;return es(ei(this,new t(e),0,1,1),t.precision,t.rounding)},Y.equals=Y.eq=function(e){return 0===this.cmp(e)},Y.floor=function(){return es(new this.constructor(this),this.e+1,3)},Y.greaterThan=Y.gt=function(e){return this.cmp(e)>0},Y.greaterThanOrEqualTo=Y.gte=function(e){var t=this.cmp(e);return 1==t||0===t},Y.hyperbolicCosine=Y.cosh=function(){var e,t,n,r,i,s=this,o=s.constructor,u=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return u;n=o.precision,r=o.rounding,o.precision=n+Math.max(s.e,s.sd())+4,o.rounding=1,(i=s.d.length)<32?t=(1/eN(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),s=ev(o,1,s.times(t),new o(1),!0);for(var a,l=e,c=new o(8);l--;)a=s.times(s),s=u.minus(a.times(c.minus(a.times(c))));return es(s,o.precision=n,o.rounding=r,!0)},Y.hyperbolicSine=Y.sinh=function(){var e,t,n,r,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(t=s.precision,n=s.rounding,s.precision=t+Math.max(i.e,i.sd())+4,s.rounding=1,(r=i.d.length)<3)i=ev(s,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=i.times(1/eN(5,e)),i=ev(s,2,i,i,!0);for(var o,u=new s(5),a=new s(16),l=new s(20);e--;)o=i.times(i),i=i.times(u.plus(o.times(a.times(o).plus(l))))}return s.precision=t,s.rounding=n,es(i,t,n,!0)},Y.hyperbolicTangent=Y.tanh=function(){var e,t,n=this.constructor;return this.isFinite()?this.isZero()?new n(this):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,ei(this.sinh(),this.cosh(),n.precision=e,n.rounding=t)):new n(this.s)},Y.inverseCosine=Y.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),r=t.precision,i=t.rounding;return -1!==n?0===n?e.isNeg()?el(t,r,i):new t(0):new t(NaN):e.isZero()?el(t,r+4,i).times(.5):(t.precision=r+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=r,t.rounding=i,e.times(2))},Y.inverseHyperbolicCosine=Y.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,_=!1,n=n.times(n).minus(1).sqrt().plus(n),_=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},Y.inverseHyperbolicSine=Y.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,_=!1,n=n.times(n).plus(1).sqrt().plus(n),_=!0,r.precision=e,r.rounding=t,n.ln())},Y.inverseHyperbolicTangent=Y.atanh=function(){var e,t,n,r,i=this,s=i.constructor;return i.isFinite()?i.e>=0?new s(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=s.precision,t=s.rounding,Math.max(r=i.sd(),e)<-(2*i.e)-1?es(new s(i),e,t,!0):(s.precision=n=r-i.e,i=ei(i.plus(1),new s(1).minus(i),n+e,1),s.precision=e+4,s.rounding=1,i=i.ln(),s.precision=e,s.rounding=t,i.times(.5))):new s(NaN)},Y.inverseSine=Y.asin=function(){var e,t,n,r,i=this,s=i.constructor;return i.isZero()?new s(i):(t=i.abs().cmp(1),n=s.precision,r=s.rounding,-1!==t?0===t?((e=el(s,n+4,r).times(.5)).s=i.s,e):new s(NaN):(s.precision=n+6,s.rounding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=n,s.rounding=r,i.times(2)))},Y.inverseTangent=Y.atan=function(){var e,t,n,r,i,s,o,u,a,l=this,c=l.constructor,h=c.precision,d=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&h+4<=X)return(o=el(c,h+4,d).times(.25)).s=l.s,o}else{if(!l.s)return new c(NaN);if(h+4<=X)return(o=el(c,h+4,d).times(.5)).s=l.s,o}for(c.precision=u=h+10,c.rounding=1,e=n=Math.min(28,u/7+2|0);e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(_=!1,t=Math.ceil(u/7),r=1,a=l.times(l),o=new c(l),i=l;-1!==e;)if(i=i.times(a),s=o.minus(i.div(r+=2)),i=i.times(a),void 0!==(o=s.plus(i.div(r+=2))).d[t])for(e=t;o.d[e]===s.d[e]&&e--;);return n&&(o=o.times(2<<n-1)),_=!0,es(o,c.precision=h,c.rounding=d,!0)},Y.isFinite=function(){return!!this.d},Y.isInteger=Y.isInt=function(){return!!this.d&&V(this.e/7)>this.d.length-2},Y.isNaN=function(){return!this.s},Y.isNegative=Y.isNeg=function(){return this.s<0},Y.isPositive=Y.isPos=function(){return this.s>0},Y.isZero=function(){return!!this.d&&0===this.d[0]},Y.lessThan=Y.lt=function(e){return 0>this.cmp(e)},Y.lessThanOrEqualTo=Y.lte=function(e){return 1>this.cmp(e)},Y.logarithm=Y.log=function(e){var t,n,r,i,s,o,u,a=this.constructor,l=a.precision,c=a.roun
16ding;if(null==e)e=new a(10),t=!0;else{if(n=(e=new a(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new a(NaN);t=e.eq(10)}if(n=this.d,this.s<0||!n||!n[0]||this.eq(1))return new a(n&&!n[0]?-1/0:1!=this.s?NaN:n?0:1/0);if(t){if(n.length>1)i=!0;else{for(r=n[0];r%10==0;)r/=10;i=1!==r}}if(_=!1,en((u=ei(eg(this,o=l+5),t?ea(a,o+10):eg(e,o),o,1)).d,r=l,c))do if(o+=10,u=ei(eg(this,o),t?ea(a,o+10):eg(e,o),o,1),!i){+ee(u.d).slice(r+1,r+15)+1==1e14&&(u=es(u,l+1,0));break}while(en(u.d,r+=10,c));return _=!0,es(u,l,c)},Y.minus=Y.sub=function(e){var t,n,r,i,s,o,u,a,l,c,h,d,f=this.constructor;if(e=new f(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new f(e.d||this.s!==e.s?this:NaN):e=new f(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);if(l=this.d,d=e.d,u=f.precision,a=f.rounding,!l[0]||!d[0]){if(d[0])e.s=-e.s;else{if(!l[0])return new f(3===a?-0:0);e=new f(this)}return _?es(e,u,a):e}if(n=V(e.e/7),c=V(this.e/7),l=l.slice(),s=c-n){for((h=s<0)?(t=l,s=-s,o=d.length):(t=d,n=c,o=l.length),r=Math.max(Math.ceil(u/7),o)+2,s>r&&(s=r,t.length=1),t.reverse(),r=s;r--;)t.push(0);t.reverse()}else{for((h=(r=l.length)<(o=d.length))&&(o=r),r=0;r<o;r++)if(l[r]!=d[r]){h=l[r]<d[r];break}s=0}for(h&&(t=l,l=d,d=t,e.s=-e.s),o=l.length,r=d.length-o;r>0;--r)l[o++]=0;for(r=d.length;r>s;){if(l[--r]<d[r]){for(i=r;i&&0===l[--i];)l[i]=1e7-1;--l[i],l[r]+=1e7}l[r]-=d[r]}for(;0===l[--o];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=eu(l,n),_?es(e,u,a):e):new f(3===a?-0:0)},Y.modulo=Y.mod=function(e){var t,n=this.constructor;return e=new n(e),this.d&&e.s&&(!e.d||e.d[0])?e.d&&(!this.d||this.d[0])?(_=!1,9==n.modulo?(t=ei(this,e.abs(),0,3,1),t.s*=e.s):t=ei(this,e,0,n.modulo,1),t=t.times(e),_=!0,this.minus(t)):es(new n(this),n.precision,n.rounding):new n(NaN)},Y.naturalExponential=Y.exp=function(){return em(this)},Y.naturalLogarithm=Y.ln=function(){return eg(this)},Y.negated=Y.neg=function(){var e=new this.constructor(this);return e.s=-e.s,es(e)},Y.plus=Y.add=function(e){var t,n,r,i,s,o,u,a,l,c,h=this.constructor;if(e=new h(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new h(e.d||this.s===e.s?this:NaN)):e=new h(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(l=this.d,c=e.d,u=h.precision,a=h.rounding,!l[0]||!c[0])return c[0]||(e=new h(this)),_?es(e,u,a):e;if(s=V(this.e/7),r=V(e.e/7),l=l.slice(),i=s-r){for(i<0?(n=l,i=-i,o=c.length):(n=c,r=s,o=l.length),i>(o=(s=Math.ceil(u/7))>o?s+1:o+1)&&(i=o,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((o=l.length)-(i=c.length)<0&&(i=o,n=c,c=l,l=n),t=0;i;)t=(l[--i]=l[i]+c[i]+t)/1e7|0,l[i]%=1e7;for(t&&(l.unshift(t),++r),o=l.length;0==l[--o];)l.pop();return e.d=l,e.e=eu(l,r),_?es(e,u,a):e},Y.precision=Y.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(j+e);return this.d?(t=ec(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},Y.round=function(){var e=this.constructor;return es(new e(this),this.e+1,e.rounding)},Y.sine=Y.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:ev(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=t.times(1/eN(5,n)),t=ev(e,2,t,t);for(var i,s=new e(5),o=new e(16),u=new e(20);n--;)i=t.times(t),t=t.times(s.plus(i.times(o.times(i).minus(u))));return t}(r,ey(r,n)),r.precision=e,r.rounding=t,es(q>2?n.neg():n,e,t,!0)):new r(NaN)},Y.squareRoot=Y.sqrt=function(){var e,t,n,r,i,s,o=this.d,u=this.e,a=this.s,l=this.constructor;if(1!==a||!o||!o[0])return new l(!a||a<0&&(!o||o[0])?NaN:o?this:1/0);for(_=!1,0==(a=Math.sqrt(+this))||a==1/0?(((t=ee(o)).length+u)%2==0&&(t+="0"),a=Math.sqrt(t),u=V((u+1)/2)-(u<0||u%2),t=a==1/0?"5e"+u:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+u,r=new l(t)):r=new l(a.toString()),n=(u=l.precision)+3;;)if(r=(s=r).plus(ei(this,s,n+2,1)).times(.5),ee(s.d).slice(0,n)===(t=ee(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(es(r,u+1,1),e=!r.times(r).eq(this));break}if(!i&&(es(s,u+1,0),s.times(s).eq(this))){r=s;break}n+=4,i=1}return _=!0,es(r,u,l.rounding,e)},Y.tangent=Y.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=ei(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,es(2==q||4==q?n.neg():n,e,t,!0)):new r(NaN)},Y.times=Y.mul=function(e){var t,n,r,i,s,o,u,a,l,c=this.constructor,h=this.d,d=(e=new c(e)).d;
16if(e.s*=this.s,!h||!h[0]||!d||!d[0])return new c(e.s&&(!h||h[0]||d)&&(!d||d[0]||h)?h&&d?0*e.s:e.s/0:NaN);for(n=V(this.e/7)+V(e.e/7),(a=h.length)<(l=d.length)&&(s=h,h=d,d=s,o=a,a=l,l=o),s=[],r=o=a+l;r--;)s.push(0);for(r=l;--r>=0;){for(t=0,i=a+r;i>r;)u=s[i]+d[r]*h[i-r-1]+t,s[i--]=u%1e7|0,t=u/1e7|0;s[i]=(s[i]+t)%1e7|0}for(;!s[--o];)s.pop();return t?++n:s.shift(),e.d=s,e.e=eu(s,n),_?es(e,c.precision,c.rounding):e},Y.toBinary=function(e,t){return eE(this,2,e,t)},Y.toDecimalPlaces=Y.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(et(e,0,1e9),void 0===t?t=r.rounding:et(t,0,8),es(n,e+n.e+1,t))},Y.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=eo(r,!0):(et(e,0,1e9),void 0===t?t=i.rounding:et(t,0,8),n=eo(r=es(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},Y.toFixed=function(e,t){var n,r,i=this.constructor;return void 0===e?n=eo(this):(et(e,0,1e9),void 0===t?t=i.rounding:et(t,0,8),n=eo(r=es(new i(this),e+this.e+1,t),!1,e+r.e+1)),this.isNeg()&&!this.isZero()?"-"+n:n},Y.toFraction=function(e){var t,n,r,i,s,o,u,a,l,c,h,d,f=this.d,p=this.constructor;if(!f)return new p(this);if(l=n=new p(1),r=a=new p(0),o=(s=(t=new p(r)).e=ec(f)-this.e-1)%7,t.d[0]=J(10,o<0?7+o:o),null==e)e=s>0?t:l;else{if(!(u=new p(e)).isInt()||u.lt(l))throw Error(j+u);e=u.gt(t)?s>0?t:l:u}for(_=!1,u=new p(ee(f)),c=p.precision,p.precision=s=14*f.length;h=ei(u,t,0,1,1),1!=(i=n.plus(h.times(r))).cmp(e);)n=r,r=i,i=l,l=a.plus(h.times(i)),a=i,i=t,t=u.minus(h.times(i)),u=i;return i=ei(e.minus(n),r,0,1,1),a=a.plus(i.times(l)),n=n.plus(i.times(r)),a.s=l.s=this.s,d=1>ei(l,r,s,1).minus(this).abs().cmp(ei(a,n,s,1).minus(this).abs())?[l,r]:[a,n],p.precision=c,_=!0,d},Y.toHexadecimal=Y.toHex=function(e,t){return eE(this,16,e,t)},Y.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:et(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(_=!1,n=ei(n,e,0,t,1).times(e),_=!0,es(n)):(e.s=n.s,n=e),n},Y.toNumber=function(){return+this},Y.toOctal=function(e,t){return eE(this,8,e,t)},Y.toPower=Y.pow=function(e){var t,n,r,i,s,o,u=this,a=u.constructor,l=+(e=new a(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new a(J(+u,l));if((u=new a(u)).eq(1))return u;if(r=a.precision,s=a.rounding,e.eq(1))return es(u,r,s);if((t=V(e.e/7))>=e.d.length-1&&(n=l<0?-l:l)<=9007199254740991)return i=ed(a,u,n,r),e.s<0?new a(1).div(i):es(i,r,s);if((o=u.s)<0){if(t<e.d.length-1)return new a(NaN);if((1&e.d[t])==0&&(o=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=o,u}return(t=0!=(n=J(+u,l))&&isFinite(n)?new a(n+"").e:V(l*(Math.log("0."+ee(u.d))/Math.LN10+u.e+1)))>a.maxE+1||t<a.minE-1?new a(t>0?o/0:0):(_=!1,a.rounding=u.s=1,n=Math.min(12,(t+"").length),(i=em(e.times(eg(u,r+n)),r)).d&&en((i=es(i,r+5,1)).d,r,s)&&(t=r+10,+ee((i=es(em(e.times(eg(u,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=es(i,r+1,0))),i.s=o,_=!0,a.rounding=s,es(i,r,s))},Y.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=eo(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(et(e,1,1e9),void 0===t?t=i.rounding:et(t,0,8),n=eo(r=es(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},Y.toSignificantDigits=Y.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(et(e,1,1e9),void 0===t?t=n.rounding:et(t,0,8)),es(new n(this),e,t)},Y.toString=function(){var e=this.constructor,t=eo(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},Y.truncated=Y.trunc=function(){return es(new this.constructor(this),this.e+1,1)},Y.valueOf=Y.toJSON=function(){var e=this.constructor,t=eo(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var ei=function(){function e(e,t,n){var r,i=0,s=e.length;for(e=e.slice();s--;)r=e[s]*t+i,e[s]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,s;if(n!=r)s=n>r?1:-1;else for(i=s=0;i<n;i++)if(e[i]!=t[i]){s=e[i]>t[i]?1:-1;break}return s}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]<t[n]?1:0,e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,s,o,u,a){var l,c,h,d,f,p,m,g,w,b,v,N,y,E,x,A,P,M,S,I,O=r.constructor,R=r.s==i.s?1:-1,T=r.d,C=i.d;if(!T||!T[0]||!C||!C[0])return new O(r.s&&i.s&&(T?!C||T[0]!=C[0]:C)?T&&0==T[0]||!C?0*R:R/0:NaN);for(a?(f=1,c=r.e-i.e):(a=1e7,f=7,c=V(r.e/f)-V(i.e/f)),S=C.length,P=T.length,b=(w=new O(R)).d=[],h=0;C[h]==(T[h]||0);h++);if(C[h]>(T[h]||0)&&c--,null==s?(E=s=O.precision,o=O.rounding):E=u?s+(r.e-i.e)+1:s,E<0)b.push(1),p=!0;else{if(E=E/f+2|0,h=0,1==S){for(d=0,C=C[0],E++;(h<P||d)&&E--;h++)x=d*a+(T[h]||0),b[h]=x/C|0,d=x%C|0;p=d||h<P}else{for((d=a/(C[0]+1)|0)>1&&(C=e(C,d,a),T=e(T,d,a),S=C.length,P=T.length),A=S,N=(v=T.slice(0,S)).length;N<S;)v[N++]=0;(I=C.slice()).unshift(0),M=C[0],C[1]>=a/2&&++M;do d=0,(l=t(C,v,S,N))<0?(y=v[0],S!=N&&(y=y*a+(v[1]||0)),(d=y/M|0)>1?(d>=a&&(d=a-1),g=(m=e(C,d,a)).length,N=v.length,1==(l=t(m,v,g,N))&&(d--,n(m,S<g?I:C,g,a))):(0==d&&(l=d=1),m=C.slice()),(g=m.length)<N&&m.unshift(0),n(v,m,N,a),-1==l&&(N=v.length,(l=t(C,v,S,N))<1&&(
vendor: 5,573 bytes, line 16
16d++,n(v,S<N?I:C,N,a))),N=v.length):0===l&&(d++,v=[0]),b[h++]=d,l&&v[0]?v[N++]=T[A]||0:(v=[T[A]],N=1);while((A++<P||void 0!==v[0])&&E--);p=void 0!==v[0]}b[0]||b.shift()}if(1==f)w.e=c,B=p;else{for(h=1,d=b[0];d>=10;d/=10)h++;w.e=h+c*f-1,es(w,u?s+w.e+1:s,o,p)}return w}}();function es(e,t,n,r){var i,s,o,u,a,l,c,h,d,f=e.constructor;e:if(null!=t){if(!(h=e.d))return e;for(i=1,u=h[0];u>=10;u/=10)i++;if((s=t-i)<0)s+=7,o=t,a=(c=h[d=0])/J(10,i-o-1)%10|0;else if(d=Math.ceil((s+1)/7),u=h.length,d>=u){if(r){for(;u++<=d;)h.push(0);c=a=0,i=1,s%=7,o=s-7+1}else break e}else{for(c=u=h[d],i=1;u>=10;u/=10)i++;s%=7,a=(o=s-7+i)<0?0:c/J(10,i-o-1)%10|0}if(r=r||t<0||void 0!==h[d+1]||(o<0?c:c%J(10,i-o-1)),l=n<4?(a||r)&&(0==n||n==(e.s<0?3:2)):a>5||5==a&&(4==n||r||6==n&&(s>0?o>0?c/J(10,i-o):0:h[d-1])%10&1||n==(e.s<0?8:7)),t<1||!h[0])return h.length=0,l?(t-=e.e+1,h[0]=J(10,(7-t%7)%7),e.e=-t||0):h[0]=e.e=0,e;if(0==s?(h.length=d,u=1,d--):(h.length=d+1,u=J(10,7-s),h[d]=o>0?(c/J(10,i-o)%J(10,o)|0)*u:0),l)for(;;)if(0==d){for(s=1,o=h[0];o>=10;o/=10)s++;for(o=h[0]+=u,u=1;o>=10;o/=10)u++;s!=u&&(e.e++,1e7==h[0]&&(h[0]=1));break}else{if(h[d]+=u,1e7!=h[d])break;h[d--]=0,u=1}for(s=h.length;0===h[--s];)h.pop()}return _&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function eo(e,t,n){if(!e.isFinite())return ew(e);var r,i=e.e,s=ee(e.d),o=s.length;return t?(n&&(r=n-o)>0?s=s.charAt(0)+"."+s.slice(1)+eh(r):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):i<0?(s="0."+eh(-i-1)+s,n&&(r=n-o)>0&&(s+=eh(r))):i>=o?(s+=eh(i+1-o),n&&(r=n-i-1)>0&&(s=s+"."+eh(r))):((r=i+1)<o&&(s=s.slice(0,r)+"."+s.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(s+="."),s+=eh(r))),s}function eu(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}function ea(e,t,n){if(t>Q)throw _=!0,n&&(e.precision=n),Error(Z);return es(new e(F),t,1,!0)}function el(e,t,n){if(t>X)throw Error(Z);return es(new e(k),t,n,!0)}function ec(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function eh(e){for(var t="";e--;)t+="0";return t}function ed(e,t,n,r){var i,s=new e(1),o=Math.ceil(r/7+4);for(_=!1;;){if(n%2&&ex((s=s.times(t)).d,o)&&(i=!0),0===(n=V(n/2))){n=s.d.length-1,i&&0===s.d[n]&&++s.d[n];break}ex((t=t.times(t)).d,o)}return _=!0,s}function ef(e){return 1&e.d[e.d.length-1]}function ep(e,t,n){for(var r,i,s=new e(t[0]),o=0;++o<t.length;){if(!(i=new e(t[o])).s){s=i;break}((r=s.cmp(i))===n||0===r&&s.s===n)&&(s=i)}return s}function em(e,t){var n,r,i,s,o,u,a,l=0,c=0,h=0,d=e.constructor,f=d.rounding,p=d.precision;if(!e.d||!e.d[0]||e.e>17)return new d(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(_=!1,a=p):a=t,u=new d(.03125);e.e>-2;)e=e.times(u),h+=5;for(a+=r=Math.log(J(2,h))/Math.LN10*2+5|0,n=s=o=new d(1),d.precision=a;;){if(s=es(s.times(e),a,1),n=n.times(++c),ee((u=o.plus(ei(s,n,a,1))).d).slice(0,a)===ee(o.d).slice(0,a)){for(i=h;i--;)o=es(o.times(o),a,1);if(null!=t)return d.precision=p,o;if(!(l<3&&en(o.d,a-r,f,l)))return es(o,d.precision=p,f,_=!0);d.precision=a+=10,n=s=u=new d(1),c=0,l++}o=u}}function eg(e,t){var n,r,i,s,o,u,a,l,c,h,d,f=1,p=e,m=p.d,g=p.constructor,w=g.rounding,b=g.precision;if(p.s<0||!m||!m[0]||!p.e&&1==m[0]&&1==m.length)return new g(m&&!m[0]?-1/0:1!=p.s?NaN:m?0:p);if(null==t?(_=!1,c=b):c=t,g.precision=c+=10,r=(n=ee(m)).charAt(0),!(15e14>Math.abs(s=p.e)))return l=ea(g,c+2,b).times(s+""),p=eg(new g(r+"."+n.slice(1)),c-10).plus(l),g.precision=b,null==t?es(p,b,w,_=!0):p;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=ee((p=p.times(e)).d)).charAt(0),f++;for(s=p.e,r>1?(p=new g("0."+n),s++):p=new g(r+"."+n.slice(1)),h=p,a=o=p=ei(p.minus(1),p.plus(1),c,1),d=es(p.times(p),c,1),i=3;;){if(o=es(o.times(d),c,1),ee((l=a.plus(ei(o,new g(i),c,1))).d).slice(0,c)===ee(a.d).slice(0,c)){if(a=a.times(2),0!==s&&(a=a.plus(ea(g,c+2,b).times(s+""))),a=ei(a,new g(f),c,1),null!=t)return g.precision=b,a;if(!en(a.d,c-10,w,u))return es(a,g.precision=b,w,_=!0);g.precision=c+=10,l=o=p=ei(h.minus(1),h.plus(1),c,1),d=es(p.times(p),c,1),i=u=1}a=l,i+=2}}function ew(e){return String(e.s*e.s/0)}function eb(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";e.d.push(+t),_&&(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 ev(e,t,n,r,i){var s,o,u,a,l=e.precision,c=Math.ceil(l/7);for(_=!1,a=n.times(n),u=new e(r);;){if(o=ei(u.times(a),new e(t++*t++),l,1),u=i?r.plus(o):r.minus(o),r=ei(o.times(a),new e(t++*t++),l,1),void 0!==(o=u.plus(r)).d[c]){for(s=c;o.d[s]===u.d[s]&&s--;);if(-1==s)break}s=u,u=r,r=o,o=s}return _=!0,o.d.length=c+1,o}function eN(e,t){for(var n=e;--t;)n*=e;return n}function ey(e,t){var n,r=t.s<0,i=el(e,e.precision,1),s=i.times(.5);if((t=t.abs()).lte(s))return q=r?4:1,t;if((n=t.divToInt(i)).isZero())q=r?3:2;else{if((t=t.minus(n.times(i))).lte(s))return q=ef(n)?r?2:3:r?4:1,t;q=ef(n)?r?1:4:r?3:2}return t.minus(i).abs()}function eE(e,t,n,r){var i,s,o,u,a,l,c,h,d,f=e.constructor,p=void 0!==n;if(p?(et(n,1,1e9),void 0===r?r=f.rounding:et(r,0,8)):(n=f.precision,r=f.rounding),e.isFinite()){for(o=(c=eo(e)).indexOf("."),p?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,o>=0&&(c=c.replace(".",""),(d=new f(1)).e=c.length-o,d.d=er(eo(d),10,i),d.e=d.d.length),s=a=(h=er(c,10,i)).length;0==h[--a];)h.pop();
16if(h[0]){if(o<0?s--:((e=new f(e)).d=h,e.e=s,h=(e=ei(e,d,n,r,0,i)).d,s=e.e,l=B),o=h[n],u=i/2,l=l||void 0!==h[n+1],l=r<4?(void 0!==o||l)&&(0===r||r===(e.s<0?3:2)):o>u||o===u&&(4===r||l||6===r&&1&h[n-1]||r===(e.s<0?8:7)),h.length=n,l)for(;++h[--n]>i-1;)h[n]=0,n||(++s,h.unshift(1));for(a=h.length;!h[a-1];--a);for(o=0,c="";o<a;o++)c+=D.charAt(h[o]);if(p){if(a>1){if(16==t||8==t){for(o=16==t?4:3,--a;a%o;a++)c+="0";for(a=(h=er(c,i,t)).length;!h[a-1];--a);for(o=1,c="1.";o<a;o++)c+=D.charAt(h[o])}else c=c.charAt(0)+"."+c.slice(1)}c=c+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)c="0"+c;c="0."+c}else if(++s>a)for(s-=a;s--;)c+="0";else s<a&&(c=c.slice(0,s)+"."+c.slice(s))}else c=p?"0p+0":"0";c=(16==t?"0x":2==t?"0b":8==t?"0o":"")+c}else c=ew(e);return e.s<0?"-"+c:c}function ex(e,t){if(e.length>t)return e.length=t,!0}function eA(e){return new this(e).abs()}function eP(e){return new this(e).acos()}function eM(e){return new this(e).acosh()}function eS(e,t){return new this(e).plus(t)}function eI(e){return new this(e).asin()}function eO(e){return new this(e).asinh()}function eR(e){return new this(e).atan()}function eT(e){return new this(e).atanh()}function eC(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,s=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?el(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=el(this,s,1).times(.5)).s=e.s:t.s<0?(this.precision=s,this.rounding=1,n=this.atan(ei(e,t,s,1)),t=el(this,s,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(ei(e,t,s,1)):(n=el(this,s,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function eB(e){return new this(e).cbrt()}function eq(e){return es(e=new this(e),e.e+1,2)}function eD(e,t,n){return new this(e).clamp(t,n)}function eF(e){if(!e||"object"!=typeof e)throw Error($+"Object expected");var t,n,r,i=!0===e.defaults,s=["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<s.length;t+=3)if(n=s[t],i&&(this[n]=U[n]),void 0!==(r=e[n])){if(V(r)===r&&r>=s[t+1]&&r<=s[t+2])this[n]=r;else throw Error(j+n+": "+r)}if(n="crypto",i&&(this[n]=U[n]),void 0!==(r=e[n])){if(!0===r||!1===r||0===r||1===r){if(r){if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(H)}else this[n]=!1}else throw Error(j+n+": "+r)}return this}function ek(e){return new this(e).cos()}function eU(e){return new this(e).cosh()}function e_(e,t){return new this(e).div(t)}function e$(e){return new this(e).exp()}function ej(e){return es(e=new this(e),e.e+1,3)}function eZ(){var e,t,n=new this(0);for(_=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return _=!0,new this(1/0);n=t}return _=!0,n.sqrt()}function eH(e){return e instanceof te||e&&e.toStringTag===L||!1}function eL(e){return new this(e).ln()}function eV(e,t){return new this(e).log(t)}function eJ(e){return new this(e).log(2)}function eW(e){return new this(e).log(10)}function ez(){return ep(this,arguments,-1)}function eK(){return ep(this,arguments,1)}function eG(e,t){return new this(e).mod(t)}function eQ(e,t){return new this(e).mul(t)}function eX(e,t){return new this(e).pow(t)}function eY(e){var t,n,r,i,s=0,o=new this(1),u=[];if(void 0===e?e=this.precision:et(e,1,1e9),r=Math.ceil(e/7),this.crypto){if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));s<r;)(i=t[s])>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(r*=4);s<r;)(i=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((127&t[s+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,s):(u.push(i%1e7),s+=4);s=r/4}else throw Error(H)}else for(;s<r;)u[s++]=1e7*Math.random()|0;for(r=u[--s],e%=7,r&&e&&(i=J(10,7-e),u[s]=(r/i|0)*i);0===u[s];s--)u.pop();if(s<0)n=0,u=[0];else{for(n=-1;0===u[0];n-=7)u.shift();for(r=1,i=u[0];i>=10;i/=10)r++;r<7&&(n-=7-r)}return o.e=n,o.d=u,o}function e0(e){return es(e=new this(e),e.e+1,this.rounding)}function e1(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function e2(e){return new this(e).sin()}function e7(e){return new this(e).sinh()}function e4(e){return new this(e).sqrt()}function e9(e,t){return new this(e).sub(t)}function e5(){var e=0,t=arguments,n=new this(t[e]);for(_=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return _=!0,es(n,this.precision,this.rounding)}function e3(e){return new this(e).tan()}function e8(e){return new this(e).tanh()}function e6(e){return es(e=new this(e),e.e+1,1)}Y[Symbol.for("nodejs.util.inspect.custom")]=Y.toString,Y[Symbol.toStringTag]="Decimal";var te=Y.constructor=function e(t){var n,r,i;function s(e){var t,n,r;if(!(this instanceof s))return new s(e);if(this.constructor=s,eH(e)){this.s=e.s,_?!e.d||e.e>s.maxE?(this.e=NaN,this.d=null):e.e<s.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"==(r=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,n=e;n>=10;n/=10)t++;_?t>s.maxE?(this.e=NaN,this.d=null):t<s.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 eb(this,e.toString())}if("string"===r)return 45===(n=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===n&&(e=e.slice(1)),this.s=1),G.test(e)?eb(this,e):function(e,t){var n,r,i,s,o,u,a,l,c;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),G.test(t))return eb(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(z.test(t))n=16,t=t.toLowerCase();else if(W.test(t))n=2;else if(K.test(t))n=8;else throw Error(j+t);for((s=t.search(/p/i))>0?(a=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),o=(s=t.indexOf("."))>=0,r=e.constructor,o&&(s=(u=(t=t.replace(".","")).length)-s,i=ed(r,new r(n),s,2*s)),s=c=(l=er(t,n,1e7)).length-1;0===l[s];--s)l.pop();return s<0?new r(0*e.s):(e.e=eu(l,c),e.d=l,_=!1,o&&(e=ei(e,i,4*u)),a&&(e=e.times(54>Math.abs(a)?J(2,a):te.pow(2,a))),_=!0,e)}(this,e);if("bigint"===r)return e<0?(e=-e,this.s=-1):this.s=1,eb(this,e.toString());throw Error(j+e)}if(s.prototype=Y,s.ROUND_UP=0,s.ROUND_DOWN=1,s.ROUND_CEIL=2,s.ROUND_FLOOR=3,s.ROUND_HALF_UP=4,s.ROUND_HALF_DOWN=5,s.ROUND_HALF_EVEN=6,s.ROUND_HALF_CEIL=7,s.ROUND_HALF_FLOOR=8,s.EUCLID=9,s.config=s.set=eF,s.clone=e,s.isDecimal=eH,s.abs=eA,s.acos=eP,s.acosh=eM,s.add=eS,s.asin=eI,s.asinh=eO,s.atan=eR,s.atanh=eT,s.atan2=eC,s.cbrt=eB,s.ceil=eq,s.clamp=eD,s.cos=ek,s.cosh=eU,s.div=e_,s.exp=e$,s.floor=ej,s.hypot=eZ,s.ln=eL,s.log=eV,s.log10=eW,s.log2=eJ,s.max=ez,s.min=eK,s.mod=eG,s.mul=eQ,s.pow=eX,s.random=eY,s.round=e0,s.sign=e1,s.sin=e2,s.sinh=e7,s.sqrt=e4,s.sub=e9,s.sum=e5,s.tan=e3,s.tanh=e8,s.trunc=e6,void 0===t&&(t={}),t&&!0!==t.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return s.config(t),s}(U);F=new te(F),k=new te(k);var tt=te;/*! Bundled license information: 17 18decimal.js/decimal.mjs: 19 (*! 20 * decimal.js v10.5.0 21 * An arbitrary-precision Decimal type for JavaScript. 22 * https://github.com/MikeMcl/decimal.js 23 * Copyright (c) 2025 Michael Mclaughlin <[email protected]> 24 * MIT Licence 25 *) 26*/}}]);
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.