1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4e26e435-e386-4d8e-91eb-4eafe8d90207",e._sentryDebugIdIdentifier="sentry-dbid-4e26e435-e386-4d8e-91eb-4eafe8d90207")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9493],{12767:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let{Decimal:i,objectEnumValues:n,makeStrictEnum:s,Public:o,getRuntime:a,skip:d}=r(47234),u={};t.Prisma=u,t.$Enums={},u.prismaVersion={client:"5.22.0",engine:"605197351a3c8bdd595af2d2a9bc3025bca48ea2"},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=i,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`)}
13,u.DbNull=n.instances.DbNull,u.JsonNull=n.instances.JsonNull,u.AnyNull=n.instances.AnyNull,u.NullTypes={DbNull:n.classes.DbNull,JsonNull:n.classes.JsonNull,AnyNull:n.classes.AnyNull},t.Prisma.TransactionIsolationLevel=s({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),t.Prisma.AccountScalarFieldEnum={id:"id",userId:"userId",type:"type",provider:"provider",providerAccountId:"providerAccountId",refresh_token:"refresh_token",access_token:"access_token",expires_at:"expires_at",token_type:"token_type",scope:"scope",id_token:"id_token",session_state:"session_state"},t.Prisma.RelationLoadStrategy={query:"query",join:"join"},t.Prisma.SessionScalarFieldEnum={id:"id",sessionToken:"sessionToken",userId:"userId",expires:"expires"},t.Prisma.UserSecretScalarFieldEnum={id:"id",username:"username",type:"type",value:"value",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserScalarFieldEnum={id:"id",name:"name",bio:"bio",email:"email",emailVerified:"emailVerified",githubUsername:"githubUsername",bot:"bot",image:"image",admin:"admin",canTriggerExplanations:"canTriggerExplanations",isProblemEditor:"isProblemEditor",emailNewsletterNotification:"emailNewsletterNotification",emailUnsubscribeAll:"emailUnsubscribeAll",emailUnsubscribeCode:"emailUnsubscribeCode",createdAt:"createdAt"},t.Prisma.GraphMetadataSubgraphScalarFieldEnum={id:"id",displayName:"displayName",graphMetadataId:"graphMetadataId",pinnedIds:"pinnedIds",supernodes:"supernodes",clerps:"clerps",pruningThreshold:"pruningThreshold",densityThreshold:"densityThreshold",userId:"userId",isFeaturedSolution:"isFeaturedSolution",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GraphMetadataScalarFieldEnum={id:"id",modelId:"modelId",sourceSetName:"sourceSetName",slug:"slug",promptTokens:"promptTokens",prompt:"prompt",titlePrefix:"titlePrefix",isFeatured:"isFeatured",url:"url",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GraphMetadataDataPutRequestScalarFieldEnum={id:"id",ipAddress:"ipAddress",filename:"filename",url:"url",userId:"userId",createdAt:"createdAt"},t.Prisma.JlensShareScalarFieldEnum={id:"id",kind:"kind",modelId:"modelId",url:"url",description:"description",lockedTokens:"lockedTokens",selectedPositions:"selectedPositions",activeLensModeTab:"activeLensModeTab",topN:"topN",hideNonWordTokens:"hideNonWordTokens",temperature:"temperature",numCompletionTokens:"numCompletionTokens",steerToken:"steerToken",steerType:"steerType",steerLayers:"steerLayers",steerStrength:"steerStrength",steerAblate:"steerAblate",steerMode:"steerMode",swapToken:"swapToken",steerGenerated:"steerGenerated",numPromptTokens:"numPromptTokens",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.JlensSharePutRequestScalarFieldEnum={id:"id",ipAddress:"ipAddress",filename:"filename",url:"url",userId:"userId",createdAt:"createdAt"},t.Prisma.ListCommentScalarFieldEnum={id:"id",listId:"listId",text:"text",userId:"userId",createdAt:"createdAt"},t.Prisma.ListScalarFieldEnum={id:"id",name:"name",description:"description",defaultTestText:"defaultTestText",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ListsOnNeuronsScalarFieldEnum={modelId:"modelId",layer:"layer",index:"index",listId:"listId",description:"description",addedAt:"addedAt",userId:"userId"},t.Prisma.ListsOnActivationsScalarFieldEnum={activationId:"activationId",listId:"listId"},t.Prisma.VerificationTokenScalarFieldEnum={identifier:"identifier",token:"token",expires:"expires"},t.Prisma.ModelScalarFieldEnum={id:"id",displayNameShort:"displayNameShort",displayName:"displayName",creatorId:"creatorId",tlensId:"tlensId",openRouterId:"openRouterId",hfRepoId:"hfRepoId",dimension:"dimension",thinking:"thinking",visibility:"visibility",defaultSourceSetName:"defaultSourceSetName",defaultSourceId:"defaultSourceId",defaultGraphSourceSetName:"defaultGraphSourceSetName",inferenceEnabled:"inferenceEnabled",instruct:"instruct",layers:"layers",neuronsPerLayer:"neuronsPerLayer",createdAt:"createdAt",owner:"owner",updatedAt:"updatedAt",website:"website"},t.Prisma.ModelHeadMetricsScalarFieldEnum={id:"id",modelId:"modelId",layer:"layer",headIndex:"headIndex",modelName:"modelName",datasetName:"datasetName",nSequences:"nSequences",seqLen:"seqLen",dtype:"dtype",attnImplementation:"attnImplementation",selfAttentionScore:"selfAttentionScore",prevTokenScore:"prevTokenScore",patternEntropy:"patternEntropy",qkDistance:"qkDistance",qkDistanceVariance:"qkDistanceVariance",inductionScore:"inductionScore",qkDistanceHistogram:"qkDistanceHistogram",topQueryTokens:"topQueryTokens",topKeyTokens:"topKeyTokens",activationHistogram:"activationHistogram",headStatistics:"headStatistics",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ModelHeadSequenceScalarFieldEnum={id:"id",modelId:"modelId",layer:"layer",headIndex:"headIndex",modelName:"modelName",datasetName:"datasetName",nSequences:"nSequences",dtype:"dtype",attnImplementation:"attnImplementation",interval:"interval",tokens:"tokens",attentionIndices:"attentionIndices",attentionValues:"attentionValues",maxActivation:"maxActivation",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ComputeHostScalarFieldEnum={id:"id",name:"name",hostUrl:"hostUrl",service:"service",provider:"provider",providerRef:"providerRef",modelId:"modelId",nlaSourceId:"nlaSourceId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ComputeHostOnSourceScalarFieldEnum={sourceId:"sourceId",sourceModelId:"sourceModelId",computeHostId:"computeHostId"},t.Prisma.ComputeHostOnSourceSetScalarFieldEnum={sourceSetName:"sourceSetName",sourceSetModelId:"sourceSetModelId",computeHostId:"computeHostId"},t.Prisma.SourceScalarFieldEnum={id:"id",modelId:"modelId",hasDashboards:"hasDashboards",inferenceEnabled:"inferenceEnabled",saelensConfig:"saelensConfig",saelensRelease:"saelensRelease",saelensSaeId:"saelensSaeId",hfRepoId:"hfRepoId",hfFolderId:"hfFolderId",visibility:"visibility",defaultOfModelId:"defaultOfModelId",setName:"setName",creatorId:"creatorId",hasUmap:"hasUmap",hasUmapLogSparsity:"hasUmapLogSparsity",hasUmapClusters:"hasUmapClusters",num_prompts:"num_prompts",num_tokens_in_prompt:"num_tokens_in_prompt",dataset:"dataset",notes:"notes",cosSimMatchModelId:"cosSimMatchModelId",cosSimMatchSourceId:"cosSimMatchSourceId",createdAt:"createdAt"},t.Prisma.SourceSetScalarFieldEnum={modelId:"modelId",name:"name",hasDashboards:"hasDashboards",allowInferenceSearch:"allowInferenceSearch",visibility:"visibility",description:"description",type:"type",creatorName:"creatorName",urls:"urls",creatorEmail:"creatorEmail",creatorId:"creatorId",releaseName:"releaseName",hasGraphs:"hasGraphs",graphEnabled:"graphEnabled",similarityMatrixEnabled:"similarityMatrixEnabled",defaultOfModelId:"defaultOfModelId",defaultGraphModelId:"defaultGraphModelId",defaultRange:"defaultRange",defaultShowBreaks:"defaultShowBreaks",showDfa:"showDfa",showCorrelated:"showCorrelated",showHeadAttribution:"showHeadAttribution",showUmap:"showUmap",createdAt:"createdAt"},t.Prisma.SourceReleaseScalarFieldEnum={name:"name",visibility:"visibility",isNewUi:"isNewUi",featured:"featured",description:"description",descriptionShort:"descriptionShort",urls:"urls",creatorEmail:"creatorEmail",creatorName:"creatorName",creatorNameShort:"creatorNameShort",creatorId:"creatorId",defaultSourceSetName:"defaultSourceSetName",defaultSourceId:"defaultSourceId",defaultUmapSourceIds:"defaultUmapSourceIds",createdAt:"createdAt"},t.Prisma.EvalScalarFieldEnum={id:"id",typeName:"typeName",modelId:"modelId",sourceId:"sourceId",output:"output",detailedMetrics:"detailedMetrics",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EvalTypeScalarFieldEnum={name:"name",displayName:"displayName",description:"description",longerDescription:"longerDescription",outputSc
13hema:"outputSchema",featured:"featured",url:"url",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.NeuronScalarFieldEnum={modelId:"modelId",layer:"layer",index:"index",sourceSetName:"sourceSetName",creatorId:"creatorId",createdAt:"createdAt",maxActApprox:"maxActApprox",hasVector:"hasVector",vector:"vector",vectorLabel:"vectorLabel",vectorDefaultSteerStrength:"vectorDefaultSteerStrength",hookName:"hookName",topkCosSimIndices:"topkCosSimIndices",topkCosSimValues:"topkCosSimValues",neuron_alignment_indices:"neuron_alignment_indices",neuron_alignment_values:"neuron_alignment_values",neuron_alignment_l1:"neuron_alignment_l1",correlated_neurons_indices:"correlated_neurons_indices",correlated_neurons_pearson:"correlated_neurons_pearson",correlated_neurons_l1:"correlated_neurons_l1",correlated_features_indices:"correlated_features_indices",correlated_features_pearson:"correlated_features_pearson",correlated_features_l1:"correlated_features_l1",neg_str:"neg_str",neg_values:"neg_values",pos_str:"pos_str",pos_values:"pos_values",frac_nonzero:"frac_nonzero",freq_hist_data_bar_heights:"freq_hist_data_bar_heights",freq_hist_data_bar_values:"freq_hist_data_bar_values",logits_hist_data_bar_heights:"logits_hist_data_bar_heights",logits_hist_data_bar_values:"logits_hist_data_bar_values",decoder_weights_dist:"decoder_weights_dist",umap_cluster:"umap_cluster",umap_log_feature_sparsity:"umap_log_feature_sparsity",umap_x:"umap_x",umap_y:"umap_y"},t.Prisma.ExplanationScalarFieldEnum={id:"id",modelId:"modelId",layer:"layer",index:"index",description:"description",authorId:"authorId",triggeredByUserId:"triggeredByUserId",notes:"notes",scoreV1:"scoreV1",scoreV2:"scoreV2",umap_x:"umap_x",umap_y:"umap_y",umap_cluster:"umap_cluster",umap_log_feature_sparsity:"umap_log_feature_sparsity",typeName:"typeName",explanationModelName:"explanationModelName",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ExplanationModelSettingsScalarFieldEnum={id:"id",temperature:"temperature",maxTokens:"maxTokens",topP:"topP",frequencyPenalty:"frequencyPenalty"},t.Prisma.ExplanationModelTypeScalarFieldEnum={name:"name",displayName:"displayName",description:"description",featured:"featured",openRouterModelId:"openRouterModelId",url:"url",creatorName:"creatorName",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ExplanationTypeScalarFieldEnum={name:"name",displayName:"displayName",description:"description",featured:"featured",isAttention:"isAttention",explainerModelSettingsId:"explainerModelSettingsId",settings:"settings",url:"url",creatorName:"creatorName",creatorId:"creatorId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ExplanationScoreScalarFieldEnum={id:"id",initiatedByUserId:"initiatedByUserId",value:"value",explanationId:"explanationId",explanationScoreTypeName:"explanationScoreTypeName",explanationScoreModelName:"explanationScoreModelName",jsonDetails:"jsonDetails",createdAt:"createdAt"},t.Prisma.ExplanationScoreTypeScalarFieldEnum={name:"name",displayName:"displayName",description:"description",featured:"featured",isAttention:"isAttention",scoreDescription:"scoreDescription",scorerModel:"scorerModel",settings:"settings",url:"url",creatorName:"creatorName",creatorId:"creatorId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ExplanationScoreModelScalarFieldEnum={name:"name",displayName:"displayName",description:"description",featured:"featured",openRouterModelId:"openRouterModelId",url:"url",creatorName:"creatorName",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ExplanationActivationV1ScalarFieldEnum={id:"id",explanationId:"explanationId",activationId:"activationId",expectedValues:"expectedValues",score:"score",scorerId:"scorerId",scorerAutoInterpModel:"scorerAutoInterpModel",version:"version",createdAt:"createdAt"},t.Prisma.VoteScalarFieldEnum={id:"id",voterId:"voterId",reason:"reason",points:"points",explanationId:"explanationId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ActivationScalarFieldEnum={id:"id",tokens:"tokens",dataIndex:"dataIndex",index:"index",layer:"layer",modelId:"modelId",dataSource:"dataSource",maxValue:"maxValue",maxValueTokenIndex:"maxValueTokenIndex",minValue:"minValue",values:"values",dfaValues:"dfaValues",dfaTargetIndex:"dfaTargetIndex",dfaMaxValue:"dfaMaxValue",zQIndices:"zQIndices",zKIndices:"zKIndices",zValues:"zValues",creatorId:"creatorId",createdAt:"createdAt",lossValues:"lossValues",logitContributions:"logitContributions",binMin:"binMin",binMax:"binMax",binContains:"binContains",qualifyingTokenIndex:"qualifyingTokenIndex"},t.Prisma.CommentScalarFieldEnum={id:"id",modelId:"modelId",layer:"layer",index:"index",text:"text",userId:"userId",createdAt:"createdAt"},t.Prisma.BookmarkScalarFieldEnum={id:"id",modelId:"modelId",layer:"layer",index:"index",userId:"userId",createdAt:"createdAt"},t.Prisma.SavedSearchScalarFieldEnum={id:"id",query:"query",tokens:"tokens",modelId:"modelId",selectedLayers:"selectedLayers",sortByIndexes:"sortByIndexes",ignoreBos:"ignoreBos",sourceSet:"sourceSet",userId:"userId",updatedAt:"updatedAt",createdAt:"createdAt",counts:"counts",numResults:"numResults",densityThreshold:"densityThreshold"},t.Prisma.SavedSearchActivationScalarFieldEnum={savedSearchId:"savedSearchId",activationId:"activationId",order:"order"},t.Prisma.SteerOutputToNeuronScalarFieldEnum={modelId:"modelId",layer:"layer",index:"index",strength:"strength",steerOutputId:"steerOutputId"},t.Prisma.SteerOutputScalarFieldEnum={id:"id",type:"type",modelId:"modelId",steerSpecialTokens:"steerSpecialTokens",inputText:"inputText",inputTextMd5:"inputTextMd5",inputTextChatTemplate:"inputTextChatTemplate",inputTextChatTemplateMd5:"inputTextChatTemplateMd5",outputText:"outputText",outputTextChatTemplate:"outputTextChatTemplate",temperature:"temperature",numTokens:"numTokens",freqPenalty:"freqPenalty",presencePenalty:"presencePenalty",seed:"seed",strengthMultiplier:"strengthMultiplier",steerMethod:"steerMethod",createdAt:"createdAt",creatorId:"creatorId",version:"version",logprobs:"logprobs",connectedDefaultOutputId:"connectedDefaultOutputId",connectedSteerOutputIds:"connectedSteerOutputIds",capMonitorOutput:"capMonitorOutput"},t.Prisma.ProblemNodeScalarFieldEnum={id:"id",nodeTypes:"nodeTypes",parentId:"parentId",title:"title",description:"description",author:"author",mainUrl:"mainUrl",additionalUrls:"additionalUrls",applicationTags:"applicationTags",approvalState:"approvalState",approverId:"approverId",createdById:"createdById",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProblemEdgeScalarFieldEnum={id:"id",sourceNodeId:"sourceNodeId",targetNodeId:"targetNodeId",type:"type",approvalState:"approvalState",approverId:"approverId",createdById:"createdById",createdAt:"createdAt"},t.Prisma.ProblemNodeCommentScalarFieldEnum={id:"id",problemNodeId:"problemNodeId",parentCommentId:"parentCommentId",text:"text",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"}
13,t.Prisma.ProblemNodeLogScalarFieldEnum={id:"id",timestamp:"timestamp",userId:"userId",problemNodeId:"problemNodeId",action:"action",details:"details"},t.Prisma.NlaSourceScalarFieldEnum={id:"id",modelId:"modelId",displayName:"displayName",description:"description",url:"url",author:"author",av:"av",ar:"ar",layerNum:"layerNum",norm:"norm",createdAt:"createdAt"},t.Prisma.NlaExplainCacheScalarFieldEnum={id:"id",text:"text",textHash:"textHash",numCompletionTokens:"numCompletionTokens",temperature:"temperature",modelId:"modelId",nlaSourceId:"nlaSourceId",sortedPositions:"sortedPositions",tokens:"tokens",resultJson:"resultJson",createdAt:"createdAt"},t.Prisma.NlaExplainShareScalarFieldEnum={id:"id",cacheId:"cacheId",position:"position",paragraph:"paragraph",highlightStart:"highlightStart",highlightEnd:"highlightEnd",comment:"comment",featured:"featured",featuredDisplayName:"featuredDisplayName",createdAt:"createdAt"},t.Prisma.SampleDatasetScalarFieldEnum={id:"id",name:"name",description:"description",url:"url",createdByUserId:"createdByUserId",createdAt:"createdAt"},t.Prisma.SampleScalarFieldEnum={id:"id",type:"type",modelId:"modelId",datasetId:"datasetId",sampleIndex:"sampleIndex",groundTruth:"groundTruth",conversation:"conversation",conversationTokenized:"conversationTokenized",conversationTokenizedStr:"conversationTokenizedStr",finalResponseStartIndex:"finalResponseStartIndex",userId:"userId",elo:"elo",vettedAt:"vettedAt",vettedBy:"vettedBy",createdAt:"createdAt"},t.Prisma.ProbeScalarFieldEnum={id:"id",customLabel:"customLabel",modelId:"modelId",type:"type",userId:"userId",architecture:"architecture",tokenSelection:"tokenSelection",reductionMethod:"reductionMethod",layers:"layers",weights:"weights",bias:"bias",weightsBlob:"weightsBlob",elo:"elo",createdAt:"createdAt",creatorNote:"creatorNote"},t.Prisma.ProbeMatchScalarFieldEnum={id:"id",probeId:"probeId",sampleId:"sampleId",probeCorrect:"probeCorrect",probeScore:"probeScore",tokenScores:"tokenScores",createdAt:"createdAt"},t.Prisma.ProbeLogScalarFieldEnum={id:"id",action:"action",modelId:"modelId",userId:"userId",probeId:"probeId",sampleId:"sampleId",details:"details",createdAt:"createdAt"},t.Prisma.ProcessLockScalarFieldEnum={name:"name",startedAt:"startedAt",expiresAt:"expiresAt",details:"details"},t.Prisma.VectorTagScalarFieldEnum={name:"name",displayName:"displayName",description:"description",creatorId:"creatorId",createdAt:"createdAt"},t.Prisma.VectorTagOnVectorScalarFieldEnum={vectorId:"vectorId",tagName:"tagName",addedAt:"addedAt"},t.Prisma.VectorScalarFieldEnum={id:"id",modelId:"modelId",name:"name",author:"author",layers:"layers",polePositive:"polePositive",poleNegative:"poleNegative",polePositiveDescription:"polePositiveDescription",poleNegativeDescription:"poleNegativeDescription",displayName:"displayName",caveat:"caveat",values:"values",projectionParams:"projectionParams",hfRepoId:"hfRepoId",hfFolderId:"hfFolderId",visibility:"visibility",creatorId:"creatorId",createdAt:"createdAt"},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.NullsOrder={first:"first",last:"last"},t.Prisma.JsonNullValueFilter={DbNull:u.DbNull,JsonNull:u.JsonNull,AnyNull:u.AnyNull},t.UserSecretType=t.$Enums.UserSecretType={NEURONPEDIA:"NEURONPEDIA",OPENAI:"OPENAI",GOOGLE:"GOOGLE",ANTHROPIC:"ANTHROPIC",OPENROUTER:"OPENROUTER"},t.Visibility=t.$Enums.Visibility={PUBLIC:"PUBLIC",UNLISTED:"UNLISTED",PRIVATE:"PRIVATE"},t.ComputeService=t.$Enums.ComputeService={INFERENCE:"INFERENCE",GRAPH:"GRAPH",NLA:"NLA",AUTOINTERP:"AUTOINTERP",SPARSITY:"SPARSITY"},t.SteerOutputType=t.$Enums.SteerOutputType={DEFAULT:"DEFAULT",STEERED:"STEERED"},t.ProblemNodeApprovalState=t.$Enums.ProblemNodeApprovalState={APPROVED:"APPROVED",REJECTED:"REJECTED",PENDING:"PENDING"},t.ProblemNodeType=t.$Enums.ProblemNodeType={topic:"topic",paper:"paper",tool:"tool",dataset:"dataset",eval:"eval",replication:"replication",model:"model"},t.ProblemEdgeType=t.$Enums.ProblemEdgeType={raises:"raises",addresses:"addresses",extends:"extends",replicates:"replicates",related_to:"related_to"},t.ProbeSampleType=t.$Enums.ProbeSampleType={DECEPTION:"DECEPTION"}
13,t.ProbeArchitecture=t.$Enums.ProbeArchitecture={LINEAR:"LINEAR",MLP:"MLP"},t.TokenSelection=t.$Enums.TokenSelection={LAST_ASSISTANT:"LAST_ASSISTANT",ALL_TOKENS:"ALL_TOKENS",EOT_TOKEN:"EOT_TOKEN",REASONING_ONLY:"REASONING_ONLY"},t.ReductionMethod=t.$Enums.ReductionMethod={MEAN_POOL:"MEAN_POOL",LAST_TOKEN:"LAST_TOKEN",MAX_POOL:"MAX_POOL"},t.ProbeLogAction=t.$Enums.ProbeLogAction={NEW_PROBE:"NEW_PROBE",NEW_SAMPLE:"NEW_SAMPLE",SAMPLE_ACCEPTED:"SAMPLE_ACCEPTED",SAMPLE_REJECTED:"SAMPLE_REJECTED",RANK_CHANGE:"RANK_CHANGE"},t.Prisma.ModelName={Account:"Account",Session:"Session",UserSecret:"UserSecret",User:"User",GraphMetadataSubgraph:"GraphMetadataSubgraph",GraphMetadata:"GraphMetadata",GraphMetadataDataPutRequest:"GraphMetadataDataPutRequest",JlensShare:"JlensShare",JlensSharePutRequest:"JlensSharePutRequest",ListComment:"ListComment",List:"List",ListsOnNeurons:"ListsOnNeurons",ListsOnActivations:"ListsOnActivations",VerificationToken:"VerificationToken",Model:"Model",ModelHeadMetrics:"ModelHeadMetrics",ModelHeadSequence:"ModelHeadSequence",ComputeHost:"ComputeHost",ComputeHostOnSource:"ComputeHostOnSource",ComputeHostOnSourceSet:"ComputeHostOnSourceSet",Source:"Source",SourceSet:"SourceSet",SourceRelease:"SourceRelease",Eval:"Eval",EvalType:"EvalType",Neuron:"Neuron",Explanation:"Explanation",ExplanationModelSettings:"ExplanationModelSettings",ExplanationModelType:"ExplanationModelType",ExplanationType:"ExplanationType",ExplanationScore:"ExplanationScore",ExplanationScoreType:"ExplanationScoreType",ExplanationScoreModel:"ExplanationScoreModel",ExplanationActivationV1:"ExplanationActivationV1",Vote:"Vote",Activation:"Activation",Comment:"Comment",Bookmark:"Bookmark",SavedSearch:"SavedSearch",SavedSearchActivation:"SavedSearchActivation",SteerOutputToNeuron:"SteerOutputToNeuron",SteerOutput:"SteerOutput",ProblemNode:"ProblemNode",ProblemEdge:"ProblemEdge",ProblemNodeComment:"ProblemNodeComment",ProblemNodeLog:"ProblemNodeLog",NlaSource:"NlaSource",NlaExplainCache:"NlaExplainCache",NlaExplainShare:"NlaExplainShare",SampleDataset:"SampleDataset",Sample:"Sample",Probe:"Probe",ProbeMatch:"ProbeMatch",ProbeLog:"ProbeLog",ProcessLock:"ProcessLock",VectorTag:"VectorTag",VectorTagOnVector:"VectorTagOnVector",Vector:"Vector"};class l{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=l,Object.assign(t,u)},39493:(e,t,r)=>{e.exports=r(12767)},47234:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,r)=>{for(var i in r)t(e,i,{get:r[i],enumerable:!0})},o={};s(o,{Decimal:()=>e0,Public:()=>a,getRuntime:()=>E,makeStrictEnum:()=>S,objectEnumValues:()=>g}),e.exports=((e,s,o,a)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let d of i(s))n.call(e,d)||d===o||t(e,d,{get:()=>s[d],enumerable:!(a=r(s,d))||a.enumerable});return e})(t({},"__esModule",{value:!0}),o);var a={};function d(){return e=>e}s(a,{validator:()=>d});var u=Symbol(),l=new WeakMap,c=class{constructor(e){e===u?l.set(this,"Prisma.".concat(this._getName())):l.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return l.get(this)}},p=class extends c{_getNamespace(){return"NullTypes"}},m=class extends p{};N(m,"DbNull");var h=class extends p{};N(h,"JsonNull");var f=class extends p{};N(f,"AnyNull");var g={classes:{DbNull:m,JsonNull:h,AnyNull:f},instances:{DbNull:new m(u),JsonNull:new h(u),AnyNull:new f(u)}};function N(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var I=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function S(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!I.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":"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 E(){var e,t,r;let i="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:i,prettyName:b[i]||i,isEdge:["workerd","deno","netlify","edge-light"].includes(i)}}var y,v,w="0123456789abcdef",A="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",P="3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193
1711881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",x={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},T=!0,_="[DecimalError] ",M=_+"Invalid argument: ",k=_+"Precision limit exceeded",O=_+"crypto unavailable",R="[object Decimal]",C=Math.floor,F=Math.pow,D=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,L=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,V=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,q=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,U=A.length-1,H=P.length-1,B={toStringTag:R};function $(e){var t,r,i,n=e.length-1,s="",o=e[0];if(n>0){for(s+=o,t=1;t<n;t++)(r=7-(i=e[t]+"").length)&&(s+=ee(r)),s+=i;(r=7-(i=(o=e[t])+"").length)&&(s+=ee(r))}else if(0===o)return"0";for(;o%10==0;)o/=10;return s+o}function J(e,t,r){if(e!==~~e||e<t||e>r)throw Error(M+e)}function G(e,t,r,i){var n,s,o,a;for(s=e[0];s>=10;s/=10)--t;return--t<0?(t+=7,n=0):(n=Math.ceil((t+1)/7),t%=7),s=F(10,7-t),a=e[n]%s|0,null==i?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[n+1]/s/100|0)==F(10,t-2)-1||(a==s/2||0==a)&&(e[n+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=(i||r<4)&&9999==a||!i&&r>3&&4999==a):o=((i||r<4)&&a+1==s||!i&&r>3&&a+1==s/2)&&(e[n+1]/s/1e3|0)==F(10,t-3)-1,o}function j(e,t,r){for(var i,n,s=[0],o=0,a=e.length;o<a;){for(n=s.length;n--;)s[n]*=t;for(s[0]+=w.indexOf(e.charAt(o++)),i=0;i<s.length;i++)s[i]>r-1&&(void 0===s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/r|0,s[i]%=r)}return s.reverse()}B.absoluteValue=B.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),z(e)},B.ceil=function(){return z(new this.constructor(this),this.e+1,2)},B.clampedTo=B.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(M+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new r(this)},B.comparedTo=B.cmp=function(e){var t,r,i,n,s=this.d,o=(e=new this.constructor(e)).d,a=this.s,d=e.s;if(!s||!o)return a&&d?a!==d?a:s===o?0:!s^a<0?1:-1:NaN;if(!s[0]||!o[0])return s[0]?a:o[0]?-d:0;if(a!==d)return a;if(this.e!==e.e)return this.e>e.e^a<0?1:-1;for(i=s.length,n=o.length,t=0,r=i<n?i:n;t<r;++t)if(s[t]!==o[t])return s[t]>o[t]^a<0?1:-1;return i===n?0:i>n^a<0?1:-1},B.cosine=B.cos=function(){var e,t,r=this,i=r.constructor;return r.d?r.d[0]?(e=i.precision,t=i.rounding,i.precision=e+Math.max(r.e,r.sd())+7,i.rounding=1,r=function(e,t){var r,i,n;if(t.isZero())return t;(i=t.d.length)<32?n=(1/eu(4,r=Math.ceil(i/3))).toString():(r=16,n="2.3283064365386962890625e-10"),e.precision+=r,t=ed(e,1,t.times(n),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}(i,el(i,r)),i.precision=e,i.rounding=t,z(2==v||3==v?r.neg():r,e,t,!0)):new i(1):new i(NaN)},B.cubeRoot=B.cbrt=function(){var e,t,r,i,n,s,o,a,d,u,l=this.constructor;if(!this.isFinite()||this.isZero())return new l(this);for(T=!1,(s=this.s*F(this.s*this,1/3))&&Math.abs(s)!=1/0?i=new l(s.toString()):(r=$(this.d),(s=((e=this.e)-r.length+1)%3)&&(r+=1==s||-2==s?"0":"00"),s=F(r,1/3),e=C((e+1)/3)-(e%3==(e<0?-1:2)),(i=new l(r=s==1/0?"5e"+e:(r=s.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=this.s),o=(e=l.precision)+3;;)if(i=Z((u=(d=(a=i).times(a).times(a)).plus(this)).plus(this).times(a),u.plus(d),o+2,1),$(a.d).slice(0,o)===(r=$(i.d)).slice(0,o))if("9999"!=(r=r.slice(o-3,o+1))&&(n||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(z(i,e+1,1),t=!i.times(i).times(i).eq(this));break}else{if(!n&&(z(a,e+1,0),a.times(a).times(a).eq(this))){i=a;break}o+=4,n=1}return T=!0,z(i,e,l.rounding,t)},B.decimalPlaces=B.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},B.dividedBy=B.div=function(e){return Z(this,new this.constructor(e))},B.dividedToIntegerBy=B.divToInt=function(e){var t=this.constructor;return z(Z(this,new t(e),0,1,1),t.precision,t.rounding)},B.equals=B.eq=function(e){return 0===this.cmp(e)},B.floor=function(){return z(new this.constructor(this),this.e+1,3)},B.greaterThan=B.gt=function(e){return this.cmp(e)>0},B.greaterThanOrEqualTo=B.gte=function(e){var t=this.cmp(e);return 1==t||0===t},B.hyperbolicCosine=B.cosh=function(){var e,t,r,i,n,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;
17r=o.precision,i=o.rounding,o.precision=r+Math.max(s.e,s.sd())+4,o.rounding=1,(n=s.d.length)<32?t=(1/eu(4,e=Math.ceil(n/3))).toString():(e=16,t="2.3283064365386962890625e-10"),s=ed(o,1,s.times(t),new o(1),!0);for(var d,u=e,l=new o(8);u--;)d=s.times(s),s=a.minus(d.times(l.minus(d.times(l))));return z(s,o.precision=r,o.rounding=i,!0)},B.hyperbolicSine=B.sinh=function(){var e,t,r,i,n=this,s=n.constructor;if(!n.isFinite()||n.isZero())return new s(n);if(t=s.precision,r=s.rounding,s.precision=t+Math.max(n.e,n.sd())+4,s.rounding=1,(i=n.d.length)<3)n=ed(s,2,n,n,!0);else{e=(e=1.4*Math.sqrt(i))>16?16:0|e,n=ed(s,2,n=n.times(1/eu(5,e)),n,!0);for(var o,a=new s(5),d=new s(16),u=new s(20);e--;)o=n.times(n),n=n.times(a.plus(o.times(d.times(o).plus(u))))}return s.precision=t,s.rounding=r,z(n,t,r,!0)},B.hyperbolicTangent=B.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,Z(this.sinh(),this.cosh(),r.precision=e,r.rounding=t)):new r(this.s)},B.inverseCosine=B.acos=function(){var e,t=this,r=t.constructor,i=t.abs().cmp(1),n=r.precision,s=r.rounding;return -1!==i?0===i?t.isNeg()?Y(r,n,s):new r(0):new r(NaN):t.isZero()?Y(r,n+4,s).times(.5):(r.precision=n+6,r.rounding=1,t=t.asin(),e=Y(r,n+4,s).times(.5),r.precision=n,r.rounding=s,e.minus(t))},B.inverseHyperbolicCosine=B.acosh=function(){var e,t,r=this,i=r.constructor;return r.lte(1)?new i(r.eq(1)?0:NaN):r.isFinite()?(e=i.precision,t=i.rounding,i.precision=e+Math.max(Math.abs(r.e),r.sd())+4,i.rounding=1,T=!1,r=r.times(r).minus(1).sqrt().plus(r),T=!0,i.precision=e,i.rounding=t,r.ln()):new i(r)},B.inverseHyperbolicSine=B.asinh=function(){var e,t,r=this,i=r.constructor;return!r.isFinite()||r.isZero()?new i(r):(e=i.precision,t=i.rounding,i.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,i.rounding=1,T=!1,r=r.times(r).plus(1).sqrt().plus(r),T=!0,i.precision=e,i.rounding=t,r.ln())},B.inverseHyperbolicTangent=B.atanh=function(){var e,t,r,i,n=this,s=n.constructor;return n.isFinite()?n.e>=0?new s(n.abs().eq(1)?n.s/0:n.isZero()?n:NaN):(e=s.precision,t=s.rounding,Math.max(i=n.sd(),e)<-(2*n.e)-1?z(new s(n),e,t,!0):(s.precision=r=i-n.e,n=Z(n.plus(1),new s(1).minus(n),r+e,1),s.precision=e+4,s.rounding=1,n=n.ln(),s.precision=e,s.rounding=t,n.times(.5))):new s(NaN)},B.inverseSine=B.asin=function(){var e,t,r,i,n=this,s=n.constructor;return n.isZero()?new s(n):(t=n.abs().cmp(1),r=s.precision,i=s.rounding,-1!==t?0===t?((e=Y(s,r+4,i).times(.5)).s=n.s,e):new s(NaN):(s.precision=r+6,s.rounding=1,n=n.div(new s(1).minus(n.times(n)).sqrt().plus(1)).atan(),s.precision=r,s.rounding=i,n.times(2)))},B.inverseTangent=B.atan=function(){var e,t,r,i,n,s,o,a,d,u=this,l=u.constructor,c=l.precision,p=l.rounding;if(u.isFinite()){if(u.isZero())return new l(u);if(u.abs().eq(1)&&c+4<=H)return(o=Y(l,c+4,p).times(.25)).s=u.s,o}else{if(!u.s)return new l(NaN);if(c+4<=H)return(o=Y(l,c+4,p).times(.5)).s=u.s,o}for(l.precision=a=c+10,l.rounding=1,e=r=Math.min(28,a/7+2|0);e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(T=!1,t=Math.ceil(a/7),i=1,d=u.times(u),o=new l(u),n=u;-1!==e;)if(n=n.times(d),s=o.minus(n.div(i+=2)),n=n.times(d),void 0!==(o=s.plus(n.div(i+=2))).d[t])for(e=t;o.d[e]===s.d[e]&&e--;);return r&&(o=o.times(2<<r-1)),T=!0,z(o,l.precision=c,l.rounding=p,!0)},B.isFinite=function(){return!!this.d},B.isInteger=B.isInt=function(){return!!this.d&&C(this.e/7)>this.d.length-2},B.isNaN=function(){return!this.s},B.isNegative=B.isNeg=function(){return this.s<0},B.isPositive=B.isPos=function(){return this.s>0},B.isZero=function(){return!!this.d&&0===this.d[0]},B.lessThan=B.lt=function(e){return 0>this.cmp(e)},B.lessThanOrEqualTo=B.lte=function(e){return 1>this.cmp(e)},B.logarithm=B.log=function(e){var t,r,i,n,s,o,a,d=this.constructor,u=d.precision,l=d.rounding;if(null==e)e=new d(10),t=!0;else{if(r=(e=new d(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new d(NaN);t=e.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new d(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(t)if(r.length>1)n=!0;else{for(i=r[0];i%10==0;)i/=10;n=1!==i}if(T=!1,G((a=Z(s=es(this,o=u+5),t?Q(d,o+10):es(e,o),o,1)).d,i=u,l))do if(o+=10,a=Z(s=es(this,o),t?Q(d,o+10):es(e,o),o,1),!n){+$(a.d).slice(i+1,i+15)+1==1e14&&(a=z(a,u+1,0));break}while(G(a.d,i+=10,l));return T=!0,z(a,u,l)},B.minus=B.sub=function(e){var t,r,i,n,s,o,a,d,u,l,c,p,m=this.constructor;if(e=new m(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new m(e.d||this.s!==e.s?this:NaN):e=new m(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);
17if(u=this.d,p=e.d,a=m.precision,d=m.rounding,!u[0]||!p[0]){if(p[0])e.s=-e.s;else{if(!u[0])return new m(3===d?-0:0);e=new m(this)}return T?z(e,a,d):e}if(r=C(e.e/7),l=C(this.e/7),u=u.slice(),s=l-r){for((c=s<0)?(t=u,s=-s,o=p.length):(t=p,r=l,o=u.length),s>(i=Math.max(Math.ceil(a/7),o)+2)&&(s=i,t.length=1),t.reverse(),i=s;i--;)t.push(0);t.reverse()}else{for((c=(i=u.length)<(o=p.length))&&(o=i),i=0;i<o;i++)if(u[i]!=p[i]){c=u[i]<p[i];break}s=0}for(c&&(t=u,u=p,p=t,e.s=-e.s),o=u.length,i=p.length-o;i>0;--i)u[o++]=0;for(i=p.length;i>s;){if(u[--i]<p[i]){for(n=i;n&&0===u[--n];)u[n]=1e7-1;--u[n],u[i]+=1e7}u[i]-=p[i]}for(;0===u[--o];)u.pop();for(;0===u[0];u.shift())--r;return u[0]?(e.d=u,e.e=W(u,r),T?z(e,a,d):e):new m(3===d?-0:0)},B.modulo=B.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])?(T=!1,9==r.modulo?(t=Z(this,e.abs(),0,3,1),t.s*=e.s):t=Z(this,e,0,r.modulo,1),t=t.times(e),T=!0,this.minus(t)):z(new r(this),r.precision,r.rounding):new r(NaN)},B.naturalExponential=B.exp=function(){return en(this)},B.naturalLogarithm=B.ln=function(){return es(this)},B.negated=B.neg=function(){var e=new this.constructor(this);return e.s=-e.s,z(e)},B.plus=B.add=function(e){var t,r,i,n,s,o,a,d,u,l,c=this.constructor;if(e=new c(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new c(e.d||this.s===e.s?this:NaN)):e=new c(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(u=this.d,l=e.d,a=c.precision,d=c.rounding,!u[0]||!l[0])return l[0]||(e=new c(this)),T?z(e,a,d):e;if(s=C(this.e/7),i=C(e.e/7),u=u.slice(),n=s-i){for(n<0?(r=u,n=-n,o=l.length):(r=l,i=s,o=u.length),n>(o=(s=Math.ceil(a/7))>o?s+1:o+1)&&(n=o,r.length=1),r.reverse();n--;)r.push(0);r.reverse()}for((o=u.length)-(n=l.length)<0&&(n=o,r=l,l=u,u=r),t=0;n;)t=(u[--n]=u[n]+l[n]+t)/1e7|0,u[n]%=1e7;for(t&&(u.unshift(t),++i),o=u.length;0==u[--o];)u.pop();return e.d=u,e.e=W(u,i),T?z(e,a,d):e},B.precision=B.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(M+e);return this.d?(t=X(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},B.round=function(){var e=this.constructor;return z(new e(this),this.e+1,e.rounding)},B.sine=B.sin=function(){var e,t,r=this,i=r.constructor;return r.isFinite()?r.isZero()?new i(r):(e=i.precision,t=i.rounding,i.precision=e+Math.max(r.e,r.sd())+7,i.rounding=1,r=function(e,t){var r,i=t.d.length;if(i<3)return t.isZero()?t:ed(e,2,t,t);r=(r=1.4*Math.sqrt(i))>16?16:0|r,t=ed(e,2,t=t.times(1/eu(5,r)),t);for(var n,s=new e(5),o=new e(16),a=new e(20);r--;)n=t.times(t),t=t.times(s.plus(n.times(o.times(n).minus(a))));return t}(i,el(i,r)),i.precision=e,i.rounding=t,z(v>2?r.neg():r,e,t,!0)):new i(NaN)},B.squareRoot=B.sqrt=function(){var e,t,r,i,n,s,o=this.d,a=this.e,d=this.s,u=this.constructor;if(1!==d||!o||!o[0])return new u(!d||d<0&&(!o||o[0])?NaN:o?this:1/0);for(T=!1,0==(d=Math.sqrt(+this))||d==1/0?(((t=$(o)).length+a)%2==0&&(t+="0"),d=Math.sqrt(t),a=C((a+1)/2)-(a<0||a%2),i=new u(t=d==1/0?"5e"+a:(t=d.toExponential()).slice(0,t.indexOf("e")+1)+a)):i=new u(d.toString()),r=(a=u.precision)+3;;)if(i=(s=i).plus(Z(this,s,r+2,1)).times(.5),$(s.d).slice(0,r)===(t=$(i.d)).slice(0,r))if("9999"!=(t=t.slice(r-3,r+1))&&(n||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(z(i,a+1,1),e=!i.times(i).eq(this));break}else{if(!n&&(z(s,a+1,0),s.times(s).eq(this))){i=s;break}r+=4,n=1}return T=!0,z(i,a,u.rounding,e)},B.tangent=B.tan=function(){var e,t,r=this,i=r.constructor;return r.isFinite()?r.isZero()?new i(r):(e=i.precision,t=i.rounding,i.precision=e+10,i.rounding=1,(r=r.sin()).s=1,r=Z(r,new i(1).minus(r.times(r)).sqrt(),e+10,0),i.precision=e,i.rounding=t,z(2==v||4==v?r.neg():r,e,t,!0)):new i(NaN)},B.times=B.mul=function(e){var t,r,i,n,s,o,a,d,u,l=this.constructor,c=this.d,p=(e=new l(e)).d;if(e.s*=this.s,!c||!c[0]||!p||!p[0])return new l(!e.s||c&&!c[0]&&!p||p&&!p[0]&&!c?NaN:!c||!p?e.s/0:0*e.s);for(r=C(this.e/7)+C(e.e/7),(d=c.length)<(u=p.length)&&(s=c,c=p,p=s,o=d,d=u,u=o),s=[],i=o=d+u;i--;)s.push(0);for(i=u;--i>=0;){for(t=0,n=d+i;n>i;)a=s[n]+p[i]*c[n-i-1]+t,s[n--]=a%1e7|0,t=a/1e7|0;s[n]=(s[n]+t)%1e7|0}for(;!s[--o];)s.pop();return t?++r:s.shift(),e.d=s,e.e=W(s,r),T?z(e,l.precision,l.rounding):e},B.toBinary=function(e,t){return ec(this,2,e,t)},B.toDecimalPlaces=B.toDP=function(e,t){var r=this,i=r.constructor;return r=new i(r),void 0===e?r:(J(e,0,1e9),void 0===t?t=i.rounding:J(t,0,8),z(r,e+r.e+1,t))},B.toExponential=function(e,t){var r,i=this,n=i.constructor;return void 0===e?r=K(i,!0):(J(e,0,1e9),void 0===t?t=n.rounding:J(t,0,8),r=K(i=z(new n(i),e+1,t),!0,e+1)),i.isNeg()&&!i.isZero()?"-"+r:r},B.toFixed=function(e,t){var r,i,n=this.constructor;return void 0===e?r=K(this):(J(e,0,1e9),void 0===t?t=n.rounding:J(t,0,8),r=K(i=z(new n(this),e+this.e+1,t),!1,e+i.e+1)),this.isNeg()&&!this.isZero()?"-"+r:r},B.toFraction=function(e){var t,r,i,n,s,o,a,d,u,l,c,p,m=this.d,h=this.constructor;if(!m)return new h(this);if(u=r=new h(1),i=d=new h(0),o=(s=(t=new h(i)).e=X(m)-this.e-1)%7,t.d[0]=F(10,o<0?7+o:o),null==e)e=s>0?t:u;else{if(!(a=new h(e)).isInt()||a.lt(u))throw Error(M+a);e=a.gt(t)?s>0?t:u:a}for(T=!1,a=new h($(m)),l=h.precision,h.precision=s=7*m.length*2;c=Z(a,t,0,1,1),1!=(n=r.plus(c.times(i))).cmp(e);)r=i,i=n,n=u,u=d.plus(c.times(n)),d=n,n=t,t=a.minus(c.times(n)),a=n;return n=Z(e.minus(r),i,0,1,1),d=d.plus(n.times(u)),r=r.plus(n.times(i)),d.s=u.s=this.s,p=1>Z(u,i,s,1).minus(this).abs().cmp(Z(d,r,s,1).minus(this).abs())?[u,i]:[d,r],h.precision=l,T=!0,p},B.toHexadecimal=B.toHex=function(e,t){return ec(this,16,e,t)},B.toNearest=function(e,t){var r=this,i=r.constructor;if(r=new i(r),null==e){if(!r.d)return r;e=new i(1),t=i.rounding}else{if(e=new i(e),void 0===t?t=i.rounding:J(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]?(T=!1,r=Z(r,e,0,t,1).times(e),T=!0,z(r)):(e.s=r.s,r=e),r},B.toNumber=function(){return+this},B.toOctal=function(e,t){return ec(this,8,e,t)},B.toPower=B.pow=function(e){var t,r,i,n,s,o,a=this,d=a.constructor,u=+(e=new d(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new d(F(+a,u));if((a=new d(a)).eq(1))return a;
17if(i=d.precision,s=d.rounding,e.eq(1))return z(a,i,s);if((t=C(e.e/7))>=e.d.length-1&&(r=u<0?-u:u)<=0x1fffffffffffff)return n=et(d,a,r,i),e.s<0?new d(1).div(n):z(n,i,s);if((o=a.s)<0){if(t<e.d.length-1)return new d(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=F(+a,u))&&isFinite(r)?new d(r+"").e:C(u*(Math.log("0."+$(a.d))/Math.LN10+a.e+1)))>d.maxE+1||t<d.minE-1?new d(t>0?o/0:0):(T=!1,d.rounding=a.s=1,r=Math.min(12,(t+"").length),(n=en(e.times(es(a,i+r)),i)).d&&G((n=z(n,i+5,1)).d,i,s)&&(t=i+10,+$((n=z(en(e.times(es(a,t+r)),t),t+5,1)).d).slice(i+1,i+15)+1==1e14&&(n=z(n,i+1,0))),n.s=o,T=!0,d.rounding=s,z(n,i,s))},B.toPrecision=function(e,t){var r,i=this,n=i.constructor;return void 0===e?r=K(i,i.e<=n.toExpNeg||i.e>=n.toExpPos):(J(e,1,1e9),void 0===t?t=n.rounding:J(t,0,8),r=K(i=z(new n(i),e,t),e<=i.e||i.e<=n.toExpNeg,e)),i.isNeg()&&!i.isZero()?"-"+r:r},B.toSignificantDigits=B.toSD=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(J(e,1,1e9),void 0===t?t=r.rounding:J(t,0,8)),z(new r(this),e,t)},B.toString=function(){var e=this.constructor,t=K(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},B.truncated=B.trunc=function(){return z(new this.constructor(this),this.e+1,1)},B.valueOf=B.toJSON=function(){var e=this.constructor,t=K(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var Z=function(){function e(e,t,r){var i,n=0,s=e.length;for(e=e.slice();s--;)i=e[s]*t+n,e[s]=i%r|0,n=i/r|0;return n&&e.unshift(n),e}function t(e,t,r,i){var n,s;if(r!=i)s=r>i?1:-1;else for(n=s=0;n<r;n++)if(e[n]!=t[n]){s=e[n]>t[n]?1:-1;break}return s}function r(e,t,r,i){for(var n=0;r--;)e[r]-=n,n=+(e[r]<t[r]),e[r]=n*i+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(i,n,s,o,a,d){var u,l,c,p,m,h,f,g,N,I,S,b,E,v,w,A,P,x,T,_,M=i.constructor,k=i.s==n.s?1:-1,O=i.d,R=n.d;if(!O||!O[0]||!R||!R[0])return new M(!i.s||!n.s||(O?R&&O[0]==R[0]:!R)?NaN:O&&0==O[0]||!R?0*k:k/0);for(d?(m=1,l=i.e-n.e):(d=1e7,m=7,l=C(i.e/m)-C(n.e/m)),T=R.length,P=O.length,I=(N=new M(k)).d=[],c=0;R[c]==(O[c]||0);c++);if(R[c]>(O[c]||0)&&l--,null==s?(v=s=M.precision,o=M.rounding):v=a?s+(i.e-n.e)+1:s,v<0)I.push(1),h=!0;else{if(v=v/m+2|0,c=0,1==T){for(p=0,R=R[0],v++;(c<P||p)&&v--;c++)w=p*d+(O[c]||0),I[c]=w/R|0,p=w%R|0;h=p||c<P}else{for((p=d/(R[0]+1)|0)>1&&(R=e(R,p,d),O=e(O,p,d),T=R.length,P=O.length),A=T,b=(S=O.slice(0,T)).length;b<T;)S[b++]=0;(_=R.slice()).unshift(0),x=R[0],R[1]>=d/2&&++x;do p=0,(u=t(R,S,T,b))<0?(E=S[0],T!=b&&(E=E*d+(S[1]||0)),(p=E/x|0)>1?(p>=d&&(p=d-1),g=(f=e(R,p,d)).length,b=S.length,1==(u=t(f,S,g,b))&&(p--,r(f,T<g?_:R,g,d))):(0==p&&(u=p=1),f=R.slice()),(g=f.length)<b&&f.unshift(0),r(S,f,b,d),-1==u&&(b=S.length,(u=t(R,S,T,b))<1&&(p++,r(S,T<b?_:R,b,d))),b=S.length):0===u&&(p++,S=[0]),I[c++]=p,u&&S[0]?S[b++]=O[A]||0:(S=[O[A]],b=1);while((A++<P||void 0!==S[0])&&v--);h=void 0!==S[0]}I[0]||I.shift()}if(1==m)N.e=l,y=h;else{for(c=1,p=I[0];p>=10;p/=10)c++;N.e=c+l*m-1,z(N,a?s+N.e+1:s,o,h)}return N}}();function z(e,t,r,i){var n,s,o,a,d,u,l,c,p,m=e.constructor;e:if(null!=t){if(!(c=e.d))return e;for(n=1,a=c[0];a>=10;a/=10)n++;if((s=t-n)<0)s+=7,o=t,d=(l=c[p=0])/F(10,n-o-1)%10|0;else if((p=Math.ceil((s+1)/7))>=(a=c.length))if(i){for(;a++<=p;)c.push(0);l=d=0,n=1,s%=7,o=s-7+1}else break e;else{for(l=a=c[p],n=1;a>=10;a/=10)n++;s%=7,d=(o=s-7+n)<0?0:l/F(10,n-o-1)%10|0}if(i=i||t<0||void 0!==c[p+1]||(o<0?l:l%F(10,n-o-1)),u=r<4?(d||i)&&(0==r||r==(e.s<0?3:2)):d>5||5==d&&(4==r||i||6==r&&(s>0?o>0?l/F(10,n-o):0:c[p-1])%10&1||r==(e.s<0?8:7)),t<1||!c[0])return c.length=0,u?(t-=e.e+1,c[0]=F(10,(7-t%7)%7),e.e=-t||0):c[0]=e.e=0,e;if(0==s?(c.length=p,a=1,p--):(c.length=p+1,a=F(10,7-s),c[p]=o>0?(l/F(10,n-o)%F(10,o)|0)*a:0),u)for(;;)if(0==p){for(s=1,o=c[0];o>=10;o/=10)s++;for(o=c[0]+=a,a=1;o>=10;o/=10)a++;s!=a&&(e.e++,1e7==c[0]&&(c[0]=1));break}else{if(c[p]+=a,1e7!=c[p])break;c[p--]=0,a=1}for(s=c.length;0===c[--s];)c.pop()}return T&&(e.e>m.maxE?(e.d=null,e.e=NaN):e.e<m.minE&&(e.e=0,e.d=[0])),e}function K(e,t,r){if(!e.isFinite())return eo(e);var i,n=e.e,s=$(e.d),o=s.length;return t?(r&&(i=r-o)>0?s=s.charAt(0)+"."+s.slice(1)+ee(i):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):n<0?(s="0."+ee(-n-1)+s,r&&(i=r-o)>0&&(s+=ee(i))):n>=o?(s+=ee(n+1-o),r&&(i=r-n-1)>0&&(s=s+"."+ee(i))):((i=n+1)<o&&(s=s.slice(0,i)+"."+s.slice(i)),r&&(i=r-o)>0&&(n+1===o&&(s+="."),s+=ee(i))),s}function W(e,t){var r=e[0];for(t*=7;r>=10;r/=10)t++;return t}function Q(e,t,r){if(t>U)throw T=!0,r&&(e.precision=r),Error(k);return z(new e(A),t,1,!0)}function Y(e,t,r){if(t>H)throw Error(k);return z(new e(P),t,r,!0)}function X(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}
vendor: 4,972 bytes, line 17
17function et(e,t,r,i){var n,s=new e(1),o=Math.ceil(i/7+4);for(T=!1;;){if(r%2&&ep((s=s.times(t)).d,o)&&(n=!0),0===(r=C(r/2))){r=s.d.length-1,n&&0===s.d[r]&&++s.d[r];break}ep((t=t.times(t)).d,o)}return T=!0,s}function er(e){return 1&e.d[e.d.length-1]}function ei(e,t,r){for(var i,n=new e(t[0]),s=0;++s<t.length;)if((i=new e(t[s])).s)n[r](i)&&(n=i);else{n=i;break}return n}function en(e,t){var r,i,n,s,o,a,d,u=0,l=0,c=0,p=e.constructor,m=p.rounding,h=p.precision;if(!e.d||!e.d[0]||e.e>17)return new p(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(T=!1,d=h):d=t,a=new p(.03125);e.e>-2;)e=e.times(a),c+=5;for(d+=i=Math.log(F(2,c))/Math.LN10*2+5|0,r=s=o=new p(1),p.precision=d;;){if(s=z(s.times(e),d,1),r=r.times(++l),$((a=o.plus(Z(s,r,d,1))).d).slice(0,d)===$(o.d).slice(0,d)){for(n=c;n--;)o=z(o.times(o),d,1);if(null!=t)return p.precision=h,o;if(!(u<3&&G(o.d,d-i,m,u)))return z(o,p.precision=h,m,T=!0);p.precision=d+=10,r=s=a=new p(1),l=0,u++}o=a}}function es(e,t){var r,i,n,s,o,a,d,u,l,c,p,m=1,h=e,f=h.d,g=h.constructor,N=g.rounding,I=g.precision;if(h.s<0||!f||!f[0]||!h.e&&1==f[0]&&1==f.length)return new g(f&&!f[0]?-1/0:1!=h.s?NaN:f?0:h);if(null==t?(T=!1,l=I):l=t,g.precision=l+=10,i=(r=$(f)).charAt(0),!(15e14>Math.abs(s=h.e)))return u=Q(g,l+2,I).times(s+""),h=es(new g(i+"."+r.slice(1)),l-10).plus(u),g.precision=I,null==t?z(h,I,N,T=!0):h;for(;i<7&&1!=i||1==i&&r.charAt(1)>3;)i=(r=$((h=h.times(e)).d)).charAt(0),m++;for(s=h.e,i>1?(h=new g("0."+r),s++):h=new g(i+"."+r.slice(1)),c=h,d=o=h=Z(h.minus(1),h.plus(1),l,1),p=z(h.times(h),l,1),n=3;;){if(o=z(o.times(p),l,1),$((u=d.plus(Z(o,new g(n),l,1))).d).slice(0,l)===$(d.d).slice(0,l))if(d=d.times(2),0!==s&&(d=d.plus(Q(g,l+2,I).times(s+""))),d=Z(d,new g(m),l,1),null!=t)return g.precision=I,d;else{if(!G(d.d,l-10,N,a))return z(d,g.precision=I,N,T=!0);g.precision=l+=10,u=o=h=Z(c.minus(1),c.plus(1),l,1),p=z(h.times(h),l,1),n=a=1}d=u,n+=2}}function eo(e){return String(e.s*e.s/0)}function ea(e,t){var r,i,n;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(r<0&&(r=i),r+=+t.slice(i+1),t=t.substring(0,i)):r<0&&(r=t.length),i=0;48===t.charCodeAt(i);i++);for(n=t.length;48===t.charCodeAt(n-1);--n);if(t=t.slice(i,n)){if(n-=i,e.e=r=r-i-1,e.d=[],i=(r+1)%7,r<0&&(i+=7),i<n){for(i&&e.d.push(+t.slice(0,i)),n-=7;i<n;)e.d.push(+t.slice(i,i+=7));i=7-(t=t.slice(i)).length}else i-=n;for(;i--;)t+="0";e.d.push(+t),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 ed(e,t,r,i,n){var s,o,a,d,u=e.precision,l=Math.ceil(u/7);for(T=!1,d=r.times(r),a=new e(i);;){if(o=Z(a.times(d),new e(t++*t++),u,1),a=n?i.plus(o):i.minus(o),i=Z(o.times(d),new e(t++*t++),u,1),void 0!==(o=a.plus(i)).d[l]){for(s=l;o.d[s]===a.d[s]&&s--;);if(-1==s)break}s=a,a=i,i=o,o=s}return T=!0,o.d.length=l+1,o}function eu(e,t){for(var r=e;--t;)r*=e;return r}function el(e,t){var r,i=t.s<0,n=Y(e,e.precision,1),s=n.times(.5);if((t=t.abs()).lte(s))return v=i?4:1,t;if((r=t.divToInt(n)).isZero())v=i?3:2;else{if((t=t.minus(r.times(n))).lte(s))return v=er(r)?i?2:3:i?4:1,t;v=er(r)?i?1:4:i?3:2}return t.minus(n).abs()}function ec(e,t,r,i){var n,s,o,a,d,u,l,c,p,m=e.constructor,h=void 0!==r;if(h?(J(r,1,1e9),void 0===i?i=m.rounding:J(i,0,8)):(r=m.precision,i=m.rounding),e.isFinite()){for(o=(l=K(e)).indexOf("."),h?(n=2,16==t?r=4*r-3:8==t&&(r=3*r-2)):n=t,o>=0&&(l=l.replace(".",""),(p=new m(1)).e=l.length-o,p.d=j(K(p),10,n),p.e=p.d.length),s=d=(c=j(l,10,n)).length;0==c[--d];)c.pop();if(c[0]){if(o<0?s--:((e=new m(e)).d=c,e.e=s,c=(e=Z(e,p,r,i,0,n)).d,s=e.e,u=y),o=c[r],a=n/2,u=u||void 0!==c[r+1],u=i<4?(void 0!==o||u)&&(0===i||i===(e.s<0?3:2)):o>a||o===a&&(4===i||u||6===i&&1&c[r-1]||i===(e.s<0?8:7)),c.length=r,u)for(;++c[--r]>n-1;)c[r]=0,r||(++s,c.unshift(1));for(d=c.length;!c[d-1];--d);for(o=0,l="";o<d;o++)l+=w.charAt(c[o]);if(h){if(d>1)if(16==t||8==t){for(o=16==t?4:3,--d;d%o;d++)l+="0";for(d=(c=j(l,n,t)).length;!c[d-1];--d);for(o=1,l="1.";o<d;o++)l+=w.charAt(c[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)l="0"+l;l="0."+l}else if(++s>d)for(s-=d;s--;)l+="0";else s<d&&(l=l.slice(0,s)+"."+l.slice(s))}else l=h?"0p+0":"0";l=(16==t?"0x":2==t?"0b":8==t?"0o":"")+l}else l=eo(e);return e.s<0?"-"+l:l}function ep(e,t){if(e.length>t)return e.length=t,!0}function em(e){return new this(e).abs()}function eh(e){return new this(e).acos()}function ef(e){return new this(e).acosh()}function eg(e,t){return new this(e).plus(t)}function eN(e){return new this(e).asin()}function eI(e){return new this(e).asinh()}function eS(e){return new this(e).atan()}function eb(e){return new this(e).atanh()}function eE(e,t){e=new this(e),t=new this(t);var r,i=this.precision,n=this.rounding,s=i+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(r=t.s<0?Y(this,i,n):new this(0)).s=e.s:!e.d||t.isZero()?(r=Y(this,s,1).times(.5)).s=e.s:t.s<0?(this.precision=s,this.rounding=1,r=this.atan(Z(e,t,s,1)),t=Y(this,s,1),this.precision=i,this.rounding=n,r=e.s<0?r.minu
17s(t):r.plus(t)):r=this.atan(Z(e,t,s,1)):(r=Y(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 ev(e){return z(e=new this(e),e.e+1,2)}function ew(e,t,r){return new this(e).clamp(t,r)}function eA(e){if(!e||"object"!=typeof e)throw Error(_+"Object expected");var t,r,i,n=!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],n&&(this[r]=x[r]),void 0!==(i=e[r]))if(C(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(M+r+": "+i);if(r="crypto",n&&(this[r]=x[r]),void 0!==(i=e[r]))if(!0===i||!1===i||0===i||1===i)if(i)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(O);else this[r]=!1;else throw Error(M+r+": "+i);return this}function eP(e){return new this(e).cos()}function ex(e){return new this(e).cosh()}function eT(e,t){return new this(e).div(t)}function e_(e){return new this(e).exp()}function eM(e){return z(e=new this(e),e.e+1,3)}function ek(){var e,t,r=new this(0);for(T=!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 T=!0,new this(1/0);r=t}return T=!0,r.sqrt()}function eO(e){return e instanceof eX||e&&e.toStringTag===R||!1}function eR(e){return new this(e).ln()}function eC(e,t){return new this(e).log(t)}function eF(e){return new this(e).log(2)}function eD(e){return new this(e).log(10)}function eL(){return ei(this,arguments,"lt")}function eV(){return ei(this,arguments,"gt")}function eq(e,t){return new this(e).mod(t)}function eU(e,t){return new this(e).mul(t)}function eH(e,t){return new this(e).pow(t)}function eB(e){var t,r,i,n,s=0,o=new this(1),a=[];if(void 0===e?e=this.precision:J(e,1,1e9),i=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(i));s<i;)(n=t[s])>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:a[s++]=n%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=4);s<i;)(n=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((127&t[s+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,s):(a.push(n%1e7),s+=4);s=i/4}else throw Error(O);else for(;s<i;)a[s++]=1e7*Math.random()|0;for(i=a[--s],e%=7,i&&e&&(n=F(10,7-e),a[s]=(i/n|0)*n);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(i=1,n=a[0];n>=10;n/=10)i++;i<7&&(r-=7-i)}return o.e=r,o.d=a,o}function e$(e){return z(e=new this(e),e.e+1,this.rounding)}function eJ(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eG(e){return new this(e).sin()}function ej(e){return new this(e).sinh()}function eZ(e){return new this(e).sqrt()}function ez(e,t){return new this(e).sub(t)}function eK(){var e=0,t=arguments,r=new this(t[0]);for(T=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return T=!0,z(r,this.precision,this.rounding)}function eW(e){return new this(e).tan()}function eQ(e){return new this(e).tanh()}function eY(e){return z(e=new this(e),e.e+1,1)}B[Symbol.for("nodejs.util.inspect.custom")]=B.toString,B[Symbol.toStringTag]="Decimal";var eX=B.constructor=function e(t){var r,i,n;function s(e){var t,r,i;if(!(this instanceof s))return new s(e);if(this.constructor=s,eO(e)){this.s=e.s,T?!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"==(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,r=e;r>=10;r/=10)t++;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 ea(this,e.toString())}if("string"!==i)throw Error(M+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,i,n,s,o,a,d,u,l;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(L.test(t))r=16,t=t.toLowerCase();else if(D.test(t))r=2;else if(V.test(t))r=8;else throw Error(M+t);for((s=t.search(/p/i))>0?(d=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),o=(s=t.indexOf("."))>=0,i=e.constructor,o&&(s=(a=(t=t.replace(".","")).length)-s,n=et(i,new i(r),s,2*s)),s=l=(u=j(t,r,1e7)).length-1;0===u[s];--s)u.pop();return s<0?new i(0*e.s):(e.e=W(u,l),e.d=u,T=!1,o&&(e=Z(e,n,4*a)),d&&(e=e.times(54>Math.abs(d)?F(2,d):eX.pow(2,d))),T=!0,e)}(this,e)}if(s.prototype=B,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=eA,s.clone=e,s.isDecimal=eO,s.abs=em,s.acos=eh,s.acosh=ef,s.add=eg,s.asin=eN,s.asinh=eI,s.atan=eS,s.atanh=eb,s.atan2=eE,s.cbrt=ey,s.ceil=ev,s.clamp=ew,s.cos=eP,s.cosh=ex,s.div=eT,s.exp=e_,s.floor=eM,s.hypot=ek,s.ln=eR,s.log=eC,s.log10=eD,s.log2=eF,s.max=eL,s.min=eV,s.mod=eq,s.mul=eU,s.pow=eH,s.random=eB,s.roun
17d=e$,s.sign=eJ,s.sin=eG,s.sinh=ej,s.sqrt=eZ,s.sub=ez,s.sum=eK,s.tan=eW,s.tanh=eQ,s.trunc=eY,void 0===t&&(t={}),t&&!0!==t.defaults)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<n.length;)t.hasOwnProperty(i=n[r++])||(t[i]=this[i]);return s.config(t),s}(x);A=new eX(A),P=new eX(P);var e0=eX}}]);
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.