Your IP : 3.145.45.223


Current Path : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/viewer/dist/
Upload File :
Current File : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/viewer/dist/viewer.bundle.map.js

{"version":3,"file":"viewer.bundle.map.js","names":["this","BX","UI","exports","main_core","main_core_events","Item","Reflection","namespace","Util","BXPromise","DEFAULT_SCALE","PAGES_TO_PRELOAD","_loadingLibraryPromise","babelHelpers","classPrivateFieldLooseKey","_pageNumber","_loadingDocumentPromise","_resetState","Document","constructor","options","super","Object","defineProperty","value","_resetState2","writable","pdfPages","scale","pdfRenderedPages","lastRenderedPdfPage","disableAnnotationLayer","setPropertiesByNode","node","dataset","hasOwnProperty","applyReloadOptions","controller","unsetCachedData","src","listContainerModifiers","result","stretch","push","setSrc","_pdfSrc","classPrivateFieldLooseBase","setPdfSource","pdfSource","loadLibrary","Promise","resolve","reject","Runtime","loadExtension","then","pdfjsLib","GlobalWorkerOptions","workerSrc","catch","loadData","promise","fulfill","console","log","ajaxPromise","ajax","url","Uri","addParam","ts","method","dataType","headers","name","response","data","isTransforming","item","message","Loc","getMessage","replace","getSrc","type","transformationPromise","registerTransformationHandler","pullTag","render","showLoading","contentNode","Dom","create","props","className","tabIndex","Event","bind","throttle","handleScrollDocument","getNakedActions","nakedActions","insertPrintBeforeInfo","actions","infoIndex","i","length","printAction","action","print","insertIntoArray","getFirstDocumentPageHeight","_height","getDocumentPage","pdfDocument","page","viewport","getViewport","height","event","scrollBottom","scrollHeight","scrollTop","clientHeight","numPages","Math","min","renderDocumentPage","setPageNumber","loadDocument","getDocument","pdf","pageNumber","getPage","pagePromise","canvas","createCanvasPage","width","renderPromise","canvasContext","getContext","getAnnotations","annotationData","annotationLayer","insertAfter","adjust","style","margin","offsetHeight","AnnotationLayer","clone","dontFlip","linkService","SimpleLinkService","div","annotations","getTextContent","textContent","textLayer","renderTextLayer","container","textDivs","max","firstWidthDocumentPage","hideLoading","document","createElement","appendChild","getContentWidth","afterRender","_handleControls","handleVisibleControls","enableReadingMode","actionPanel","getItemById","layout","classList","remove","window","beforeHide","unbind","printer","hidePrintProgress","destroy","updatePrintProgressMessage","index","total","progress","round","setTextOnLoading","showPrintProgress","opacity","filter","zIndex","warn","PrintService","init","prepare","onProgress","performPrint","handleKeyPress","code","focus","getScale","setScale","updateScale","Number","ratio","updatePageScale","canvases","textLayers","pageIndex","clean","promises","Array","from","querySelectorAll","values","forEach","renderedPage","scrollTo","scrollLeft","all","getPagesNumber","Text","toInteger","_pdfInfo","scrollToPage","isChanged","renderPromises","pages","getPageNumber","EventEmitter","emit","PRINT_SCALE","iframe","documentOverview","rotation","pageCount","currentPage","Type","isFunction","frame","createIframe","process","contentWindow","setTimeout","renderPage","scratchCanvas","PRINT_RESOLUTION","PRINT_UNITS","floor","CSS_UNITS","ctx","save","fillStyle","fillRect","restore","renderContext","transform","intent","printItem","img","disableCreateObjectURL","toBlob","blob","URL","createObjectURL","toDataURL","wrapper","body","display","frameWindow","frameDoc","open","write","pageSize","getDocumentOverview","headTags","close","_","t","_t","_t2","_t3","_t4","_t5","_t6","_t7","_t8","_t9","InlineController","SingleDocumentController","bindEvents","eventsAlreadyBinded","getDocumentItem","subscribe","getListingControl","update","items","updateControls","updateListingControl","getViewerContainer","inner","Tag","getItemContainer","addClass","getControlsContainer","controlsContainer","getScaleControl","listingControl","ListingControl","_this$getDocumentItem","getCurrent","scaleControl","ScaleControl","_this$getDocumentItem2","_this$getDocumentItem3","_this$getDocumentItem4","_this$getDocumentItem5","current","pagesContainer","setEventNamespace","arrowClickHandler","handleArrowClick","innerHTML","renderPages","target","contains","SCALE_MIN","SCALE_MAX","zoomInContainer","zoomOutContainer","zoomValueNode","scaleClickHandler","handleScaleClick","setDefaultScale","hide","getZoomOutContainer","show","getZoomInContainer","getZoomValueNode","innerText","toNumber","Viewer"],"sources":["viewer.bundle.js"],"mappings":"AACAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GA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