CoreFiles by mySites.guru
view.min.js1 lines, 543 bytes, from wordpress-7.1.zip
Raw History Compare with 7.0.9
md5
9a5c4b4fae6c24a2049b43624632ef48
sha1
151d3e6ad5f6a10917e1ab8159fe07602fe5f6f6
sha256
998ac0fa94a222c8b6627986a9991f0ee00191b85511390a424f3b8ac896ea89
import{store as n}from"@wordpress/interactivity";var t=()=>window.navigator.pdfViewerEnabled?!0:!(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!(e("AcroPDF.PDF")||e("PDF.PdfCtrl"))),e=i=>{let r;try{r=new window.ActiveXObject(i)}catch{r=void 0}return r};n("core/file",{state:{get hasPdfPreview(){return t()}}},{lock:!0});

The same content is in 22 releases, WordPress 7.1-beta1 to 7.2-RC2. See them all, or every version of this file.