1function fb3dClientLocaleLoader() { 2 if(window.jQuery && typeof jQuery.ajax==='function') { 3 function fb3dFetch(url) { 4 return new Promise(function(resolve, reject) { 5 jQuery.ajax({url: url, dataType: 'text'}).done(resolve).fail(reject); 6 }); 7 } 8 FB3D_CLIENT_LOCALE.render = function() { 9 delete FB3D_CLIENT_LOCALE.render; 10 var isStable = !Promise.withResolvers || /^((?!chrome|android).)*safari/i.test(navigator.userAgent), 11 pdfJs = FB3D_CLIENT_LOCALE.pdfJS, assetsJs = FB3D_CLIENT_LOCALE.pluginurl+'assets/js/'; 12 window.FB3D_LOCALE = { 13 dictionary: FB3D_CLIENT_LOCALE.dictionary 14 }; 15 window.PDFJS_LOCALE = { 16 pdfJsCMapUrl: pdfJs.pdfJsCMapUrl, 17 pdfJsWorker: isStable? pdfJs.stablePdfJsWorker: pdfJs.pdfJsWorker 18 }; 19 Promise.all([ 20 fb3dFetch(FB3D_CLIENT_LOCALE.pluginurl+'assets/css/client.css?ver='+FB3D_CLIENT_LOCALE.version), 21 fb3dFetch(FB3D_CLIENT_LOCALE.cacheurl+'skins.js?ver='+FB3D_CLIENT_LOCALE.version), 22 fb3dFetch(isStable? pdfJs.stablePdfJsLib: pdfJs.pdfJsLib), 23 fb3dFetch(assetsJs+'three.min.js?ver=125'), 24 fb3dFetch(assetsJs+'html2canvas.min.js?ver=0.5'), 25 fb3dFetch(assetsJs+'client.min.js?ver='+FB3D_CLIENT_LOCALE.version), 26 ]).then(function(fs) { 27 jQuery('head').append(['<style type="text/css">', fs[0].replace(/url\('..\//gi, 'url(\''+FB3D_CLIENT_LOCALE.pluginurl+'assets/'), '</style>'].join('')); 28 for(var i = 1; i<fs.length; ++i) { 29 eval(fs[i]); 30 } 31 }); 32 }; 33 if(jQuery('._'+FB3D_CLIENT_LOCALE.key).length) { 34 FB3D_CLIENT_LOCALE.render(); 35 } 36 } 37 else { 38 setTimeout(fb3dClientLocaleLoader, 100); 39 } 40} 41fb3dClientLocaleLoader();
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.