PageSourceSearch

https://www.ovid.com/_next/static/chunks/622.061ad400966d0929.js

js ovid.com collected 2026-09-24 08:26:15 UTC 39,397 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[622],{10785:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AccountServiceAdapter:()=>m,ArticleAudioServiceAdapter:()=>f,ArticleBrowseServiceAdapter:()=>A,AssetServiceAdapter:()=>l,AzureBlobServiceAdapter:()=>v,BaseResilenceAdapter:()=>s,BrowsingServiceAdapter:()=>c,CitationServiceAdapter:()=>d,EntitlementServiceAdapter:()=>g,GetReferenceLinksServiceAdapater:()=>w,JournalBrowseServiceAdapter:()=>C,LicenseServiceAdapter:()=>_,MappingServiceAdapter:()=>o,OtpServiceAdapter:()=>S,PermissionServiceAdapter:()=>B,PricingServiceAdapter:()=>y,SdcLinksServiceAdapter:()=>E,TokenServiceAdapter:()=>u,TransactionalEmailServiceAdapter:()=>p,WatermarkServiceAdapter:()=>h});var i=r(35939),n=r(71597),a=r(91097);class s{retry(){return this._circuitBreakerPolicy?(0,i.LV)(this._circuitBreakerPolicy,this._retryPolicy):this._retryPolicy}constructor(e,t,r,s){this._retryPolicy=(0,i.L5)((0,i.jU)(e=>{let t=null==e?void 0:e.StatusCode;return t===a.HttpStatusCodes.INTERNAL_SERVER_ERROR||t===a.HttpStatusCodes.BAD_GATEWAY||t===a.HttpStatusCodes.SERVICE_UNAVAILABLE||t===a.HttpStatusCodes.GATEWAY_TIMEOUT}),{maxAttempts:3,backoff:new n._({maxDelay:1e4,initialDelay:1e3})}),this.cacheClient=e,this._retryPolicy=null!=t?t:this._retryPolicy,this._circuitBreakerPolicy=r,this.ttl=s}}class c extends s{async getArticlesByIssueId(e,t,r){let i="getArticlesByIssueId_".concat(r,"_").concat(e,"_").concat(t);return await this.cacheClient.getResponse(i,()=>this.retry().execute(()=>this.browsingService.getArticlesByIssueId(e,t,r)),this.ttl)}async getIssuesByJournal(e,t){let r="getIssuesByJournal_".concat(e,"_").concat(t);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this.browsingService.getIssuesByJournal(e,t)),this.ttl)}async getArticleInfoByAn(e,t,r){return await this.retry().execute(()=>this.browsingService.getArticleInfoByAn(e,t,r))}async getArticleInfoByDoi(e,t,r){return await this.retry().execute(()=>this.browsingService.getArticleInfoByDoi(e,t,r))}constructor(e,t,r,i,n){super(t,r,i,n),this.browsingService=e}}class o extends s{async getArticle(e,t,r){let i="getArticle_".concat(e,"_").concat(t,"_").concat(r);return await this.cacheClient.getResponse(i,()=>this.retry().execute(()=>this.mappingService.getArticle(e,t,r)),this.ttl)}async getRelatedArticles(e,t,r){let i="getRelatedArticles_".concat(e,"_").concat(t,"_").concat(null!=r?r:"");return await this.cacheClient.getResponse(i,()=>this.retry().execute(()=>this.mappingService.getRelatedArticles(e,t,r)),this.ttl)}async getArticleByDoi(e,t){return await this.getArticle(a.Platform.mapping.article.doi,e,t)}async getArticleByWkmrId(e,t){return await this.getArticle(a.Platform.mapping.article.wkmrid,e,t)}async getArticleByPubMedId(e,t){return await this.getArticle(a.Platform.mapping.article.pmid,e,t)}async getArticleByAccessionNumber(e,t){return await this.getArticle(a.Platform.mapping.article.an,e,t)}async getRelatedArticlesByDoi(e,t){return await this.getRelatedArticles(a.Platform.mapping.article.doi,e,t)}async getRelatedArticlesByWkmrId(e,t){return await this.getRelatedArticles(a.Platform.mapping.article.wkmrid,e,t)}async getRelatedArticlesByAccessionNumber(e,t){return await this.getRelatedArticles(a.Platform.mapping.article.an,e,t)}constructor(e,t,r,i,n){super(t,r,i,n),this.mappingService=e}}class l extends s{async getSkinnyJson(e,t){let r="getSkinnyJson_".concat(e);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this._assetService.getSkinnyJson(e,t)),this.ttl)}async getAssetJson(e,t){let r="getAssetJson_".concat(e);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this._assetService.getAssetJson(e,t)),this.ttl)}async getAsset(e,t){return await this.retry().execute(()=>this._assetService.getAsset(e,t))}constructor(e,t,r,i,n){super(t,r,i,n),this._assetService=e}}class u extends s{async getPublicToken(){return await this.cacheClient.getResponse("getPublicToken",()=>this.retry().execute(()=>this._tokenService.getPublicToken()),this._publicTokenTTL)}async getToken(e){let t="getToken_".concat(e);return await this.cacheClient.getResponse(t,()=>this.retry().execute(()=>this._tokenService.getToken(e)),this.ttl)}constructor(e,t,r,i,n,a){super(t,r,i,n),this._tokenService=e,this._publicTokenTTL=a}}class h extends s{async getPdf(e){return await this.retry().execute(()=>this._watermarkService.getPdf(e))}constructor(e,t,r){super(null,t,r),this._watermarkService=e}}class g extends s{async getHasAccess(e,t,r,i){let n=this.normalizeInstitutionIds(i),a=n.join(","),s="getHasAccess_".concat(e,"_").concat(t,"_").concat(r,"_").concat(a);return await this.cacheClient.getResponse(s,()=>this.retry().execute(()=>this._entitlementService.getHasAccess(e,t,r,n)),this.ttl)}normalizeInstitutionIds(e){let t=new Set;return(null!=e?e:[]).map(e=>e.trim()).filter(e=>!(!e||t.has(e))&&(t.add(e),!0))}
1constructor(e,t,r,i){super(t,r,i),this._entitlementService=e}}class _ extends s{async acquireLicense(e){return await this.retry().execute(()=>this._licenseService.acquireLicense(e))}async releaseLicense(e){return await this.retry().execute(()=>this._licenseService.releaseLicense(e))}constructor(e,t,r){super(null,t,r),this._licenseService=e}}class d extends s{async getExternalCitations(e){return await this.retry().execute(()=>this._citationService.getExternalCitations(e))}async getCitations(e){return await this.retry().execute(()=>this._citationService.getCitations(e))}async getCitationRIS(e){return await this.retry().execute(()=>this._citationService.getCitationRIS(e))}constructor(e,t,r){super(null,t,r),this._citationService=e}}class y extends s{async getArticlePriceByJournalSerialCode(e){let t="getArticlePriceByJournalSerialCode_".concat(e);return await this.cacheClient.getResponse(t,()=>this.retry().execute(()=>this._pricingService.getArticlePriceByJournalSerialCode(e)),this.articlePriceTtl)}async getTaxAmountForPrice(e,t,r,i){let n=["getTaxAmountForPrice_".concat(e),t];r&&n.push(r),i&&n.push(i);let a=n.join("_");return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this._pricingService.getTaxAmountForPrice(e,t,r,i)),this.taxAmountTtl)}constructor(e,t,r,i,n,a){super(t,n,a),this._pricingService=e,this.articlePriceTtl=r,this.taxAmountTtl=i}}class S extends s{async getOtp(e){return await this.retry().execute(()=>this._otpService.getOtp(e))}async verifyOtp(e,t){return await this.retry().execute(()=>this._otpService.verifyOtp(e,t))}constructor(e,t,r){super(null,t,r),this._otpService=e}}class p extends s{async sendOtpEmail(e,t,r){return await this.retry().execute(()=>this._transactionalEmailService.sendOtpEmail(e,t,r))}constructor(e,t,r){super(null,t,r),this._transactionalEmailService=e}}class C extends s{async getJournalInfo(e,t){let r="".concat(C.name,"_getJournalInfo_").concat(e,"_").concat(t);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this.journalBrowseService.getJournalInfo(e,t)),this.ttl)}async getYears(e,t){let r="".concat(C.name,"_getYears_").concat(e,"_").concat(t);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this.journalBrowseService.getYears(e,t)),this.ttl)}async getIssuesByYear(e,t,r){let i="".concat(C.name,"_getIssuesByYear_").concat(e,"_").concat(t,"_").concat(r);return await this.cacheClient.getResponse(i,()=>this.retry().execute(()=>this.journalBrowseService.getIssuesByYear(e,t,r)),this.ttl)}async getIssueToc(e,t,r,i,n,a,s,c,o,l){let u="".concat(C.name,"_getIssueToc_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n,"_").concat(a,"_").concat(s,"_").concat(c,"_").concat(o,"_").concat(l);return await this.cacheClient.getResponse(u,()=>this.retry().execute(()=>this.journalBrowseService.getIssueToc(e,t,r,i,n,a,s,c,o,l)),this.ttl)}async getCurrentIssueToc(e,t,r,i,n,a,s,c){let o="".concat(C.name,"_getCurrentIssueToc_").concat(e,"_").concat(t,"_").concat(n,"_").concat(a,"_").concat(s,"_").concat(c,"_").concat(r,"_").concat(i);return await this.cacheClient.getResponse(o,()=>this.retry().execute(()=>this.journalBrowseService.getCurrentIssueToc(e,t,r,i,n,a,s,c)),this.ttl)}async getLatestArticles(e,t,r,i,n){let a="".concat(C.name,"_getLatestArticles_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getLatestArticles(e,t,r,i,n)),this.ttl)}async getPapArticles(e,t,r,i){let n="".concat(C.name,"_getPapArticles_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i);return await this.cacheClient.getResponse(n,()=>this.retry().execute(()=>this.journalBrowseService.getPapArticles(e,t,r,i)),this.ttl)}async getMostPopularArticles(e,t,r,i,n,a){let s="".concat(C.name,"_getMostPopularArticles_").concat(e,"_").concat(t,"_").concat(n,"_").concat(a,"_").concat(r,"_").concat(i||"");return await this.cacheClient.getResponse(s,()=>this.retry().execute(()=>this.journalBrowseService.getMostPopularArticles(e,t,r,i,n,a)),this.ttl)}async getCollections(e,t,r,i){let n="".concat(C.name,"_getCollections_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i);return await this.cacheClient.getResponse(n,()=>this.retry().execute(()=>this.journalBrowseService.getCollections(e,t,r,i)),this.ttl)}async getCollection(e,t,r,i,n){let a="".concat(C.name,"_getCollection_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getCollection(e,t,r,i,n)),this.ttl)}async getCollectionByTitle(e,t,r,i,n){let a="".concat(C.name,"_getCollectionByTitle_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getCollectionByTitle(e,t,r,i,n)),this.ttl)}async getCurrentIssueHighlights(e,t,r,i,n){let a="".concat(C.name,"_getCurrentIssueHighlights_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getCurrentIssueHighlights(e,t,r,i,n)),C.CURRENT_ISSUE_HIGHLIGHTS_TTL_SECONDS)}async getEpisodes(e,t,r,i,n){let a="".concat(C.name,"_getEpisodes_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getEpisodes(e,t,r,i,n)),this.ttl)}async getPodcasts(e,t,r,i){let n="".concat(C.name,"_getPodcasts_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i);return await this.cacheClient.getResponse(n,()=>this.retry().execute(()=>this.journalBrowseService.getPodcasts(e,t,r,i)),this.ttl)}async getVideos(e,t,r,i,n){let a="".concat(C.name,"_getVideos_").concat(e,"_").concat(t,"_").concat(i,"_").concat(n,"_").concat(r);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getVideos(e,t,r,i,n)),this.ttl)}async getVideo(e,t,r){let i="".concat(C.name,"_getVideo_").concat(e,"_").concat(t,"_").concat(r);return await this.cacheClient.getResponse(i,()=>this.retry().execute(()=>this.journalBrowseService.getVideo(e,t,r)),this.ttl)}async getMostPopularVideos(e,t,r,i,n){let a="".concat(C.name,"_getMostPopularVideos_").concat(e,"_").concat(t,"_").concat(i,"_").concat(n,"_").concat(r);return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getMostPopularVideos(e,t,r,i,n)),this.ttl)}async getJournalsMetadata(e){let t="".concat(C.name,"_getJournalsMetadata_").concat(e);return await this.cacheClient.getResponse(t,()=>this.retry().execute(()=>this.journalBrowseService.getJournalsMetadata(e)),this.ttl)}async getSocietyIdpConfig(e,t){let r="".concat(C.name,"_getSocieties_").concat(t);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this.journalBrowseService.getSocietyIdpConfig(e,t)),this.ttl)}async getJournals(e,t,r,i,n){let a="".concat(C.name,"_getJournals_").concat(e,"_").concat(t,"_").concat(r,"_").concat(i,"_").concat(n||"");return await this.cacheClient.getResponse(a,()=>this.retry().execute(()=>this.journalBrowseService.getJournals(e,t,r,i,n)),this.ttl)}async getSocietyBySocietyUniqueId(e,t){let r="".concat(C.name,"_getSocieties_").concat(t);return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this.journalBrowseService.getSocietyBySocietyUniqueId(e,t)),this.ttl)}constructor(e,t,r,i,n){super(t,r,i,n),this.journalBrowseService=e}}C.CURRENT_ISSUE_HIGHLIGHTS_TTL_SECONDS=60;class A extends s{async getArticleViewMetadata(e){let{an:t="",doi:r="",pmid:i="",source:n="",clientId:a="",journalId:s="",year:c="",issueId:o="",articleId:l=""}=e,u="".concat(A.name,"_getArticleViewMetadata_"),h=(null==r?void 0:r.trim())||(null==t?void 0:t.trim())||(null==i?void 0:i.trim())||[s,c,o,l].filter(
1Boolean).join("_"),g="".concat(u).concat(a,"_").concat(h,"_").concat(n);return await this.cacheClient.getResponse(g,()=>this.retry().execute(()=>this.articleBrowseService.getArticleViewMetadata(e)),this.ttl)}constructor(e,t,r,i,n){super(t,r,i,n),this.articleBrowseService=e}}class E extends s{async getSdcLinks(e){let t=e.map(e=>e.replace(/\W/g,"")),r="".concat(E.name,"_getSdcLinks_").concat(t.join("_"));return await this.cacheClient.getResponse(r,()=>this.retry().execute(()=>this.getSdcLinksService.getSdcLinks(e)),this.ttl)}constructor(e,t,r,i,n){super(t,r,i,n),this.getSdcLinksService=e}}class v extends s{async uploadBlobAsStream(e,t){return await this.retry().execute(()=>{var r;return null==(r=this.azureBlobService)?void 0:r.uploadBlobAsStream(e,t)})}async uploadBlobAsBuffer(e,t){return await this.retry().execute(()=>{var r;return null==(r=this.azureBlobService)?void 0:r.uploadBlobAsBuffer(e,t)})}async getBlob(e){let t="".concat(v.name,"_getBlob_").concat(e);return await this.cacheClient.getResponse(t,()=>this.retry().execute(()=>{var t;return null==(t=this.azureBlobService)?void 0:t.getBlob(e)}),this.ttl)}async getBlobWithEtag(e){let t="".concat(v.name,"_getBlobWithEtag_").concat(e);return await this.cacheClient.getResponse(t,()=>this.retry().execute(()=>{var t;return null==(t=this.azureBlobService)?void 0:t.getBlobWithEtag(e)}),this.ttl)}async uploadBlobAsStreamWithEtag(e,t,r){return await this.retry().execute(()=>{var i;return null==(i=this.azureBlobService)?void 0:i.uploadBlobAsStreamWithEtag(e,t,r)})}constructor(e,t,r,i,n){super(t,r,i,n),this.azureBlobService=e}}class m extends s{async upsertProfile(e){return await this.retry().execute(()=>this.profileService.upsertProfile(e))}async updateProfile(e,t){return await this.retry().execute(()=>this.profileService.updateProfile(e,t))}async getAuthToken(e){return await this.retry().execute(()=>this.profileService.getAuthToken(e))}async getUserSession(e){var t,r,i,n,a,s,c;if(!this.cacheClient||!(null==(t=e.sessionId)?void 0:t.trim()))return await this.retry().execute(()=>this.profileService.getUserSession(e));let o="".concat(m.name,"_getUserSession_").concat(e.sessionId,"_").concat(null!=(n=e.accountId)?n:"","_").concat(null!=(a=null==(r=e.email)?void 0:r.trim().toLowerCase())?a:""),l=await this.cacheClient.getResponse(o,()=>this.retry().execute(()=>this.profileService.getUserSession(e)),this.ttl);return l&&Object.keys(l).length>0?console.info("[AccountServiceAdapter] getUserSession resolved. cacheKey: ".concat(o)):console.warn("[AccountServiceAdapter] getUserSession returned null or empty. cacheKey: ".concat(o,", request: ").concat(JSON.stringify(e))),!e.includeRoles||(null==l||null==(i=l.roles)?void 0:i.length)||console.warn("[AccountServiceAdapter] getUserSession requested roles but none returned. cacheKey: ".concat(o,", rolesCount: ").concat(null!=(c=null==l||null==(s=l.roles)?void 0:s.length)?c:0,", request: ").concat(JSON.stringify(e))),l}async getUserRolesByEmail(e){return await this.retry().execute(()=>this.profileService.getUserRolesByEmail(e))}async checkUserExistence(e){if(!e.customerId&&!e.memberId&&!e.emailAddress)throw Error("At least one lookup criterion (customerId, memberId, or emailAddress) is required");return await this.retry().execute(()=>this.profileService.checkUserExistence(e))}async getAspsMemberId(e,t){var r;let i=null==(r=this.profileService.getAspsMemberId)?void 0:r.bind(this.profileService);return i?await this.retry().execute(()=>i(e,t)):{memberId:null}}constructor(e,t,r,i,n){super(t,r,i,n),this.profileService=e}}class B extends s{async getRightsLink(e){return await this.retry().execute(()=>this._permissionService.getRightsLink(e))}constructor(e,t,r){super(null,t,r),this._permissionService=e}}class w extends s{upsertArticleReferenceLinks(e,t){return this.retry().execute(()=>this._getReferenceLinksService.upsertArticleReferenceLinks(e,t))}async getReferenceLinks(e){let t="cacheKey_".concat(e);return await this.cacheClient.getResponse(t,()=>this.retry().execute(()=>this._getReferenceLinksService.getReferenceLinks(e)),this.ttl)}constructor(e,t,r,i,n){super(t,r,i,n),this._getReferenceLinksService=e}}class f extends s{async getArticleAudio(e){return await this.retry().execute(()=>this._articleAudioService.getArticleAudio(e))}constructor(e,t,r){super(void 0,t,r),this._articleAudioService=new a.ArticleAudioService(e)}}},13535:()=>{},27868:(e,t,r)=>{"use strict";r.d(t,{M:()=>u});
1class i{setClient(e){this.client=e,this.client&&this.options&&(this.client.isEnabled=this.options.enabled,this.client.defaultTTL=this.options.ttlSeconds)}setFallbackClient(e){this.fallbackClient=e}setOptions(e){this.options=e}constructor(){this.fallbackClient=null,this.options=null}}let n=new i;class a{getClientTTL(){return this._nodeCacheClient.options.stdTTL||0}async getResponse(e,t,r){if(this.isEnabled){let i=await this.get(e);return i?(console.log("returning from cache for key : ".concat(e)),Promise.resolve(i)):((i=await t())&&this.set(e,i,r),i)}return await t()}async get(e){return this._nodeCacheClient.get(e)}async set(e,t,r){this._nodeCacheClient.set(e,t,null!=r?r:this.defaultTTL)}async del(e){return this._nodeCacheClient.del(e)}async keys(e){let t=this._nodeCacheClient.keys(),r=RegExp(e,"g"),i=[];for(let e of t)Array.isArray(e.match(r))&&i.push(e);return i}async delHash(e){let t=(Array.isArray(e)?e:[e]).map(e=>this.keys(e).then(this.del));await Promise.all(t)}constructor(e){this.isEnabled=!0,this._nodeCacheClient=e}}r(40943);var s=r(45972),c=r.n(s),o=r(43372);let l=r.g;l.instance||(l.instance=((e,t,r)=>{let i=new a(e);return t&&n.setOptions(t),r?n.setFallbackClient(i):n.setClient(i),n})(new(c())({useClones:!1}),{enabled:o.F.getBooleanSetting(o.B.MEMORY_CACHE_ENABLED),ttlSeconds:o.F.getNumericSetting(o.B.MEMORY_CACHE_DEFAULT_TTL_IN_SEC,600)}));let u=l.instance},33508:(e,t,r)=>{"use strict";let i,n,a,s,c,o,l,u;r.d(t,{bV:()=>Z,dQ:()=>H,fA:()=>G,up:()=>D,w3:()=>ei});var h,g,_,d,y,S,p,C,A,E,v,m,B,w,f,b=r(98491),R=r(10785),T=r(43372),L=r(27868),I=r(87056),O=r(51106),N=r(99742);let x=r.g,P={useMultipleWriteLocations:!!(null==(g=N.env.AZURE_COSMOS_MULTI_WRITE_LOCATIONS)||g),preferredLocations:null!=(_=null==(h=N.env.AZURE_COSMOS_PREFERRED_LOCATIONS)?void 0:h.split(","))?_:["East US"]},U={endpoint:null!=(d=N.env.AZURE_COSMOS_DB_ENDPOINT)?d:"",key:null!=(y=N.env.AZURE_COSMOS_DB_KEY)?y:"",connectionPolicy:P};try{i=new b.bg(U,null!=(S=N.env.AZURE_COSMOS_DB_NAME)?S:"",null!=(p=N.env.AZURE_COSMOS_DB_CONTAINER_ID)?p:"")}catch(e){console.error("[AzureClientInstance] Failed to initialize primary Cosmos DB service",e)}let M={endpoint:null!=(C=N.env.AZURE_PPV_TRANSIENT_COSMOS_DB_ENDPOINT)?C:"",key:null!=(A=N.env.AZURE_PPV_TRANSIENT_COSMOS_DB_KEY)?A:"",connectionPolicy:P};try{n=new b.bg(M,null!=(E=N.env.AZURE_PPV_TRANSIENT_COSMOS_DB_NAME)?E:"",null!=(v=N.env.AZURE_PPV_TRANSIENT_COSMOS_DB_CONTAINER_ID)?v:"")}catch(e){console.error("[AzureClientInstance] Failed to initialize PPV Transient Cosmos DB service",e)}let k=r.g;k.ppvTransientCosmosService||(k.ppvTransientCosmosService=n);let D=k.ppvTransientCosmosService,F={endpoint:null!=(m=N.env.AZURE_PPV_ARCHIVE_COSMOS_DB_ENDPOINT)?m:"",ke
1y:null!=(B=N.env.AZURE_PPV_ARCHIVE_COSMOS_DB_KEY)?B:"",connectionPolicy:P};try{a=new b.bg(F,null!=(w=N.env.AZURE_PPV_ARCHIVE_COSMOS_DB_NAME)?w:"",null!=(f=N.env.AZURE_PPV_ARCHIVE_COSMOS_DB_CONTAINER_ID)?f:"")}catch(e){console.error("[AzureClientInstance] Failed to initialize PPV Archive Cosmos DB service",e)}let V=r.g;V.ppvArchiveCosmosService||(V.ppvArchiveCosmosService=a),V.ppvArchiveCosmosService;try{s=new b.Au(T.F.getSetting(T.B.AZURE_STORAGE_BLOB_SERVICE_URL),T.F.getSetting(T.B.AZURE_STORAGE_ACCOUNT_NAME),T.F.getSetting(T.B.AZURE_STORAGE_ACCOUNT_KEY),T.F.getSetting(T.B.AZURE_STORAGE_CONTAINER_NAME))}catch(e){console.error("[AzureClientInstance] Failed to initialize Blob Storage service",e)}let J=T.F.getNumericSetting(T.B.AZURE_BLOB_CACHE_TTL_SEC,600),z=new R.AzureBlobServiceAdapter(s,L.M.client,new I.ResliencyPolicy().retry,new I.ResliencyPolicy().circuitBreakerPolicy,J);try{c=new b.Au(T.F.getSetting(T.B.AZURE_STORAGE_BLOB_SERVICE_URL),T.F.getSetting(T.B.AZURE_STORAGE_ACCOUNT_NAME),T.F.getSetting(T.B.AZURE_STORAGE_ACCOUNT_KEY),T.F.getSetting(T.B.HTML_AZURE_STORAGE_CONTAINER_NAME))}catch(e){console.error("[AzureClientInstance] Failed to initialize HTML Blob Storage service",e)}x.cosmosService||(x.cosmosService=i),x.blobService||(x.blobService=z);let H={blobService:x.blobService,cosmosService:x.cosmosService};try{o=new b.bg(U,T.F.getSettingOrDefault(T.B.AZURE_COSMOS_COUNTER_DB_NAME,""),T.F.getSettingOrDefault(T.B.AZURE_COSMOS_COUNTER_DB_CONTAINER_ID,""))}catch(e){console.error("[AzureClientInstance] Failed to initialize Counter Cosmos DB service",e)}let j=r.g;j.counterCosmosService||(j.counterCosmosService=o);let Z=j.counterCosmosService,Y=r.g;Y.htmlBlobService||(Y.htmlBlobService=c),Y.htmlBlobService;try{l=new b.Au(T.F.getSettingOrDefault(T.B.AZURE_STORAGE_STATIC_BLOB_SERVICE_URL,""),T.F.getSettingOrDefault(T.B.AZURE_STORAGE_STATIC_ACCOUNT_NAME,""),T.F.getSettingOrDefault(T.B.AZURE_STORAGE_STATIC_ACCOUNT_KEY,""),T.F.getSettingOrDefault(T.B.AZURE_STORAGE_STATIC_CONTAINER_NAME,"$web"))}catch(e){console.error("[AzureClientInstance] Failed to initialize Static Blob Storage service",e)}let W=r.g;W.azureStaticBlobService||(W.azureStaticBlobService=l);let G=W.azureStaticBlobService;try{u=new b.Au(T.F.getSetting(T.B.LAYOUT_BLOB_SERVICE_URL),T.F.getSetting(T.B.LAYOUT_BLOB_ACCOUNT_NAME),T.F.getSetting(T.B.LAYOUT_BLOB_ACCOUNT_KEY),T.F.getSetting(T.B.LAYOUT_BLOB_CONTAINER_NAME))}catch(e){console.error("[AzureClientInstance] Failed to initialize Layout Blob Storage service",e)}let q=r.g,K=(0,O.fi)(console);try{q.fusionCache||(q.fusionCache=(0,O.ak)("layout-cache").withLogger(K).withL1({maxItems:T.F.getNumericSetting(T.B.LAYOUT_BLOB_CACHE_MAX_ITEMS,1e4),maxMemoryMb:T.F.getNumericSetting(T.B.LAYOUT_BLOB_CACHE_MAX_MEMORY_MB,256)}).withDefaultOptions({ttl:"".concat(T.F.getNumericSetting(T.B.LAYOUT_BLOB_CACHE_TTL_SEC,600),"s"),enabled:T.F.getBooleanSetting(T.B.LAYOUT_BLOB_CACHE_ENABLED)}).build())}catch(e){console.error("[AzureClientInstance] Failed to initialize layout fusion cache",e)}let X=q.fusionCache,Q="true"===T.F.getSettingOrDefault(T.B.ARTICLE_VIEWER_CACHE_ENABLED,"true"),$="true"===T.F.getSettingOrDefault(T.B.ARTICLE_VIEWER_CACHE_L2_ENABLED,"true"),ee=T.F.getNumericSetting(T.B.ARTICLE_VIEWER_CACHE_L1_TTL_SEC,300),et=T.F.getNumericSetting(T.B.ARTICLE_VIEWER_CACHE_L2_TTL_SEC,T.F.getNumericSetting(T.B.ARTICLE_VIEWER_CACHE_TTL_SEC,43200)),er=r.g;try{if(!er.articleViewerCache){let e=new O.XX(T.F.getSetting(T.B.AZURE_STORAGE_BLOB_SERVICE_URL),T.F.getSetting(T.B.AZURE_STORAGE_ACCOUNT_NAME),T.F.getSetting(T.B.AZURE_STORAGE_ACCOUNT_KEY),T.F.getSettingOrDefault(T.B.ARTICLE_VIEWER_CACHE_CONTAINER_NAME,T.F.getSetting(T.B.HTML_AZURE_STORAGE_CONTAINER_NAME))),t=(0,O.ak)("article-viewer-cache-l1").withLogger(K).withL1({maxItems:T.F.getNumericSetting(T.B.ARTICLE_VIEWER_CACHE_MAX_ITEMS,1e4),maxMemoryMb:T.F.getNumericSetting(T.B.ARTICLE_VIEWER_CACHE_MAX_MEMORY_MB,256)}).withDefaultOptions({ttl:"".concat(ee,"s"),enabled:Q}).build(),r=(0,O.ak)("article-viewer-cache-l2").withLogger(K).withL1({enabled:!1}).withL2(e,Q&&$).withDefaultOptions({ttl:"".concat(et,"s"),suppressL2Errors:!0,enabled:Q&&$}).build();er.articleViewerCache=new O.sq(t,r,ee,Q)}}catch(e){console.error("[AzureClientInstance] Failed to initialize ArticleViewer cache",e)}let ei=er.articleViewerCache;try{let e=r.g;e.layoutBlobService||(e.layoutBlobService=new R.AzureBlobServiceAdapter(u,X,new I.ResliencyPolicy().retry,new I.ResliencyPolicy().circuitBreakerPolicy,T.F.getNumericSetting(T.B.LAYOUT_BLOB_CACHE_TTL_SEC,600))),e.layoutBlobService}catch(e){console.error("[AzureClientInstance] Failed to initialize layout blob client",e)}},51106:(e,t,r)=>{"use strict";r.d(t,{XX:()=>c,sq:()=>u,ak:()=>_,fi:()=>function e(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(e,i,n)=>{if(i instanceof Error)return void t[e](i.message,{...r,error:i});let a="string"==typeof i?i:null!=n?n:"[BentoCache]",s="string"==typeof i?r:{...r,...i};if(Object.keys(s).length>0)return void t[e](a,s);t[e](a)};return{trace:(e,t)=>i("debug",e,t),debug:(e,t)=>i("debug",e,t),info:(e,t)=>i("info",e,t),warn:(e,t)=>i("warn",e,t),error:(e,t)=>
1i("error",e,t),fatal:(e,t)=>i("error",e,t),child:i=>e(t,{...r,...i})}}});var i=r(89783),n=r(85346),a=r(84761),s=r(51642).hp;class c{async get(e){try{let t=this.containerClient.getBlobClient(this.sanitizeKey(e)),r=await t.download();if(!r.readableStreamBody)return;let i=[];for await(let e of r.readableStreamBody)i.push(e);return s.concat(i).toString("utf-8")}catch(e){if(404===e.statusCode)return;throw e}}async pull(e){let t=await this.get(e);return void 0!==t&&await this.delete(e),t}async set(e,t,r){var i;let n=this.containerClient.getBlockBlobClient(this.sanitizeKey(e));return await n.upload(t,s.byteLength(t),{blobHTTPHeaders:{blobContentType:"application/json"},metadata:{ttl:null!=(i=null==r?void 0:r.toString())?i:"",createdAt:new Date().toISOString()}}),!0}async delete(e){return(await this.containerClient.getBlobClient(this.sanitizeKey(e)).deleteIfExists()).succeeded}async has(e){return this.containerClient.getBlobClient(this.sanitizeKey(e)).exists()}async clear(){let e=[];for await(let t of this.containerClient.listBlobsFlat())e.push(this.containerClient.deleteBlob(t.name));await Promise.all(e)}async deleteMany(e){return await Promise.all(e.map(e=>this.delete(e))),!0}namespace(e){return this}disconnect(){return Promise.resolve()}sanitizeKey(e){return e.replace(/[^a-zA-Z0-9._/-]/g,"_").toLowerCase()}constructor(e,t,r,s){if(this.name="azure-blob",this.type="l2",e instanceof i.b)this.containerClient=e;else if(void 0===r||void 0===s){if(!t)throw Error("containerName is required");this.containerClient=n.w.fromConnectionString(e).getContainerClient(t)}else{let i=new a.StorageSharedKeyCredential(t,r);this.containerClient=new n.w(e,i).getContainerClient(s)}}}var o=r(72963);class l{async getResponse(e,t,r,i){var n,a,s;if(!this.isEnabled)return null!=(a=await t())?a:null;let c=null!=(s=null!=i?i:null==(n=this.defaultOptions)?void 0:n.cacheNullValues)&&s,u=r?{...this.bentoOptions,ttl:"".concat(r,"s")}:this.bentoOptions;try{let r=await this.bento.getOrSet({key:e,factory:async e=>{let r=await t();return null==r?c?l.NULL_SENTINEL:void e.skip():r},...u});return r===l.NULL_SENTINEL?null:r}catch(e){if(e instanceof o.sO.E_UNDEFINED_VALUE)return null;throw e}}async get(e){if(!this.isEnabled)return null;try{var t;let r=await this.bento.get({key:e,suppressL2Errors:null==(t=this.defaultOptions)?void 0:t.suppressL2Errors});return null!=r?r:null}catch(t){return console.error("[FusionCache:get] error for key=".concat(e,": ").concat(t)),null}}async set(e,t,r){if(!this.isEnabled)return;let i=r?{...this.bentoOptions,ttl:"".concat(r,"s")}:this.bentoOptions;await this.bento.set({key:e,value:t,...i})}async del(e){if(!this.isEnabled)return;let t=Array.isArray(e)?e:[e];await Promise.all(t.map(e=>this.remove(e)))}async keys(e){return!this.isEnabled,[]}async delHash(e){this.isEnabled&&await this.del(e)}async remove(e){var t;this.isEnabled&&await this.bento.delete({key:e,suppressL2Errors:null==(t=this.defaultOptions)?void 0:t.suppressL2Errors})}async removeByTag(e){var t;this.isEnabled&&await this.bento.deleteByTag({tags:[e],suppressL2Errors:null==(t=this.defaultOptions)?void 0:t.suppressL2Errors})}async has(e){var t;return!!this.isEnabled&&this.bento.has({key:e,suppressL2Errors:null==(t=this.defaultOptions)?void 0:t.suppressL2Errors})}async clear(){var e;this.isEnabled&&await this.bento.clear({suppressL2Errors:null==(e=this.defaultOptions)?void 0:e.suppressL2Errors})}toBentoOptions(e){var t;if(!e)return{};let r={};e.ttl&&(r.ttl=e.ttl);let{failSafe:i}=e;return(null==i?void 0:i.enabled)&&i.maxDuration&&(r.grace=i.maxDuration,i.throttleDuration&&(r.graceBackoff=i.throttleDuration)),e.factorySoftTimeout&&(r.timeout=e.factorySoftTimeout),e.factoryHardTimeout&&(r.hardTimeout=e.factoryHardTimeout),(null==(t=e.tags)?void 0:t.length)&&(r.tags=e.tags),void 0!==e.suppressL2Errors&&(r.suppressL2Errors=e.suppressL2Errors),r}constructor(e,t){var r;this.bento=e,this.defaultOptions=t,this.defaultTTL=600,this.isEnabled=null==(r=null==t?void 0:t.enabled)||r,this.bentoOptions=this.toBentoOptions(t)}}l.NULL_SENTINEL="__FUSION_NULL__";class u{async getResponse(e,t,r,i){if(!this.isEnabled){var n;return null!=(n=await t())?n:null}let a=await this.get(e);if(null!==a)return a===u.NULL_SENTINEL?null:a;let s=await t();return null!=s?(await this.set(e,s,r),s):(i&&await this.set(e,u.NULL_SENTINEL,r),null)}async get(e){if(!this.isEnabled)return null;let t=this.l1Cache.isEnabled?await this.l1Cache.get(e):null;if(null!==t)return t;let r=this.l2Cache.isEnabled?await this.l2Cache.get(e):null;return null!==r&&this.l1Cache.isEnabled&&await this.l1Cache.set(e,r),r}async set(e,t,r){await Promise.all(this.enabledCaches().map(i=>i.set(e,t,r)))}async del(e){await Promise.all(this.enabledCaches().map(t=>t.del(e)))}async keys(e){return[...new Set((await Promise.all(this.enabledCaches().map(t=>t.keys(e)))).flat())]}async delHash(e){await Promise.all(this.enabledCaches().map(t=>t.delHash(e)))}async remove(e){await Promise.all(this.enabledCaches().map(t=>t.remove(e)))}async removeByTag(e){await Promise.all(this.enabledCaches().map(t=>t.removeByTag(e)))}async has(e){for(let t of this.enabledCaches())if(await t.has(e))return!0;return!1}async clear(){await Promise.all(this.enabledCaches().map(e=>e.clear()))}enabledCaches(){return this.isEnabled?[this.l1Cache,this.l2Cache].filter(e=>e.isEnabled):[]}
1constructor(e,t,r,i){this.l1Cache=e,this.l2Cache=t,this.defaultTTL=r,this.isEnabled=i}}u.NULL_SENTINEL="__FUSION_NULL__";var h=r(55853);class g{withL1(e){return this.l1Config={...this.l1Config,...e},this}withL2(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return this.l2Config={driver:e,enabled:t},this}withDefaultOptions(e){return this.defaultOptions=e,this}withLogger(e){return this.logger=e,this}build(){var e;let t=(0,o.mA)();if(!1!==this.l1Config.enabled){let e=(0,h.C)({maxItems:this.l1Config.maxItems,...this.l1Config.maxMemoryMb?{maxSize:"".concat(this.l1Config.maxMemoryMb,"mb")}:{}});t=t.useL1Layer(e)}if((null==(e=this.l2Config)?void 0:e.enabled)&&this.l2Config.driver){let e=this.l2Config.driver;t=t.useL2Layer({options:{},factory:()=>e})}let r=new o.Tk({default:this.storeName,...this.logger?{logger:this.logger}:{},stores:{[this.storeName]:t}});return r.on("cache:hit",e=>console.log("[BentoCache] HIT  store=".concat(e.store," key=").concat(e.key," layer=").concat(e.layer," graced=").concat(e.graced))),r.on("cache:miss",e=>console.log("[BentoCache] MISS  store=".concat(e.store," key=").concat(e.key))),r.on("cache:written",e=>console.log("[BentoCache] WRITTEN  store=".concat(e.store," key=").concat(e.key))),r.on("cache:expire",e=>console.log("[BentoCache] EXPIRE  store=".concat(e.store," key=").concat(e.key))),new l(r,this.defaultOptions)}constructor(e){this.l1Config={maxItems:1e4,enabled:!0},this.storeName=e}}function _(e){return new g(e)}},87056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ResliencyPolicy:()=>c});var i=r(91097),n=r(70896),a=r(81726),s=r(23068);class c{constructor(){this.retry=(0,n.L5)((0,n.jU)(e=>{let t=null==e?void 0:e.StatusCode;return t===i.HttpStatusCodes.INTERNAL_SERVER_ERROR||t===i.HttpStatusCodes.BAD_GATEWAY||t===i.HttpStatusCodes.SERVICE_UNAVAILABLE||t===i.HttpStatusCodes.GATEWAY_TIMEOUT}),{maxAttempts:3,backoff:new a._({maxDelay:1e4,initialDelay:1e3})}),this.circuitBreakerPolicy=(0,n.sL)(n.ih,{halfOpenAfter:1e4,breaker:new s.N(10)})}}},98491:(e,t,r)=>{"use strict";r.d(t,{Au:()=>c,bg:()=>l,Bf:()=>_,jX:()=>g});var i=r(32545),n=r(84761),a=r(85346),s=r(51642).hp;class c{async streamToBuffer(e){return new Promise((t,r)=>{let i=[];e.on("data",e=>{i.push(s.isBuffer(e)?e:s.from(e))}),e.on("end",()=>t(s.concat(i))),e.on("error",r)})}async bufferToJson(e){return JSON.parse((await this.streamToBuffer(e)).toString())}async uploadBlobAsStream(e,t){try{let r=i.Readable.from([e]),n=this._containerClient.getBlockBlobClient(t),a=await n.uploadStream(r);console.log("Uploaded blob ".concat(t," successfully"),a.requestId)}catch(e){console.error("Error: ".concat(e,", BlobName: ").concat(t))}}async uploadBlobAsStreamWithEtag(e,t,r){try{console.log("Uploading blob ".concat(t," with etag: ").concat(r));let n=i.Readable.from([e]),a=this._containerClient.getBlockBlobClient(t),s=await a.uploadStream(n,void 0,void 0,r?{conditions:{ifMatch:r}}:{});console.log("Uploaded blob ".concat(t," successfully"),s.requestId)}catch(e){throw console.error("Error: ".concat(e,", BlobName: ").concat(t)),e instanceof Error&&"statusCode"in e&&"code"in e&&(412===e.statusCode||"ConditionNotMet"===e.code)&&console.error("Concurrency error: The blob ".concat(t," has been modified by another process. Please retry with the latest etag.")),e}}async uploadBlobAsBuffer(e,t){try{let r=this._containerClient.getBlockBlobClient(t),i=await r.uploadData(e);console.log("Uploaded buffer blob ".concat(t," successfully"),i.requestId)}catch(e){console.error(e)}}async getBlob(e){let t=null;try{let r=this._containerClient.getBlobClient(e),i=await r.download();i.readableStreamBody&&(t=await this.bufferToJson(i.readableStreamBody))}catch(t){console.error("Error: ".concat(t,", BlobName: ").concat(e))}return t}async getBlobWithEtag(e){let t,r=null;try{let i=this._containerClient.getBlobClient(e),n=await i.download();t=n.etag,n.readableStreamBody&&(r=await this.bufferToJson(n.readableStreamBody))}catch(t){console.error("Error: ".concat(t,", BlobName: ").concat(e))}return{data:r,etag:t}}
1constructor(e,t,r,i){let s=new n.StorageSharedKeyCredential(t,r),c=new a.w(e,s);this._containerClient=c.getContainerClient(i)}}var o=r(93179);class l{async upsertEntity(e){let t=null,r=!1;try{var i,n;t=await this.container.items.upsert(e),console.log("Upserted item with id: ".concat(null==e?void 0:e.id," to ").concat(null==t||null==(n=t.diagnostics)||null==(i=n.clientSideRequestStatistics)?void 0:i.locationEndpointsContacted)),(200===t.statusCode||201===t.statusCode)&&(r=!0)}catch(t){throw console.error("Error: ".concat(t,", Entity.BlobPath: ").concat(e.blobPath)),t}return r}async getEntityByIdAndPartitionKey(e,t){let r="Id: ".concat(e,", PartitionKey: ").concat(t);try{var i;let{resource:r,diagnostics:n}=await this.container.item(e,t).read();return console.log("Cosmos Location Endpoint Contacted for reading ".concat(e),null==n||null==(i=n.clientSideRequestStatistics)?void 0:i.locationEndpointsContacted),r}catch(e){console.error("Error: ".concat(e,", Message: ").concat(r))}}async getEntityById(e,t){let r=null,i="IdentifierName: ".concat(e,", IdentifierValue: ").concat(t);try{let{resources:i}=await this.container.items.query({query:"SELECT top 1* FROM c where c.".concat(e," = @identifierValue"),parameters:[{name:"@identifierValue",value:t}]}).fetchAll();i.length>0&&(r=i[0])}catch(e){console.error("Error: ".concat(e,", Message: ").concat(i))}return r}async getEntitiesByQuerySpec(e){let t=null;try{let{resources:r}=await this.container.items.query(e).fetchAll();t=r.length>0?r:[]}catch(e){console.error(e,"Fetching URL Title")}return t}constructor(e,t,r){this.cosmosDBClient=new o.W(e),this.database=this.cosmosDBClient.database(t),this.container=this.database.container(r)}}class u{async getJournalTierListFromBlob(){try{if(u._cachedJournalTierMap)return u._cachedJournalTierMap;if(!this._azureBlobService)return console.warn("JournalTierListRepository: Azure Blob Service not available, returning empty map"),null;let e=await this._azureBlobService.getBlob(this._blobPath),t=this.createJournalTierMap(e);return u._cachedJournalTierMap=t,t}catch(e){throw console.error("JournalTierListRepository: Error fetching journal tier list from blob:",e),e}}isValidJournalTierItem(e){return e&&"string"==typeof e.journalShortName&&Array.isArray(e.productIds)&&("sql"===e.source||"cosmos"===e.source)}createJournalTierMap(e){let t=new Map;return Array.isArray(e)&&0!==e.length?(e.filter(this.isValidJournalTierItem).forEach(e=>{var r;let i={journalShortName:e.journalShortName,source:e.source};e.productIds.filter(e=>"string"==typeof e&&e.trim().length>0).forEach(e=>{t.set(e,i)}),(null==(r=e.journalShortName)?void 0:r.trim())&&t.set(e.journalShortName.trim(),i)}),console.info("JournalTierListRepository: Created journal tier map with ".concat(t.size," entries"))):console.warn("JournalTierListRepository: No valid journal tier data found"),t}constructor(e,t){e||console.warn("JournalTierListRepository: Azure Blob Service is not provided"),(null==t?void 0:t.trim())||console.warn("JournalTierListRepository: Blob path is required"),this._azureBlobService=e,this._blobPath=t.trim()}}u._cachedJournalTierMap=void 0;class h{async getJournalConfigFromBlob(){try{if(h._cachedJournalConfigMap)return h._cachedJournalConfigMap;if(!this._azureBlobService)return console.warn("JournalConfigRepository: Azure Blob Service not available, returning empty map"),new Map;let e=await this._azureBlobService.getBlob(this._blobPath),t=this.createJournalConfigMap(e);return h._cachedJournalConfigMap=t,t}catch(e){throw console.error("JournalConfigRepository: Error fetching journal config from blob:",e),e}}async getJournalConfig(e){return(await this.getJournalConfigFromBlob()).get(e)||null}isValidJournalConfigItem(e){return e&&"string"==typeof e.journalShortName&&"boolean"==typeof e.isVR&&Array.isArray(e.productIds)&&"string"==typeof e.productVersion}createJournalConfigMap(e){let t=new Map;return Array.isArray(e)&&0!==e.length?(e.filter(this.isValidJournalConfigItem).forEach(e=>{let r={journalShortName:e.journalShortName,isVR:e.isVR,productVersion:e.productVersion};e.productIds.filter(e=>"string"==typeof e&&e.trim().length>
10).forEach(e=>{t.set(e.trim(),r)})}),console.info("JournalConfigRepository: Journal config map created",t.size,"entries")):console.warn("JournalConfigRepository: No valid journal config data found"),t}constructor(e,t){e||console.warn("JournalConfigRepository: Azure Blob Service is not provided"),(null==t?void 0:t.trim())||console.warn("JournalConfigRepository: Blob path is required"),this._azureBlobService=e,this._blobPath=t.trim()}}h._cachedJournalConfigMap=void 0;class g{static createRepository(e,t){return console.info("JournalTierListRepositoryProvider: Creating new repository instance",{blobPath:t,hasAzureBlobService:!!e}),new u(e,t)}}class _{static createRepository(e,t){return console.info("JournalConfigRepositoryProvider: Creating new repository instance",{blobPath:t,hasAzureBlobService:!!e}),new h(e,t)}}}}]);

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.