text: 'use strict';document.addEventListener('webviewerloaded',function(event){var appOptions=window.PDFViewerApplicationOptions;var app=window.PDFViewerApplication;appOptions.set('eventBusDispatchToDOM',true);appOptions.set('disablePreferences',true);appOptions.set('defaultUrl','');var proxyPdfUrl=window.PROXY_PDF_URL;var pdfUrl=window.PDF_URL;var clientEmbedUrl=window.CLIENT_EMBED_URL;var pdfjsInitialized=new Promise(function(resolve){var timer=setInterval(function(){if(app.initialized){clearTimeout(timer);resolve();}},20);});pdfjsInitialized.then(function(){if(typeof Promise==='function'&&typeof PromiseRejectionEvent==='undefined'){window.PromiseRejectionEvent=function FakePromiseRejectionEvent(type,options){console.warn('Tried to construct fake `PromiseRejectionEvent`');};}
  var embedScript=document.createElement('script');embedScript.src=clientEmbedUrl;document.body.appendChild(embedScript);app.open({url:proxyPdfUrl,originalUrl:pdfUrl,});});});