String.prototype.format=function(t){var a=this;if(0"),a=$("
");a.html("Loading..."),t.html(a),$("body").append(t).fadeIn()}else $("#enpdloading").fadeIn()},closeLoading:function(){$("#enpdloading").fadeOut()},getQueryString:function(t){var a=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),c=window.location.search.substr(1).match(a);return null!=c?decodeURIComponent(c[2]):null},hasQuestionMark:function(t){return/\?/.test(t)},htmlEncode:function(t){return t&&0!=t.length?t.replace(/&/g,"&").replace(//g,">").replace(/ /g," ").replace(/\'/g,"'").replace(/\"/g,"""):""},htmlDecode:function(t){return t&&0!=t.length?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/'/g,"'").replace(/"/g,'"'):""},getHostUrl:function(){return location.protocol+"//"+location.host},arrayRemove:function(t,a){var c=t.indexOf(a);-1.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}")}catch(t){console&&console.log(t)}}function h(){o||(o=!0,l())}a=function(){var t,a=document.createElement("div");a.innerHTML=i,i=null,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",a=a,(t=document.body).firstChild?function(t,a){a.parentNode.insertBefore(t,a)}(a,t.firstChild):t.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(c=function(){document.removeEventListener("DOMContentLoaded",c,!1),a()},document.addEventListener("DOMContentLoaded",c,!1)):document.attachEvent&&(l=a,e=t.document,o=!1,function r(){try{e.documentElement.doScroll("left")}catch(t){return void setTimeout(r,50)}h()}(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,h())})}(window);var qrcode=function(){var l=function(t,a){var n=t,i=M[a],s=null,d=0,l=null,h=[],v={},r=function(t,a){s=function(t){for(var a=new Array(t),c=0;c>c&1);s[Math.floor(c/3)][c%3+d-8-3]=l}for(c=0;c<18;c+=1)l=!t&&1==(a>>c&1),s[c%3+d-8-3][Math.floor(c/3)]=l},m=function(t,a){for(var c=i<<3|a,l=y.getBCHTypeInfo(c),e=0;e<15;e+=1){var o=!t&&1==(l>>e&1);e<6?s[e][8]=o:e<8?s[e+1][8]=o:s[d-15+e][8]=o}for(e=0;e<15;e+=1)o=!t&&1==(l>>e&1),e<8?s[8][d-e-1]=o:e<9?s[8][15-e-1+1]=o:s[8][15-e-1]=o;s[d-8][8]=!t},f=function(t,a){for(var c=-1,l=d-1,e=7,o=0,i=y.getMaskFunction(a),n=d-1;0>>e&1)),i(l,n-h)&&(r=!r),s[l][n-h]=r,-1==(e-=1)&&(o+=1,e=7)}if((l+=c)<0||d<=l){l-=c,c=-c;break}}},u=function(t,a,c){for(var l=b.getRSBlocks(t,a),e=w(),o=0;o8*n)throw"code length overflow. ("+e.getLengthInBits()+">"+8*n+")";for(e.getLengthInBits()+4<=8*n&&e.put(0,4);e.getLengthInBits()%8!=0;)e.putBit(!1);for(;!(e.getLengthInBits()>=8*n||(e.put(236,8),e.getLengthInBits()>=8*n));)e.put(17,8);return function(t,a){for(var c=0,l=0,e=0,o=new Array(a.length),i=new Array(a.length),n=0;n',c+="";for(var l=0;l";for(var e=0;e';c+=""}return(c+="")+""},v.createSvgTag=function(t,a,c,l){var e={};"object"==typeof t&&(t=(e=t).cellSize,a=e.margin,c=e.alt,l=e.title),t=t||2,a=void 0===a?4*t:a,(c="string"==typeof c?{text:c}:c||{}).text=c.text||null,c.id=c.text?c.id||"qrcode-description":null,(l="string"==typeof l?{text:l}:l||{}).text=l.text||null,l.id=l.text?l.id||"qrcode-title":null;var o,i,n,h,r=v.getModuleCount()*t+2*a,s="";for(h="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",s+=''+z(l.text)+"":"",s+=c.text?''+z(c.text)+"":"",s+='',s+='"},v.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var a=v.getModuleCount()*e+2*t,o=t,i=a-t;return k(a,a,function(t,a){if(o<=t&&t"};var z=function(t){for(var a="",c=0;c":a+=">";break;case"&":a+="&";break;case'"':a+=""";break;default:a+=l}}return a};return v.createASCII=function(t,a){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var a,c,l,e,o,i=1*v.getModuleCount()+2*t,n=t,h=i-t,r={"██":"█","█ ":"▀"," █":"▄"," ":" "},s={"██":"▀","█ ":"▀"," █":" "," ":" "},d="";for(a=0;a>>8),a.push(255&e)):a.push(i)}}return a}};var a,t,c,M={L:1,M:0,Q:3,H:2},y=(a=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],c=function(t){for(var a=0;0!=t;)a+=1,t>>>=1;return a},(t={}).getBCHTypeInfo=function(t){for(var a=t<<10;0<=c(a)-c(1335);)a^=1335<>>7-t%8&1)},put:function(t,a){for(var c=0;c>>a-c-1&1))},getLengthInBits:function(){return l},putBit:function(t){var a=Math.floor(l/8);c.length<=a&&c.push(0),t&&(c[a]|=128>>>l%8),l+=1}};return e},L=function(t){var l=t,a={getMode:function(){return 1},getLength:function(t){return l.length},write:function(t){for(var a=l,c=0;c+2>>8&255)+(255&l),t.put(l,13),c+=2}if(c>>8)},writeBytes:function(t,a,c){a=a||0,c=c||t.length;for(var l=0;l=c.length){if(0==o)return-1;throw"unexpected end of file./"+o}var t=c.charAt(l);if(l+=1,"="==t)return o=0,-1;t.match(/^\s$/)||(e=e<<6|i(t.charCodeAt(0)),o+=6)}var a=e>>>o-8&255;return o-=8,a}},i=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return a},k=function(a,c,t){for(var l=function(){var l=a,e=c,m=new Array(a*c),t={setPixel:function(t,a,c){m[a*l+t]=c},write:function(t){t.writeString("GIF87a"),t.writeShort(l),t.writeShort(e),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(l),t.writeShort(e),t.writeByte(0);var a=o(2);t.writeByte(2);for(var c=0;255>>a!=0)throw"length over";for(;8<=n+a;)i.writeByte(255&(t<>>=8-n,n=h=0;h|=t<>>h-6),h-=6},d.flush=function(){if(0>6,128|63&l):l<55296||57344<=l?a.push(224|l>>12,128|l>>6&63,128|63&l):(c++,l=65536+((1023&l)<<10|1023&t.charCodeAt(c)),a.push(240|l>>18,128|l>>12&63,128|l>>6&63,128|63&l))}return a}(t)},function(t){"function"==typeof define&&define.amd?define("vendor/qrcode.min",[],t):"object"==typeof exports&&(module.exports=t())}(function(){return qrcode}),$(function(){$.fn.globalShare=function(){var t=this,a=($(window).width(),$(document.head)),l={url:location.href,site_url:location.origin,title:a.find("[name=title], [name=Title]").attr("content")||document.title,description:a.find("[name=description], [name=Description]").attr("content")||"",image:$("img:first").prop("src")||"",wechatQrcodeTitle:$("html").hasClass("LANG-cn")?"使用微信扫描二维码":"Use Wechat scan QR code",sites:["favorite","weibo","qq","wechat","tencent","douban","qzone","linkedin","diandian","facebook","twitter","google"],isInit:!1,email:"information@huawei.com"},o={wechat:"javascript:;",weibo:"https://service.weibo.com/share/share.php?url={{URL}}&title={{TITLE}}&pic={{IMAGE}}",linkedin:"https://www.linkedin.com/shareArticle?mini=true&ro=true&title={{TITLE}}&url={{URL}}&summary={{DESCRIPTION}}&source={{TITLE}}&armin=armin",facebook:"https://www.facebook.com/sharer/sharer.php?u={{URL}}",twitter:"https://twitter.com/intent/tweet?text={{TITLE}}&url={{URL}}&via={{SITE_URL}}",google:"https://plus.google.com/share?url={{URL}}",email:"mailto:{{EMAIL}}?subject={{TITLE}}&body={{URL}}"+encodeURIComponent("\n")+"{{DESCRIPTION}}",print:"javascript:window.print();void(0)"};function h(t,a){var c=o[t];for(var l in a)if(a.hasOwnProperty(l)){var e=encodeURIComponent(a[l]);c=c.replace(new RegExp("{{"+l.toUpperCase()+"}}","g"),e)}return c}!function c(){t.each(function(){var t=$(this);if(t.data("isInit"))return!0;var a=$.extend({},l,t.data()),c=function i(t,a){for(var c="",l=a.sites.split(","),e=0;e":c+=""}return c}(0,a);t.html(""),t.append(c),function n(t,a){var c=t.find("a.icon-wechat");c.append('

'+a.wechatQrcodeTitle+'

');var l=qrcode(0,"H");l.addData(a.url),l.make();var e=l.getModuleCount(),o=134/e;c.find(".qrcode").html(l.createImgTag(o,2))}(t,a)})}()},$(function(){$(".share-component,.social-share").globalShare()})}),$(function(){if(1200<$(window).width()){$(".global-share .pop-up-layer").css("top",-($(".global-share .pop-up-layer").height()/2-20)),$(".global-share .J-copy-link").on("click",function(){!function a(t){0==$("#urlText").length&&t.after('