PageSourceSearch

https://www.sorawatermarkremover.ai/_next/static/chunks/8301-866d9…?dpl=dpl_5RcpvHY1nG4MQaftbykeasjzdpFK

js sorawatermarkremover.ai collected 2026-10-02 00:25:44 UTC 44,765 bytes, 17 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8301],{36208:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});let{Decimal:n,objectEnumValues:i,makeStrictEnum:s,Public:o,getRuntime:a}=r(99726),u={};t.Prisma=u,t.$Enums={},u.prismaVersion={client:"5.11.0",engine:"efd2449663b3d73d637ea1fd226bafbcf45b3102"},u.PrismaClientKnownRequestError=()=>{let e=a().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`)},u.PrismaClientUnknownRequestError=()=>{let e=a().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`)},u.PrismaClientRustPanicError=()=>{let e=a().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`)},u.PrismaClientInitializationError=()=>{let e=a().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`)},u.PrismaClientValidationError=()=>{let e=a().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`)},u.NotFoundError=()=>{let e=a().prettyName;throw Error(`NotFoundError 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`)},u.Decimal=n,u.sql=()=>{let e=a().prettyName;throw Error(`sqltag 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`)},u.empty=()=>{let e=a().prettyName;throw Error(`empty 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`)},u.join=()=>{let e=a().prettyName;throw Error(`join 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`)},u.raw=()=>{let e=a().prettyName;throw Error(`raw 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`)},u.validator=o.validator,u.getExtensionContext=()=>{let e=a().prettyName;throw Error(`Extensions.getExtensionContext 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`)},u.defineExtension=()=>{let e=a().prettyName;throw Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
13In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.DbNull=i.instances.DbNull,u.JsonNull=i.instances.JsonNull,u.AnyNull=i.instances.AnyNull,u.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.UserScalarFieldEnum={id:"id",email:"email",emailVerified:"emailVerified",role:"role",name:"name",avatarUrl:"avatarUrl",createdAt:"createdAt",hashedPassword:"hashedPassword",stripeCustomerId:"stripeCustomerId",updatedAt:"updatedAt",cfIpCountry:"cfIpCountry",utm:"utm",referrer:"referrer",userAgent:"userAgent",browser:"browser",os:"os",device:"device",language:"language",timezone:"timezone",screen:"screen"},t.Prisma.UserSessionScalarFieldEnum={id:"id",userId:"userId",expiresAt:"expiresAt",impersonatorId:"impersonatorId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserOauthAccountScalarFieldEnum={id:"id",providerId:"providerId",providerUserId:"providerUserId",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserVerificationTokenScalarFieldEnum={id:"id",userId:"userId",token:"token",expires:"expires",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserOneTimePasswordScalarFieldEnum={id:"id",userId:"userId",code:"code",type:"type",identifier:"identifier",expires:"expires",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserPackageScalarFieldEnum={id:"id",userId:"userId",packageId:"packageId",packageCredits:"packageCredits",subscriptionId:"subscriptionId",remindCredits:"remindCredits",weight:"weight",startDate:"startDate",expires:"expires",isValid:"isValid",ip:"ip",createdAt:"createdAt",updatedAt:"updatedAt",orderId:"orderId"},t.Prisma.PackageScalarFieldEnum={id:"id",planId:"planId",name:"name",description:"description",credits:"credits",type:"type",price:"price",weight:"weight",interval:"interval",tier:"tier",paymentGateway:"paymentGateway",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OrderScalarFieldEnum={id:"id",orderId:"orderId",orderGateway:"orderGateway",price:"price",currency:"currency",userId:"userId",packageId:"packageId",subscriptionId:"subscriptionId",transactionId:"transactionId",status:"status",type:"type",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TeamScalarFieldEnum={id:"id",name:"name",avatarUrl:"avatarUrl",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TeamMembershipScalarFieldEnum={id:"id",teamId:"teamId",userId:"userId",role:"role",isCreator:"isCreator",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TeamInvitationScalarFieldEnum={id:"id",teamId:"teamId",email:"email",role:"role",createdAt:"createdAt",expiresAt:"expiresAt",updatedAt:"updatedAt"},t.Prisma.SubscriptionScalarFieldEnum={id:"id",teamId:"teamId",userId:"userId",customerId:"customerId",status:"status",planId:"planId",variantId:"variantId",gateway:"gateway",nextPaymentDate:"nextPaymentDate",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TaskScalarFieldEnum={id:"id",app:"app",service:"service",serviceDataId:"serviceDataId",userId:"userId",userPackageId:"userPackageId",public:"public",prompt:"prompt",optimizedPrompt:"optimizedPrompt",params:"params",output:"output",outputCDN:"outputCDN",result:"result",status:"status",createdAt:"createdAt",updatedAt:"updatedAt",initImage:"initImage"},t.Prisma.TagScalarFieldEnum={id:"id",name:"name",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TagsOnTaskScalarFieldEnum={id:"id",taskId:"taskId",tagId:"tagId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserPaymentMethodScalarFieldEnum={id:"id",userId:"userId",type:"type",token:"token",cardBrand:"cardBrand",lastFourDigits:"lastFourDigits",isDefault:"isDefault",isActive:"isActive",countryCode:"countryCode",postalCode:"postalCode",gateway:"gateway",gatewayCustomerId:"gatewayCustomerId",subscriptionId:"subscriptionId",networkTransactionReference:"networkTransactionReference",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SortOrder={asc:"asc",desc:"desc"},t.Prisma.JsonNullValueInput={JsonNull:u.JsonNull},t.Prisma.NullableJsonNullValueInput={DbNull:u.DbNull,JsonNull:u.JsonNull},t.Prisma.QueryMode={default:"default",insensitive:"insensitive"},t.Prisma.JsonNullValueFilter={DbNull:u.DbNull,JsonNull:u.JsonNull,AnyNull:u.AnyNull},t.Prisma.NullsOrder={first:"first",last:"last"},t.UserRole=t.$Enums.UserRole={USER:"USER",ADMIN:"ADMIN"},t.UserOneTimePasswordType=t.$Enums.UserOneTimePasswordType={SIGNUP:"SIGNUP",LOGIN:"LOGIN",PASSWORD_RESET:"PASSWORD_RESET"},t.PackageType=t.$Enums.PackageType={NEWUSER:"NEWUSER",EXTENSION_NEWUSER:"EXTENSION_NEWUSER",EXTENSION_DAILY:"EXTENSION_DAILY",GIFTMONTHLY:"GIFTMONTHLY",SUBSCRIPTION:"SUBSCRIPTION",O
13NETIMEBUY:"ONETIMEBUY",MIGRATION:"MIGRATION"},t.PaymentGateway=t.$Enums.PaymentGateway={PAYPAL:"PAYPAL",STRIPE:"STRIPE",PAYPRO:"PAYPRO",CREEM:"CREEM",DODO:"DODO",LEMON_SQUEEZY:"LEMON_SQUEEZY",PADDLE:"PADDLE",SQUARE:"SQUARE"},t.OrderStatus=t.$Enums.OrderStatus={PENDING:"PENDING",APPROVED:"APPROVED",COMPLETED:"COMPLETED",FAILED:"FAILED",REFUNDED:"REFUNDED",PARTIALLY_REFUNDED:"PARTIALLY_REFUNDED",CANCELED:"CANCELED"},t.OrderType=t.$Enums.OrderType={SUB_NEW:"SUB_NEW",SUB_RENEW:"SUB_RENEW",ONETIME:"ONETIME"},t.TeamMemberRole=t.$Enums.TeamMemberRole={MEMBER:"MEMBER",OWNER:"OWNER"},t.SubscriptionStatus=t.$Enums.SubscriptionStatus={TRIALING:"TRIALING",ACTIVE:"ACTIVE",PAUSED:"PAUSED",CANCELED:"CANCELED",PAST_DUE:"PAST_DUE",UNPAID:"UNPAID",INCOMPLETE:"INCOMPLETE",EXPIRED:"EXPIRED"},t.AIGenStatus=t.$Enums.AIGenStatus={starting:"starting",running:"running",watermarking:"watermarking",succeeded:"succeeded",failed:"failed",canceled:"canceled"},t.PaymentMethodType=t.$Enums.PaymentMethodType={CARD:"CARD",PAYPAL:"PAYPAL"},t.Prisma.ModelName={User:"User",UserSession:"UserSession",UserOauthAccount:"UserOauthAccount",UserVerificationToken:"UserVerificationToken",UserOneTimePassword:"UserOneTimePassword",UserPackage:"UserPackage",Package:"Package",Order:"Order",Team:"Team",TeamMembership:"TeamMembership",TeamInvitation:"TeamInvitation",Subscription:"Subscription",Task:"Task",Tag:"Tag",TagsOnTask:"TagsOnTask",UserPaymentMethod:"UserPaymentMethod"};class d{constructor(){return new Proxy(this,{get(e,t){let r=a();throw Error((r.isEdge?`PrismaClient is not configured to run in ${r.prettyName}. In order to run Prisma Client on edge runtime, either:
14- Use Prisma Accelerate: https://pris.ly/d/accelerate
15- Use Driver Adapters: https://pris.ly/d/driver-adapters
16`:"PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `"+r.prettyName+"`).")+`
17If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`)}})}}t.PrismaClient=d,Object.assign(t,u)},18301:function(e,t,r){let n=r(36208);e.exports=n},99726:function(e){"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})},o={};s(o,{Decimal:()=>e0,Public:()=>a,getRuntime:()=>v,makeStrictEnum:()=>E,objectEnumValues:()=>g}),e.exports=((e,s,o,a)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let u of n(s))i.call(e,u)||u===o||t(e,u,{get:()=>s[u],enumerable:!(a=r(s,u))||a.enumerable});return e})(t({},"__esModule",{value:!0}),o);var a={};function u(...e){return e=>e}s(a,{validator:()=>u});var d=Symbol(),c=new WeakMap,l=class{constructor(e){e===d?c.set(this,"Prisma.".concat(this._getName())):c.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return c.get(this)}},h=class extends l{_getNamespace(){return"NullTypes"}},p=class extends h{};w(p,"DbNull");var f=class extends h{};w(f,"JsonNull");var m=class extends h{};w(m,"AnyNull");var g={classes:{DbNull:p,JsonNull:f,AnyNull:m},instances:{DbNull:new p(d),JsonNull:new f(d),AnyNull:new m(d)}};function w(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var N=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function E(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!N.has(t))throw TypeError("Invalid enum value: ".concat(String(t)))}})}var b={node:"Node.js",workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Vercel Edge Functions or Edge Middleware"};function v(){var e,t,r;let n="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==(r=null==(t=globalThis.process)?void 0:t.release)?void 0:r.name)==="node"?"node":globalThis.Bun?"bun":globalThis.fastly?"fastly":"unknown";return{id:n,prettyName:b[n]||n,isEdge:["workerd","deno","netlify","edge-light"].includes(n)}}var y,A,I="0123456789abcdef",P="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",T="3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193
1711881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",S={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},D=!0,O="[DecimalError] ",x=O+"Invalid argument: ",R=O+"Precision limit exceeded",U=O+"crypto unavailable",M="[object Decimal]",C=Math.floor,k=Math.pow,F=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,_=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,L=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,q=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,$=P.length-1,V=T.length-1,Z={toStringTag:M};function B(e){var t,r,n,i=e.length-1,s="",o=e[0];if(i>0){for(s+=o,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(s+=ee(r)),s+=n;(r=7-(n=(o=e[t])+"").length)&&(s+=ee(r))}else if(0===o)return"0";for(;o%10==0;)o/=10;return s+o}function G(e,t,r){if(e!==~~e||e<t||e>r)throw Error(x+e)}function J(e,t,r,n){var i,s,o,a;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=k(10,7-t),a=e[i]%s|0,null==n?t<3?(0==t?a=a/100|0:1==t&&(a=a/10|0),o=r<4&&99999==a||r>3&&49999==a||5e4==a||0==a):o=(r<4&&a+1==s||r>3&&a+1==s/2)&&(e[i+1]/s/100|0)==k(10,t-2)-1||(a==s/2||0==a)&&(e[i+1]/s/100|0)==0:t<4?(0==t?a=a/1e3|0:1==t?a=a/100|0:2==t&&(a=a/10|0),o=(n||r<4)&&9999==a||!n&&r>3&&4999==a):o=((n||r<4)&&a+1==s||!n&&r>3&&a+1==s/2)&&(e[i+1]/s/1e3|0)==k(10,t-3)-1,o}function j(e,t,r){for(var n,i,s=[0],o=0,a=e.length;o<a;){for(i=s.length;i--;)s[i]*=t;for(s[0]+=I.indexOf(e.charAt(o++)),n=0;n<s.length;n++)s[n]>r-1&&(void 0===s[n+1]&&(s[n+1]=0),s[n+1]+=s[n]/r|0,s[n]%=r)}return s.reverse()}Z.absoluteValue=Z.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),Y(e)},Z.ceil=function(){return Y(new this.constructor(this),this.e+1,2)},Z.clampedTo=Z.clamp=function(e,t){var r=this.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(x+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new r(this)},Z.comparedTo=Z.cmp=function(e){var t,r,n,i,s=this.d,o=(e=new this.constructor(e)).d,a=this.s,u=e.s;if(!s||!o)return a&&u?a!==u?a:s===o?0:!s^a<0?1:-1:NaN;if(!s[0]||!o[0])return s[0]?a:o[0]?-u:0;if(a!==u)return a;
17if(this.e!==e.e)return this.e>e.e^a<0?1:-1;for(n=s.length,i=o.length,t=0,r=n<i?n:i;t<r;++t)if(s[t]!==o[t])return s[t]>o[t]^a<0?1:-1;return n===i?0:n>i^a<0?1:-1},Z.cosine=Z.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(e,t){var r,n,i;if(t.isZero())return t;(n=t.d.length)<32?i=(1/ed(4,r=Math.ceil(n/3))).toString():(r=16,i="2.3283064365386962890625e-10"),e.precision+=r,t=eu(e,1,t.times(i),new e(1));for(var s=r;s--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=r,t}(n,ec(n,r)),n.precision=e,n.rounding=t,Y(2==A||3==A?r.neg():r,e,t,!0)):new n(1):new n(NaN)},Z.cubeRoot=Z.cbrt=function(){var e,t,r,n,i,s,o,a,u,d,c=this.constructor;if(!this.isFinite()||this.isZero())return new c(this);for(D=!1,(s=this.s*k(this.s*this,1/3))&&Math.abs(s)!=1/0?n=new c(s.toString()):(r=B(this.d),(s=((e=this.e)-r.length+1)%3)&&(r+=1==s||-2==s?"0":"00"),s=k(r,1/3),e=C((e+1)/3)-(e%3==(e<0?-1:2)),(n=new c(r=s==1/0?"5e"+e:(r=s.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=this.s),o=(e=c.precision)+3;;)if(n=W((d=(u=(a=n).times(a).times(a)).plus(this)).plus(this).times(a),d.plus(u),o+2,1),B(a.d).slice(0,o)===(r=B(n.d)).slice(0,o)){if("9999"!=(r=r.slice(o-3,o+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(Y(n,e+1,1),t=!n.times(n).times(n).eq(this));break}if(!i&&(Y(a,e+1,0),a.times(a).times(a).eq(this))){n=a;break}o+=4,i=1}return D=!0,Y(n,e,c.rounding,t)},Z.decimalPlaces=Z.dp=function(){var e,t=this.d,r=NaN;if(t){if(r=((e=t.length-1)-C(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},Z.dividedBy=Z.div=function(e){return W(this,new this.constructor(e))},Z.dividedToIntegerBy=Z.divToInt=function(e){var t=this.constructor;return Y(W(this,new t(e),0,1,1),t.precision,t.rounding)},Z.equals=Z.eq=function(e){return 0===this.cmp(e)},Z.floor=function(){return Y(new this.constructor(this),this.e+1,3)},Z.greaterThan=Z.gt=function(e){return this.cmp(e)>0},Z.greaterThanOrEqualTo=Z.gte=function(e){var t=this.cmp(e);return 1==t||0===t},Z.hyperbolicCosine=Z.cosh=function(){var e,t,r,n,i,s=this,o=s.constructor,a=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return a;r=o.precision,n=o.rounding,o.precision=r+Math.max(s.e,s.sd())+4,o.rounding=1,(i=s.d.length)<32?t=(1/ed(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),s=eu(o,1,s.times(t),new o(1),!0);for(var u,d=e,c=new o(8);d--;)u=s.times(s),s=a.minus(u.times(c.minus(u.times(c))));return Y(s,o.precision=r,o.rounding=n,!0)},Z.hyperbolicSine=Z.sinh=function(){var e,t,r,n,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(t=s.precision,r=s.rounding,s.precision=t+Math.max(i.e,i.sd())+4,s.rounding=1,(n=i.d.length)<3)i=eu(s,2,i,i,!0);else{e=(e=1.4*Math.sqrt(n))>16?16:0|e,i=eu(s,2,i=i.times(1/ed(5,e)),i,!0);for(var o,a=new s(5),u=new s(16),d=new s(20);e--;)o=i.times(i),i=i.times(a.plus(o.times(u.times(o).plus(d))))}return s.precision=t,s.rounding=r,Y(i,t,r,!0)},Z.hyperbolicTangent=Z.tanh=function(){var e,t,r=this.constructor;return this.isFinite()?this.isZero()?new r(this):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,W(this.sinh(),this.cosh(),r.precision=e,r.rounding=t)):new r(this.s)},Z.inverseCosine=Z.acos=function(){var e,t=this,r=t.constructor,n=t.abs().cmp(1),i=r.precision,s=r.rounding;return -1!==n?0===n?t.isNeg()?Q(r,i,s):new r(0):new r(NaN):t.isZero()?Q(r,i+4,s).times(.5):(r.precision=i+6,r.rounding=1,t=t.asin(),e=Q(r,i+4,s).times(.5),r.precision=i,r.rounding=s,e.minus(t))},Z.inverseHyperbolicCosine=Z.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,D=!1,r=r.times(r).minus(1).sqrt().plus(r),D=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)},Z.inverseHyperbolicSine=Z.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,D=!1,r=r.times(r).plus(1).sqrt().plus(r),D=!0,n.precision=e,n.rounding=t,r.ln())},Z.inverseHyperbolicTangent=Z.atanh=function(){var e,t,r,n,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(n=i.sd(),e)<-(2*i.e)-1?Y(new s(i),e,t,!0):(s.precision=r=n-i.e,i=W(i.plus(1),new s(1).minus(i),r+e,1),s.precision=e+4,s.rounding=1,i=i.ln(),s.precision=e,s.rounding=t,i.times(.5))):new s(NaN)},Z.inverseSine=Z.asin=function(){var e,t,r,n,i=this,s=i.constructor;return i.isZero()?new s(i):(t=i.abs().cmp(1),r=s.precision,n=s.rounding,-1!==t?0===t?((e=Q(s,r+4,n).times(.5)).s=i.s,e):new s(NaN):(s.precision=r+6,s.roun
17ding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=r,s.rounding=n,i.times(2)))},Z.inverseTangent=Z.atan=function(){var e,t,r,n,i,s,o,a,u,d=this,c=d.constructor,l=c.precision,h=c.rounding;if(d.isFinite()){if(d.isZero())return new c(d);if(d.abs().eq(1)&&l+4<=V)return(o=Q(c,l+4,h).times(.25)).s=d.s,o}else{if(!d.s)return new c(NaN);if(l+4<=V)return(o=Q(c,l+4,h).times(.5)).s=d.s,o}for(c.precision=a=l+10,c.rounding=1,e=r=Math.min(28,a/7+2|0);e;--e)d=d.div(d.times(d).plus(1).sqrt().plus(1));for(D=!1,t=Math.ceil(a/7),n=1,u=d.times(d),o=new c(d),i=d;-1!==e;)if(i=i.times(u),s=o.minus(i.div(n+=2)),i=i.times(u),void 0!==(o=s.plus(i.div(n+=2))).d[t])for(e=t;o.d[e]===s.d[e]&&e--;);return r&&(o=o.times(2<<r-1)),D=!0,Y(o,c.precision=l,c.rounding=h,!0)},Z.isFinite=function(){return!!this.d},Z.isInteger=Z.isInt=function(){return!!this.d&&C(this.e/7)>this.d.length-2},Z.isNaN=function(){return!this.s},Z.isNegative=Z.isNeg=function(){return this.s<0},Z.isPositive=Z.isPos=function(){return this.s>0},Z.isZero=function(){return!!this.d&&0===this.d[0]},Z.lessThan=Z.lt=function(e){return 0>this.cmp(e)},Z.lessThanOrEqualTo=Z.lte=function(e){return 1>this.cmp(e)},Z.logarithm=Z.log=function(e){var t,r,n,i,s,o,a,u=this.constructor,d=u.precision,c=u.rounding;if(null==e)e=new u(10),t=!0;else{if(r=(e=new u(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new u(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(t){if(r.length>1)i=!0;else{for(n=r[0];n%10==0;)n/=10;i=1!==n}}if(D=!1,J((a=W(es(this,o=d+5),t?X(u,o+10):es(e,o),o,1)).d,n=d,c))do if(o+=10,a=W(es(this,o),t?X(u,o+10):es(e,o),o,1),!i){+B(a.d).slice(n+1,n+15)+1==1e14&&(a=Y(a,d+1,0));break}while(J(a.d,n+=10,c));return D=!0,Y(a,d,c)},Z.minus=Z.sub=function(e){var t,r,n,i,s,o,a,u,d,c,l,h,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(d=this.d,h=e.d,a=p.precision,u=p.rounding,!d[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!d[0])return new p(3===u?-0:0);e=new p(this)}return D?Y(e,a,u):e}if(r=C(e.e/7),c=C(this.e/7),d=d.slice(),s=c-r){for((l=s<0)?(t=d,s=-s,o=h.length):(t=h,r=c,o=d.length),s>(n=Math.max(Math.ceil(a/7),o)+2)&&(s=n,t.length=1),t.reverse(),n=s;n--;)t.push(0);t.reverse()}else{for((l=(n=d.length)<(o=h.length))&&(o=n),n=0;n<o;n++)if(d[n]!=h[n]){l=d[n]<h[n];break}s=0}for(l&&(t=d,d=h,h=t,e.s=-e.s),o=d.length,n=h.length-o;n>0;--n)d[o++]=0;for(n=h.length;n>s;){if(d[--n]<h[n]){for(i=n;i&&0===d[--i];)d[i]=1e7-1;--d[i],d[n]+=1e7}d[n]-=h[n]}for(;0===d[--o];)d.pop();for(;0===d[0];d.shift())--r;return d[0]?(e.d=d,e.e=z(d,r),D?Y(e,a,u):e):new p(3===u?-0:0)},Z.modulo=Z.mod=function(e){var t,r=this.constructor;return e=new r(e),this.d&&e.s&&(!e.d||e.d[0])?e.d&&(!this.d||this.d[0])?(D=!1,9==r.modulo?(t=W(this,e.abs(),0,3,1),t.s*=e.s):t=W(this,e,0,r.modulo,1),t=t.times(e),D=!0,this.minus(t)):Y(new r(this),r.precision,r.rounding):new r(NaN)},Z.naturalExponential=Z.exp=function(){return ei(this)},Z.naturalLogarithm=Z.ln=function(){return es(this)},Z.negated=Z.neg=function(){var e=new this.constructor(this);return e.s=-e.s,Y(e)},Z.plus=Z.add=function(e){var t,r,n,i,s,o,a,u,d,c,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(d=this.d,c=e.d,a=l.precision,u=l.rounding,!d[0]||!c[0])return c[0]||(e=new l(this)),D?Y(e,a,u):e;if(s=C(this.e/7),n=C(e.e/7),d=d.slice(),i=s-n){for(i<0?(r=d,i=-i,o=c.length):(r=c,n=s,o=d.length),i>(o=(s=Math.ceil(a/7))>o?s+1:o+1)&&(i=o,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((o=d.length)-(i=c.length)<0&&(i=o,r=c,c=d,d=r),t=0;i;)t=(d[--i]=d[i]+c[i]+t)/1e7|0,d[i]%=1e7;for(t&&(d.unshift(t),++n),o=d.length;0==d[--o];)d.pop();return e.d=d,e.e=z(d,n),D?Y(e,a,u):e},Z.precision=Z.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(x+e);return this.d?(t=K(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},Z.round=function(){var e=this.constructor;return Y(new e(this),this.e+1,e.rounding)},Z.sine=Z.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:eu(e,2,t,t);r=(r=1.4*Math.sqrt(n))>16?16:0|r,t=eu(e,2,t=t.times(1/ed(5,r)),t);for(var i,s=new e(5),o=new e(16),a=new e(20);r--;)i=t.times(t),t=t.times(s.plus(i.times(o.times(i).minus(a))));return t}(n,ec(n,r)),n.precision=e,n.rounding=t,Y(A>2?r.neg():r,e,t,!0)):new n(NaN)},Z.squareRoot=Z.sqrt=function(){var e,t,r,n,i,s,o=this.d,a=this.e,u=this.s,d=this.constructor;if(1!==u||!o||!o[0])return new d(!u||u<0&&(!o||o[0])?NaN:o?this:1/0);for(D=!1,0==(u=Math.sqrt(+this))||u==1/0?(((t=B(o)).length+a)%2==0&&(t+="0"),u=Math.sqrt(t),a=C((a+1)/2)-(a<0||a%2),n=new d(t=u==1/0?"5e"+a:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+a)):n=new d(u.toString()),r=(a=d.precision)+3;;)if(n=(s=n).plus(W(this,s,r+2,1)).times(.5),B(s.d).slice(0,r)===(t=B(n.d)).slice(0,r)){if("9999"!=(t=t.slice(r-3,r+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(Y(n,a+1,1),e=!n.times(n).eq(this));break}if(!i&&(Y(s,a+1,0),s.times(s).eq(this))){n=s;break}r+=4,i=1}return D=!0,Y(n,a,d.rounding,e)},Z.tangent=Z.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.roun
17ding=1,(r=r.sin()).s=1,r=W(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,Y(2==A||4==A?r.neg():r,e,t,!0)):new n(NaN)},Z.times=Z.mul=function(e){var t,r,n,i,s,o,a,u,d,c=this.constructor,l=this.d,h=(e=new c(e)).d;if(e.s*=this.s,!l||!l[0]||!h||!h[0])return new c(e.s&&(!l||l[0]||h)&&(!h||h[0]||l)?l&&h?0*e.s:e.s/0:NaN);for(r=C(this.e/7)+C(e.e/7),(u=l.length)<(d=h.length)&&(s=l,l=h,h=s,o=u,u=d,d=o),s=[],n=o=u+d;n--;)s.push(0);for(n=d;--n>=0;){for(t=0,i=u+n;i>n;)a=s[i]+h[n]*l[i-n-1]+t,s[i--]=a%1e7|0,t=a/1e7|0;s[i]=(s[i]+t)%1e7|0}for(;!s[--o];)s.pop();return t?++r:s.shift(),e.d=s,e.e=z(s,r),D?Y(e,c.precision,c.rounding):e},Z.toBinary=function(e,t){return el(this,2,e,t)},Z.toDecimalPlaces=Z.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(G(e,0,1e9),void 0===t?t=n.rounding:G(t,0,8),Y(r,e+r.e+1,t))},Z.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=H(n,!0):(G(e,0,1e9),void 0===t?t=i.rounding:G(t,0,8),r=H(n=Y(new i(n),e+1,t),!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r},Z.toFixed=function(e,t){var r,n,i=this.constructor;return void 0===e?r=H(this):(G(e,0,1e9),void 0===t?t=i.rounding:G(t,0,8),r=H(n=Y(new i(this),e+this.e+1,t),!1,e+n.e+1)),this.isNeg()&&!this.isZero()?"-"+r:r},Z.toFraction=function(e){var t,r,n,i,s,o,a,u,d,c,l,h,p=this.d,f=this.constructor;if(!p)return new f(this);if(d=r=new f(1),n=u=new f(0),o=(s=(t=new f(n)).e=K(p)-this.e-1)%7,t.d[0]=k(10,o<0?7+o:o),null==e)e=s>0?t:d;else{if(!(a=new f(e)).isInt()||a.lt(d))throw Error(x+a);e=a.gt(t)?s>0?t:d:a}for(D=!1,a=new f(B(p)),c=f.precision,f.precision=s=14*p.length;l=W(a,t,0,1,1),1!=(i=r.plus(l.times(n))).cmp(e);)r=n,n=i,i=d,d=u.plus(l.times(i)),u=i,i=t,t=a.minus(l.times(i)),a=i;return i=W(e.minus(r),n,0,1,1),u=u.plus(i.times(d)),r=r.plus(i.times(n)),u.s=d.s=this.s,h=1>W(d,n,s,1).minus(this).abs().cmp(W(u,r,s,1).minus(this).abs())?[d,n]:[u,r],f.precision=c,D=!0,h},Z.toHexadecimal=Z.toHex=function(e,t){return el(this,16,e,t)},Z.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),null==e){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),void 0===t?t=n.rounding:G(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(D=!1,r=W(r,e,0,t,1).times(e),D=!0,Y(r)):(e.s=r.s,r=e),r},Z.toNumber=function(){return+this},Z.toOctal=function(e,t){return el(this,8,e,t)},Z.toPower=Z.pow=function(e){var t,r,n,i,s,o,a=this,u=a.constructor,d=+(e=new u(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new u(k(+a,d));if((a=new u(a)).eq(1))return a;if(n=u.precision,s=u.rounding,e.eq(1))return Y(a,n,s);if((t=C(e.e/7))>=e.d.length-1&&(r=d<0?-d:d)<=9007199254740991)return i=et(u,a,r,n),e.s<0?new u(1).div(i):Y(i,n,s);if((o=a.s)<0){if(t<e.d.length-1)return new u(NaN);if(1&e.d[t]||(o=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=o,a}return(t=0!=(r=k(+a,d))&&isFinite(r)?new u(r+"").e:C(d*(Math.log("0."+B(a.d))/Math.LN10+a.e+1)))>u.maxE+1||t<u.minE-1?new u(t>0?o/0:0):(D=!1,u.rounding=a.s=1,r=Math.min(12,(t+"").length),(i=ei(e.times(es(a,n+r)),n)).d&&J((i=Y(i,n+5,1)).d,n,s)&&(t=n+10,+B((i=Y(ei(e.times(es(a,t+r)),t),t+5,1)).d).slice(n+1,n+15)+1==1e14&&(i=Y(i,n+1,0))),i.s=o,D=!0,u.rounding=s,Y(i,n,s))},Z.toPrecision=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=H(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(G(e,1,1e9),void 0===t?t=i.rounding:G(t,0,8),r=H(n=Y(new i(n),e,t),e<=n.e||n.e<=i.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r},Z.toSignificantDigits=Z.toSD=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(G(e,1,1e9),void 0===t?t=r.rounding:G(t,0,8)),Y(new r(this),e,t)},Z.toString=function(){var e=this.constructor,t=H(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},Z.truncated=Z.trunc=function(){return Y(new this.constructor(this),this.e+1,1)},Z.valueOf=Z.toJSON=function(){var e=this.constructor,t=H(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var W=function(){function e(e,t,r){var n,i=0,s=e.length;for(e=e.slice();s--;)n=e[s]*t+i,e[s]=n%r|0,i=n/r|0;return i&&e.unshift(i),e}function t(e,t,r,n){var i,s;if(r!=n)s=r>n?1:-1;else for(i=s=0;i<r;i++)if(e[i]!=t[i]){s=e[i]>t[i]?1:-1;break}return s}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=e[r]<t[r]?1:0,e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,s,o,a,u){var d,c,l,h,p,f,m,g,w,N,E,b,v,A,I,P,T,S,D,O,x=n.constructor,R=n.s==i.s?1:-1,U=n.d,M=i.d;if(!U||!U[0]||!M||!M[0])return new x(n.s&&i.s&&(U?!M||U[0]!=M[0]:M)?U&&0==U[0]||!M?0*R:R/0:NaN);
vendor: 4,590 bytes, line 17
17for(u?(p=1,c=n.e-i.e):(u=1e7,p=7,c=C(n.e/p)-C(i.e/p)),D=M.length,T=U.length,N=(w=new x(R)).d=[],l=0;M[l]==(U[l]||0);l++);if(M[l]>(U[l]||0)&&c--,null==s?(A=s=x.precision,o=x.rounding):A=a?s+(n.e-i.e)+1:s,A<0)N.push(1),f=!0;else{if(A=A/p+2|0,l=0,1==D){for(h=0,M=M[0],A++;(l<T||h)&&A--;l++)I=h*u+(U[l]||0),N[l]=I/M|0,h=I%M|0;f=h||l<T}else{for((h=u/(M[0]+1)|0)>1&&(M=e(M,h,u),U=e(U,h,u),D=M.length,T=U.length),P=D,b=(E=U.slice(0,D)).length;b<D;)E[b++]=0;(O=M.slice()).unshift(0),S=M[0],M[1]>=u/2&&++S;do h=0,(d=t(M,E,D,b))<0?(v=E[0],D!=b&&(v=v*u+(E[1]||0)),(h=v/S|0)>1?(h>=u&&(h=u-1),g=(m=e(M,h,u)).length,b=E.length,1==(d=t(m,E,g,b))&&(h--,r(m,D<g?O:M,g,u))):(0==h&&(d=h=1),m=M.slice()),(g=m.length)<b&&m.unshift(0),r(E,m,b,u),-1==d&&(b=E.length,(d=t(M,E,D,b))<1&&(h++,r(E,D<b?O:M,b,u))),b=E.length):0===d&&(h++,E=[0]),N[l++]=h,d&&E[0]?E[b++]=U[P]||0:(E=[U[P]],b=1);while((P++<T||void 0!==E[0])&&A--);f=void 0!==E[0]}N[0]||N.shift()}if(1==p)w.e=c,y=f;else{for(l=1,h=N[0];h>=10;h/=10)l++;w.e=l+c*p-1,Y(w,a?s+w.e+1:s,o,f)}return w}}();function Y(e,t,r,n){var i,s,o,a,u,d,c,l,h,p=e.constructor;e:if(null!=t){if(!(l=e.d))return e;for(i=1,a=l[0];a>=10;a/=10)i++;if((s=t-i)<0)s+=7,o=t,u=(c=l[h=0])/k(10,i-o-1)%10|0;else if((h=Math.ceil((s+1)/7))>=(a=l.length)){if(n){for(;a++<=h;)l.push(0);c=u=0,i=1,s%=7,o=s-7+1}else break e}else{for(c=a=l[h],i=1;a>=10;a/=10)i++;s%=7,u=(o=s-7+i)<0?0:c/k(10,i-o-1)%10|0}if(n=n||t<0||void 0!==l[h+1]||(o<0?c:c%k(10,i-o-1)),d=r<4?(u||n)&&(0==r||r==(e.s<0?3:2)):u>5||5==u&&(4==r||n||6==r&&(s>0?o>0?c/k(10,i-o):0:l[h-1])%10&1||r==(e.s<0?8:7)),t<1||!l[0])return l.length=0,d?(t-=e.e+1,l[0]=k(10,(7-t%7)%7),e.e=-t||0):l[0]=e.e=0,e;if(0==s?(l.length=h,a=1,h--):(l.length=h+1,a=k(10,7-s),l[h]=o>0?(c/k(10,i-o)%k(10,o)|0)*a:0),d)for(;;)if(0==h){for(s=1,o=l[0];o>=10;o/=10)s++;for(o=l[0]+=a,a=1;o>=10;o/=10)a++;s!=a&&(e.e++,1e7==l[0]&&(l[0]=1));break}else{if(l[h]+=a,1e7!=l[h])break;l[h--]=0,a=1}for(s=l.length;0===l[--s];)l.pop()}return D&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function H(e,t,r){if(!e.isFinite())return eo(e);var n,i=e.e,s=B(e.d),o=s.length;return t?(r&&(n=r-o)>0?s=s.charAt(0)+"."+s.slice(1)+ee(n):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):i<0?(s="0."+ee(-i-1)+s,r&&(n=r-o)>0&&(s+=ee(n))):i>=o?(s+=ee(i+1-o),r&&(n=r-i-1)>0&&(s=s+"."+ee(n))):((n=i+1)<o&&(s=s.slice(0,n)+"."+s.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(s+="."),s+=ee(n))),s}function z(e,t){var r=e[0];for(t*=7;r>=10;r/=10)t++;return t}function X(e,t,r){if(t>$)throw D=!0,r&&(e.precision=r),Error(R);return Y(new e(P),t,1,!0)}function Q(e,t,r){if(t>V)throw Error(R);return Y(new e(T),t,r,!0)}function K(e){var t=e.length-1,r=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function ee(e){for(var t="";e--;)t+="0";return t}function et(e,t,r,n){var i,s=new e(1),o=Math.ceil(n/7+4);for(D=!1;;){if(r%2&&eh((s=s.times(t)).d,o)&&(i=!0),0===(r=C(r/2))){r=s.d.length-1,i&&0===s.d[r]&&++s.d[r];break}eh((t=t.times(t)).d,o)}return D=!0,s}function er(e){return 1&e.d[e.d.length-1]}function en(e,t,r){for(var n,i=new e(t[0]),s=0;++s<t.length;)if((n=new e(t[s])).s)i[r](n)&&(i=n);else{i=n;break}return i}function ei(e,t){var r,n,i,s,o,a,u,d=0,c=0,l=0,h=e.constructor,p=h.rounding,f=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(D=!1,u=f):u=t,a=new h(.03125);e.e>-2;)e=e.times(a),l+=5;for(u+=n=Math.log(k(2,l))/Math.LN10*2+5|0,r=s=o=new h(1),h.precision=u;;){if(s=Y(s.times(e),u,1),r=r.times(++c),B((a=o.plus(W(s,r,u,1))).d).slice(0,u)===B(o.d).slice(0,u)){for(i=l;i--;)o=Y(o.times(o),u,1);if(null!=t)return h.precision=f,o;if(!(d<3&&J(o.d,u-n,p,d)))return Y(o,h.precision=f,p,D=!0);h.precision=u+=10,r=s=a=new h(1),c=0,d++}o=a}}function es(e,t){var r,n,i,s,o,a,u,d,c,l,h,p=1,f=e,m=f.d,g=f.constructor,w=g.rounding,N=g.precision;if(f.s<0||!m||!m[0]||!f.e&&1==m[0]&&1==m.length)return new g(m&&!m[0]?-1/0:1!=f.s?NaN:m?0:f);if(null==t?(D=!1,c=N):c=t,g.precision=c+=10,n=(r=B(m)).charAt(0),!(15e14>Math.abs(s=f.e)))return d=X(g,c+2,N).times(s+""),f=es(new g(n+"."+r.slice(1)),c-10).plus(d),g.precision=N,null==t?Y(f,N,w,D=!0):f;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=B((f=f.times(e)).d)).charAt(0),p++;for(s=f.e,n>1?(f=new g("0."+r),s++):f=new g(n+"."+r.slice(1)),l=f,u=o=f=W(f.minus(1),f.plus(1),c,1),h=Y(f.times(f),c,1),i=3;;){if(o=Y(o.times(h),c,1),B((d=u.plus(W(o,new g(i),c,1))).d).slice(0,c)===B(u.d).slice(0,c)){if(u=u.times(2),0!==s&&(u=u.plus(X(g,c+2,N).times(s+""))),u=W(u,new g(p),c,1),null!=t)return g.precision=N,u;if(!J(u.d,c-10,w,a))return Y(u,g.precision=N,w,D=!0);
17g.precision=c+=10,d=o=f=W(l.minus(1),l.plus(1),c,1),h=Y(f.times(f),c,1),i=a=1}u=d,i+=2}}function eo(e){return String(e.s*e.s/0)}function ea(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);n++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(n,i)){if(i-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";e.d.push(+t),D&&(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 eu(e,t,r,n,i){var s,o,a,u,d=e.precision,c=Math.ceil(d/7);for(D=!1,u=r.times(r),a=new e(n);;){if(o=W(a.times(u),new e(t++*t++),d,1),a=i?n.plus(o):n.minus(o),n=W(o.times(u),new e(t++*t++),d,1),void 0!==(o=a.plus(n)).d[c]){for(s=c;o.d[s]===a.d[s]&&s--;);if(-1==s)break}s=a,a=n,n=o,o=s}return D=!0,o.d.length=c+1,o}function ed(e,t){for(var r=e;--t;)r*=e;return r}function ec(e,t){var r,n=t.s<0,i=Q(e,e.precision,1),s=i.times(.5);if((t=t.abs()).lte(s))return A=n?4:1,t;if((r=t.divToInt(i)).isZero())A=n?3:2;else{if((t=t.minus(r.times(i))).lte(s))return A=er(r)?n?2:3:n?4:1,t;A=er(r)?n?1:4:n?3:2}return t.minus(i).abs()}function el(e,t,r,n){var i,s,o,a,u,d,c,l,h,p=e.constructor,f=void 0!==r;if(f?(G(r,1,1e9),void 0===n?n=p.rounding:G(n,0,8)):(r=p.precision,n=p.rounding),e.isFinite()){for(o=(c=H(e)).indexOf("."),f?(i=2,16==t?r=4*r-3:8==t&&(r=3*r-2)):i=t,o>=0&&(c=c.replace(".",""),(h=new p(1)).e=c.length-o,h.d=j(H(h),10,i),h.e=h.d.length),s=u=(l=j(c,10,i)).length;0==l[--u];)l.pop();if(l[0]){if(o<0?s--:((e=new p(e)).d=l,e.e=s,l=(e=W(e,h,r,n,0,i)).d,s=e.e,d=y),o=l[r],a=i/2,d=d||void 0!==l[r+1],d=n<4?(void 0!==o||d)&&(0===n||n===(e.s<0?3:2)):o>a||o===a&&(4===n||d||6===n&&1&l[r-1]||n===(e.s<0?8:7)),l.length=r,d)for(;++l[--r]>i-1;)l[r]=0,r||(++s,l.unshift(1));for(u=l.length;!l[u-1];--u);for(o=0,c="";o<u;o++)c+=I.charAt(l[o]);if(f){if(u>1){if(16==t||8==t){for(o=16==t?4:3,--u;u%o;u++)c+="0";for(u=(l=j(c,i,t)).length;!l[u-1];--u);for(o=1,c="1.";o<u;o++)c+=I.charAt(l[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>u)for(s-=u;s--;)c+="0";else s<u&&(c=c.slice(0,s)+"."+c.slice(s))}else c=f?"0p+0":"0";c=(16==t?"0x":2==t?"0b":8==t?"0o":"")+c}else c=eo(e);return e.s<0?"-"+c:c}function eh(e,t){if(e.length>t)return e.length=t,!0}function ep(e){return new this(e).abs()}function ef(e){return new this(e).acos()}function em(e){return new this(e).acosh()}function eg(e,t){return new this(e).plus(t)}function ew(e){return new this(e).asin()}function eN(e){return new this(e).asinh()}function eE(e){return new this(e).atan()}function eb(e){return new this(e).atanh()}function ev(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,s=n+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(r=t.s<0?Q(this,n,i):new this(0)).s=e.s:!e.d||t.isZero()?(r=Q(this,s,1).times(.5)).s=e.s:t.s<0?(this.precision=s,this.rounding=1,r=this.atan(W(e,t,s,1)),t=Q(this,s,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(W(e,t,s,1)):(r=Q(this,s,1).times(t.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function ey(e){return new this(e).cbrt()}function eA(e){return Y(e=new this(e),e.e+1,2)}function eI(e,t,r){return new this(e).clamp(t,r)}function eP(e){if(!e||"object"!=typeof e)throw Error(O+"Object expected");var t,r,n,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(r=s[t],i&&(this[r]=S[r]),void 0!==(n=e[r])){if(C(n)===n&&n>=s[t+1]&&n<=s[t+2])this[r]=n;else throw Error(x+r+": "+n)}if(r="crypto",i&&(this[r]=S[r]),void 0!==(n=e[r])){if(!0===n||!1===n||0===n||1===n){if(n){if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(U)}else this[r]=!1}else throw Error(x+r+": "+n)}return this}function eT(e){return new this(e).cos()}function eS(e){return new this(e).cosh()}function eD(e,t){return new this(e).div(t)}function eO(e){return new this(e).exp()}function ex(e){return Y(e=new this(e),e.e+1,3)}function eR(){var e,t,r=new this(0);for(D=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return D=!0,new this(1/0);r=t}return D=!0,r.sqrt()}function eU(e){return e instanceof eK||e&&e.toStringTag===M||!1}function eM(e){return new this(e).ln()}function eC(e,t){return new this(e).log(t)}function ek(e){return new this(e).log(2)}function eF(e){return new this(e).log(10)}function e_(){return en(this,arguments,"lt")}function eL(){return en(this,arguments,"gt")}function eq(e,t){return new this(e).mod(t)}function e$(e,t){return new this(e).mul(t)}function eV(e,t){return new this(e).pow(t)}function eZ(e){var t,r,n,i,s=0,o=new this(1),a=[];if(void 0===e?e=this.precision:G(e,1,1e9),n=Math.ceil(e/7),this.crypto){if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));s<n;)(i=t[s])>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:a[s++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);s<n;)(i=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((127&t[s+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,s):(a.push(i%1e7),s+=4);s=n/4}else throw Error(U)}else for(;s<n;)a[s++]=1e7*Math.random()|0;for(n=a[--s],e%=7,n&&e&&(i=k(10,7-e),a[s]=(n/i|0)*i);0===a[s];s--)a.pop();if(s<0)r=0,a=[0];else{for(r=-1;0===a[0];r-=7)a.shift();for(n=1,i=a[0];i>=10;i/=10)n++;n<7&&(r-=7-n)}return o.e=r,o.d=a,o}function eB(e){return Y(e=new this(e),e.e+1,this.rounding)}function eG(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eJ(e){return new this(e).sin()}function ej(e){return new this(e).sinh()}function eW(e){return new this(e).sqrt()}function eY(e,t){return new this(e).sub(t)}function eH(){var e=0,t=arguments,r=new this(t[0]);for(D=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return D=!0,Y(r,this.precision,this.rounding)}function ez(e){return new this(e).tan()}function eX(e){return new this(e).tanh()}function eQ(e){return Y(e=new this(e),e.e+1,1)}Z[Symbol.for("nodejs.util.inspect.custom")]=Z.toString,Z[Symbol.toStringTag]="Decimal";var eK=Z.constructor=function e(t){var r,n,i;function s(e){var t,r,n;if(!(this instanceof s))return new s(e);if(this.constructor=s,eU(e)){this.s=e.s,D?!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"==(n=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,r=e;r>=10;r/=10)t++;D?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 ea(this,e.toString())}if("string"!==n)throw Error(x+e);return 45===(r=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===r&&(e=e.slice(1)),this.s=1),q.test(e)?ea(this,e):function(e,t){var r,n,i,s,o,a,u,d,c;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),q.test(t))return ea(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(_.test(t))r=16,t=t.toLowerCase();else if(F.test(t))r=2;else if(L.test(t))r=8;else throw Error(x+t);for((s=t.search(/p/i))>0?(u=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),o=(s=t.indexOf("."))>=0,n=e.constructor,o&&(s=(a=(t=t.replace(".","")).length)-s,i=et(n,new n(r),s,2*s)),s=c=(d=j(t,r,1e7)).length-1;0===d[s];--s)d.pop();return s<0?new n(0*e.s):(e.e=z(d,c),e.d=d,D=!1,o&&(e=W(e,i,4*a)),u&&(e=e.times(54>Math.abs(u)?k(2,u):eK.pow(2,u))),D=!0,e)}(this,e)}if(s.prototype=Z,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=eP,s.clone=e,s.isDecimal=eU,s.abs=ep,s.acos=ef,s.acosh=em,s.add=eg,s.asin=ew,s.asinh=eN,s.atan=eE,s.atanh=eb,s.atan2=ev,s.cbrt=ey,s.ceil=eA,s.clamp=eI,s.cos=eT,s.cosh=eS,s.div=eD,s.exp=eO,s.floor=ex,s.hypot=eR,s.ln=eM,s.log=eC,s.log10=eF,s.log2=ek,s.max=e_,s.min=eL,s.mod=eq,s.mul=e$,s.pow=eV,s.random=eZ,s.roun
vendor: 337 bytes, line 17
17d=eB,s.sign=eG,s.sin=eJ,s.sinh=ej,s.sqrt=eW,s.sub=eY,s.sum=eH,s.tan=ez,s.tanh=eX,s.trunc=eQ,void 0===t&&(t={}),t&&!0!==t.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return s.config(t),s}(S);P=new eK(P),T=new eK(T);var e0=eK}}]);

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.