(function(){ webpackJsonp([9],[function(e,t,n){(function(e){function t(){try{var e=navigator.userAgent;if(null!=e.match(/Windows\sPhone/i))return!0;if(null!=e.match(/iPhone|iPod/i))return!0;if(null!=e.match(/Android/i))return!0;if(null!=e.match(/Edge\D?\d+/i))return!0;var t=e.match(/Trident\D?\d+/i),n=e.match(/MSIE\D?\d+/i),r=e.match(/OPR\D?\d+/i),i=e.match(/Firefox\D?\d+/i),o=e.match(/x64/i);if(null==t&&null==n&&null!==o)return!0;if(null!==i){if(i=i[0].match(/\d+/),i[0]>=42||null!==o)return!0}else if(null!==r){if(r=r[0].match(/\d+/),r[0]>=32)return!0}else if(null==t&&null==n){var u=e.match(/Chrome\D?\d+/i);if(null!==u&&(u=u[0].match(/\d+/),u[0]>=42))return!0}return!1}catch(e){return!0}}function n(e,n){var i,o="打印控件未安装!安装后请刷新页面或重新进入。",u="打印控件需要升级!升级后请重新进入。",d="打印控件未安装!安装后请刷新页面或重新进入。",l="打印控件需要升级!升级后请重新进入。",c="（注意：如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它）",m="(如果此前正常，仅因浏览器升级或重安装而出问题，需重新执行以上安装）",a="CLodop云打印服务(localhost本地)未安装启动!,安装后请刷新页面。",s="CLodop云打印服务需升级!,升级后请刷新页面。";try{var f=navigator.userAgent.indexOf("MSIE")>=0||navigator.userAgent.indexOf("Trident")>=0;if(t()){try{i=getCLodop()}catch(e){}if(!i&&"complete"!==document.readyState)return alert("C-Lodop没准备好，请稍后再试！"),null;if(!i)return alert(a),null;CLODOP.CVERSION<"3.0.0.2"&&(f?document.write(s):document.documentElement.innerHTML=s+document.documentElement.innerHTML),n&&n.parentNode&&n.parentNode.removeChild(n),e&&e.parentNode&&e.parentNode.removeChild(e)}else{var h=f&&navigator.userAgent.indexOf("x64")>=0;if(void 0!=e||void 0!=n?i=f?e:n:null==r?(i=document.createElement("object"),i.setAttribute("width",0),i.setAttribute("height",0),i.setAttribute("style","position:absolute;left:0px;top:-100px;width:0px;height:0px;"),f?i.setAttribute("classid","clsid:2105C259-1E0C-4534-8141-A753534CB4CA"):i.setAttribute("type","application/x-print-lodop"),document.documentElement.appendChild(i),r=i):i=r,null==i||"undefined"==typeof i.VERSION)return navigator.userAgent.indexOf("Chrome")>=0&&(document.documentElement.innerHTML=m+document.documentElement.innerHTML),navigator.userAgent.indexOf("Firefox")>=0&&(document.documentElement.innerHTML=c+document.documentElement.innerHTML),h?document.write(d):f?document.write(o):document.documentElement.innerHTML=o+document.documentElement.innerHTML,i}return i.VERSION<"6.2.1.8"?(t()||(h?document.write(l):f?document.write(u):document.documentElement.innerHTML=u+document.documentElement.innerHTML),i):(i.SET_LICENSES("","13528A153BAEE3A0254B9507DCDE2839","",""),i)}catch(e){alert("getLodop出错:"+e)}return null}var r=null;e(function(){if(t()){var e=document.head||document.getElementsByTagName("head")[0]||document.documentElement,n=document.createElement("script");n.src="http://localhost:8000/CLodopfuncs.js?priority=1",e.insertBefore(n,e.firstChild),n=document.createElement("script"),n.src="http://localhost:18000/CLodopfuncs.js?priority=0",e.insertBefore(n,e.firstChild)}}),window.getLodopPrinter=function(){return n()}}).call(t,n(1))}]);; })();