PageSourceSearch

https://static.yunzhan365.com/web/yunzhan-web/build/build.min.js?ffbfb5e7321bd6e62cdac85d745ca7e6

js yunzhan365.com collected 2026-10-02 04:06:25 UTC 325,883 bytes, 16 lines download raw bytes

1if(void 0===fh5)var fh5={};fh5.pageData={errorMap:{0:"意外错误。",1:"意外错误。",2:"成功。",3:"无效参数。",4:"PDF文件损坏。",5:"PDF文件已加密。",6:"加载PDF文件失败。",7:"提取PDF目录失败。",8:"提取PDF里面的链接失败。",9:"提取PDF文档搜索内容失败。",10:"导入PDF文件失败。",98:"复制PDF文件失败。",99:"服务器出错。",100:"转换失败。"},auditReason:{2:"内容太少或单页。",3:"内容涉及迷信、色情、暴力、赌博等有争议的问题。",4:"无意义的内容。",5:"内容涉及版权问题,认证通过后重新审核。",7:"内容涉及政治问题。",8:"未上传相关资质文件。请在<a href='/center/mission'>认证信息</a>处提交相关资料。",6:"其他"},types:["pdf"],tips:{ImageFormats:"支持的图片格式:JPG, PNG",ImageFormatsError:"* 只支持jpg或png的图片文件格式。",UnexpectedError:"* 意外错误,请重试。",UnexpectedError2:"意外错误,请重试。",AudioFormatsError:"* 只支持mp3文件格式。",ConnectionError:"* 链接错误,请重试。",ConnectionError2:"链接错误,请重试。",UploadFormatError:"不是允许的文件类型!只支持 PDF 的文件类型.",UploadSizeError:"文件过大!文件大小不能大于 ",forbidWord:"【昵称】含有敏感词汇,请重新输入。"},upgrade:{PRO:{name:"个人专业版",items:["自定义Logo","可以自己下载","上传杂志可先用后审核","无广告投放","可自定义文字版本","可以使用书橱功能"],icon:"<a href='/product-serve' target='_blank'><span class='button button-pill button-flat-action'>个人专业版</span></a>"},GOLD:{name:"企业黄金版",items:["可加入Hot/New 等标签","可自己并供读者下载","可加入到专题","可以对杂志加密","可以使用书橱功能","个性化域名"],icon:"<a href='/product-serve' target='_blank'><span class='button button-pill button-flat-highlight'>企业黄金版</span></a>"},PLATINUM:{name:"企业白金版",items:["可每本书定义不同Logo","上传<=500M文件","可以使用书橱功能","个性化域名"],icon:"<a href='/product-serve' target='_blank'><span class='button button-pill button-flat'>企业白金版</span></a>"},UserLogo:{version:"PRO",title:"用户头像",subTitle:"设置用户的头像",desc:"自定义自己的用户头像。",imgSrc:"/images/upgrade/user.png"},CommonLogo:{version:"PRO",title:"杂志图标",subTitle:"设置杂志的图标",desc:"上传自己的图标,以取代默认的标志,这将在翻书工具栏左侧显示。 <a href='//www.yunzhan365.com/support/67.html' target='_blank'> 黄金版以及个人版设置logo教程</a>",imgSrc:"/images/upgrade/pro.jpg"},Logo:{version:"PLATINUM",title:"杂志图标",subTitle:"设置杂志的图标",desc:"针对每本杂志上传自己的图标,以取代默认的标志,这将在翻书工具栏左侧显示。 <a href='//www.yunzhan365.com/support/67.html' target='_blank'> 黄金版以及个人版设置logo教程</a>",imgSrc:"/images/upgrade/pro.jpg"},LogoLink:{version:"PLATINUM",title:"杂志图标链接",subTitle:"设置杂志的图标链接",desc:"针对每本杂志的图标链接。",imgSrc:"/images/upgrade/pro.jpg"},Background:{version:"PRO",title:"自定义背景(图片,存色,渐变)",subTitle:"设置杂志的背景",desc:"上传自己的自定义背景(图片,存色,渐变),以取代默认的。",imgSrc:"/images/upgrade/pro.jpg"},BGMusic:{version:"PRO",title:"杂志背景音乐",subTitle:"自定义杂志的背景音乐",desc:"上传自己的背景音乐,这将在看书过程中会起作用。",imgSrc:"/images/upgrade/pro.jpg"},SelfDownload:{version:"PRO",title:"下载杂志文件",subTitle:"下载杂志文件",desc:"只有个人专业版及以上的用户才能下载杂志的文件。",imgSrc:"/images/upgrade/pro.jpg"},KeepPrivate:{version:"PRO",title:"在云展网上私有",subTitle:"嵌入和对您的读者分享您的书",desc:"您的出版物不能公开在云展网上,但您通过嵌入代码仍然可嵌入到您的网站上。",imgSrc:"/images/upgrade/pro.jpg",guidelines:["在云展网上无公共链接访问,但您可以嵌入到你的网站和您的读者网文。这个功能只针对付费用户使用。"]},KeepPrivateOnTheInternet:{version:"PRO",title:"私有的",subTitle:"只有授权用户才可以阅读您的书",desc:"您的出版物只可以供授权用户访问,只需通过输入授权ID即可访问。",imgSrc:"/images/upgrade/KeepPrivateOnTheInternet.png"},SEO:{version:"PRO",title:"文字版本设置",subTitle:"编辑出版物的文字版",desc:"只有个人专业版及以上的用户才有足够的权限来控制搜索引擎索引你的出版物。",imgSrc:"/images/upgrade/seo.png"},Embed:{version:"PRO",title:"嵌入杂志",subTitle:"把杂志嵌入到网站",desc:"只有个人专业版及以上的用户才可以把您的出版物嵌入到别的网站上面。",imgSrc:"/images/upgrade/embed.png"},LimitBook:{version:"GOLD",title:"限制访问流量",subTitle:"允许设置单本杂志的访问流量",desc:"只有企业黄金版及以上的用户才允许设置单本杂志的访问流量。",imgSrc:"/images/upgrade/limit-book.png"},StopBook:{version:"GOLD",title:"定期停用书籍",subTitle:"允许设置定期停用书籍",desc:"只有企业黄金版及以上的用户才允许设置定期停用书籍。",imgSrc:"/images/upgrade/stop-book.png"}
1,CopyText:{version:"PRO",title:"复制书籍文字内容",subTitle:"允许复制书籍文字内容",desc:"只有个人专业版及以上的用户才允许复制书籍上的文字内容。",imgSrc:"/images/upgrade/copy-text.png"},PhoneCall:{version:"PRO",title:"拨打电话",subTitle:"允许设置拨号",desc:"只有个人专业版及以上的用户才允许设置拨号功能。",imgSrc:"/images/upgrade/phone-call.png"},AutoFLip:{version:"PRO",title:"自动翻页",subTitle:"允许开启自动翻页",desc:"只有个人专业版及以上的用户才允许开启自动翻页。",imgSrc:"/images/upgrade/auto-flip.png"},HardCover:{version:"PRO",title:"画册硬皮",subTitle:"自定义画册硬皮",desc:"只有个人专业版及以上的用户才可以自定义画册硬皮。",imgSrc:"/images/upgrade/hard-cover.png"},HomeLink:{version:"PRO",title:"主页按钮超链接",subTitle:"设置主页按钮超链接",desc:"只有个人专业版及以上的用户才可以设置主页按钮超链接。",imgSrc:"/images/upgrade/home-link.png"},Annotate:{version:"PRO",title:"添加注释",subTitle:"用户在浏览书籍的时候能够在页面中添加注释",desc:"只有个人专业版及以上的用户才可以在页面中添加注释。",imgSrc:"/images/upgrade/annotate.png"},Download:{version:"GOLD",title:"下载PDF文件",subTitle:"读者可以下载PDF文件",desc:"只有企业黄金版及以上的用户有足够的权限设置供读者下载的原始PDF文件的权限。",imgSrc:"/images/upgrade/pdf.png"},Label:{version:"GOLD",title:"图书标签",subTitle:"选择一个特定的标签,您的出版物",desc:"只有企业黄金版用户及以上有足够的权力,以“新鲜的”,“热门的”,或“特色的”标签的出版物。",imgSrc:"/images/upgrade/label.png"},Bookcase:{version:"PRO",title:"创建书橱",subTitle:"可以在书橱里管理自己的出版物。",desc:"免费用户不可创建书橱,只有个人专业版及以上的用户才可以创建书橱来管理自己的书籍。",imgSrc:"/images/upgrade/bookcase.png"},BookcasePassword:{version:"PRO",title:"书橱密码",subTitle:"Protect your bookcase with a password",desc:"Readers are required to enter a password to access your bookcase.",imgSrc:"/images/upgrade/bookcase-password.png"},BookcaseInvisable:{version:"PRO",title:"Bookcase Invisable",subTitle:"Disable your bookcase",desc:"If you want to stop your bookcase without deleting it, just set it to Invisable, and then it won't be accessed by anybody.",imgSrc:"/images/upgrade/bookcase-invisable.png"},BookcaseLogo:{version:"PRO",title:"Custom Bookcase Logo",subTitle:"Set your own bookcase logo or not show any logo",desc:"upload your own logo to replace the default logo, which will be displayed on the left of the bookcase bottom bar.",imgSrc:"/images/upgrade/bookcase-logo.png"},DomainWeb:{version:"GOLD",title:"个性化域名",subTitle:"设置自己的个性化域名",desc:"只有企业黄金版及以上的用户有足够的权限来设置自己的个性化域名,可在书籍,书橱等显示出自己的个性化域名。",imgSrc:"/images/upgrade/custom-domain.jpg"},DomainWeb2:{version:"PLATINUM",title:"个性化域名xxxx.sharedbook.cn",subTitle:"设置自己的个性化域名xxxx.sharedbook.cn",desc:"只有企业黄金版及以上的用户有足够的权限来设置自己的个性化域名,可在书籍,书橱等显示出自己的个性化域名。",imgSrc:"/images/upgrade/custom-domain.jpg"},DomainWeb3:{version:"PLATINUM",title:"个性化域名xxxx.huaceshu.cn",subTitle:"设置自己的个性化域名xxxx.huaceshu.cn",desc:"只有企业黄金版及以上的用户有足够的权限来设置自己的个性化域名,可在书籍,书橱等显示出自己的个性化域名。",imgSrc:"/images/upgrade/custom-domain.jpg"},DomainWeb4:{version:"PLATINUM",title:"个性化域名xxxx.xxxxx.xxx",subTitle:"设置自己的个性化域名xxxx.xxxxxx.xxx(阿里云备案域名)",desc:"只有企业黄金版及以上的用户有足够的权限来设置自己的个性化域名,可在书籍,书橱等显示出自己的个性化域名。",imgSrc:"/images/upgrade/custom-domain.jpg"}},forbidText:["admin","Administrator","云展网","妈","爸","叼","江泽民","胡锦涛","汪洋","妈逼","管理员","警察","强奸","妓女","淫","习近平","毛泽东","邓小平","周恩来","做爱","共产党","反共","法轮功","天安门","六合彩","共狗","国贼","大纪元","枪支","代办","银行","客服","按摩","自杀","李洪志","台独","主席","书记","总统","市长","警官","局长","委员","省长","镇长","总理","经理","董事长","站长","审核"],fontFamilys:["Agency FB","Aharoni","Algerian","ALKATIP Tor","Andalus","Angsana New","AngsanaUPC","Aparajita","Arabic Typesetting","Arial","Arial Black","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Baiduan Number","Baskerville Old Face","Batang","BatangChe","Bauhaus 93","Bell MT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","Birch Std","Blackadder ITC","Blackoak Std","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Book Antiqua","Bookman Old Style","Bookshelf Symbol 7","Bradley Hand ITC","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Brush Script Std","Calibri","Californian FB","Calisto MT","Cambria","Cambria Math","Candara","Castellar","Centaur","Century","Century Gothic","Century Schoolbook","Chaparral Pro","Charlemagne Std","Chiller","Colonna MT","Comic Sans MS","Consolas","Constantia","Cooper Black","Cooper Std Black","Copperplate Gothic Bold","Copperplate Gothic Light","Corbel","Cordia New","CordiaUPC","Courier","Courier New","Curlz MT","DaunPenh","David","Default","DFKai-SB","DilleniaUPC","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","Engravers MT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","Estrangelo Edessa","EucrosiaUPC","Euphemia","Felix Titling","Fixedsys","Footlight MT Light","Forte","Franklin Gothic Book","Franklin Gothic Demi","Franklin Gothic Demi Cond","Franklin Gothic Heavy","Franklin Gothic Medium","Franklin Gothic Medium Cond","FrankRuehl","FreesiaUPC","Freestyle Script","French Script MT","Gabriola","Garamond","Gautami","Georgia","Giddyup Std","Gigi","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","Goudy Old Style","Goudy Stout","Gulim","GulimChe","Gungsuh","GungsuhChe","Haettenschweiler","Harlow Solid Italic","Harrington","HelvLight","High Tower Text","Hobo Std","Impact","Imprint MT Shadow","Informal Roman","IrisUPC","Iskoola Pota","JasmineUPC","Jokerman","Juice ITC","Kalinga","Kartika","Khmer UI","KodchiangUPC","Kokila","Kozuka Gothic Pr6N B","Kozuka Gothic Pr6N EL","Kozuka Gothic Pr6N H","Kozuka Gothic Pr6N L","Kozuka Gothic Pr6N M","Kozuka Gothic Pr6N R","Kozuka Gothic Pro B","Kozuka Gothic Pro EL","Kozuka Gothic Pro H","Kozuka Gothic Pro L","Kozuka Gothic Pro M","Kozuka Gothic Pro R","Kozuka Mincho Pr6N B","Kozuka Mincho Pr6N EL","Kozuka Mincho Pr6N H","Kozuka Mincho Pr6N L","Kozuka Mincho Pr6N M","Kozuka Mincho Pr6N R","Kozuka Mincho Pro B","Kozuka Mincho Pro EL","Kozuka Mincho Pro H","Kozuka Mincho Pro L","Kozuka Mincho Pro M","Kozuka Mincho Pro R","Kristen ITC","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic Std","Levenim MT","LilyUPC","Lithos Pro Regular","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Magneto","Maiandra GD","Malgun Gothic","Mangal","Marlett","Matura MT Script Capitals","Meiryo","Meiryo UI","Mesquite Std","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft Uighur","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion Pro","Minion Pro Cond","Minion Pro Med","Minion Pro SmBd","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mongolian Baiti","Monotype Corsiva","MoolBoran","MS Gothic","MS Mincho","MS Outlook","MS PGothic","MS PMincho","MS Reference Sans Serif","MS Reference Specialty","MS Sans Serif","MS Serif","MS UI Gothic","MT Extra","MV Boli","Myriad Pro","Myriad Pro Cond","Myriad Pro Light","Narkisim","Niagara Engraved","Niagara Solid","Nueva Std Cond","Nyala","OCR A E
1xtended","OCR A Std","Old English Text MT","Onyx","Orator Std","Palace Script MT","Palatino Linotype","Papyrus","Parchment","Perpetua","Perpetua Titling MT","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poplar Std","Prestige Elite Std","Pristina","Raavi","Rage Italic","Ravie","Roboto","Roboto Bk","Roboto Cn","Roboto Lt","Roboto Th","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Rosewood Std Regular","Sakkal Majalla","Script","Script MT Bold","Segoe","Segoe Print","Segoe Script","Segoe SemiBold","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Segoe360","Shonar Bangla","Showcard Gothic","Shruti","Simplified Arabic","Simplified Arabic Fixed","SimSun-ExtB","Small Fonts","Snap ITC","Stencil","Stencil Std","Sylfaen","Symbol","System","Tahoma","Tekton Pro","Tekton Pro Cond","Tekton Pro Ext","Tempus Sans ITC","Terminal","Times New Roman","Traditional Arabic","Trajan Pro","Trebuchet MS","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","Utsaah","Vani","Verdana","Vijaya","Viner Hand ITC","Vivaldi","Vladimir Script","VoicewarePron","Vrinda","Webdings","Wide Latin","Wingdings","Wingdings 2","Wingdings 3","ZWAdobeF"]};var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var isInDebugMode=!1,hf_utils={};
2/*!
3 * Bootstrap v3.2.0 (http://getbootstrap.com)
4 * Copyright 2011-2014 Twitter, Inc.
5 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6 */
7/*!
8 * Generated using the Bootstrap Customizer (http://v3.bootcss.com/customize/?id=773343e70da206b52ec7)
9 * Config saved to config.json and https://gist.github.com/773343e70da206b52ec7
10 */
11if($(document).ready(function(){}),Array.prototype.remove=function(t){return!(isNaN(t)||t>this.length)&&this.splice(t,1)[0]},hf_utils={supportTouch:"ontouchstart"in window,log:function(t){},addMask:function(t,e){var i=$.extend({},{hasLoading:!0,hasAnimate:!1,text:"",fontSize:"16px",left:0,top:0,cursor:"wait",bgColor:"#fff",opacity:.5,text:"加载...",fontWeight:"normal",color:"inherit"},e),n=$("<div class='af-mask-apnel af-user-select-none'></div>").css({cursor:i.cursor}),o=($("<div class='af-mask-bg'></div>").css({backgroundColor:i.bgColor,opacity:i.opacity}).appendTo(n),$("<div class='af-mask-text af-user-select-none'>"+i.text+"</div>")),a=$("<div class='af-mask-content'></div>").appendTo(n);if(i.hasLoading&&a.append($("<div class='af-save-loading af-user-select-none'></div>")),o.css({fontSize:i.fontSize,fontWeight:i.fontWeight,color:i.color}),a.append(o),i.hasAnimate){var s=o.text().replace("...",""),r=".",l=null;l=setInterval(function(){0!==t.find(o).length?(o.text(s+r),4===(r+=".").length&&(r=".")):clearInterval(l)},1e3)}n.appendTo(t),a.css({display:"none",left:(t.outerWidth()-a.outerWidth())/2,top:(t.outerHeight()-a.outerHeight())/2}).fadeIn(),t.ccMask=n},removeMask:function(t,e,i){var n=t.ccMask;void 0===i&&(i=400),n&&n.length>0&&n.fadeOut(i,function(){setTimeout(function(){n.remove(),e&&e()},50)})},errorMask:function(t,e){e=e||"服务器出错,请重试。";var i=this,n=t.ccMask.empty().css({cursor:"default"}),o=$("<div class='af-server-error alert alert-error'>"+e+"</div>").appendTo(n),a=$("<div class='af-remove-mask-btn'><span class='af-remove-btn button-pure'></span></div>").appendTo(o);o.css({top:(t.height()-o.outerHeight())/2,left:(t.width()-o.outerWidth())/2}),a.on("click",function(){i.removeMask(t)}),e&&i.log("server error: "+e)},hasMask:function(t){return t.ccMask&&t.ccMask.length>0},addSpin:function(t){var e;t.css("position");e=$("<div class='af-spin-loading'></div>").appendTo(t),t.ccSpin=e},removeSpin:function(t){var e=t.ccSpin;e&&e.length>0&&e.remove()},addSpin2:function(t){var e;t.css("position");e=$("<div class='af-spin-loading2'></div>").appendTo(t),t.ccSpin=e},removeSpin2:function(t){var e=t.ccSpin;e&&e.length>0&&e.remove()},showMe:function(t){$("html,body").stop().animate({scrollTop:t.offset().top-16},200)},showMe2:function(t,e){$("html,body").stop().animate({scrollTop:t.offset().top-e},200)}
11,fixedWidth:function(t,e,i,n){var o=this,a=new Image;t.addClass("af-img-loading"),a.onload=function(){var s=a.width/a.height,r=i/s;r>n?o.autoFit(t,e):(e.css({width:i,height:r,marginLeft:(t.width()-i)/2,marginTop:(t.height()-r)/2}),setTimeout(function(){e.fadeIn()},50),t.removeClass("af-img-loading"))},a.onerror=function(){setTimeout(function(){e.fadeIn()},50),t.removeClass("af-img-loading")},a.src=e.attr("src")},autoFit:function(t,e,i,n){var o=new Image,a=$("<div class='af-spin-loading'></div>");t.append(a),o.onload=function(){o.onload=o.onerror=null;var n=t.height(),s=t.width(),r=o.width/o.height,l=n,d=n*r;d>t.width()&&(d=s,l=s/r),e.css({position:"absolute",left:0,top:0,width:d,height:l,marginLeft:(t.width()-d)/2,marginTop:(t.height()-l)/2}),setTimeout(function(){e.fadeIn(),a.remove(),i&&i()},50)},o.onerror=function(){o.onload=o.onerror=null;$("<div></div>");var s=t.height(),r=t.width(),l=s,d=.75*s;d>t.width()&&(d=r,l=r/.75),e.hide(),n=n||"absolute",t.css({position:n,left:(t.width()-d)/2,top:(t.height()-l)/2,width:d,height:l,cursor:"pointer",background:"#eee"}),a.remove(),i&&i()},o.src=e.attr("src")},fullFill:function(t,e,i){var n=new Image;t.addClass("af-img-loading"),n.onload=function(){var o=t.height()+1,a=t.width()+1,s=a/o,r=n.width/n.height,l=a,d=a/r;r>s?(d=o,l=o*r):r<s&&(l=a,d=a/r),e.css({position:"absolute",width:l,height:d,left:(t.width()-l)/2,top:(t.height()-d)/2}),setTimeout(function(){e.fadeIn(),t.removeClass("af-img-loading"),i&&i()},50)},n.onerror=function(){setTimeout(function(){e.fadeIn()},50),t.removeClass("af-img-loading"),i&&i()},n.src=e.attr("src")},autoFitBottom:function(t,e,i){var n=new Image;t.addClass("af-img-loading"),n.onload=function(){var o=t.height(),a=t.width(),s=n.width/n.height,r=o,l=o*s;l>t.width()&&(l=a,r=a/s),e.css({position:"absolute",display:"block",width:l,height:r,left:(t.width()-l)/2,top:"auto",bottom:0}),setTimeout(function(){e.fadeIn(),t.removeClass("af-img-loading"),i&&i()},50)},n.onerror=function(){setTimeout(function(){e.fadeIn()},50),t.removeClass("af-img-loading"),i&&i()},n.src=e.attr("src")},autoFitPosition:function(t,e,i,n,o,a){var s=new Image,r=$("<div class='af-spin-loading'></div>");t.append(r),s.onload=function(){var o=t.height(),l=t.width(),d=s.width/s.height,c=o,h=o*d;h>t.width()&&(h=l,c=l/d),(i||n)&&t.css({width:h,height:c,left:"left"==i?0:"right"==i?"auto":(t.width()-h)/2,right:"right"==i?0:"auto",top:"top"==n?0:"bottom"==n?"auto":(t.height()-c)/2,bottom:"bottom"==n?0:"auto"}),i||n?e.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}):e.css({position:"absolute",width:h,height:c,left:"left"==i?0:"right"==i?"auto":(t.width()-h)/2,right:"right"==i?0:"auto",top:"top"==n?0:"bottom"==n?"auto":(t.height()-c)/2,bottom:"bottom"==n?0:"auto"}),setTimeout(function(){e.fadeIn(),r.remove(),a&&a()},50)},s.onerror=function(){e.fadeIn(),e.remove(),r.remove(),t.css({backgroundColor:o||"#fff"}),a&&a()},s.src=e.attr("src")},setImgContainerMid:function(t,e,i){var n=new Image,o=$("<div class='af-spin-loading'></div>");t.append(o),n.onload=function(){var a=t.height(),s=t.width(),r=n.width/n.height,l=a*r;l>t.width()&&(l=s),t.css({width:l,left:(t.width()-l)/2}),setTimeout(function(){e.fadeIn(),o.remove(),i&&i()},50)},n.onerror=function(){e.hide().remove(),o.remove(),i&&i()},n.src=e.attr("src")},fixedWidthAutoHeight:function(t,e){var i=new Image;t.addClass("af-img-loading"),i.onload=function(){var n=t.width(),o=n/(i.width/i.height);e.css({width:n,height:o}),setTimeout(function(){e.fadeIn()},50),t.removeClass("af-img-loading")},i.onerror=function(){setTimeout(function(){e.fadeIn()},50),t.removeClass("af-img-loading")},i.src=e.attr("src")},confirm:function(t,e,i,n,o){var a=$("<ul class='af-light-box-buttons'></ul> "),s=$("<li class='button-pure button-pure-green'>确定</li>"),r=$("<li class='button-pure'>取消</li>"),l=new LightBox(t,e,480);return l.getBox().append(a.append(s).append(r)),l.launch(),s.on("click",function(){i(l.getBox()),l.cancel(),o&&$("body").removeClass("af-light-box-body")}),r.on("click",function(){n&&n(),l.cancel()}),l},saveConfirm:function(t,e,i,n,o){var a=$("<ul class='af-light-box-buttons'></ul> "),s=$("<li class='button-pure button-pure-green'>确定</li>"),r=$("<li class='button-pure'>否</li>"),l=$("<div class='button-pure'>取消</div>"),d=new LightBox(t,e,480);d.getBox().append(a.append(s).append(r).append(l)),d.launch(),s.on("click",function(){i&&i(),d.cancel()}),r.on("click",function(){n&&n(),d.cancel()}),l.on("click",function(){o&&o(),d.cancel()})}
11,confirmAjax:function(t,e,i,n){var o=$("<ul class='af-light-box-buttons'></ul> "),a=$("<li class='button-pure button-pure-green'>确定</li>"),s=$("<li class='button-pure'>取消</li>"),r=new LightBox(t,e,480);r.getBox().append(o.append(a).append(s)),r.launch(),a.on("click",function(){i(r)}),s.on("click",function(){n&&n(),r.cancel()})},warning:function(t,e,i,n){var o=i,a=null,s=$("<div class='af-light-box-panel padding-0'></div>");$buttons=$("<ul class='af-light-box-buttons'></ul> "),$yesBtn=$("<li class='button-pure button-pure-green'>"+e+"("+i+")</li>"),lightBox=new LightBox("","",640),lightBox.getBox().append(s.append(t)).append($buttons.append($yesBtn)),lightBox.launch(),a=setTimeout(function t(){o--,$yesBtn.attr("disabled","disabled"),$yesBtn.html(e+"("+o+")"),0==o?($yesBtn.removeAttr("disabled").html(e),delayFlag=!0,$yesBtn.trigger("click")):(delayFlag=!1,a=setTimeout(t,1e3))},1e3),$yesBtn.on("click",function(){clearTimeout(a),n&&n(),lightBox.cancel()}),lightBox.getTopCancelBtn().on("click",function(){clearTimeout(a),n&&n()})},popUp:function(t,e,i,n){var o=$("<ul class='af-light-box-buttons'></ul> "),a=$("<li class='button-pure'>关闭</li>"),s=new LightBox(t,e,i);s.getBox().append(n).append(o.append(a)),s.launch(),a.on("click",function(){s.cancel()})},alert:function(t,e){var i=$("<ul class='af-light-box-buttons'></ul> "),n=$("<li class='button-pure'>关闭</li>"),o=new LightBox(t,e,560);o.getBox().append(i.append(n)),o.launch(),n.on("click",function(){o.cancel()})},alterImg:function(t,e){var i=new LightBox("","",480,"",3),n=$("<div class='hf-imgError-panel'></div>"),o=$("<div class='hf-imgError-title'>亲 您的图片太大了 请设置成以下大小</div>"),a=$("<div class='hf-imgError-content'><p>logo宽不超过: <span class='af-main-color af-bold'>"+fh5.imgMaxWidth+"</span> px</p><p>logo高不超过: <span class='af-main-color af-bold'>"+fh5.imgMaxHeight+"</span> px</p></div>"),s=$("<div class='hf-imgError-tip'>您设置的 logo宽为: <span class='af-error-color af-bold'>"+t+"</span> px, logo高为: <span class='af-error-color af-bold'>"+e+"</span> px</div>"),r=$("<div class='hf-imgError-btns'></div>"),l=$("<div class='button-pure'>关闭</div>");n.append(o).append(a.append(s)).append(r.append(l)).appendTo(i.getPanel()),l.on("click",function(){i.cancel()}),i.launch()},max2:function(t){return Math.max.apply({},t)},min2:function(t){return Math.min.apply({},t)},remove:function(t,e,i){void 0===e&&(e=400),$("html, body").animate({scrollTop:"-="+t.height()},e),t.slideUp(e,function(){t.remove(),i&&i()})},validate:function(t,e,i){var n=e.val(),o="";switch(i=parseInt(i||1),t){case"email":""===(n=n.trim())?o="请输入你的邮箱地址。":n.match(/^\w+([-\.]\w+)*@\w+([\.-]\w+)*\.\w{2,4}$/)?null!==n.match(/['‘’"”“  ]/)&&(o="邮箱包含非法字符。"):o="无效的邮箱地址。";break;case"phone":n=n.trim();var a=this.getPhoneReg(i);""===n?o="请输入您的手机号码。":a.test(n)?null!==n.match(/['‘’"”“  ]/)&&(o="手机号包含非法字符。"):o="格式不正确,请您输入正确的手机号。";break;case"signin":n=n.trim();a=this.getPhoneReg(i);""===n?o="请输入账号。":a.test(n)||n.match(/^\w+([-\.]\w+)*@\w+([\.-]\w+)*\.\w{2,4}$/)?null!==n.match(/['‘’"”“  ]/)&&(o="账号包含非法字符。"):o="格式不正确,请您输入正确的账号。";break;case"signin2":n=n.trim();a=this.getPhoneReg(i);""===n?o="请输入手机号码或邮箱":a.test(n)||n.match(/^\w+([-\.]\w+)*@\w+([\.-]\w+)*\.\w{2,4}$/)?null!==n.match(/['‘’"”“  ]/)&&(o="手机号码或邮箱包含非法字符。"):o="格式不正确,请您输入正确的手机号码或邮箱";break;case"password":""===n?o="请输入您的密码。":n.length<6||n.length>20?o="密码必须6-20位。":null!==n.match(/['‘’"”“  ]/)&&(o="密码包含非法字符。");break;case"newpass":""===n?o="请输入您的新密码。":n.length<6||n.length>20?o="登录密码为6-20位。":null!==n.match(/['‘’"”“  ]/)&&(o="密码包含非法字符。");break;case"verificationCode":""==(n=n.trim())&&(o="请输入验证码。"),""==n||n.match(/^[A-Za-z0-9-_]+$/)||(o="验证码错误。");break;case"phoneCode":(""==(n=n.trim())||n.length<6)&&(o="请输入验证码"),""==n||n.match(/^[0-9-_]+$/)||(o="验证码错误");break;case"text":""===(n=n.trim())&&(o="必须");break;case"name":""===(n=n.trim())&&(o="请输入你的名字。");break;case"number":""===(n=n.trim())?o="必须。":isNaN(n)&&(o="请输入一个数。");break;case"positiveNumber":""===(n=n.trim())?o="必须。":isNaN(n)?o="请输入一个数。":parseFloat(n)<0&&(o="请输入一个大于零的数。")}return o?e.addClass("af-validate-fail"):e.removeClass("af-validate-fail"),o},checkPhone:function(t,e){if(86===(e=parseInt(e||1))){return!!/^[1]\d{10}$/.test(t)}return!(t.indexOf("@")>=0)},getPhoneReg:function(t){var e=/^\d{6,13}$/;if(86===(t=parseInt(t||1)))e=/^[1]\d{10}$/;else e=/^\d{6,13}$/;return e},encodeHTML:function(t){return void 0!==t&&t?(t=t.toString()).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\\/g,"&#92;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\n/g,"<br>"):""},nl2br:function(t){return t?t.replace(/\n/g,"<br>"):""},br2nl:function(t){return t?t.replace(/<.?br.?>/g,"\n"):""},changeTopBar:function(t,e){var i=$(".nav-l-c"),n=$(".nav-floder-btn");$.ajax({url:"/top-login.php",type:"POST",data:{uName:t,uLink:e},beforeSend:function(){},success:function(t){i.empty().append(t),n.length>0&&n.removeClass("af-hide")},error:function(){}})},scrollTo:function(t,e){void 0===e&&(e=400),$("html,body").animate({scrollTop:t},e)},tap:function(t,e){this.supportTouch?t.hammer().on("tap",e):t.on("click",e)},isPhone:function(){var t=navigator.userAgent.toLowerCase();return!(!(t.indexOf("phone")>0||t.indexOf("mobile")>0||t.indexOf("ipod")>0||t.indexOf("msie")>0&&t.indexOf("pc")<=0)||t.indexOf("pad")>0||t.indexOf("pc")>0)},isMac:function(){return navigator.userAgent.toLowerCase().indexOf("mac")>0},parseDate:function(t,e){if(t.toString().indexOf("-")>0)var i=(t=null!=t&&""!=t?t.toString():"").split(" "),n=i[0].split("-"),o=i[1]&&i[1].split(":")||[],a=new Date(n[0],n[1]-1,n[2],o[0]||"",o[1]||"",o[2]||"");else a=new Date(t);return e?new Date(a.getTime()+144e5-60*a.getTimezoneOffset()*1e3).toLocaleStr
11ing():a},getLabelFilePath:function(t,e){var i="";switch(t=parseInt(t)){case 1:i="/images/label-new.png";break;case 2:i="/images/label-hot.png";break;case 3:i="/images/label-featured.png"}return e.replace(/^https?:/,location.protocol)+i},selectCode:function(t){t.select()},loadFile:function(t,e){var i,n=t.split("?")[0];"js"==n.substr(n.length-2).toLowerCase()?((i=document.createElement("script")).setAttribute("src",t),i.onload=function(){e&&e()}):((i=document.createElement("link")).setAttribute("rel","stylesheet"),i.setAttribute("type","text/css"),i.setAttribute("href",t)),document.head.appendChild(i)},isEmptyObj:function(t){for(var e in t)return!1;return!0},escapeSpeciialChar:function(t){return t.replace(/'/g,"\\'")},fromatInt:function(t){if(isNaN(t))return t;var e=t.toString().length;return e<4?t:e>=4&&e<7?Math.floor(t/1e3)+"千":e>=7&&e<10?Math.floor(t/1e6)+"万":Math.floor(t/1e9)+"亿"},formatIntToStr:function(t){var e=Math.floor(parseInt(t)/1e3),i=t.toString().substr(-3);return e>0?this.formatIntToStr(e)+","+i:i+""},formatTime:function(t){var e,i=parseInt(t),n=0,o=0;return i>=60&&(n=parseInt(i/60),i=parseInt(i%60),n>=60&&(o=parseInt(n/60),n=parseInt(n%60))),e=1===i.toString().length?"0"+i:i,n>=0&&(e=(n=1===n.toString().length?"0"+n:n)+":"+e),o>=0&&(e=o+":"+e),e},formatDate:function(t,e){var i={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var n in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),i)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?i[n]:("00"+i[n]).substr((""+i[n]).length)));return e},getDocumentRoot:function(){return window.location.protocol+"//"+document.domain+"/"},getPropNum:function(t){var e=0;for(var i in t)t.hasOwnProperty(i)&&e++;return e},glow:function(t,e,i){var n=t.getAttribute("data-src");if(n&&document.getElementsByTagName("body")[0].contains(t)){var o,a=document.createElement("canvas");if(a.getContext&&(o=a.getContext("2d"))){var s=new Image,r=!1,l=null,d=null;return s.onload=function(){s.onload=null;var n=t.offsetWidth,c=t.offsetHeight;a.width=n,a.height=c;var h=a.style;h.position="absolute",h.width=2*n+"px",h.height=2*c+"px",h.left=t.offsetLeft-n/2+"px",h.top=t.offsetTop-c/2+"px",h.zIndex=t.style.zIndex?parseInt(t.style.zIndex,10)+5:5,t.parentNode.insertBefore(a,t);var p=a.cloneNode(!1).getContext("2d");p.drawImage(s,0,0,s.width,s.height,0,0,n,c);var u=a.cloneNode(!1).getContext("2d");u.save(),u.rotate(30*Math.PI/180),u.translate(Math.atan(30*Math.PI/180)*c,0);var g=u.createLinearGradient(0,45,45,45);g.addColorStop(0,"rgba(255,255,255,0)"),g.addColorStop(.3,"rgba(255,255,255,0.5)"),g.addColorStop(.7,"rgba(255,255,255,0)"),u.fillStyle=g,u.fillRect(0,-100,100,c+200),u.restore();var f=2*n,m=-n;function v(){$({k:0}).animate({k:1},{duration:e,step:function(t){o.clearRect(0,0,n,c),o.globalCompositeOperation="source-over",o.drawImage(u.canvas,m+f*t,0),o.globalCompositeOperation="destination-in",o.drawImage(p.canvas,0,0)}})}e=e||3e3,i=i||1e3,l=(d=function(){return r=!0,v(),setInterval(v,i+e)})()},s.src=n,{stop:function(){r=!1,clearInterval(l)},start:function(){!r&&d&&d()},destroy:function(){a.parentNode.removeChild(a)}}}}},setBookUrl:function(t,e,i,n,o,a,s,r,l,d,c,h){l.attr("src",t.replace(/^https?:/,location.protocol)+"files/shot.jpg"),h&&h()},downPDF:function(t,e,i){void 0!==e&&""!=e&&void 0!==i&&""!=i&&this.bookDownload(e,i),window.open(fh5.website.replace(/^https?:/,location.protocol)+"/api/download/download-file?bookId="+t+"&type=1","_blank")},downZIP:function(t,e,i){var n=this;t.hasClass("disabled")||(i&&i.length>0&&i.html(""),$.ajax({url:fh5.website.replace(/^https?:/,location.protocol)+"/api/download/pack-book-zip",type:"get",dataType:"json",data:{bookId:e},beforeSend:function(){t.addClass("disabled"),n.addMask(t,{text:"打包中...",color:"#777"})},success:function(o){t.removeClass("disabled"),n.removeMask(t),"OK"==o.code?(o=o.data,n.bookDownload(o.uLink,o.bLink),window.open(fh5.website.replace(/^https?:/,location.protocol)+"/api/download/download-file?bookId="+e+"&type=2","_self")):i&&i.length>0?i.html(o.msg):alert(o.msg)},error:function(){t.removeClass("disabled"),n.removeMask(t),i&&i.length>0?i.html("打包失败,请重试。"):alert("打包失败,请重试。")}}))}
11,downEXE1:function(t,e,i){var n=this;t.hasClass("disabled")||(i&&i.length>0&&i.html(""),$.ajax({url:fh5.website.replace(/^https?:/,location.protocol)+"/api/download/pack-book-exe-zip",type:"get",dataType:"json",data:{bookId:e},beforeSend:function(){t.addClass("disabled"),n.addMask(t,{text:"打包中...",color:"#777"})},success:function(o){t.removeClass("disabled"),n.removeMask(t),"OK"==o.code?(o=o.data,n.bookDownload(o.uLink,o.bLink),window.open(fh5.website.replace(/^https?:/,location.protocol)+"/api/download/download-file?bookId="+e+"&type=3","_self")):i&&i.length>0?i.html(o.msg):alert(o.msg)},error:function(){t.removeClass("disabled"),n.removeMask(t),i&&i.length>0?i.html("打包失败,请重试。"):alert("打包失败,请重试。")}}))},downEXE2:function(t,e,i){var n=this;t.hasClass("disabled")||(i&&i.length>0&&i.html(""),$.ajax({url:fh5.website.replace(/^https?:/,location.protocol)+"/api/download/pack-book-exe",type:"get",dataType:"json",data:{bookId:e},beforeSend:function(){t.addClass("disabled"),n.addMask(t,{text:"打包中...",color:"#777"})},success:function(o){t.removeClass("disabled"),n.removeMask(t),"OK"==o.code?(o=o.data,n.bookDownload(o.uLink,o.bLink),window.open(fh5.website.replace(/^https?:/,location.protocol)+"/api/download/download-file?bookId="+e+"&type=4","_self")):i&&i.length>0?i.html(o.msg):alert(o.msg)},error:function(){t.removeClass("disabled"),n.removeMask(t),i&&i.length>0?i.html("打包失败,请重试。"):alert("打包失败,请重试。")}}))},downMAC:function(t,e,i){var n=this;t.hasClass("disabled")||(i&&i.length>0&&i.html(""),$.ajax({url:fh5.website.replace(/^https?:/,location.protocol)+"/api/download/pack-book-mac-zip",type:"get",dataType:"json",data:{bookId:e},beforeSend:function(){t.addClass("disabled"),n.addMask(t,{text:"打包中...",color:"#777"})},success:function(o){t.removeClass("disabled"),n.removeMask(t),"OK"==o.code?(o=o.data,n.bookDownload(o.uLink,o.bLink),window.open(fh5.website.replace(/^https?:/,location.protocol)+"/api/download/download-file?bookId="+e+"&type=5","_self")):i&&i.length>0?i.html(o.msg):alert(o.msg)},error:function(){t.removeClass("disabled"),n.removeMask(t),i&&i.length>0?i.html("打包失败,请重试。"):alert("打包失败,请重试。")}}))},bookDownload:function(t,e){if(window.location.hostname.match(/www.yunzhan365.com|sharedbook.cn|huaceshu.cn|book.yunzhan365.com/)){var i=fh5.header.replace(/^https?:/,location.protocol)+"/bookvisitinfo.html?uLink="+t+"&bLink="+e+"&type=8&page=0&code=0";$.ajax({async:!0,url:i,type:"GET",dataType:"script",jsonp:"jsoncallback",timeout:5e3,beforeSend:function(){},success:function(t,e){},complete:function(t,e){},error:function(t){}})}},getStrLength:function(t){var e=t.match(/[^\x00-\xff]/gi);return t.length+(null==e?0:e.length)},searchHighlight:function(t,e){if(""==e)return t;for(var i=t,n=(new RegExp("<.*?>","i"),new Array),o=Array(e),a=0;a<o.length;a++){var s=new RegExp("("+o[a].replace(/[(){}.+*?^$|\\\[\]]/g,"\\$&")+")","ig");i=i.replace(s,"<span class='af-highlight-color'>$1</span>")}for(var r=0;r<n.length;r++)i=i.replace("{[("+r+")]}",n[r]);return i},supportCanvas:function(){return!!document.createElement("canvas").getContext},delHtmlTag:function(t){return t.replace(/<[^>]+>/g,"")},bindClcik:function(){var t={};return t.isSupportTouch="ontouchend"in document,t.isEvent=t.isSupportTouch?"touchend":"mouseup",t.isEvent},gtag_report_conversion:function(t){return"undefined"!=typeof gtag&&gtag&&gtag("event","conversion",{send_to:"AW-1072457710/4WELCJfnmYABEO7Psf8D",value:0,currency:"USD",event_callback:function(){void 0!==t&&(window.location=t)}}),!1},registerStat:function(t){"undefined"!=typeof _hmt&&_hmt&&_hmt.push(["_trackEvent","web","register",t]),"undefined"!=typeof _czc&&_czc&&_czc.push(["_trackEvent","web","register",t]),this.gtag_report_conversion()},getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),i=decodeURI(window.location.search).substr(1).match(e);return null!=i?i[2]:""},strToxXML:function(t){if(window.ActiveXObject)return(e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t),e;try{var e;return e=(new DOMParser).parseFromString(t,"text/xml")}catch(e){return console.log(e),t}}
11,third_party_operate:function(t,e,i,n){""!=t.trim()||""!=e.trim()?n&&n():new BindingEmail({userId:i})},showSuccess:function(t,e){var i=$("body"),n=i.find(".af-alter-tip");n.length>0&&n.remove();var o=$('<p class="af-alter-tip"></p>');o.append("<span>"+t+"</span>"),e||(e="success"),o.addClass(e),i.append(o),setTimeout(function(){o.addClass("show")},1),setTimeout(function(){o.fadeOut(function(){$(this).remove()})},2e3)},showError:function(t){this.showSuccess(t,"error")},Base64:{_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(t){var e,i,n,o,a,s,r,l="",d=0;for(t=this._utf8_encode(t);d<t.length;)o=(e=t.charCodeAt(d++))>>2,a=(3&e)<<4|(i=t.charCodeAt(d++))>>4,s=(15&i)<<2|(n=t.charCodeAt(d++))>>6,r=63&n,isNaN(i)?s=r=64:isNaN(n)&&(r=64),l=l+this._keyStr.charAt(o)+this._keyStr.charAt(a)+this._keyStr.charAt(s)+this._keyStr.charAt(r);return l},decode:function(t){var e,i,n,o,a,s,r="",l=0;for(t=t.replace(/[^A-Za-z0-9+/=]/g,"");l<t.length;)e=this._keyStr.indexOf(t.charAt(l++))<<2|(o=this._keyStr.indexOf(t.charAt(l++)))>>4,i=(15&o)<<4|(a=this._keyStr.indexOf(t.charAt(l++)))>>2,n=(3&a)<<6|(s=this._keyStr.indexOf(t.charAt(l++))),r+=String.fromCharCode(e),64!=a&&(r+=String.fromCharCode(i)),64!=s&&(r+=String.fromCharCode(n));return r=this._utf8_decode(r)},_utf8_encode:function(t){t=t.replace(/rn/g,"n");for(var e="",i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e},_utf8_decode:function(t){for(var e="",i=0,n=c1=c2=0;i<t.length;)(n=t.charCodeAt(i))<128?(e+=String.fromCharCode(n),i++):n>191&&n<224?(c2=t.charCodeAt(i+1),e+=String.fromCharCode((31&n)<<6|63&c2),i+=2):(c2=t.charCodeAt(i+1),c3=t.charCodeAt(i+2),e+=String.fromCharCode((15&n)<<12|(63&c2)<<6|63&c3),i+=3);return e}}},$(function(){var t=$.browser;if(!0===t.msie&&parseInt(t.version)<=8){var e=new LightBox("","",428),i=$("<div>").addClass("browser-panel"),n=$("<div>").addClass("browser-header").html("浏览器版本过低!请更换浏览器!"),o=$("<div>").addClass("browser-box").html('<p>您的当前浏览器存在兼容性问题!推荐使用 <a href="https://www.baidu.com/s?wd=谷歌浏览器" target="_blank">谷歌浏览器</a> 或者 <a href="https://browser.360.cn/" target="_blank">360安全浏览器(切换到极速模式)</a> 以获得最佳的设计体验。</p>'),a=$("<div>").addClass("browser-footer"),s=$("<div>").addClass("button-pure button-pure-green").html("确定"),r=$("<div>").addClass("browser-close");e.getTopCancelBtn().remove(),s.add(r).on("click",function(){e.cancel()}),i.append(n).append(o).append(a.append(s)).append(r).appendTo(e.getBox().css({"border-radius":"3px"})),e.launch()}}),Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;return function(){return e.apply(t,Array.prototype.slice.call(arguments))}}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e=this.length>>>0,i=Number(arguments[1])||0;for((i=i<0?Math.ceil(i):Math.floor(i))<0&&(i+=e);i<e;i++)if(i in this&&this[i]===t)return i;return-1}),Array.prototype.forEach||(Array.prototype.forEach=function(t,e){var i,n;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),a=o.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(i=e),n=0;n<a;){var s;n in o&&(s=o[n],t.call(i,s,n,o)),n++}}),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Object.create||(Object.create=function(){function t(){}return function(e){if(1!=arguments.length)throw new Error("Object.create implementation only accepts one parameter.");return t.prototype=e,new t}}()),Object.keys||(Object.keys=function(t){if(t!==Object(t))throw new TypeError("Object.keys called on a non-object");var e,i=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.push(e);return i}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");
vendor: 4,146 bytes, lines 12-16
12/*! tncode 1.2 author:weiyingbin email:[email protected]
13//@ object webiste: http://www.39gs.com/archive/259.html
14//@ https://github.com/binwind8/tncode
15*/
16if(function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.2.0",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var n=t(this),o=n.attr("data-target");o||(o=(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var a=t(o);function s(){a.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),a.length||(a=n.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s())};var n=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,n),this.isLoading=!1};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.button"),a="object"==typeof i&&i;o||n.data("bs.button",o=new e(this,a)),"toggle"==i?o.toggle():i&&o.setState(i)})}e.VERSION="3.2.0",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var i="disabled",n=this.$element,o=n.is("input")?"val":"html",a=n.data();e+="Text",null==a.resetText&&n.data("resetText",n[o]()),n[o](null==a[e]?this.options[e]:a[e]),setTimeout(t.proxy(function(){"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=i,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),i.call(n,"toggle"),e.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus","focus"==e.type)})}(jQuery),function(t){"use strict";var e=function(e,i){this.$element=t(e).on("keydown.bs.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.carousel"),a=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i),s="string"==typeof i?i:a.slide;o||n.data("bs.carousel",o=new e(this,a)),"number"==typeof i?o.to(i):s?o[s]():a.interval&&o.pause().cycle()})}e.VERSION="3.2.0",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},e.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var i="prev"==t?-1:1,n=(this.getItemIndex(e)+i)%this.$items.length;return this.$items.eq(n)},e.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".
16item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(i,n){var o=this.$element.find(".item.active"),a=n||this.getItemForDirection(i,o),s=this.interval,r="next"==i?"left":"right",l="next"==i?"first":"last",d=this;if(!a.length){if(!this.options.wrap)return;a=this.$element.find(".item")[l]()}if(a.hasClass("active"))return this.sliding=!1;var c=a[0],h=t.Event("slide.bs.carousel",{relatedTarget:c,direction:r});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=t(this.$indicators.children()[this.getItemIndex(a)]);p&&p.addClass("active")}var u=t.Event("slid.bs.carousel",{relatedTarget:c,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(i),a[0].offsetWidth,o.addClass(r),a.addClass(r),o.one("bsTransitionEnd",function(){a.removeClass([i,r].join(" ")).addClass("active"),o.removeClass(["active",r].join(" ")),d.sliding=!1,setTimeout(function(){d.$element.trigger(u)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(u)),s&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=i,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(e){var n,o=t(this),a=t(o.attr("data-target")||(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var s=t.extend({},a.data(),o.data()),r=o.attr("data-slide-to");r&&(s.interval=!1),i.call(a,s),r&&a.data("bs.carousel").to(r),e.preventDefault()}}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',i=function(e){t(e).on("click.bs.dropdown",this.toggle)};function n(i){i&&3===i.which||(t(".dropdown-backdrop").remove(),t(e).each(function(){var e=t(this),n=o(e),a={relatedTarget:this};n.hasClass("open")&&(n.trigger(i=t.Event("hide.bs.dropdown",a)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",a)))}))}function o(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}i.VERSION="3.2.0",i.prototype.toggle=function(e){var i=t(this);if(!i.is(".disabled, :disabled")){var a=o(i),s=a.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",n);var r={relatedTarget:this};if(a.trigger(e=t.Event("show.bs.dropdown",r)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},i.prototype.keydown=function(i){if(/(38|40|27)/.test(i.keyCode)){var n=t(this);if(i.preventDefault(),i.stopPropagation(),!n.is(".disabled, :disabled")){var a=o(n),s=a.hasClass("open");if(!s||s&&27==i.keyCode)return 27==i.which&&a.find(e).trigger("focus"),n.trigger("click");var r=" li:not(.divider):visible a",l=a.find('[role="menu"]'+r+', [role="listbox"]'+r);if(l.length){var d=l.index(l.filter(":focus"));38==i.keyCode&&d>0&&d--,40==i.keyCode&&d<l.length-1&&d++,~d||(d=0),l.eq(d).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),o=n.data("bs.dropdown");o||n.data("bs.dropdown",o=new i(this)),"string"==typeof e&&o[e].call(n)})},t.fn.dropdown.Constructor=i,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",e,i.prototype.toggle).on("keydown.bs.dropdown.data-api",e+', [role="menu"], [role="listbox"]',i.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal
16-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function i(i,n){return this.each(function(){var o=t(this),a=o.data("bs.modal"),s=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i);a||o.data("bs.modal",a=new e(this,s)),"string"==typeof i?a[i](n):s.show&&a.show(n)})}e.VERSION="3.2.0",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var n=this,o=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.backdrop(function(){var o=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),o&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var a=t.Event("shown.bs.modal",{relatedTarget:i});o?n.$element.find(".modal-dialog").one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(e.TRANSITION_DURATION):n.$element.trigger("focus").trigger(a)}))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").addClass("out").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var n=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=t.support.transition&&o;if(this.$backdrop=t('<div class="modal-backdrop '+o+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;a?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){n.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}else i&&i()},e.prototype.checkScrollbar=function(){this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},e.prototype.measureScrollbar=function(){if(document.body.clientWidth>=window.innerWidth)return 0;var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=t.fn.modal;t.fn.modal=i,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var n=t(this),o=n.attr("href"),a=t(n.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},a.data(),n.data());n.is("a")&&e.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),i.call(a,s,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};e.VERSION="3.2.0",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){this.timeout=null,this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var o=this.options.trigger.split(" "),a=o.length;a--;){var s=o[a];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var r="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i&&i.$tip&&i.$tip.is(":visible"))i.hoverState="in";else{if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(document.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var o=this,a=this.tip(),s=this.getUID(this.type);this.setContent(),a.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&a.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(r);d&&(r=r.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element);var c=this.getPosition(),h=a[0].offsetWidth,p=a[0].offsetHeight;if(d){var u=r,g=this.$element.parent(),f=this.getPosition(g);r="bottom"==r&&c.top+c.height+p-f.scroll>f.height?"top":"top"==r&&c.top-f.scroll-p<0?"bottom":"right"==r&&c.right+h>f.width?"left":"left"==r&&c.left-h<f.left?"right":r,a.removeClass(u).addClass(r)}var m=this.getCalculatedOffset(r,c,h,p);this.applyPlacement(m,r);var v=function(){o.$element.trigger("shown.bs."+o.type),o.hoverState=null};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",v).emulateTransitionEnd(e.TRANSITION_DURATION):v()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),o=n[0].offsetWidth,a=n[0].offsetHeight,s=parseInt(n.css("margin-top"),10),r=parseInt(n.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(r)&&(r=0),e.top=e.top+s,e.left=e.left+r,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left
vendor: 5,944 bytes, line 16
16:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,d=n[0].offsetHeight;"top"==i&&d!=a&&(e.top=e.top+a-d);var c=this.getViewportAdjustedDelta(i,e,l,d);c.left?e.left+=c.left:e.top+=c.top;var h=c.left?2*c.left-o+l:2*c.top-a+d,p=c.left?"left":"top",u=c.left?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(h,n[0][u],p)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i,t?50*(1-t/e)+"%":"")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(){var i=this,n=this.tip(),o=t.Event("hide.bs."+this.type);function a(){"in"!=i.hoverState&&n.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type)}if(this.$element.trigger(o),!o.isDefaultPrevented())return n.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,o=window.SVGElement&&i instanceof window.SVGElement,a=i.getBoundingClientRect(),s=n?{top:0,left:0}:e.offset(),r={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=o?{}:{width:n?t(window).width():e.outerWidth(),height:n?t(window).height():e.outerHeight()};return t.extend({},a,r,l,s)},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var a=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-a-s.scroll,l=e.top+a-s.scroll+n;r<s.top?o.top=s.top-r:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var d=e.left-a,c=e.left+a+i;d<s.left?o.left=s.left-d:c>s.width&&(o.left=s.left+s.width-c)}return o},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),o=n.data("bs.tooltip"),a="object"==typeof i&&i;(o||"destroy"!=i)&&(o||n.data("bs.tooltip",o=new e(this,a)),"string"==typeof i&&o[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.2.0",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var n=t(this),o=n.data("bs.popover"),a="object"==typeof i&&i;(o||"destroy"!=i)&&(o||n.data("bs.popover",o=new e(this,a)),"string"==typeof i&&o[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new e(this)),"string"==typeof i&&o[i]()})}e.VERSION="3.2.0",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=i.find(".active:last a")[0],a=t.
16Event("show.bs.tab",{relatedTarget:o});if(e.trigger(a),!a.isDefaultPrevented()){var s=t(n);this.activate(e.closest("li"),i),this.activate(s,s.parent(),function(){e.trigger({type:"shown.bs.tab",relatedTarget:o})})}}},e.prototype.activate=function(i,n,o){var a=n.find("> .active"),s=o&&t.support.transition&&(a.length&&a.hasClass("fade")||!!n.find("> .fade").length);function r(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),i.addClass("active"),s?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu")&&i.closest("li.dropdown").addClass("active"),o&&o()}a.length&&s?a.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),a.removeClass("in")};var n=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),i.call(t(this),"show")})}(jQuery),function(t){"use strict";var e=function(i,n){this.options=t.extend({},e.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.affix"),a="object"==typeof i&&i;o||n.data("bs.affix",o=new e(this,a)),"string"==typeof i&&o[i]()})}e.VERSION="3.2.0",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,i,n){var o=this.$target.scrollTop(),a=this.$element.offset(),s=this.$target.height();if(null!=i&&"top"==this.affixed)return o<i&&"top";if("bottom"==this.affixed)return null!=i?!(o+this.unpin<=a.top)&&"bottom":!(o+s<=t-n)&&"bottom";var r=null==this.affixed,l=r?o:a.top;return null!=i&&l<=i?"top":null!=n&&l+(r?s:e)>=t-n&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),n=this.options.offset,o=n.top,a=n.bottom,s=t("body").height();"object"!=typeof n&&(a=o=n),"function"==typeof o&&(o=n.top(this.$element)),"function"==typeof a&&(a=n.bottom(this.$element));var r=this.getState(s,i,o,a);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),d=t.Event(l+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:s-i-a})}};var n=t.fn.affix;t.fn.affix=i,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),n=e.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),i.call(e,n)})})}(jQuery),function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,n),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),a=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);!o&&a.toggle&&"show"==i&&(a.toggle=!1),o||n.data("bs.collapse",o=new e(this,a)),"string"==typeof i&&o[i]()})}e.VERSION="3.2.0",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n=t.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var o=this.$parent&&this.$parent.find("> .panel > .in");if(o&&o.length){var a=o.data("bs.collapse");if(a&&a.transitioning)return;i.call(o,"hide"),a||o.data("bs.collapse",null)}var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var i=t.Event("hide.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in"),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var n,o=t(this),a=o.attr("data-target")||e.preventDefault()||(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),s=t(a),r=s.data("bs.collapse"),l=r?"toggle":o.data(),d=o.attr("data-parent"),c=d&&t(d);r&&r.transitioning||(c&&c.find('[data-toggle="collapse"][data-parent="'+d+'"]').not(o).addClass("collapsed"),o.toggleClass("collapsed",s.hasClass("in"))),i.call(s,l)})}(jQuery),function(t){"use strict";function e(i,n){var o=t.proxy(this.process,this);this.$body=t("body"),this.$scrollElement=t(i).is("body")?t(window):t(i),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o),this.refresh(),this.process()}function i(i){return this.each(function(){var n=t(this),o=n.data("bs.scrollspy"),a="object"==typeof i&&i;o||n.data("bs.scrollspy",o=new e(this,a)),"string"==typeof i&&o[i]()})}e.VERSION="3.2.0",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e="offset",i=0;t.isWindow(this.$scrollElement[0])||(e="position",i=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var n=this;this.$body.find(this.selector).map(function(){var n=t(this),o=n.data("target")||n.attr("href"),a=/^#./.test(o)&&t(o);return a&&a.length&&a.is(":visible")&&[[a[e]().top+i,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,a=this.targets,s=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return s!=(t=a[a.length-1])&&this.activate(t);if(s&&e<=o[0])return s!=(t=a[0])&&this.activate(t);for(t=o.length;t--;)s!=a[t]&&e>=o[t]&&(!o[t+1]||e<=o[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(n).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.supp
16ort.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),!document.getElementByClassName){function hasClass(t,e){return 0!=(e=e||"").replace(/\s/g,"").length&&new RegExp(" "+e+" ").test(" "+t.className+" ")}function addClass(t,e){hasClass(t,e)||(t.className+=" "+e)}function removeClass(t,e){hasClass(t,e)&&(t.className=t.className.replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," "))}document.getElementByClassName=function(t,e){for(var i=document.getElementsByTagName("*"),n=[],o=0;o<i.length;o++)hasClass(i[o],t)&&n.push(i[o]);return e||(e=0),-1==e?n:n[e]}}function appendHTML(t,e){var i=document.createElement("div"),n=null,o=document.createDocumentFragment();i.innerHTML=e;for(var a=0,s=(n=i.childNodes).length;a<s;a+=1)o.appendChild(n[a].cloneNode(!0));t.appendChild(o),n=null,o=null}var _ajax=function(){};_ajax.prototype={request:function(t,e,i,n){var o=this.createXhrObject()();o.onreadystatechange=function(){4===o.readyState&&(200===o.status?i.success(o.responseText,o.responseXML):i.failure(o,status))},"POST"!==t&&n&&(e+="?"+this.JSONStringify(n),n=null),o.open(t,e,!0),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),o.send(n)},createXhrObject:function(){for(var t=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],e=0,i=t.length;e<i;e++)return this.createXhrObject=t[e],t[e];throw new Error("ajax created failure")},JSONStringify:function(t){return JSON.stringify(t).replace(/"|{|}/g,"").replace(/b:b/g,"=").replace(/b,b/g,"&")}};var tncode={_obj:null,_tncode:null,_img:null,_img_loaded:!1,_is_draw_bg:!1,_is_moving:!1,_block_start_x:0,_block_start_y:0,_doing:!1,_mark_w:50,_mark_h:50,_mark_offset:0,_img_w:240,_img_h:150,_result:!1,_err_c:0,_onsuccess:null,_onerror:null,_onhide:null,_errorText:"验证失败",isSignPanel:!1,isAiLayout:!1,_getCookie:function(t){var e=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return e?decodeURIComponent(e[2]):null},_bind:function(t,e,i){return t.addEventListener?(t.addEventListener(e,i),!0):t.attachEvent?t.attachEvent(e,i):void 0},_block_start_move:function(t){if(!tncode._doing&&tncode._img_loaded){t.preventDefault();var e=window.event||t;e.touches&&(e=e.touches[0]),document.getElementByClassName("slide_block_text").style.display="none",tncode._draw_bg(),tncode._block_start_x=e.clientX,tncode._block_start_y=e.clientY,tncode._doing=!0,tncode._is_moving=!0}},_block_on_move:function(t){if(!tncode._doing)return!0;if(!tncode._is_moving)return!0;t.preventDefault();var e=window.event||t;e.touches&&(e=e.touches[0]),tncode._is_moving=!0;var i=e.clientX-tncode._block_start_x;i<0&&(i=0);var n=tncode._img_w-tncode._mark_w;i>n&&(i=n),document.getElementByClassName("slide_block").style.cssText="transform: translate("+i+"px, 0px)",tncode._mark_offset=i/n*(tncode._img_w-tncode._mark_w),tncode._draw_bg(),tncode._draw_mark()},_block_on_end:function(t){if(!tncode._doing)return!0;t.preventDefault();var e=window.event||t;e.touches&&(e=e.touches[0]),tncode._is_moving=!1,tncode._send_result()},_send_result:function(){var t={success:tncode._send_result_success,failure:tncode._send_result_failure};tncode._result=!1;var e,i=new _ajax,n="tn_r="+tncode._mark_offset,o=this.ajaxObj?this.ajaxObj():{};for(var a in o)n+="&"+a+"="+o[a];if(tncode.isAiLayout)e="/api/common/get-code";else{var s=tncode._getCookie("tn_token");s&&(n+="&tn_token="+s),e=tncode._currentUrl()+"check.php",this.isSignPanel&&(e="/api/common/get-code")}i.request("POST",e,t,n)},_send_result_success:function(t,e){if(tncode._doing=!1,"1"==JSON.parse(t).status||"OK"==JSON.parse(t).code)tncode._tncode.innerHTML="√验证成功",tncode._showmsg("√验证成功",1),tncode._result=!0,document.getElementByClassName("hgroup").style.display="block",setTimeout(tncode.hide,500),tncode._onsuccess&&tncode._onsuccess();else{tncode._onerror&&tncode._onerror(t);var i=document.getElementById("tncode_div");addClass(i,"dd"),setTimeout(function(){removeClass(i,"dd")},200),tncode._result=!1,tncode._showmsg(tncode._errorText),tncode._err_c++,tncode.refresh()}},_send_result_failure:function(t,e){},_draw_fullbg:function(){var t=document.getElementByClassName("tncode_
16canvas_bg").getContext("2d"),e=tncode.isAiLayout?2*tncode._img_h:0;t.drawImage(tncode._img,0,e,tncode._img_w,tncode._img_h,0,0,tncode._img_w,tncode._img_h)},_draw_bg:function(){tncode._is_draw_bg||(tncode._is_draw_bg=!0,document.getElementByClassName("tncode_canvas_bg").getContext("2d").drawImage(tncode._img,0,0,tncode._img_w,tncode._img_h,0,0,tncode._img_w,tncode._img_h))},_draw_mark:function(){try{var t=document.getElementByClassName("tncode_canvas_mark"),e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),e.drawImage(tncode._img,0,tncode._img_h,tncode._mark_w,tncode._img_h,tncode._mark_offset,0,tncode._mark_w,tncode._img_h);for(var i=e.getImageData(0,0,tncode._img_w,tncode._img_h),n=i.data,o=tncode._img_h,a=tncode._img_w,s=0;s<o;s++)for(var r=1,l=-1,d=0;d<a&&d>=0&&d>l;){var c=4*(s*a+d);if(d+=r,n[c]+n[c+1]+n[c+2]<200)n[c+3]=0;else{for(var h=tncode.isAiLayout?[1,-5]:[1,-2],p=tncode.isAiLayout?[250,0]:[255,0],u=1;u<h[0]-h[1];u++){var g=h[0]-1*u,f=parseInt(p[0]-(p[0]-p[1])/(h[0]-h[1])*u);n[4*(s*a+d+g*r)+3]=f}if(-1==r)break;l=d,d=a-1,r=-1}}e.putImageData(i,0,0)}catch(t){}},_reset:function(){tncode._mark_offset=0,tncode._draw_bg(),tncode._draw_mark();try{document.getElementByClassName("slide_block").style.cssText="transform: translate(0px, 0px)"}catch(t){}},show:function(){var t=document.getElementByClassName("hgroup");t&&(t.style.display="none"),tncode.refresh(),tncode._tncode=this,document.getElementById("tncode_div").style.display="block"},hide:function(){tncode._onhide?tncode._onhide():document.getElementById("tncode_div").style.display="none"},_showmsg:function(t,e){if(e)i=document.getElementByClassName("tncode_msg_ok");else{e=0;var i=document.getElementByClassName("tncode_msg_error")}i.innerHTML=t;var n=function(t,e){null!=t.style.opacity?t.style.opacity=e/100:t.style.filter="alpha(opacity="+e+")"};!function(t,o,a){if(t){var s=t.style.filter.replace("alpha(opacity=","").replace(")","")||t.style.opacity;s<1&&(s*=100);var r=a/1e3,l=r<2?o/r:o/r-1,d=null;d=setInterval(function(){s<o?n(t,s+=l):(clearInterval(d),setTimeout(function(){!function(t,i,o){if(t){var a=t.style.filter.replace("alpha(opacity=","").replace(")","")||t.style.opacity||100;a<1&&(a*=100);var s=(100-i)/(o/1e3),r=null;r=setInterval(function(){a-s>i?n(t,a-=s):(n(t,0),0==e&&tncode._reset(),clearInterval(r))},100)}}(i,0,6e3)},1e3))},100)}}(i,80,2e3)},_html:function(t){if(!document.getElementById("tncode_div")){var e=document.getElementsByTagName("body");appendHTML((e=t||e)[0],'<div class="tncode_div" id="tncode_div"><a class="arrow"></a><div class="tools"><div class="tncode_close"></div><div class="tncode_refresh"></div></div><div class="img-panel"><div class="loading">加载中...</div><canvas class="tncode_canvas_bg"></canvas><canvas class="tncode_canvas_mark"></canvas><div class="hgroup"></div><div class="tncode_msg_error"></div><div class="tncode_msg_ok"></div></div><div class="slide"><div class="slide_block"></div><div class="slide_block_text">拖动左边滑块完成上方拼图</div></div></div>')}},_currentUrl:function(){return"/js/jvr_code/"},refresh:function(){var t=!![].map&&0==document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp");tncode._err_c=0,tncode._is_draw_bg=!1,tncode._result=!1,tncode._img_loaded=!1;var e=document.getElementByClassName("tncode_canvas_bg");e.style.display="none",(e=document.getElementByClassName("tncode_canvas_mark")).style.display="none",tncode._img=new Image;var i=tncode.isAiLayout?"/api/common/tncode?t="+Math.random():tncode._currentUrl()+"tncode.php?t="+Math.random();t||(i+="&nowebp=1"),tncode._img.src=i,tncode._img.onload=function(){tncode._draw_fullbg();var t=document.getElementByClassName("tncode_canvas_mark");t.getContext("2d").clearRect(0,0,t.width,t.height);var i=document.getElementByClassName("tncode_canvas_bg");i.getContext("2d").clearRect(0,0,i.width,i.height),tncode._img_loaded=!0,(e=document.getElementByClassName("tncode_canvas_bg")).style.display="",(e=document.getElementByClassName("tncode_canvas_mark")).style.display="",tncode._reset()},(e=document.getElementByClassName("slide_block")).style.cssText="transform: translate(0px, 0px)",(e=document.getElementByClassName("slide_block_text")).style.display="block"}
16,init:function(t,e,i){var n=this;if(!document.getElementById("tncode_div")){n.ajaxObj=i,tncode._html(t);var o=document.getElementByClassName("slide_block");tncode._bind(o,"mousedown",n._block_start_move),tncode._bind(document,"mousemove",n._block_on_move),tncode._bind(document,"mouseup",n._block_on_end),tncode._bind(o,"touchstart",n._block_start_move),tncode._bind(document,"touchmove",n._block_on_move),tncode._bind(document,"touchend",n._block_on_end);o=document.getElementByClassName("tncode_close");tncode._bind(o,n.hasTouch(),n.hide);o=document.getElementByClassName("tncode_refresh");tncode._bind(o,n.hasTouch(),n.refresh),e&&tncode._bind(e,n.hasTouch(),n.show)}},result:function(){return tncode._result},onsuccess:function(t){tncode._onsuccess=t},onerror:function(t){tncode._onerror=t},onhide:function(t){tncode._onhide=t},hasTouch:function(){var t={};return t.isSupportTouch="ontouchend"in document,t.isEvent=t.isSupportTouch?"touchstart":"click",t.isEvent},setCheckData:function(t){this.ajaxObj=t},setErrorText:function(t){this._errorText=t}},$TN=tncode;window.tncode=tncode,window.$TN=$TN;var _old_onload=window.onload;function ActivityEachDay(t){if(this.opt=t=$.extend({},{showCLose:!0,isEaseClose:!0,className:"",endDate:"",isEachDay:!0},t),""!=t.endDate){var e=new Date(Date.parse(t.endDate.replace(/-/g,"/"))).getTime();if((new Date).getTime()>e)return null}this.init(t)}function ActivityPrompt(t){if(this.opt=t=$.extend({},{className:"",endDate:""},t),""!=t.endDate){var e=new Date(Date.parse(t.endDate.replace(/-/g,"/"))).getTime();if((new Date).getTime()>e)return null}this.init(t.content,t.barKey,t.timeKey,t.endDate)}function BindingEmail(t){var e={type:"2",change:"1",flag:"1",successBack:function(){window.location.reload()}};t=$.extend({},e,t),this.create(t)}function BookcaseEmbedPanel(t){var e=this;this.options=t=$.extend({},{showSkin:"red",url:"",isSelf:!1,width:900,height:500,iframeAttr:' seamless="seamless" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" ',saveCallback:null},t);var i=$("<div class='bookcase-embed-panel'></div>"),n=$("<div class='bookcase-embed-iframe-content'></div>"),o=$("<iframe class='bookcase-embed-iframe'"+this.options.iframeAttr+"></iframe>"),a=$("<div class='bookcase-embed-option-content'></div>"),s=$("<label class='bookcase-embed-option-label'>选项</label>"),r=$("<div class='bookcase-embed-group'></div>"),l=$("<label class='bookcase-embed-label'>大小:</label>"),d=$("<div class='bookcase-embed-size-content'></div>"),c=$("<div class='bookcase-embed-size'></div>"),h=$("<label class='bookcase-embed-square bookcase-embed-small' for='small' data-width='400' data-height='250' title='400 X 250'>400 x 250</label>"),p=$("<input class='bookcase-embed-radio' type='radio' name='size' id='small' data-width='400' data-height='250' title='400 X 250'></input>"),u=$("<div class='bookcase-embed-size'></div>"),g=$("<label class='bookcase-embed-square bookcase-embed-middle' for='middle' data-width='700' data-height='400' title='700 X 400'>700 x 400</label>"),f=$("<input class='bookcase-embed-radio' type='radio' name='size' id='middle' data-width='700' data-height='400' title='700 X 400'></input>"),m=$("<div class='bookcase-embed-size'></div>"),v=$("<label class='bookcase-embed-square bookcase-embed-large' for='large' data-width='900' data-height='500' title='900 X 500'>900 x 500</label>"),C=$("<input class='bookcase-embed-radio' type='radio' name='size' id='large' data-width='900' data-height='500' title='900 X 500' checked></input>"),b=$("<div class='bookcase-embed-size'></div>"),w=$("<label class='bookcase-embed-custom' for='custom'></label>"),k=$("<input type='number' class='form-control bookcase-embed-number-input'> X </input>"),y=$("<input type='number' class='form-control bookcase-embed-number-input'></input>"),T=$("<span class='bookcase-embed-custom-px'> px</span>"),_=$("<span class='bookcase-embed-custom-help'><span>*</span> 按\"Enter\"键在键盘上应用更改。</span>"),x=$("<input class='bookcase-embed-radio' type='radio' name='size' id='custom'></input>"),E=$("<div class='bookcase-embed-group'></div>"),S=$("<label class='bookcase-embed-label'>皮肤:</label>
16"),B=$("<div class='bookcase-embed-skin-group'></div>"),P=$("<div class='bookcase-embed-skin'><input class='bookcase-embed-radio' data-id='red' type='radio' name='skin' id='red'><label class='bookcase-embed-skin-red' for='red'></label></div>"),I=$("<div class='bookcase-embed-skin'><input class='bookcase-embed-radio' data-id='gold' type='radio' name='skin' id='gold'><label class='bookcase-embed-skin-gold' for='gold'></label></div>"),L=$("<div class='bookcase-embed-skin'><input class='bookcase-embed-radio' data-id='silver' type='radio' name='skin' id='silver'><label class='bookcase-embed-skin-silver' for='silver'></label></div>"),M=$("<div class='bookcase-embed-skin'><input class='bookcase-embed-radio' data-id='green' type='radio' name='skin' id='green'><label class='bookcase-embed-skin-green' for='green'></label></div>"),N=$("<div class='bookcase-embed-skin'><input class='bookcase-embed-radio' data-id='yellow' type='radio' name='skin' id='yellow'><label class='bookcase-embed-skin-yellow' for='yellow'></label></div>"),A=$("<div class='bookcase-embed-option-label'>步骤:</div>"),O=$("<div class='bookcase-embed-step-content'></div>"),D=($("<div class='bookcase-embed-group'></div>"),$("<p class='bookcase-embed-step-title'>1. 把嵌入代码复制到您的HTML文件上</p>")),R=$("<textarea class='bookcase-embed-step-code form-control'></textarea>");i.append(n.append(o)).append(a.append(s).append(r.append(l).append(d.append(c.append(p).append(h)).append(u.append(f).append(g)).append(m.append(C).append(v)).append(b.append(x).append(w.append(k).append(y)).append(T).append(_)))).append(E.append(S).append(B.append(P).append(I).append(L).append(M).append(N))).append(A).append(O.append(D).append(R))),hf_utils.popUp("把书橱嵌入到您的网站","",960,i,!0),B.find(".bookcase-embed-radio[data-id='"+t.showSkin+"']")[0].checked=!0,this.$iframeContent=n,this.$customWidthInput=k,this.$customHeightInput=y,this.$stepCode=R,setTimeout(function(){o.attr("src",e.options.url),setTimeout(function(){e.resizeIframe(e.options.width,e.options.height)},50)},50),R.on("click",function(){hf_utils.selectCode($(this))}),h.add(p).on("click",function(){e.resizeIframe(400,250)}),g.add(f).on("click",function(){e.resizeIframe(700,400)}),v.add(C).on("click",function(){e.resizeIframe(900,500)}),k.add(y).on("click",function(){var t=$(this);t.on("focus",function(){x[0].checked=!0}),t.on("change",function(){x[0].checked=!0,e.resizeIframe(k.val().trim(),y.val().trim())}),t.on("blur",function(){e.resizeIframe(k.val().trim(),y.val().trim())}),t.on("keypress",function(t){13===t.which&&e.resizeIframe(k.val().trim(),y.val().trim())})}),E.find("input[name=skin]").on("change",function(){var t=e.options.url.replace(/\/$/,"")+"?skin="+this.id;o.attr("src",t),e.setCode(t)})}function BookDownloadPanel(t){this.options=t=$.extend({},{type:"1",uLink:"",bLink:"",allow:!1,len:5,isRecord:!1,downObj:{pdf:!0,zip:!0,exe:!0,exe2:!0,mac:!0}},t);var e=this.options.len,i=this.options.downObj,n=$("<div class='af-light-box-content-panel gray book-download-panel'></div>"),o=$("<ul class='book-download-content'></ul>"),a=$("<li class='book-download-item'></li>").addClass(i.pdf?"width-"+e:"af-hide"),s=$("<div class='book-download-img'><img src='/images/upgrade/pdf.png' /></div>"),r=$("<p class='book-download-text'>PDF下载</p>"),l=$("<div class='book-download-btn button-pure button-pure-red'>下载PDF</div>"),d=$("<li class='book-download-item'></li>").addClass(i.zip?"width-"+e:"af-hide"),c=$("<div class='book-download-img'><img src='/images/upgrade/zip.png' /></div>"),h=$("<p class='book-download-text'>ZIP下载</p>"),p=$("<div class='book-download-btn button-pure button-pure-orange'>下载ZIP</div>").addClass(t.allow||"4"!=fh5.uType?"":"disabled"),u=$("<div class='af-error book-download-help'></div>"),g=$("<li class='book-download-item'></li>").addClass(i.exe?"width-"+e:"af-hide"),f=$("<div class='book-download-img'><img src='/images/upgrade/exe.png' /></div>"),m=$("<p class='book-download-text'>防杀毒软件误报EXE包<span class='af-bookinfo-help-text af-icon-bg'></span></p>"),v=$("<div class='book-download-btn button-pure button-pure-blue'>下载EXE</div>").addClass(t.allow||"4"!=fh5.uType?"":"disabled"),C=$("<div class='af-error book-download-help'></div>"),b=$("<li class='book-download-item'></li>").addClass(i.exe2?"width-"+e:"af-hide"),w=$("<div class='book-download-img'><img src='/images/upgrade/exe.png' /></div>"),k=$("<p class='book-download-text'>独立EXE文件<span class='af-bookinfo-help-text af-icon-bg'></span></p>"),y=$("<div class='book-download-btn button-pure button-pure-sky-blue'>下载EXE</div>").addClass(t.allow||"4"!=fh5.uType?"":"disabled"),T=$("<div class='af-error book-download-help'></div>"),_=$("<li class='book-download-item'></li>
16").addClass(i.mac?"width-"+e:"af-hide"),x=$("<div class='book-download-img'><img src='/images/upgrade/mac.png' /></div>"),E=$("<p class='book-download-text'>MAC下载</p>"),S=$("<div class='book-download-btn button-pure button-pure-green'>下载MAC</div>").addClass(t.allow||"4"!=fh5.uType?"":"disabled"),B=$("<div class='af-error book-download-help'></div>");m.find("span").hintPoint({animation:!0,container:n,placement:"top",html:!0,title:"防杀毒软件误报EXE包,包含杂志文件。"}),k.find("span").hintPoint({animation:!0,container:n,placement:"top",html:!0,title:"可能会被杀毒软件误报病毒"}),this.$zipBtn=p,this.$zipHelp=u,this.$exe1Btn=v,this.$exe1Help=C,this.$exe2Btn=y,this.$exe2Help=T,this.$macBtn=S,this.$macHelp=B,a.append(s).append(r).append(l),d.append(c).append(h).append(p).append(u),g.append(f).append(m).append(v).append(C),b.append(w).append(k).append(y).append(T),_.append(x).append(E).append(S).append(B),i.pdf&&o.append(a),i.zip&&o.append(d),i.exe&&o.append(g),i.exe2&&o.append(b),i.mac&&o.append(_);var P=new LightBox("选择下载版本","",160*e+80,"gray");P.getBox().append(n.append(o)),"1"==t.type||null==t.type?l.on("click",this.downPdf.bind(this)):(l.addClass("disabled"),l.attr("title","只能下载从网站上传的PDF文件,而不能下载从客户端上传的。")),p.on("click",this.downZip.bind(this)),v.on("click",this.downExe1.bind(this)),y.on("click",this.downExe2.bind(this)),S.on("click",this.downMac.bind(this)),P.launch()}function CookiePanel(t,e,i,n){var o=this;this.cookieArr=this.getCookieToArray(t),this.cookieName=t,this.$cookiePanel=null,this.$input=e,this.$content=i||e,e.on("focus click",function(){o.createCookie()}).on("blur",function(){o.destroy()}).on("keydown",function(t){if(o.$ulPanle){13==t.which&&o.destroy();var e=o.$ulPanle.children("li"),i=e.first(),n=e.last();if(38==t.which)(a=o.$ulPanle.find(".hover-active")).length>0?($currentPrev=a.prev("li"),$currentPrev.length>0?(e.removeClass("hover-active"),$currentPrev.addClass("hover-active"),o.$input.val($currentPrev.attr("data-value"))):(e.removeClass("hover-active"),n.addClass("hover-active"),o.$input.val(i.attr("data-value")))):(e.removeClass("hover-active"),n.addClass("hover-active"),o.$input.val(i.attr("data-value")));else if(40==t.which){var a;(a=o.$ulPanle.find(".hover-active")).length>0?($currentNext=a.next("li"),$currentNext.length>0?(e.removeClass("hover-active"),$currentNext.addClass("hover-active"),o.$input.val($currentNext.attr("data-value"))):(e.removeClass("hover-active"),i.addClass("hover-active"),o.$input.val(i.attr("data-value")))):(e.removeClass("hover-active"),i.addClass("hover-active"),o.$input.val(i.attr("data-value")))}}}).on("input",function(){if(o.$ulPanle){var t=$(this).val().trim();t&&""!=t?(o.$ulPanle.find("li[data-value^='"+t+"']").removeClass("af-hide"),o.$ulPanle.find("li:not([data-value^='"+t+"'])").addClass("af-hide"),t.match(/@/g)&&t.match(/@/g).length):o.$ulPanle.find("li").removeClass("af-hide")}}),this.callback=n}function CountryCode(t){var e={A:[{name:"澳大利亚",code:"0061"},{name:"阿富汗",code:"0093"},{name:"阿塞拜疆",code:"0994"},{name:"阿曼",code:"0968"},{name:"阿联酋",code:"0971"},{name:"安圭拉",code:"1264"},{name:"安提瓜和巴布达",code:"1268"},{name:"阿鲁巴",code:"0297"},{name:"阿根廷",code:"0054"},{name:"阿尔巴尼亚",code:"0355"},{name:"奥地利",code:"0043"},{name:"爱尔兰",code:"0353"},{name:"安道尔",code:"0376"},{name:"爱沙尼亚",code:"0372"},{name:"安哥拉",code:"0244"},{name:"阿森松岛",code:"0247"},{name:"埃及",code:"0020"},{name:"埃塞俄比亚",code:"0251"},{name:"阿尔及利亚",code:"0213"}],B:[{name:"巴林",code:"0973"},{name:"不丹",code:"0975"},{name:"巴基斯坦",code:"0092"},{name:"巴勒斯坦",code:"0970"},{name:"巴西",code:"0055"},{name:"巴哈马",code:"1242"},{name:"巴巴多斯",code:"1246"},{name:"伯利兹",code:"0501"},{name:"百慕大群岛",code:"1441"},{name:"巴拿马",code:"0507"},{name:"波多黎各",code:"1787"},{name:"玻利维亚",code:"0591"},{name:"巴拉圭",code:"0595"},{name:"比利时",code:"0032"},{name:"波斯尼亚和黑塞哥维那",code:"0387"},{name:"保加利亚",code:"0359"},{name:"冰岛",code:"0354"},{name:"波兰",code:"0048"},{name:"白俄罗斯",code:"0375"},{name:"巴布亚新几内亚",code:"0675"},{name:"贝宁",code:"0229"},{name:"博茨瓦纳",code:"0267"},{name:"布基纳法索",code:"0226"},{name:"布隆迪",code:"0257"}
16],C:[{name:"朝鲜",code:"0850"},{name:"赤道几内亚",code:"0240"}],D:[{name:"东帝汶",code:"0670"},{name:"多米尼克",code:"1767"},{name:"多米尼加",code:"1849"},{name:"丹麦",code:"0045"},{name:"德国",code:"0049"},{name:"多哥",code:"0228"}],E:[{name:"厄瓜多尔",code:"0593"},{name:"俄罗斯",code:"0007"},{name:"厄立特里亚",code:"0291"}],F:[{name:"菲律宾",code:"0063"},{name:"法属圭亚那",code:"0594"},{name:"法罗群岛",code:"0298"},{name:"芬兰",code:"0358"},{name:"法国",code:"0033"},{name:"梵蒂冈",code:"0396"},{name:"斐济群岛",code:"0679"},{name:"法属波利尼西亚",code:"0689"},{name:"佛得角",code:"0238"}],G:[{name:"格鲁吉亚",code:"0995"},{name:"哥斯达黎加",code:"0506"},{name:"格陵兰",code:"0299"},{name:"格林纳达",code:"1473"},{name:"瓜德罗普",code:"0590"},{name:"哥伦比亚",code:"0057"},{name:"圭亚那",code:"0592"},{name:"关岛",code:"1671"},{name:"冈比亚",code:"0220"}],H:[{name:"韩国",code:"0082"},{name:"哈萨克斯坦",code:"0007"},{name:"海地",code:"0509"},{name:"洪都拉斯",code:"0504"},{name:"荷属安的列斯群岛",code:"0599"},{name:"黑山",code:"0382"},{name:"荷兰",code:"0031"}],J:[{name:"加拿大",code:"0001"},{name:"柬埔寨",code:"0855"},{name:"吉尔吉斯斯坦",code:"0996"},{name:"捷克",code:"0420"},{name:"基里巴斯",code:"0686"},{name:"吉布提",code:"0253"},{name:"加蓬",code:"0241"},{name:"加纳",code:"0233"},{name:"几内亚",code:"0224"},{name:"几内亚比绍",code:"0245"},{name:"津巴布韦",code:"0263"}],K:[{name:"科威特",code:"0965"},{name:"卡塔尔",code:"0974"},{name:"开曼群岛",code:"1345"},{name:"克罗地亚",code:"0385"},{name:"库克群岛",code:"0682"},{name:"喀麦隆",code:"0237"},{name:"科特迪瓦",code:"0225"},{name:"肯尼亚",code:"0254"},{name:"科摩罗",code:"0269"}],L:[{name:"老挝",code:"0856"},{name:"黎巴嫩",code:"0961"},{name:"卢森堡",code:"0352"},{name:"罗马尼亚",code:"0040"},{name:"列支敦士登",code:"4175"},{name:"拉脱维亚",code:"0371"},{name:"立陶宛",code:"0370"},{name:"莱索托",code:"0266"},{name:"利比里亚",code:"0231"},{name:"利比亚",code:"0218"},{name:"留尼旺岛",code:"0262"},{name:"卢旺达",code:"0250"}],M:[{name:"美国",code:"0001"},{name:"马来西亚",code:"0060"},{name:"孟加拉",code:"0880"},{name:"蒙古",code:"0976"},{name:"马尔代夫",code:"0960"},{name:"马提尼克",code:"0596"},{name:"墨西哥",code:"0052"},{name:"蒙特塞拉特",code:"1664"},{name:"美属维尔京群岛",code:"1340"},{name:"秘鲁",code:"0051"},{name:"马耳他",code:"0356"},{name:"摩纳哥",code:"0377"},{name:"马其顿",code:"0389"},{name:"摩尔多瓦",code:"0373"},{name:"美属萨摩亚",code:"0684"},{name:"密克罗尼西亚",code:"0691"},{name:"马绍尔群岛",code:"0692"},{name:"马达加斯加",code:"0261"},{name:"马里",code:"0223"},{name:"毛里求斯",code:"0230"},{name:"摩洛哥",code:"0212"},{name:"莫桑比克",code:"0258"},{name:"毛里塔尼亚",code:"0222"},{name:"马拉维",code:"0265"}],N:[{name:"尼泊尔",code:"0977"},{name:"尼加拉瓜",code:"0505"},{name:"挪威",code:"0047"},{name:"瑙鲁",code:"0674"},{name:"纽埃岛",code:"0683"},{name:"诺福克岛",code:"6723"},{name:"尼日尔",code:"0227"},{name:"尼日利亚",code:"0234"},{name:"纳米比亚",code:"0264"},{name:"南非",code:"0027"}],P:[{name:"葡萄牙",code:"0351"},{name:"帕劳",code:"0680"}],R:[{name:"日本",code:"0081"},{name:"瑞典",code:"0046"},{name:"瑞士",code:"0041"}],S:[{name:"塞浦路斯",code:"0357"},{name:"沙特阿拉伯",code:"0966"},{name:"斯里兰卡",code:"0094"},{name:"萨尔瓦多",code:"0503"},{name:"圣文森特和格林纳丁斯",code:"1784"},{name:"圣卢西亚",code:"1758"},{name:"圣基茨和尼维斯",code:"1869"},{name:"苏里南",code:"0597"},{name:"圣马力诺",code:"0378"},{name:"塞尔维亚",code:"0381"},{name:"斯洛文尼亚",code:"0386"},{name:"斯洛伐克",code:"0421"},{name:"所罗门群岛",code:"0677"},{name:"萨摩亚",code:"0685"},{name:"圣赫勒拿岛",code:"0290"},{name:"圣多美和普林西比",code:"0239"},{name:"塞内加尔",code:"0221"},{name:"塞舌尔",code:"0248"},{name:"塞拉利昂",code:"0232"},{name:"斯威士兰",code:"0268"},{name:"索马里",code:"0252"}],T:[{name:"泰国",code:"0066"},{name:"塔吉克斯坦",code:"0992"},{name:"土耳其",code:"0090"},{name:"土库曼斯坦",code:"0993"},{name:"特克斯和凯科斯群岛",code:"1649"},{name:"特立尼达和多巴哥",code:"1868"},{name:"托克劳",code:"0690"},{name:"汤加",code:"0676"},{name:"图瓦卢",code:"0688"},{name:"坦桑尼亚",code:"0255"},{name:"突尼斯",code:"0216"}],W:[{name:"文莱",code:"0673"},{name:"乌兹别克斯坦",code:"0998"},{name:"委内瑞拉",code:"0058"},{name:"危地马拉",code:"0502"},{name:"乌拉圭",code:"0598"},{name:"乌克兰",code:"0380"},{name:"瓦努阿图",code:"0678"},{name:"瓦利斯和富图纳",code:"0681"},{name:"乌干达",code:"0256"}],X:[{name:"新加坡",code:"0065"},{name:"新西兰",code:"0064"},{name:"希腊",code:"0030"},{name:"匈牙利",code:"0036"},{name:"西班牙",code:"0034"},{name:"新喀里多尼亚",code:"0687"},{name:"西撒哈拉",code:"0210"}],Y:[{name:"印度尼西亚",code:"0062"},{name:"越南",code:"0084"},{name:"伊拉克",code:"0964"},{name:"约旦",code:"0962"},{name:"亚美尼亚",code:"0374"},{name:"以色列",code:"0972"},{name:"也门",code:"0967"},{name:"牙买加",code:"1876"},{name:"英属维尔京群岛",code:"1284"},{name:"意大利",code:"0039"},{name:"英国",code:"0044"}],Z:[{name:"中国",code:"0086"},{name:"中国香港",code:"0852"},{name:"中国澳门",code:"0853"},{name:"中国台湾",code:"0886"},{name:"智利",code:"0056"},{name:"中非",code:"0236"},{name:"乍得",code:"0235"},{name:"赞比亚",code:"0260"}]};
16this.code="0086",this.code_arr=e,this.cur_arr=e,this.m_arr=[{name:"中国",code:"0086"},{name:"中国台湾",code:"0886"},{name:"中国香港",code:"0852"},{name:"中国澳门",code:"0853"},{name:"澳大利亚",code:"0061"},{name:"美国",code:"0001"},{name:"马来西亚",code:"0060"},{name:"新加坡",code:"0065"},{name:"日本",code:"0081"},{name:"新西兰",code:"0064"},{name:"加拿大",code:"0001"},{name:"韩国",code:"0082"}],t=$.extend({},{trigger:null,backFn:null},t),this.create(t),this.bindEvents(t)}function EmailsPanel(t,e,i,n){var o=this;this.emailSuff=["qq.com","gmail.com","126.com","163.com","hotmail.com","yahoo.com","yahoo.com.cn","live.com","sohu.com","sina.com"],this.$input=t,this.$content=e||t,this.callback=i,this.createFn=n,t.on("focus click",function(){o.createFn?o.createFn()&&o.create():o.create()}).on("blur",function(){o.destroy()}).on("keydown",function(t){if(o.$ulPanle){13==t.which&&(o.destroy(),$(this).blur());var e=o.$ulPanle.children("li"),i=e.first(),n=e.last();if(38==t.which)(a=o.$ulPanle.find(".hover-active")).length>0?($currentPrev=a.prev("li"),$currentPrev.length>0?(e.removeClass("hover-active"),$currentPrev.addClass("hover-active"),o.$input.val($currentPrev.attr("data-value"))):(e.removeClass("hover-active"),n.addClass("hover-active"),o.$input.val(i.attr("data-value")))):(e.removeClass("hover-active"),n.addClass("hover-active"),o.$input.val(i.attr("data-value")));else if(40==t.which){var a;(a=o.$ulPanle.find(".hover-active")).length>0?($currentNext=a.next("li"),$currentNext.length>0?(e.removeClass("hover-active"),$currentNext.addClass("hover-active"),o.$input.val($currentNext.attr("data-value"))):(e.removeClass("hover-active"),i.addClass("hover-active"),o.$input.val(i.attr("data-value")))):(e.removeClass("hover-active"),i.addClass("hover-active"),o.$input.val(i.attr("data-value")))}}}).on("input",function(){o.createEmailRow()})}function EmbedPanel(t){var e=this;this.options=$.extend({},{width:700,height:400,startPage:1,loadMode:"1",iframeStr:' seamless="seamless" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" ',title:"云展网"},t),this.setMode(this.options.loadMode);var i=$("<div class='af-embed-panel'></div>"),n=$("<div class='af-embed-context'></div>"),o=new TabBox({tabArr:[{title:"IFrame嵌入"},{title:"博客Flash嵌入"}],container:n,tabStyle:"tab-style-5 embed-ifreme"}),a=$("<div class='af-embed-iframe-content'></div>"),s=$("<iframe class='af-embed-iframe'"+this.options.iframeStr+"></iframe>"),r=$("<div class='af-embed-options tb-section tb-section-active'></div>"),l=$("<h4 class='af-embed-option-title'>设置:</h4>"),d=$("<div class='af-embed-group'><label class='af-embed-label top-4'>大小:</label></div>"),c=$("<div class='af-embed-size-group'></div>"),h=$("<div class='af-embed-size-option'></div>"),p=$("<label class='af-embed-square af-embed-small' for='small' data-width='400' data-height='250' title='400 X 250'>400 x 250</label>"),u=$("<input class='af-embed-radio' type='radio' name='size' id='small' data-width='400' data-height='250' title='400 X 250'></input>"),g=$("<div class='af-embed-size-option'></div>"),f=$("<label class='af-embed-square af-embed-middle' for='middle' data-width='700' data-height='400' title='700 X 400'>700 x 400</label>"),m=$("<input class='af-embed-radio' type='radio' name='size' id='middle' data-width='700' data-height='400' title='700 X 400' checked></input>"),v=$("<div class='af-embed-size-option'></div>"),C=$("<label class='af-embed-square af-embed-large' for='large' data-width='900' data-height='500' title='900 X 500'>900 x 500</label>"),b=$("<input class='af-embed-radio' type='radio' name='size' id='large' data-width='900' data-height='500' title='900 X 500'></input>"),w=$("<div class='af-embed-size-option'></div>"),k=$("<label class='af-embed-custom' for='custom'></label>"),y=$("<input type='number' class='af-embed-number-input'> X </input>"),T=$("<input type='number' class='af-embed-number-input'></input>"),_=$("<input class='af-embed-radio' type='radio' name='size' id='custom'></input>"),x=$("<span class='af-embed-custom-px'> px</span>"),E=$("<span class='af-embed-custom-help'><span>*</span> 按\"Enter\"键在键盘上应用更改</span>"),S=$("<div class='af-embed-group'></div>"),B=$("<label class='af-embed-label'>开始页:</label>"),P=$("<select class='af-select af-embed-start-select'></select>"),I=$("<h4 class='af-embed-option-title'>步骤:</h4>"),L=$("<div class='af-embed-group'></div>"),M=$("<p class='af-embed-label2'>
161. 复制下面嵌入代码并将它粘贴到你的HTML文件中。</p>"),N=$("<div class='af-embed-border'></div>"),A=$("<div></div>"),O=$("<textarea class='af-embed-code-textarea af-textarea border-none'></textarea>");this.$iframe=s,this.$iframeContent=a,this.$iCustomWidthInput=y,this.$iCustomHeightInput=T,this.$iEmbedCode1=O;for(var D=1;D<=this.options.pages;D++)P.append($("<option value='"+D+"'>"+D+"</option>"));A.css({padding:"0 2px"}),o.getSection(0).append(a.append(s)),o.bindTabClickFn([r]),n.appendTo(i),r.append(l).append(d.append(c.append(h.append(u).append(p)).append(g.append(m).append(f)).append(v.append(b).append(C)).append(w.append(_).append(k.append(y).append(T)).append(x).append(E)))).append(S.append(B).append(P)).append(I).append(L.append(M).append(N.append(A.append(O)))).appendTo(i);var R=$("<div class='af-embed-fpanel'></div>"),H=$("<p class='af-embed-ftitle af-embed-label2'>嵌入到博客或论坛中的flash链接</p>"),G=$("<div class='af-embed-border'><div style='padding: 2px;'><textarea class='af-embed-code-textarea af-textarea border-none'>"+t.flashLink+"</textarea></div></div>"),V=$("<div class='af-embed-ftip'>可根据帮助文档 <a target='_balnk' href='//www.yunzhan365.com/support/399.html'>如何把电子杂志放到博客或论坛里?</a> 里面的 方法一 进行嵌入。</div>");o.getSection(1).append(R.append(H).append(G).append(V)),this.lightbox=new LightBox("把杂志嵌入到您的网站上","",960,"",2),this.lightbox.getSaveButton().hide(),this.lightbox.getPanel().append(i),setTimeout(function(){s.attr("src",e.options.url.replace(/^https?:/,location.protocol)+"index.html"),setTimeout(function(){e.resizeIframe(e.options.width,e.options.height)},50)},200);var z=s[0];z.onload=z.onreadystatechange=function(){!this.readyState||this.readyState},O.add(G.find("textarea")).on("click",function(){hf_utils.selectCode($(this))}),p.add(u).add(f).add(m).add(C).add(b).on("click",function(){var t=$(this);e.resizeIframe(t.attr("data-width"),t.attr("data-height"))}),y.add(T).on("focus",function(){_[0].checked=!0}).on("change",function(t){_[0].checked=!0,e.resizeIframe(y.val(),T.val())}).on("blur",function(t){e.resizeIframe(y.val(),T.val())}).on("keypress",function(t){"13"==t.which&&e.resizeIframe(y.val(),T.val())}),P.on("change",function(){e.changeStartPage($(this).val().trim())}),this.lightbox.launch();var F=this.options.loadMode;$(window).on("message.first",function(t){var e=t.originalEvent.data;"hf_one"==e.postType&&("flash"==e.postApp&&"1"==F||"html5"==e.postApp&&"2"==F)&&($(this).off("message.first"),s[0].contentWindow.postMessage({postType:"hf_two",postLoadMode:F,isCount:"1",referrer:""},"*"))})}function FixedRightPanel(){this.initCommonRightPanel()}function LightBox(t,e,i,n,o){var a=this;switch(this.background=$("<div class='af-light-box-backdrop'></div>"),this.box=$("<div class='af-light-box'></div>"),this.dialog=$("<div class='af-light-box-dialog af-table'></div>").width(i),this.content=$("<div class='af-light-box-content'></div>"),this.header=$("<div class='af-light-box-header'>"),this.title=$("<div class='af-light-box-title af-hide'>"+t+"</div>"),this.desc=$("<div class='af-light-box-desc af-hide'>"+e+"</div>"),this.arrow=$("<i class='fa fa-caret-down'></i>"),this.cancelButton=$("<div class='af-light-box-close' title='取消'></div>"),this.cancelIcon=$("<i class='icon icon-remove'></i>"),this.panel=$("<div class='af-light-box-panel'></div>"),this.buttonGroup=$("<div class='af-light-box-buttons'></div>"),this.saveButton=$("<div class='button-pure button-pure-green'>保存</div>"),this.closeButton=$("<div class='button-pure'>取消</div>"),this.warningBox=$("<div class='af-light-box-warning af-hide'></div>"),this.warningBoxText=$("<div></div>"),this.warningBoxCloseBtn=$("<i class='af-light-box-warning-close-btn'>X</i>"),this.warningBoxCloseBtn.on("click",function(){a.hideError()}),this.helpBox=$("<div class='af-light-box-help af-hide'></div>"),n){case"black":this.content.addClass("black"),this.title.addClass("black"),this.desc.addClass("black"),this.buttonGroup.addClass("black"),this.panel.addClass("black");break;case"white":this.content.addClass("white"),this.title.addClass("white"),this.cancelButton.addClass("white"),this.buttonGroup.addClass("white"),this.panel.addClass("white");break;case"gray":this.content.addClass("gray"),this.header.addClass("gray"),this.header.append(this.arrow),this.title.addClass("gray"),this.desc.addClass("gray"),this.cancelButton.addClass("gray"),this.buttonGroup.addClass("gray"),this.panel.addClass("gray");break;case"coustom":this.title.addClass(n),this.panel.addClass(n)}switch(t&&this.title.removeClass("af-hide"),e&&this.desc.removeClass("af-hide"),this.box.append(this.dialog.append($("<div class='af-table-centered'></div>").append(this.content.append(this.header.append(this.title).append(this.desc).append(this.warningBox.append(this.warningBoxText).append(this.warningBoxCloseBtn))).append(this.cancelButton.append(this.cancelIcon))))),this.cancelCallback=null,o){case 2:this.content.append(this.panel).append(this.helpBox).append(this.buttonGroup.append(this.saveButton).append(this.closeButton));break;case 3:this.content.append(this.panel).append(this.helpBox)}this.document=$(document),$(window).on("resize",function(){a.content.hasClass()||a.resize()}),this.cancelButton.add(this.closeButton).on("click",function(t){a.cancel()})}function MergeEmail(t){t.title="是否合并账号",this.create(t)}function PowerControl(t){this.config=t.config||{},this.uType=t.uType||0}window.onload=function(){"function"==typeof _old_onload&&_old_onload()},ActivityEachDay.prototype={init:function(t){var e=new Date(Date.parse(t.endD
16ate.replace(/-/g,"/"))).getTime();if(!((new Date).getTime()>e)){var i=this.getLocalStorage(t.timeKey)?this.getLocalStorage(t.timeKey):"";if(t.isEachDay){if(""!=i&&hf_utils.formatDate(new Date,"yyyy-MM-dd")==hf_utils.formatDate(new Date(parseInt(i)),"yyyy-MM-dd"))return}else if(""!=i&&parseInt(i)>new Date(Date.parse(t.startDate.replace(/-/g,"/"))).getTime())return;var n=this,o=$("<div class='af-fixed-bar'></div>").addClass(t.className),a=$("<div class='af-table-centered'></div>"),s=$("<div class='af-fixed-content'></div>"),r=$('<div class="af-fixed-close"></div>').addClass(t.showCLose?"":"af-hide");this.$p=o,this.$cb=r,o.append(a.append(s.append(t.content).append(r))).appendTo($("body")),$("body").addClass("af-fixed-body"),o.addClass("show"),s.on("click",function(t){t.stopPropagation()}),t.showCLose&&r.on("click",function(){n.close()}),t.isEaseClose&&o.on("click",function(){n.close()})}},getLocalStorage:function(t){try{if(window.localStorage)return window.localStorage.getItem(t);for(var e=document.cookie.split("; "),i=0;i<e.length;i++){var n=e[i].split("=");if(n[0]==t)return unescape(n[1])}return""}catch(t){return""}},addLocalStorage:function(t,e){try{if(window.localStorage)window.localStorage.setItem(t,e);else{var i=t+"="+escape(e),n=new Date;n.setTime(n.getTime()+864e8),i+="; expires="+n.toGMTString(),document.cookie=i}}catch(t){}},getCloseBtn:function(){return this.$cb},getPanel:function(){return this.$p},close:function(){this.$p.removeClass("show").hide(),this.addLocalStorage(this.opt.timeKey,(new Date).getTime()),$("body").removeClass("af-fixed-body")}},ActivityPrompt.prototype={init:function(t,e,i,n){var o=this,a=$("<div class='af-fixed-bar'></div>").addClass(this.opt.className),s=$("<div class='af-table-centered'></div>"),r=$("<div class='af-fixed-content'></div>"),l=$('<img class="af-fixed-close" src="/images/common/close.png">');this.$p=a,this.$cb=l,a.append(s.append(r.append(t).append(l))).appendTo($("body"));var d=new Date(Date.parse(n.replace(/-/g,"/"))).getTime(),c="1",h=(new Date).getTime();c=this.getLocalStorage(e)?this.getLocalStorage(e):"1";var p=this.getLocalStorage(i)?this.getLocalStorage(i):h;h-(p=parseInt(p))>864e5&&(c="1"),h>d&&(c="0"),"1"==c?a.addClass("show"):a.removeClass("show"),r.on("click",function(t){t.stopPropagation()}),a.add(l).on("click",function(){a.removeClass("show").hide(),o.addLocalStorage(e,"0"),o.addLocalStorage(i,(new Date).getTime())})},getLocalStorage:function(t){try{if(window.localStorage)return window.localStorage.getItem(t);for(var e=document.cookie.split("; "),i=0;i<e.length;i++){var n=e[i].split("=");if(n[0]==t)return unescape(n[1])}return""}catch(t){return""}},addLocalStorage:function(t,e){try{if(window.localStorage)window.localStorage.setItem(t,e);else{var i=t+"="+escape(e),n=new Date;n.setTime(n.getTime()+864e8),i+="; expires="+n.toGMTString(),document.cookie=i}}catch(t){}},getCloseBtn:function(){return this.$cb},getPanel:function(){return this.$p},close:function(){this.$p.removeClass("show").hide(),this.addLocalStorage(this.opt.barKey,"0"),this.addLocalStorage(this.opt.timeKey,(new Date).getTime())}},BindingEmail.prototype={constructor:BindingEmail,getPanel:function(){return this.$panel},create:function(t){var e=this,i="请先绑定手机号",n="手机号",o="新密码",a="绑定";"1"==t.type?(a="1"==t.change?"绑定":"更改",i="1"==t.change?"绑定登录":"更改登录",n="1"==t.flag?"手机号":"邮箱",i+=n,o="原密码"):"2"==t.type?i="请先绑定手机号":"3"==t.type&&(n="1"==t.flag?"手机号":"邮箱",i="绑定登录"+n),hf_sensors.clickBindAccountBtn({bind_type:n});var s=new LightBox(i,"",520),r=s.getBox(),l=$("<div>").addClass("bind-email-panel"),d=$("<div class='bind-email-group clearfix'><label>"+n+":</label></div>"),c=$("<div>").addClass("bind-email-input"),h=$("<div>").addClass("bind-email-content country-input-content"),p=$("<input type='text' class='form-control' />"),u=$("<div>").addClass("country-select bind"),g=$("<span>").addClass("text"),f=$("<span>").addClass("arrow");if(u.append(g).append(f),this.areaCode="0086","1"==t.flag){c.append(u),h.addClass("country-other");var m=new CountryCode({content:r,trigger:u,backFn:function(t,i){e.areaCode=t,g.html(i+" "+t),p.focus()}})}var v=$("<div class='bind-email-group clearfix'><label>验证码:</label></div>"),C=$("<div class='bind-email-input code-input'></div>"),b=$("<input type='text' class='form-control' disabled maxlength='6' />"),w=$("<div class='bind-email-code-btn'>获取验证码</div>"),k=$("<div>").addClass("jvr-code-content"),y=$("<div class='bind-email-group clearfix'><label>"+o+":</label></div>"),T=$("<div>").addClass("bind-email-input"),_=$("<input type='password' class='form-control' />
16"),x=$("<div class='bind-email-group clearfix'><label></label></div>"),E=$("<div class='bind-email-input'></div>"),S=$("<div class='button-pure button-pure-green'>"+a+"</div>"),B=$("<p class='bind-email-tip'><a href='//www.yunzhan365.com/support/814.html' target='_blank'>收不到验证码?</a></>"),P=null;function I(t,e){P&&P.destroy(),(P=new ToolTip({container:s.box,content:t,text:e,otherTop:8,otherLeft:15,isBig:!1,position:"right",removeTime:-1,isAnimation:!1,className:"max-none error-tip"})).getPanel().fadeIn(100)}function L(t,e){t--,e.addClass("disabled"),e.html(t+"S后重新获取"),0==t?e.removeClass("disabled").html("获取验证码"):setTimeout(function(){L(t,e)},1e3)}return p.add(b).on("change input focus",function(){P&&P.destroy(),p.add(b).removeClass("af-validate-fail")}),b[0].onkeyup=function(){this.value=this.value.replace(/\D/g,"")},w.on("click",function(){if(hf_sensors.getCode({service_type:"账号绑定与替换"}),!$(this).hasClass("disabled")){P&&P.destroy(),p.add(b).removeClass("af-validate-fail");var i="phone";"1"!=t.type&&"3"!=t.type||(i="1"==t.flag?"phone":"email");var n=hf_utils.validate(i,p,e.areaCode);n?I(c,n):$TN.show()}}),S.on("click",function(){P&&P.destroy(),p.add(b).add(_).removeClass("af-validate-fail");var i="phone";"1"!=t.type&&"3"!=t.type||(i="1"==t.flag?"phone":"email");var o=hf_utils.validate(i,p,e.areaCode);if(o)I(c,o);else{var l=hf_utils.validate("phoneCode",b);if(l)I(w,l);else{var d=hf_utils.validate("password",_);d?I(T,d):$.ajax({url:"/userLoad/binding-userinfo-online.php",type:"post",dataType:"json",data:{type:t.type,uid:fh5.uId,account:p.val().trim(),code:b.val().trim(),pass:_.val().trim(),areaCode:e.areaCode},beforeSend:function(){hf_utils.addMask(r,{text:a+n+"..."}),s.getTopCancelBtn().hide()},success:function(e){"1"==e.status?(s.cancel(),t.successBack&&t.successBack(p.val().trim())):(hf_utils.errorMask(r,e.mess),s.getTopCancelBtn().show())},error:function(t){hf_utils.errorMask(r),s.getTopCancelBtn().show()}})}}}),this.$panel=l,l.append(d.append(c.append(h.append(p)))).append(v.append(k).append(C.append(b)).append(w)).append(B).append(y.append(T.append(_))).append(x.append(E.append(S))).appendTo(s.getBox()),s.launch(),setTimeout(function(){$TN.init(k,null,function(){return e.areaCode=void 0===m?"0086":m.getCode(),{operateId:"4",umail:hf_utils.checkPhone(p.val().trim())?"":p.val().trim(),mobilephone:hf_utils.checkPhone(p.val().trim())?p.val().trim():"",userid:fh5.uId,areaCode:e.areaCode}})},100),$TN.onsuccess(function(){w.addClass("disabled"),b.removeAttr("disabled"),w.addClass("disabled").html("90S后重新获取"),setTimeout(function(){L(90,w)},1e3)}),$TN.onerror(function(t){"2"==(t=JSON.parse(t)).status?e.tipMerge(s,{title:i,account:p.val().trim(),toLink:'<a href="/homepage/'+t.uLink+'" target="_blank">'+hf_utils.encodeHTML(t.uName)+"</a>"},function(){p.addClass("af-validate-fail"),I(p,"帐号已存在,请核对账号")}):"3"==t.status?(p.addClass("af-validate-fail"),I(p,"帐号已存在,请核对账号")):I(w,"获取验证码出错。")}),l},tipMerge:function(t,e,i){t.getTopCancelBtn().hide(),t.getTitle().html("确认是否合并账号");var n=this,o=this.$panel,a=$("<div>").addClass("bind-email-panel tip-panel"),s=$("<div>").addClass("bind-merge-tip"),r=$("<p>").html("<span>"+e.account+"</span> 已绑定过云展网账号 "+e.toLink+"。"),l=$("<p>").html("若继续绑定,本账号将合并到账号 "+e.toLink+",且只保留账号 "+e.toLink+" 的所有信息,本账号内的头像、个人信息等将被清除。"),d=$("<div>").addClass("bind-merge-btns"),c=$("<div>").addClass("button-pure button-pure-green").html("确定合并"),h=$("<div>").addClass("button-pure").html("取消合并");h.on("click",function(){a.remove(),t.getTopCancelBtn().show(),t.getTitle().html(e.title),o.slideDown(200,function(){i&&i()})}),c.on("click",function(){n.sureMerge(t,{account:e.account,userId:fh5.uId},a)}),a.append(s.append(r).append(l)).append(d.append(h).append(c)).appendTo(t.getBox()),a.slideDown(),o.slideUp(200)},sureMerge:function(t,e,i){t.getTopCancelBtn().show(),t.getTitle().html("合并云展账号");var n=$("<div>").addClass("bind-email-panel merge-panel af-hide"),o=$("<div>").addClass("bind-email-group clearfix"),a=$("<label>").html("账号:"),s=$("<div>").addClass("bind-email-input"),r=$('<input class="form-control" type="text" autocomplete="off" value="'+e.account+'" readonly />'),l=$("<div>").addClass("bind-email-group clearfix"),d=$("<label>").html("密码:"),c=$("<div>").addClass("bind-email-input"),h=$('<input class="form-control" type="password" autocomplete="off" />'),p=$("<div>").addClass("bind-email-group clearfix"),u=$("<label>"),g=$("<div>").addClass("bind-email-input"),f=$("<div>").addClass("button-pure button-pure-green").html("合并账号"),m=t.getBox();f.on("click",function(){$.ajax({url:"/center/db/binding-user.php",type:"post",dataType:"json",data:{userId:e.userId,email:r.val().trim(),pass:h.val().trim()},beforeSend:function(){hf_utils.addMask(m,{text:"合并账号..."}),t.getTopCancelBtn().hide()},success:function(e){"1"==e.status?(t.cancel(),hf_utils.showSuccess("账号合并成功!"),window.location.reload()):(hf_utils.errorMask(m,e.mess),t.getTopCancelBtn().show())},error:function(e){hf_utils.errorMask(m),t.getTopCancelBtn().show()}})}),n.append(o.append(a).append(s.append(r))).append(l.append(d).append(c.append(h))).append(p.append(u).append(g.append(f))).appendTo(t.getBox()),n.slideDown(),i.slideUp(200)},bindSuccess:function(t){t.setTitle("绑定账号成功"),t.title.addClass("launch-success"),this.getPanel().remove(),t.getBox().append("<div class='bind-email-success'>您可通过 <a href='//www.yunzhan365.com/pass/forget-password/' target='_blank'>找回密码</a> 设置您的登录密码</div>"),t.getTopCancelBtn().unbind("click").on("click",function(){window.location.reload()})}},BookcaseEmbedPanel.prototype={resizeIframe:function(t,e){this.$iframeContent.stop().animate({width:t,height:e},200),this.$customWidthInput.val(t),this.$customHeightInput.val(e),this.options.width=t,this.options.height=e,this.setCode()},setCode:function(t){t=t||this.options.url;var e='<iframe style="width:'+this.options.width+"px;height:"+this.options.height+'px" src="'+t+'" '+this.options.iframeAttr+"></iframe>";this.$stepCode.text(e)}},BookDownloadPanel.prototype={constructor:BookDownloadPanel,downPdf:function(){var t=this;"0"!==fh5.uType||t.options.allow?hf_utils.downPDF(t.options.bookId,t.options.uLink,t.options.bLink):new UpgradePanel(fh5.pageData.upgrade.SelfDownload)},downZip:function(){if(!this.$zipBtn.hasClass("disabled")){var t=this;parseInt(fh5.uType)<1&&!this.options.allow?new UpgradePanel(fh5.pageData.upgrade.SelfDownload):"2"!=this.options.type?hf_utils.downZIP(this.$zipBtn,this.options.bookId,this.options.$zipHelp):$.ajax({url:fh5.website.replace(/^https?:/,location.protocol)+"/download/create-book-zip-online-client.php",type:"get",dataType:"jsonp",data:{bookid:t.o
16ptions.bookId},beforeSend:function(){t.$zipBtn.addClass("disabled"),hf_utils.addMask(t.$zipBtn,{text:"打包中...",color:"#777"})},success:function(e){t.$zipBtn.removeClass("disabled"),hf_utils.removeMask(t.$zipBtn),"1"==e.status&&window.open(fh5.website.replace(/^https?:/,location.protocol)+"/download/download-zip-file.php?bookid="+t.options.bookId,"_self")},error:function(e){t.$zipBtn.removeClass("disabled"),hf_utils.removeMask(t.$zipBtn)}})}},downExe1:function(){this.$exe1Btn.hasClass("disabled")||(parseInt(fh5.uType)<1&&!this.options.allow?new UpgradePanel(fh5.pageData.upgrade.SelfDownload):hf_utils.downEXE1(this.$exe1Btn,this.options.bookId,this.options.$exe1Help))},downExe2:function(){this.$exe2Btn.hasClass("disabled")||(parseInt(fh5.uType)<1&&!this.options.allow?new UpgradePanel(fh5.pageData.upgrade.SelfDownload):hf_utils.downEXE2(this.$exe2Btn,this.options.bookId,this.options.$exe2Help))},downMac:function(){this.$macBtn.hasClass("disabled")||(parseInt(fh5.uType)<1&&!this.options.allow?new UpgradePanel(fh5.pageData.upgrade.SelfDownload):hf_utils.downMAC(this.$macBtn,this.options.bookId,this.options.$macHelp))}},CookiePanel.prototype={getLocalStorage:function(t){try{if(window.localStorage)return window.localStorage.getItem(t);for(var e=document.cookie.split("; "),i=0;i<e.length;i++){var n=e[i].split("=");if(n[0]==t)return unescape(n[1])}return""}catch(t){}},addLocalStorage:function(t,e){try{if(window.localStorage)window.localStorage.setItem(t,e);else{var i=t+"="+escape(e),n=new Date;n.setTime(n.getTime()+864e8),i+="; expires="+n.toGMTString(),document.cookie=i}}catch(t){}},getCookieToArray:function(cookieName){var self=this;try{var cookie=self.getLocalStorage(cookieName),arr=eval(cookie);return arr||[]}catch(t){return[]}},parseJSONArrToStr:function(t){if(0!=t.length){for(var e="[",i=0;i<t.length;i++)e+="{key:"+t[i].key+",value:'"+t[i].value+"'},";return e=e.substring(0,e.length-1),e+="]"}},isInJSONArrByKeyAndValue:function(t,e,i){if(0==t.length)return!1;for(var n in t)if(t[n][e]==i)return!0;return!1},delArrayOrderKey:function(t,e){if(t)for(var i=0;i<t.length;i++)t[i].key&&t[i].key==e&&t.remove(i)},createCookie:function(){this.$cookiePanel||(this.$cookiePanel=this.createCookiePanel(this.cookieArr,this.$content))},destroy:function(){this.$cookiePanel&&(this.$cookiePanel.remove(),this.$cookiePanel=null)},addCookie:function(t){if(t&&!this.isInJSONArrByKeyAndValue(this.cookieArr,"value",t)){var e={key:(new Date).getTime(),value:t};this.cookieArr.push(e),this.addLocalStorage(this.cookieName,this.parseJSONArrToStr(this.cookieArr))}},createCookiePanel:function(t,e){if(0!=t.length){var i=this,n=e.offset().left,o=e.offset().top+e.outerHeight()-0,a=e.outerWidth()-0,s=$("<div class='keywords-cookie-panel'></div>"),r=$("<ul></ul>");this.$ulPanle=r,s.css({left:n,top:o,width:a});for(var l=0;l<t.length;l++)(function(e){var n=t[e],o=i.createCookieRow(n,r),a=$("<i class='af-icon-bg'></i>");o.on("mousedown",function(){i.$input.val(n.value),i.callback&&i.callback()}),o.hover(function(){r.children("li").removeClass("hover-active"),$(this).addClass("hover-active")},function(){$(this).removeClass("hover-active")}),a.on("mousedown",function(t){return t.preventDefault(),t.stopPropagation(),$(this).parent().remove(),r.children("li").length<1&&s.remove(),i.delArrayOrderKey(i.cookieArr,n.key),i.addLocalStorage(i.cookieName,i.parseJSONArrToStr(i.cookieArr)),!1}),r.append(o.append(a))})(l);return s.append(r).appendTo($("body")),s}},createCookieRow:function(t,e){var i=this,n=this.$input.val().trim(),o=new RegExp("^"+n),a=$("<li data-key='"+t.key+"' data-value='"+t.value+"'>"+t.value+"</li>").addClass(t.value.match(o)?"":"af-hide");return a.on("mousedown",function(){i.$input.val(t.value),i.callback&&i.callback()}),a.hover(function(){e.children("li").removeClass("hover-active"),$(this).addClass("hover-active")},function(){$(this).removeClass("hover-active")}),a}},CountryCode.prototype={getPanel:function(){return this.$p},create:function(t){var e=this,i=$("<div>").addClass("country-panel"),n=$("<span>").addClass("arrow"),o=$("<div>").addClass("search-content"),a=$("<span>").addClass("search-icon"),s=$("<input type='text' placeholder='搜索您的国家和地区' />");s.on("input propertychange",function(){var t=s.val().trim();e.searchFn(t)});var r=$("<ul>").addClass("capital-list");r.on("click","li",function(){var t=$(this),i=t.data("val");r.find("li").removeClass("cur"),t.addClass("cur"),"1"==i?e.createList(e.m_arr):e.createList(e.cur_arr[i.toUpperCase()])});var l=$("<div>").addClass("current-capital"),d=$("<span>").addClass("text").html("常用国家/地区"),c=$("<span>").addClass("line"),h=$("<div>").addClass("country-list"),p=$("<ul>");p.on("click","li",function(){var i=$(this),n=i.find(".name")[0].innerText;n=n.length>4?n.substr(0,3)+"...":n;
16var o=i.data("code");t.backFn&&t.backFn(o,n),e.setCode(o),e.hide($(t.trigger))});var u=$("<div>").addClass("country-no-result").html("未找到国家或地区");this.$p=i,this.$cap=r,this.$cur=l,this.$c_l=h,this.$list=p,this.$no_r=u,this.init(),$(t.trigger).find(".text").html("中国 0086"),i.append(n).append(o.append(a).append(s)).append(r).append(l.append(d).append(c)).append(h.append(p)).append(u).appendTo($(t.content))},createList:function(t){var e=this;e.$list.empty(),t.forEach(function(t){var i=$("<li>").attr("data-code",t.code),n=$("<span>").addClass("name").html(t.name),o=$("<span>").addClass("code").html(t.code);i.append(n).append(o).appendTo(e.$list)})},createCap:function(t){var e=this;e.$cap.empty(),t.forEach(function(t){var i=$("<li>").html(t.name).attr("data-val",t.val);e.$cap.append(i)})},init:function(){var t=this;t.cur_arr=t.code_arr,t.$cap.add(t.$cur).add(t.$c_l).show(),t.$no_r.hide(),t.createCap([{name:"常用国家/地区",val:"1"},{name:"A",val:"A"},{name:"B",val:"B"},{name:"C",val:"C"},{name:"D",val:"D"},{name:"E",val:"E"},{name:"F",val:"F"},{name:"G",val:"G"},{name:"H",val:"H"},{name:"J",val:"J"},{name:"K",val:"K"},{name:"L",val:"L"},{name:"M",val:"M"},{name:"N",val:"N"},{name:"P",val:"P"},{name:"R",val:"R"},{name:"S",val:"S"},{name:"T",val:"T"},{name:"W",val:"W"},{name:"X",val:"X"},{name:"Y",val:"Y"},{name:"Z",val:"Z"}]),t.$cap.find("li[data-val='1']").addClass("cur"),t.createList(t.m_arr)},show:function(t,e){t.length>0&&t.addClass("show");var i=t.offset().top-e.offset().top+t.outerHeight()+9,n=t.offset().left-e.offset().left;this.$p.css({top:i,left:n}).show()},hide:function(t){t.length>0&&t.removeClass("show"),this.$p.hide()},bindEvents:function(t){var e=this;$(document).on("click",function(i){e.hide($(t.trigger))}),this.$p.on("click",function(t){t.stopPropagation()}),$(window).on("keyup.country",function(t){27==t.which&&e.hide()});var i=$(t.trigger),n=$(t.content);i.length>0&&i.on("click",function(t){i.hasClass("show")?e.hide(i):(e.show(i,n),t.stopPropagation())})},getCode:function(){return this.code},setCode:function(t){this.code=t},searchFn:function(t){var e=this,i={};""==t?this.init():($.each(e.code_arr,function(n,o){var a=[];o.forEach(function(i){e.searchVal(i.name,t)&&a.push(i)}),a.length>0&&(i[n]=a)}),e.searchCreate(i))},searchVal:function(t,e){var i={a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰
16耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱
16镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮
16垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"è°¬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪é
16™•擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚è
16®¶ä¼¢æ å–岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"è´¼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"ç¼¶",bia:"髟"};function n(t,e){for(var n in i)if(-1!=i[n].indexOf(t))return o(n);return!1}function o(t){if(t.length>0)return t.substr(0,1).toUpperCase()+t.substr(1,t.length)}if(this.isChinese(e))return t.indexOf(e)>=0;var a=function(t){for(var e=t.length,i="",o=new RegExp("[a-zA-Z0-9- ]"),a=0;a<e;a++){var s=t.substr(a,1),r=n(s);o.test(s)?i+=s:!1!==r&&(i+=r)}for(i=i.replace(/ /g,"-");i.indexOf("--")>0;)i=i.replace("--","-");return i}(t).toLowerCase();return a.indexOf(e.toLowerCase())>=0},isChinese:function(t){return!!/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi.exec(t)},searchCreate:function(t){var e=this,i=Object.keys(t);if(e.cur_arr=t,0==i.length)e.$cap.add(e.$cur).add(e.$c_l).hide(),e.$no_r.show();else{var n=[];
16i.forEach(function(t){n.push({name:t,val:t})}),e.$cap.add(e.$cur).add(e.$c_l).show(),e.$no_r.hide(),e.createCap(n),e.$cap.find("li:first-child").addClass("cur"),e.createList(t[i[0]])}}},EmailsPanel.prototype={init:function(t){var e=t.offset().left,i=t.offset().top+t.outerHeight()-0,n=t.outerWidth()-0,o=$("<div class='emails-preview-panel'></div>"),a=$("<ul></ul>");return o.css({left:e,top:i,width:n}),this.$ulPanle=a,this.$panel=o,this.createEmailRow(),o.append(a).appendTo($("body")),o},create:function(){this.$panel||this.init(this.$content)},createEmailRow:function(){var t=this,e=this.$input.val().trim();if(t.$ulPanle){if(this.$ulPanle.empty(),e.match(/@/g)&&1==e.match(/@/g).length)for(var i=e.substring(0,e.indexOf("@")+1),n=0;n<this.emailSuff.length;n++){var o=i+this.emailSuff[n],a=$("<li data-value='"+o+"'>"+o+"</li>");o.match(new RegExp("^"+e))&&a.appendTo(this.$ulPanle)}var s=this.$ulPanle.children("li");s.length>=1?this.$panel&&this.$panel.removeClass("af-hide"):this.$panel&&this.$panel.addClass("af-hide"),s.each(function(){var e=$
16(this);e.on("mousedown",function(){t.$input.val(e.attr("data-value")),t.callback&&t.callback()}),e.hover(function(){s.removeClass("hover-active"),e.addClass("hover-active")},function(){e.removeClass("hover-active")})})}},destroy:function(){this.$panel&&(this.$panel.remove(),this.$panel=null)}},EmbedPanel.prototype={constructor:EmbedPanel,changeStartPage:function(t){this.$iframe.attr("src",this.options.url.replace(/^https?:/,location.protocol)+"index.html?"+(new Date).getTime()+"#p="+t),this.options.startPage=t,this.setCode()},setMode:function(t){this.loadMode=t},getMode:function(){return this.loadMode},resizeIframe:function(t,e){this.$iframeContent.stop().animate({width:t,height:e},200),this.$iCustomWidthInput.val(t),this.$iCustomHeightInput.val(e),this.options.width=t,this.options.height=e,this.setCode()},setCode:function(){var t=this.options.url+"index.html",e=this.options.url+"mobile/index.html";title=hf_utils.encodeHTML(this.options.title),"1"!=this.options.startPage&&(t+="#p="+this.options.startPage,e+="#p="+this.options.startPage),"2"==this.options.loadMode&&(t+="?flash"),t=t.replace(/^https?:/,location.protocol),e=e.replace(/^https?:/,location.protocol),"1"==this.getMode()?this.$iEmbedCode1.text('<iframe style="width:100%;max-width:'+this.options.width+"px;height:"+this.options.height+'px" src="'+t+'" '+this.options.iframeStr+"></iframe>"):this.$iEmbedCode1.text('<iframe style="width:100%;max-width:'+this.options.width+"px;height:"+this.options.height+'px" src="'+e+'" '+this.options.iframeStr+"></iframe>")}},FixedRightPanel.prototype={constructor:FixedRightPanel,panel:null,item_arr:[{text:"客服",class:"service",id:"",href:"javascript:void(0);",str:'<div class="fixed-right-hover service"><h4>微信客服</h4><p><label>工作日:</label><span>9:00-18:00</span></p><h4 class="qrcodeTitle">↓ 咨询使用/购买问题</h4><img class="qrcodeImg" src="https://www.yunzhan365.com/resourceFiles/customerService/qrcode/common_qrcode.png" /><div class="border-line"></div><div class="wechat-qrcode" id="wechat-qrcode"><div class="text-content">产品优化与建议<span class="icon"></span></div><div class="qrcode-box"><img src="https://files.yunzhan365.com/support/wp-content/uploads/xiancai.png" alt="产品优化与建议" /></div></div><a href="https://www.yunzhan365.com/support/" class="course-link">云展网教程 ></a></div>',icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M5.53333 8.96667C4.86145 8.96667 4.21709 9.23357 3.742 9.70866C3.2669 10.1838 3 10.8281 3 11.5V14.0333C3 14.7052 3.2669 15.3496 3.742 15.8247C4.21709 16.2998 4.86145 16.5667 5.53333 16.5667H6.16667C6.51627 16.5667 7.43333 16.2829 7.43333 15.9333V9.6C7.43333 9.2504 6.51627 8.96667 6.16667 8.96667H5.53333ZM5.53333 8.96667C5.53333 7.11899 6.26732 5.34699 7.57382 4.04049C8.88033 2.73399 10.6523 2 12.5 2C13.4149 2 14.3208 2.1802 15.166 2.53031C16.0113 2.88041 16.7793 3.39357 17.4262 4.04049C18.0731 4.6874 18.5863 5.4554 18.9364 6.30064C19.2865 7.14587 19.4667 8.05179 19.4667 8.96667M19.4667 16.5667H18.8333C18.4837 16.5667 17.5667 16.2829 17.5667 15.9333V9.6C17.5667 9.2504 18.4837 8.96667 18.8333 8.96667H19.4667M19.4667 16.5667C20.1385 16.5667 20.7829 16.2998 21.258 15.8247C21.7331 15.3496 22 14.7052 22 14.0333V11.5C22 10.8281 21.7331 10.1838 21.258 9.70866C20.7829 9.23357 20.1385 8.96667 19.4667 8.96667M19.4667 16.5667V17.2C19.4667 17.8719 19.1998 18.5162 18.7247 18.9913C18.2496 19.4664 17.6052 19.7333 16.9333 19.7333H15.0333M15.0333 19.7333C15.0333 19.3974 14.8999 19.0752 14.6623 18.8377C14.4248 18.6001 14.1026 18.4667 13.7667 18.4667H11.2333C10.8974 18.4667 10.5752 18.6001 10.3377 18.8377C10.1001 19.0752 9.96667 19.3974 9.96667 19.7333C9.96667 20.0693 10.1001 20.3915 10.3377 20.629C10.5752 20.8665 10.8974 21 11.2333 21H13.7667C14.1026 21 14.4248 20.8665 14.6623 20.629C14.8999 20.3915 15.0333 20.0693 15.0333 19.7333Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>'}],toTopIcon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g clip-path="url(#clip0_4378_6002)"><path d="M12 21V7.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
16<path d="M5.25 14.25L12 7.5L18.75 14.25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.75 3.75H20.25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_4378_6002"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',handleScroll:function(){var t=this;$(window).on("scroll",function(){$(window).scrollTop()>50?(t.panel.addClass("show"),$(".fixed-right-panel").hasClass("home-panel")&&$(".fixed-right-panel").removeClass("home-panel")):(t.panel.removeClass("show"),$(".fixed-right-panel").hasClass("home-panel")||$(".fixed-right-panel").addClass("home-panel"))}.bind(this))},toTop:function(){var t=this;$("html,body").animate({scrollTop:0},{duration:Math.min($(document).scrollTop()/5,660),easing:"linear",start:function(){},complete:function(){t.panel.removeClass("show")}})},isShowGetVipButton:function(){return!1},getVipClickEvent:function(){var t=document.querySelector("#getVipButton");t&&t.addEventListener("click",function(){window._activityDialog&&window._activityDialog.show&&window._activityDialog.show()})},wechatQrcodeEvent:function(){if($("#wechat-qrcode")[0]&&$(".border-line")[0]&&$(".qrcodeTitle")[0]);},getItemArr:function(){return this.isShowGetVipButton()&&this.item_arr.unshift({text:"",class:"get-vip",id:"getVipButton",href:"javascript:void(0);",str:'<div class="fixed-right-hover get-vip"><span class="title">扫码<span class="add">添加福利官</span>微信<br />即可领取</span><img src="/images/fixed_right/qrcode.png" alt="扫码添加福利官微信即可领取" /></div>',icon:'<img src="/images/fixed_right/get_vip.png" />'}),this.item_arr},renderPanel:function(){var t=this.getItemArr(),e=$("<aside>").addClass("fixed-right-panel");window.isHome&&e.addClass("home-panel");for(var i=$("<div>").addClass("fixed-right-panel-inner").appendTo(e),n=0;n<t.length;n++){var o=t[n],a=$("<div>").addClass("fixed-right-panel-item").addClass(o.class),s="javascript:void(0);"===o.href?"<div>":"<a>",r=$(s).attr("id",o.id).addClass("item-link");"javascript:void(0);"!==o.href&&r.attr("href",o.href);var l=$("<div>").addClass("icon-box").html(o.icon);if(o.text){var d=$("<figcaption>").html(o.text).addClass("item-text");l.append(d)}a.append(r.append(l).append(o.str)),this.isShowGetVipButton()&&0===n?a.prependTo(e):a.appendTo(i)}var c=this.toTopIcon,h=$("<div>").addClass("fixed-right-panel-item top").html('<div class="icon-box">'+c+"</div>");e.append(e.append(h)).appendTo($("body")),this.panel=h,this.panel.on("click",this.toTop.bind(this))},bindEvent:function(){this.handleScroll(),$(document).ready(function(){if($(window).scrollTop()>50)return $("li.top").addClass("show");$("li.top").removeClass("show")});var t=document.getElementById("wechat-qrcode");t&&(t.addEventListener("click",function(){t.classList.add("show-code")}),t.addEventListener("mouseleave",function(){t.classList.remove("show-code")}))},waitForRightPanel:function(){return new Promise((t,e)=>{if(window._yzCommonRightPanel&&"function"==typeof window._yzCommonRightPanel.init)return void t(window._yzCommonRightPanel);const i=Date.now(),n=setInterval(()=>{window._yzCommonRightPanel&&"function"==typeof window._yzCommonRightPanel.init?(clearInterval(n),t(window._yzCommonRightPanel)):Date.now()-i>1e4&&(clearInterval(n),e(new Error("等待 window._yzCommonRightPanel 超时")))},100)})},initCommonRightPanel:function(){this.waitForRightPanel().then(t=>{try{t.init()}catch(t){console.log(t)}}).catch(t=>{console.log(t)})}},function(t){"use strict";var e=function(e,i){i=t.extend({},{className:"",placement:"top",title:"",leaveTime:20,removeTime:40,isRemove:!0,container:"body"},i),this.init(e,i)};e.VERSION="1.9.0",e.prototype={constructor:e,init:function(e,i){var n=this;t("#"+t(e).attr("data-described")).remove(),t(e).off("mouseenter.hf.hintpoint mouseover.hf.hintpoint").on("mouseenter.hf.hintpoint mouseover.hf.hintpoint",function(t){n.leaveTimeout&&clearTimeout(n.leaveTimeout),n.enter(this,i)}).off("mouseleave.hf.hintpoint mouseout.hf.hintpoint").on("mouseleave.hf.hintpoint mouseout.hf.hintpoint",function(t){var e=this;n.leaveTimeout&&clearTimeout(n.leaveTimeout),n.leaveTimeout=setTimeout(function(){n.leave(e,i)},i.leaveTime)})},enter:function(e,i){var n=this,o=t(e);n.timeout&&clearTimeout(n.timeout),o.attr("data-described")&&n.$tip&&n.$tip.is(":visible")?n.$tip.removeClass("hf-out").addClass("hf-in"):this.show(e,i)},leave:function(e,i){var n=this;t(e);n.timeout&&clearTimeout(n.timeout),n.$tip&&n.$tip.removeClass("hf-in").addClass("hf-out"),i.isRemove&&(n.timeout=setTimeout(function(){n.hide(e)},i.removeTime))},show:function(e,i){var n=this,o=this.createTip(e,i);this.$tip=o.tip,"function"==typeof i.placement?i.placement.call(n,n.$tip):this.setPosition(this.$tip,o.arrow,t(e),i.container,i.placement),setTimeout(function(){n.$tip.removeClass("hf-out").addClass("hf-in")},0)},hide:function(e){t(e).removeAttr("data-described"),this.$tip&&this.$tip.remove()},createTip:function(e,i){t(".hint-point-panel.hf-in").remove();var n=this,o=this.getUID("hintPoint"),a=t(e).attr("data-described",o),s=t("<div class='hint-point-panel'></div>").addClass("function"==typeof i.placement?"":i.placement).attr("id",o).addClass(i.className),r=t("<div class='hint-point-arrow'></div>"),l=t("<div class='hint-point-text'></div>").html(t(e).attr("data-hint-title")&&""!=t(e).attr("data-hint-title")?t(e).attr("data-hint-title"):i.title);return s.off("mouseenter.hf.hintpoint mouseover.hf.hintpoint").on("mouseenter.hf.hintpoint mouseover.hf.hintpoint",function(t){n.leaveTimeout&&clearTimeout(n.leaveTimeout),n.enter(a,i)}).off("mouseleave.hf.hintpoint mouseout.hf.hintpoint").on("mouseleave.hf.hintpoint mouseout.hf.hintpoint",function(t){n.leaveTimeout&&clearTimeout(n.leaveTimeout),n.leaveTimeout=setTimeout(function(){n.leave(a,i)},i.leaveTime)}),s.append(r).append(l).appendTo(t(i.container)),{tip:s,arrow:r}},setPosition:function(e,i,n,o,a){var s=t(o),r=s.offset(),l=r.top,d=r.left,c=(s.outerWidth(),s.outerHeight(),t(n)),h=c.offset(),p=h.top,u=h.left,g=c.outerWidth(),f=c.outerHeight(),m=t(e),v=m.outerWidth(),C=m.outerHeight(),b=0,w=0,$="50%";switch(a.toString().toLowerCase()){case"top":default:b=u-d-(v-g)/2,w=p-l-(C+5),$=u-(b=Math.max(b,6))+g/2;break;case"left":b=u-d-(v+5),w=p-l-(C-f)/2;break;case"right":b=u-d+(g+5),w=p-l-(C-f)/2;break;case"bottom":b=u-d-(v-g)/2,w=p-l+(f+5),$=u-(b=Math.max(b,6))+g/2,t(i).css({left:$});case"middle":}m.css({left:b,top:w})},getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t}},t.fn.hintPoint=function(t){return new e(this,t)},t.fn.hintPoint.Constructor=e;var i=t.fn.hintPoint;t.fn.hintPoint.noConflict=function(){return t.fn.hintPoint=i,this};var n=!1;t(window).on("load.hf.hintpoint",function(){n||(n=!0,t.each(t(document).find("[data-toggle=hintpoint][data-hint-title!='']"),function(e,i){var n=t(i);n.hintPoint({title:n.attr("data-hint-title"),placement:n.attr("data-hint-placement")||"top"})}))}),t(function(){n||(n=!0,t.each(t(document).find("[data-toggle=hintpoint][data-hint-title!='']"),function(e,i){var n=t(i);n.hintPoint({title:n.attr("data-hint-title"),placement:n.attr("data-hint-placement")||"top"})}))})}(jQuery),LightBox.prototype={constructor:LightBox,showError:function(t){t||(t=fh5.pageData.tips.ConnectionError),this.warningBoxText.html(t),this.warningBox.show().stop(!0,!1).animate({left:"+=1%"},100).animate({left:"-=2%"},150).animate({left:"+=2%"},180).animate({left:"-=1%"},150)},hideError:function(){this.warningBox.hide()}
16,openBackgroundClose:function(){this.background.css("cursor","pointer"),this.background.attr("title","Close"),this.enableBackgroundClose=!0},getBottomContainer:function(){return this.buttonGroup},getWarningBox:function(){return this.warningBox},getHelpBox:function(){return this.helpBox},getCloseButton:function(){return this.closeButton},getSaveButton:function(){return this.saveButton},getTopCancelBtn:function(){return this.cancelButton},getPanel:function(){return this.panel},getDialog:function(){return this.dialog},getBox:function(){return this.content},getTitle:function(){return this.title},launch:function(){var t=$("body"),e=this;t.addClass("af-lightbox-body-hidden"),this.background.appendTo(t).fadeIn(),this.box.appendTo(t).fadeIn(4,function(){e.box.addClass("show")})},launchLoading:function(){var t=$("body");t.addClass("af-lightbox-body-hidden"),this.background.addClass("af-img-loading2").appendTo(t).fadeIn()},launchPanel:function(){var t=$("body"),e=this;this.cancelLoading(),this.box.appendTo(t).fadeIn(4,function(){e.box.addClass("show")})},launchError:function(t){return void 0===t&&(t="链接错误,请重试。"),this.content.append("<div class='af-lightbox-launch-error'>"+t+"</div>"),this.title.addClass("launch-error"),this.setTitle("请求出错"),this.setBtnsShowHide(!1),this.launchPanel(),this},cancelLoading:function(){this.background.removeClass("af-img-loading2")},cancel:function(t){var e=this;t=t||!1;e.background.fadeOut(function(){e.background.remove()}),e.box.addClass("exit").removeClass("show"),setTimeout(function(){$(".af-light-box").length<=1&&!t&&$("body").removeClass("af-lightbox-body-hidden"),e.box.remove(),e.cancelCallback&&e.cancelCallback()},400)},setCancelCallback:function(t){this.cancelCallback=t},clear:function(){return this},resizeH:function(){this.box.css({left:((window.innerWidth||$(window).width())-this.box.width())/2})},resize:function(t){void 0===t&&(t=400),this.content.stop(!0,!0).animate({},t)},setTitle:function(t){this.title.show().html(t)},setDesc:function(t){this.desc.show().html(t)},setBtnsShowHide:function(t){t?this.buttonGroup.show():this.buttonGroup.hide()}},MergeEmail.prototype={create:function(t){var e=this,i=new LightBox(t.title,"",520);i.getTopCancelBtn().hide();var n=$("<div>").addClass("merge-email-panel"),o=$("<div>").addClass("merge-email-tip"),a=$("<p>").html("此手机号已绑定过云展网账号<span>"+t.account+"</span>。"),s=$("<p>").html("若继续绑定,本账号将合并到账号<span>"+t.account+"</span>,且只保留账号<span>"+t.account+"</span>的所有信息,本账号内的头像、个人信息等将被清除。"),r=$("<div>").addClass("merge-email-btns"),l=$("<div>").addClass("button-pure button-pure-green").html("确定合并"),d=$("<div>").addClass("button-pure").html("取消合并");d.on("click",function(){t.cancelBack&&t.cancelBack(),i.cancel()}),l.on("click",function(){t.mergeBack&&t.mergeBack(),e.sureMerge(i,t,n)}),window.aa=i,n.append(o.append(a).append(s)).append(r.append(d).append(l)).appendTo(i.getBox()),i.launch()},sureMerge:function(t,e,i){t.getTopCancelBtn().show(),t.getTitle().html("合并云展账号");var n=$("<div>").addClass("merge-eamil-group"),o=$("<label>").html("账号:"),a=$('<input class="form-control" type="text" autocomplete="off" value="'+e.account+'" />'),s=$("<div>").addClass("merge-eamil-group"),r=$("<label>").html("密码:"),l=$('<input class="form-control" type="password" autocomplete="off" />'),d=$("<div>").addClass("merge-eamil-group"),c=$("<div>").addClass("merge-email-mBtn button-pure button-pure-green").html("合并账号"),h=t.getBox();c.on("click",function(){$.ajax({url:"/center/db/binding-user.php",type:"post",dataType:"json",data:{userId:e.userId,email:a.val().trim(),pass:l.val().trim()},beforeSend:function(){hf_utils.addMask(h,{text:"合并账号..."}),t.getTopCancelBtn().hide()},success:function(e){"1"==e.status?(t.cancel(),hf_utils.showSuccess("账号合并成功!"),window.location.reload()):(hf_utils.errorMask(h,e.mess),t.getTopCancelBtn().show())},error:function(e){hf_utils.errorMask(h),t.getTopCancelBtn().show()}})}),i.empty().append(n.append(o).append(a)).append(s.append(r).append(l)).append(d.append(c))}},PowerControl.prototype={getTypeConfig:function(t){return this.config[t]||{}},getPower:function(t,e){t=void 0===t?this.uType:t;var i=this.getTypeConfig(t).power||{};return i.hasOwnProperty(e)?1==i[e].limitId?i[e].value:(-1==i[e].value&&(i[e].value=999999999),i[e]):0}
16,getPrice:function(t){var e=this.getTypeConfig(t).price||[];return e.length>0?e[0]:[]},getFlowPack:function(t){return this.getPower(t,"NOAD_VISIT_COUNT")},getEditHomepage:function(t){return this.getPower(t,"EDIT_HOMEPAGE")},getUpdateAccountLogo:function(t){var e=this.getPower(t,"SET_ACCOUNT_LOGO");return"object"!=typeof e?e:0},getUpdatePublicBookLogo:function(t){var e=this.getPower(t,"SET_PUBLIC_BOOK_LOGO");return"object"!=typeof e?e:0},getUpdateBookLogo:function(t){return this.getPower(t,"SET_BOOK_LOGO")},getHomeLink:function(t){return this.getPower(t,"SET_HOME_LINK")},getAuthorDownload:function(t){return this.getPower(t,"DOWNLOAD_FILE")},getReaderDownload:function(t){return this.getPower(t,"OTHERS_DOWNLOAD_FILE")},getShowPhoneNumber:function(t){return this.getPower(t,"SHOW_PHONE_BUTTON")},getUpdateBackgroundImg:function(t){return this.getPower(t,"SET_BACKGROUND_IMG")},getUpdateBackgroundMusic:function(t){return this.getPower(t,"SET_BACKGROUND_MUSIC")},getDomain:function(t){var e=this.getPower(t,"SET_DOMAIN");return"object"!=typeof e?e:0},getOtherDomain:function(t){var e=this.getPower(t,"SET_OTHER_DOMAIN");return"object"!=typeof e?e:0},getWechatShareIcon:function(t){return this.getPower(t,"SET_WECHAT_SHARE_ICON")},getNoFlowAddAd:function(t){return this.getPower(t,"SET_NO_FLOW_ADD_AD")},getBookVisitCount:function(t){return this.getPower(t,"SET_BOOK_VISIT_COUNT")},getEditText:function(t){return this.getPower(t,"EDIT_TEXT")},getConfigBackup:function(t){return this.getPower(t,"CONFIG_BACKUP_NUM")},getContentBackup:function(t){return this.getPower(t,"CONTENT_BACKUP_NUM")},getEditPage:function(t){return this.getPower(t,"EDIT_PAGE")},getBookAD:function(t){return this.getPower(t,"SET_AD_BANNER")},getAutoFlip:function(t){return this.getPower(t,"OPEN_AUTO_FLIP")},getCopyText:function(t){return this.getPower(t,"COPY_TEXT")},getAddLabel:function(t){return this.getPower(t,"ADD_HOT_LABEL")},getEditPageBackup:function(t){return this.getPower(t,"EDIT_PAGE_BACKUP_NUM")},getPdfPage_power:function(t){return this.getPower(t,"PDF_PAGE_NUM")},getBookcaseCount_power:function(t){return this.getPower(t,"BOOKCASE_NUM").value},getStatQueryTime:function(t){return this.getPower(t,"STAT_QUERY_TIME")},getBookTimingStop:function(t){return this.getPower(t,"BOOK_TIMING_STOP")},getBookLoadingImage:function(t){return this.getPower(t,"BOOK_LOADING_IMAGE")},getBookLoadingVideo:function(t){return this.getPower(t,"BOOK_LOADING_VIDEO")},getBookCount_power:function(t){return this.getPower(t,"BOOK_FILE_NUM")},getTypeSize:function(t){return this.getPower(t,"PDF_FILE_SIZE").value}},function(t){"use strict";var e=function(e,i){i=t.extend({},{content:null,placement:"top"},i),this.$box=t(e),this.$content=t(i.content),this.init(e,i)};e.VERSION="1.9.0",e.prototype={constructor:e,init:function(t,e){this.create(t,e),this.bindEvents(this.$box,this.$content,this.$scroll,this.$bar),this.setBarHeight(),this.showHide(),this.initBar()},create:function(e,i){var n=t("<div class='scroll-tool'></div>"),o=t("<div class='scroll-drag'></div>"),a=t("<div class='scroll-drag-out-bar'></div>"),s=t("<div class='scroll-drag-bar'></div>"),r=t("<div class='scroll-drag-rail'></div>");n.append(o.append(a.append(s)).append(r)).appendTo(t(e)),this.$scroll=n,this.$bar=a},bindEvents:function(e,i,n,o){o.on("mousedown.hf-scroll",function(a){var s=a||event,r=s.clientY-o.position().top,l=a.which;a.stopPropagation(),1==l&&(t(document).on("mousemove.hf-scroll touchmove.hf-scroll",function(t){t.preventDefault(),t.stopPropagation();var a=(s=t||event).clientY-r;a<=0?a=0:a>=n.height()-o.outerHeight()&&(a=n.height()-o.outerHeight()),o.css({top:a}),i.css({top:-a/(n.height()-o.outerHeight())*(i.outerHeight()-e.height())})}),t(document).on("mouseup.hf-scroll touchend.hf-scroll",function(e){var i=e||event;i.preventDefault(),i.stopPropagation(),t(document).off("mousemove.hf-scroll touchmove.hf-scroll"),t(document).off("mouseup.hf-scroll touchend.hf-scroll")}))}),e.bind("mousewheel.hf-scroll DOMMouseScroll.hf-scroll",function(t){if(t.stopPropagation(),t.preventDefault(),!(e.height()>=i.outerHeight())){var a,s=t.originalEvent,r=s.wheelDelta||-s.detail,l=i.position().top;return i.stop(!1,!1),r>0?a=l+n.height()/11<0?l+n.height()/11:0:r<0&&(a=i.outerHeight()-e.height()>-(l-n.height()/11)?l-n.height()/11:-(i.outerHeight()-e.height())),i.css({top:a}),o.css({top:-a/(i.outerHeight()-e.height())*(n.height()-o.outerHeight())}),!1}})},setBarHeight:function(t){var e=this.$box.height(),i=this.$scroll.height(),n=0;n=t||this.$content.outerHeight(),console.log(e,i,n),this.$bar.css({height:e*i/n})},showHide:function(){this.setBarHeight(),this.$box.height()>=this.$content.outerHeight()?this.$bar.css({top:0,height:"100%"}):Math.abs(parseFloat(this.$box.css("top")))>this.$content.outerHeight()-this.$box.height()&&(this.$content.css({top:-(this.$content.outerHeight()-this.$box.height())}),this.$bar.css({top:this.$scroll.height()-this.$bar.outerHeight()}))},initBar:function(){this.$content.css({top:0}),this.$bar.css({top:0})},getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t}},t.fn.scrollBar=function(t){return new e(this,t)},t.fn.scrollBar.Constructor=e;var i=t.fn.scrollBar;t.fn.scrollBar.noConflict=function(){return t.fn.scrollBar=i,this}}(jQuery);var hf_sensors={getSensors:function(){return"undefined"!=typeof sensors?sensors:null},toString:function(t,e){if(t.hasOwnProperty(e)){var i=t[e];t[e]=i+""}return t},trackEvent:function(t,e){var i=this.getSensors();void 0===e?i&&i.track(t):i&&i.track(t,e)},login:function(t){var e=this.getSensors();e&&e.login(t)},clickSearchBtn:function(t){this.trackEvent("SearchButtonClick",t)},clickSearchResult:function(t){this.trackEvent("SearchResultClick",t)},readBook:function(t){t=this.toString(t,"book_id"),this.trackEvent("ReadBook",t)},quickUpload:function(t){this.trackEvent("quickUpload",t)},clickRegisterBtn:function(t){this.trackEvent("registerButtonClick",t)},getCode:function(t){this.trackEvent("getCode",t)},clickLoginBtn:function(t){this.trackEvent("loginButtonClick",t)},clickFollowBtn:function(t){this.trackEvent("followButtonClick",t)},clickUnfollowBtn:function(t){this.trackEvent("unfollowButtonClick",t)},createBook:function(t){this.trackEvent("createBook",t)},clickEditBookBtn:function(t){t=this.toString(t,"book_id"),this.trackEvent("editBookButtonClick",t)},selectTemplage:function(t){t=this.toString(t,"book_id"),this.trackEvent("selectTemplage",t)},changeTableOfContents:function(t){t=this.toString(t,"book_id"),this.trackEvent("changeTableOfContents",t)},changeBookmark:function(t){t=this.toString(t,"book_id"),this.trackEvent("changeBookmark",t)},changeProperty:function(t){t=this.toString(t,"book_id"),this.trackEvent("changeProperty",t)},applyChange:function(t){t=this.toString(t,"book_id"),this.trackEvent("applyChange",t)},editBookPage:function(t){t=this.toString(t,"book_id"),this.trackEvent("editBookPage",t)},addPageItem:function(t){t=this.toString(t,"book_id"),this.trackEvent("addPageItem",t)},clickEmbedBookBtn:function(t){t=this.toString(t,"book_id"),this.trackEvent("embedBookButtonClick",t)},clickShareBookBtn:function(t){t=this.toString(t,"book_id"),this.trackEvent("shareBookButtonClick",t)},shareBook:function(t){t=this.toString(t,"book_id"),this.trackEvent("shareBook",t)},clickDeleteBookBtn:function(t){t=this.toString(t,"book_id"),this.trackEvent("deleteBookButtonClick",t)},openFolder:function(t){t=this.toString(t,"folder_id"),this.trackEvent("openFolder",t)},clickEditFolderBtn:function(t){t=this.toString(t,"folder_id"),this.trackEvent("editFolderButtonClick",t)},clickClearFolderBtn:function(t){t=this.toString(t,"folder_id"),this.trackEvent("clearFolderButtonClick",t)},clickDeleteFolderBtn:function(t){t=this.toString(t,"folder_id"),this.trackEvent("deleteFolderButtonClick",t)},openBookcase:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("openBookcase",t)},clickEditBookcaseBtn:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("editBookcaseButtonClick",t)},clickShareBookcaseBtn:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("shareBookcaseButtonClick",t)},shareBookcase:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("shareBookcase",t)},clickEmbedBookcaseBtn:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("embedBookcaseButtonClick",t)},clickCopyBookcaseBtn:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("copyBookcaseButtonClick",t)},clickClearBookcaseBtn:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("clearBookcaseButtonClick",t)},clickDeleteBookcaseBtn:function(t){t=this.toString(t,"bookcase_id"),this.trackEvent("deleteBookcaseButtonClick",t)},clickSyncFolderBtn:function(t){this.trackEvent("syncFolderButtonClick",t)},clickBindAccountBtn:function(t){this.trackEvent("bindAccountButtonClick",t)},operateInWelcome:function(t){this.trackEvent("operateInWelcome",t)}};function SensorsWeb(t){var e=this;this.data=t,this.messageType={"":{position:"center",goPage:"register"}
16,zcys:{position:"center",goPage:"buyVip"},zcws:{position:"center",goPage:""},mfhy:{position:"center",goPage:""},tydq:{position:"center",goPage:"buyVip"},hydq:{position:"center",goPage:"buyVip"}},this.background=$("<div class='af-light-box-backdrop'></div>"),this.box=$("<div class='af-light-box'></div>"),this.dialog=$("<div class='af-light-box-dialog af-table'></div>"),this.content=$("<div class='af-light-box-content'></div>").css("background-color","transparent"),this.imgBox=$("<div style='position: relative;display: inline-block;cursor: pointer;'></div>"),this.img=$("<img class='sensorsWeb-img'></img>").attr("src",t.value),this.cancelIcon=$("<span class='sensorsWeb-remove'>×</span>"),this.img.on("click",function(){e.goPage()}),this.cancelIcon.on("click",function(t){e.cancel()}),this.box.append(this.dialog.append($("<div class='af-table-centered'></div>").append(this.content.append(this.imgBox.append(this.img).append(this.cancelIcon)))))}function SharePanel(t){var e=(t=$.extend({},{type:"1",title:"分享当前杂志",desc:"你可以在社交平台上轻松与你朋友分享此书。",isBook:!0,uLink:"",bLink:"",pic:"",bTitle:"",bDesc:""},t)).bTitle,i=t.bDesc,n=t.link.match(/.(sharedbook.cn|huaceshu.cn|yunzhan365.com)/)?t.link.replace(/https?:/,"https:"):t.link,o=t.pic.replace(/https?:/,"https:"),a=$("<div>").addClass("share-book-panel"),s=$("<div>").addClass("af-form-group"),r=$("<label>").addClass("af-label").html("扫码分享"),l=$('<div class="share-qrurl-img qrcode"><img src="'+t.qr_img.replace(/https?:/,"https:")+'"></div>'),d=$('<div class="share-qrurl-img wx-qrcode"><img src="'+t.wx_img.replace(/https?:/,"https:")+'"></div>');""==t.qr_img&&l.empty().qrcode({width:123,height:123,text:n});var c=$("<div>").addClass("af-form-group"),h=$("<label>").addClass("af-label").html("1"==t.type?"杂志链接":"书橱链接"),p=$('<input id="share-link-input" type="text" class="form-control" value="'+n+'" readonly />'),u=$("<div>").addClass("share-link-btn button-pure button-pure-blue").html("复制"),g=$("<div>").addClass("af-form-group"),f=$("<label>").addClass("af-label").html("分享到"),m=$("<ul>").addClass("share-book-btns"),v="http://connect.qq.com/widget/shareqq/index.html?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(e.replace(/&nbsp;/g," "))+(""==i?"&summary= ":"&summary="+encodeURIComponent(hf_utils.br2nl(i)))+"&pics="+encodeURIComponent(o),C=$('<li><a title="QQ好友" href="'+v+'" target="_blank"><span class="button-pure button-pure-teal">QQ好友</span></a></li>'),b=($('<li><a title="微信" href="//www.yunzhan365.com/support/350.html" target="_blank"><span class="button-pure button-pure-green">微信</span></a></li>'),"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?title="+encodeURIComponent(e.replace(/&nbsp;/g," "))+"&url="+encodeURIComponent(n)+(""==i?"&summary= ":"&summary="+encodeURIComponent(hf_utils.br2nl(i)))+"&pics="+encodeURIComponent(o)),w=$('<li><a title="QQ空间" href="'+b+'" target="_blank"><span class="button-pure button-pure-orange">QQ空间</span></a></li>'),k=$('<li><a title="新浪微博" href="http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(e.replace(/&nbsp;/g," "))+"&url="+encodeURIComponent(n)+"&pic="+encodeURIComponent(o)+'" target="_blank"><span class="button-pure button-pure-red">新浪微博</span></a></li>'),y=($('<li><a title="腾讯微博" href="http://share.v.t.qq.com/index.php?c=share&amp;a=index&amp;title='+encodeURIComponent(e.replace(/&nbsp;/g," "))+"&url="+encodeURIComponent(n)+"&pic="+encodeURIComponent(o)+'" target="_blank"><span class="button-pure button-pure-red">腾讯微博</span></a></li>'),$('<li><a title="人人网" href="http://widget.renren.com/dialog/share?title='+encodeURIComponent(e.replace(/&nbsp;/g," "))+"&resourceUrl="+encodeURIComponent(n)+"&pic="+encodeURIComponent(o)+'" target="_blank"><span class="button-pure button-pure-orange">人人网</span></a></li>'),$('<li><a title="百度贴吧" href="https://tieba.baidu.com/f/commit/share/openShareApi?title='+encodeURIComponent(e.replace(/&nbsp;/g," "))+"&desc="+encodeURIComponent(hf_utils.br2nl(i))+"&url="+encodeURIComponent(n)+"&pic="+encodeURIComponent(o)+'" target="_blank"><span class="button-pure button-pure-blue">百度贴吧</span></a></li>')),T=$('<li><a title="豆瓣" href="https://www.douban.com/share/service?name='+encodeURIComponent(e.replace(/&nbsp;/g," "))+"&text="+encodeURIComponent(hf_utils.br2nl(i))+"&href="+encodeURIComponent(n)+"&image="+encodeURIComponent(o)+'" target="_blank"><span class="button-pure button-pure-green">豆瓣</span></a></li>');u.on("click",function(){hf_sensors.shareBook({book_id:t.bookId,book_name:t.bTitle,share_platform:"复制网址"}),p.focus(),p.select();try{hf_utils.showSuccess("复制成功!!"),document.execCommand("Copy")}catch(t){hf_utils.showError("复制失败,请手动复制。")}}),t.isBook?w.add(k).add(C).add(y).add(T).on("click",function(){hf_sensors.shareBook({book_id:t.bookId,book_name:t.bTitle,share_platform:$(this).children("a").attr("title")}),sta&&sta.bookShare(t.uLink,t.bLink)}):2==t.type&&t.hasOwnProperty("bookcaseId")&&w.add(k).add(C).add(y).add(T).on("click",function(){hf_sensors.shareBookcase({bookcase_id:t.bookcaseId,bookcase_name:t.bTitle,share_platform:$(this).children("a").attr("title")})}),m.append(C).append(w).append(k).append(y).append(T),p.on("click",hf_utils.selectCode.bind(hf_utils,p)),a.append(s.append(r).append(l).append(d)).append(c.append(h).append(p).append(u)).append(g.append(f).append(m)),hf_utils.popUp(t.title,"",660,a)}function SignPanel(t){this.options={signNum:"0",redirect:"/",invite
16Code:"",callback:null,isClose:!0,isLightBox:!0,isToggleWechat:!1,isCheckedTerm:!0,noResize:!1,isAiLayout:!1},this.options=$.extend(this.options,t),this.handleInviteCode(),this.options.signNum=Number.parseInt(this.options.signNum),this.getNum=0,this.timeout=null,this.sessionId="",this.getCodeTime=0,this.host=this.getHost(),this.areaCode="86",this.passErrorNum=0,this.passErrorNumLeft=2,this.isShowPassError=!1,this.passErrorTime="",this.codeExpireTime=300,this.codeExpireTimeTimer=null,this.canGetProgress=!this.isMobile(),this.isGetCode=!1,this.ipLimitTime=0,this._loginType=0,this.watchLoginType(),this.isRememberPassword=!0,this.rememberAccount="",this.rememberPassword="",this.isMobileLightBox=!1,this.REMEMBER_ACCOUNT_STORAGE_KEY="yunzhan_remember_account",this.REMEMBER_PASSWORD_STORAGE_KEY="yunzhan_remember_password",this.REMEMBER_CHECKED_STORAGE_KEY="yunzhan_remember_checked",this.WEIXIN_APPID="wx9c2d982dec74abe7",this.WEIXIN_PATH="pages/social-auth/social-auth",this.MOBILE_WEIXIN_LOGIN_PREFIX="yz_wx_login_",this.WEIXIN_TEST_PARAM="weixin_test",this.loadRememberPassword(),this.isCheckedTerm=this.options.isCheckedTerm,this.isSetMobile=this.isMobile(),this.signupCountryPanel=null,this.mobileWechatTimeout=null,this.isShowAccountBanDialog=!1,this.IS_LOGIN_BEFORE_STORAGE_KEY="yz_is_login_before",this.isLoginBefore=!1,this.parseRedirect(this.options.redirect),this.create(),this.getCodeExpireTime(),this.pageVisibilityChange(),this.pageResizeEvent(),this.loginAgree(),this.trackEvent(this.TRACK_EVENT_NAME.AUTH_PANEL_SHOWN,{})}function TabBox(t){var e=(t=$.extend({},{tabArr:[],num:null,container:null,tabStyle:""},t)).num,i=t.tabArr,n=t.container;this.tabs=[],this.panes=[],this.tabContext=$("<div class='tb-tap-container'></div>").addClass(t.tabStyle),this.innerTab=$("<div class='tb-tap-container-inner'></div>"),this.paneContext=$("<div class='tb-section-container'></div>").addClass(t.tabStyle),e=i&&i.length>0?i.length:e;for(var o=0;o<e;o++){var a=$("<div class='tb-tab'></div>").html(i&&i.length>0?i[o].title:"undefined").append("<i class='fa fa-caret-up'></i>"),s=$("<div class='tb-section'></div>");this.tabs.push(a),this.panes.push(s),this.innerTab.append(a),this.paneContext.append(s)}e>=1&&(this.tabs[0].addClass("tb-tab-active"),this.panes[0].addClass("tb-section-active")),this.bindTabClickFn(this.panes),n.append(this.tabContext.append(this.innerTab)).append(this.paneContext)}function ToolTip(t){var e=this,i={container:$("body"),content:null,text:"如果您的文档不是全部单页,请在上传前选择适合的切页方式",otherTop:8,otherLeft:8,isBig:!0,position:"top",textClassName:"",className:"",removeTime:1e4,isAnimation:!0};this.options=t=$.extend({},i,t);var n=this.create();n.addClass(t.isAnimation?"tool-tip-animation":""),t.container.append(n),this.setPosition();var o=parseInt(t.removeTime);return this.timeoutId=null,o>=0&&(this.timeoutId=setTimeout(function(){e.$panel.fadeOut(function(){e.$panel.remove()})},o)),this}function ToTopPanel(t){(t=$.extend({},{isNew:!0},t)).isNew?new FixedRightPanel:this.create()}function UpgradePanel(t){var e=this,i=fh5.pageData.upgrade[t.version];this.panel=$("<div class='af-light-box-content-panel black'></div>"),this.detailDesc=$("<div>"+t.desc+"</div>"),this.upgradeInfo=$("<div class='af-upgrade-info'></div>"),this.upgradeItemsContainer=$("<div class='af-upgrade-items'></div>"),this.upgradeItemsTitle=$("<div class='af-upgrade-items-title'>"+i.name+" 可让您享受到:</div>"),this.upgrageItems=$("<ul class='af-items-ul'></ul>"),this.upgradeImg=$("<img class='af-upgrade-img' src="+t.imgSrc+">"),this.upgradeTo=$("<span class='af-upgrade-to-update'>升级到 "+i.icon+"</span>"),this.buttons=$("<ul class='af-light-box-buttons'></ul> "),this.cancelButton=$("<li class='button-pure'>关闭</li>"),this.upgradeButton=$("<a target='_blank'><li class='button-pure button-pure-orange'>跳到会员与价格页</li></a>");for(var n=i.items,o=0,a=n.length;o<a;o++)this.upgrageItems.append($("<li>"+n[o]+"</li>"));this.panel.append(this.detailDesc).append(this.upgradeInfo.append(this.upgradeItemsContainer.append(this.upgradeItemsTitle).append(this.upgrageItems)).append(this.upgradeImg)),this.lightBox=new LightBox(t.title,t.subTitle,748,"black"),this.lightBox.getTitle().append(this.upgradeTo),this.lightBox.getBox().append(this.panel).append(this.buttons.append(this.cancelButton)),this.lightBox.launch(),this.cancelButton.on("click",function(){e.lightBox.cancel()})}function WaterPanel(t){this.options=t,this.panel=$("<ul class='water-panel'></ul>"),this.container=t.container,this.itemWidth=t.itemWidth,this.offsetX=t.offsetX,this.offsetY=t.offsetY,this.keyword=t.keyword||"",this.colHeights=[],this.isInCenter=t.isInCenter||!1,this.isInHome=t.isInHome||!1,this.isShowHover=!0,this.isViewStand=t.isViewStand||!1,this.lastTime="",this.isInExplore=t.inExplore||!1,this.exploreDate=t.exploreDate||[],this.start_time=t.startTime||"",this.keyword_arr_d=t.keywordArr||[],this.isInDomain=t.isInDomain||!1,this.domain=t.domain||"";var e=t.domainType||"1";this.isLoadedAllImg=!1,this.loadedImgCount=0,t.hasOwnProperty("domainSuffix")?this.domainSuffix=t.domainSuffix:this.domainSuffix="4"==e?"":"3"==e?"huaceshu.cn":"2"==e?"sharedbook.cn":"yunzhan365.com",window.waterpanel_getFavorite=!1,window.waterpanel_bookIds=[],this.panel.appendTo(this.container),this.load(t.books);var i=this,n=null;$(window).on("resize",function(){clearTimeout(n),n=setTimeout(function(){i.setPosition()},50)})}SensorsWeb.prototype={constructor:SensorsWeb,launch:function(){var t=$("body"),e=this;this.messageType[this.data.name]&&"center"==this.messageType[this.data.name].position?(t.addClass("af-lightbox-body-hidden"),this.background.appendTo(t).fadeIn()):this.box.addClass("corner"),this.box.appendTo(t).fadeIn(4,function(){e.box.addClass("show")})},cancel:function(t){var e=this;t=t||!1;e.background.fadeOut(function(){e.background.remove()}),e.box.addClass("exit").removeClass("show"),setTimeout(function(){$(".af-light-box").length<=1&&!t&&$("body").removeClass("af-lightbox-body-hidden"),e.box.remove()},400)},goPage:function(){var t=this;$.ajax({url:"/api/user/active-sensors-code",type:"POST",dataType:"json",data:{sensorsId:t.data.name},success:function(e){"register"==t.messageType[t.data.name].goPage&&(window.location.href="https://www.yunzhan365.com/login.php"),"buyVip"==t.messageType[t.data.name].goPage&&(window.location.href="https://www.yunzhan365.com/manage/membership/upgrade")},error:function(t){$loadingPageBottom.hide()}})}}
16,SignPanel.prototype={createNewPanel:function(t,e,i){this.lightBoxClose(!0),this.$panel&&(this.$panel.remove(),this.$panel=null),$(".af-light-box.signpanel-box").remove(),$(".af-light-box-backdrop.signpanel-box-background").remove(),this.removeEvent(),this.options.signNum=t,this.options.redirect=e,this.options.callback=i,new SignPanel(this.options),this.isMobile()&&0!==this.loginType&&$(".af-sign-term-service").hide()},createOfficial:function(){this.$signInOfficialPanel=$('<div class="signin-official-panel"></div>'),this.isMobile()&&this.$signInOfficialPanel.addClass("mobile-panel"),this.signinPanelTitle(),this.signinPanelQrcode(),this.loginButtonContainer(),this.mobileWechatButtonContainer(),this.mobileQQSign(),this.phoneButtonContainer(),this.isMobile()?(this.$signInOfficialPanel.append(this.$mobileWechatButton).append(this.$mobilePhoneButton),this.$mobileQQButton&&this.$signInOfficialPanel.append(this.$mobileQQButton),window.setTimeout(()=>{this.isLoginBefore=Number.parseInt(this.getLocalStorage(this.IS_LOGIN_BEFORE_STORAGE_KEY))||0,Number.isNaN(this.isLoginBefore)&&(this.isLoginBefore=0),0===this.isLoginBefore?this.showSignupPanel():this.phoneButtonClick()})):this.$signInOfficialPanel.append(this.$loginButtonGroup)},createSignInPanelDom:function(){this.$signinContent=$('<form class="af-sign-content"></form>'),this.createEmailInput(0),this.getCodeInput(0),this.passwordInput(0),this.phonePasswordButton(),this.signBtn(0),this.phoneThirdLoginButton(),this.$signinContent.append(this.$emailGroup).append(this.$codeGroup).append(this.$password).append(this.$passwordButtonContainer).append(this.$signContent).append(this.$thirdSign),this.$innerPanel.hide()},createMessGroup:function(){this.$messGroup=$('<div class="af-sign-mess-group"></div>'),this.$label=$('<div class="af-sign-label"></div>').addClass(0===this.options.signNum?"sign-in":"").hide(),this.$signMess=$('<div class="af-sign-error-mess"></div>'),this.$messGroup.append(this.$label).append(this.$signMess)},initPanel:function(t){if(this.isMobile())return;const e=this;0===this.options.signNum&&void 0!==CookiePanel&&(this.cookiePanel=new CookiePanel("chinese-anyflipSignIn",e.$emailGroup.find(".form-control"),e.$emailGroup.find(".form-control"),function(){setTimeout(function(){e.$password.find(".form-control").focus()}),e.$password.find(".form-control").removeClass("af-validate-fail")})),1===this.options.signNum&&void 0!==EmailsPanel&&new EmailsPanel(e.$signupEmailGroup.find(".form-control"),e.$signupEmailGroup.find(".form-control"),function(){setTimeout(function(){e.$passInput.focus()})},function(){return 1!==t})},createSigninPanel:function(){this.createSignInPanelDom(),this.$innerPanel.hide(),this.createOfficial(),this.isMobile()||(this.timeout=window.setTimeout(()=>{this.getProgress(this.$qrcodeBox.find(".signin-qrcode"),this.options)},3e3)),this.$panel.append(this.$signInOfficialPanel)},showSignupPanel:function(){this.$signInOfficialPanel.hide(),this.$innerPanel.hide(),this.$signupInnerPanel.show(),this.initTn(1),this.canGetProgress=!1,this.loginType=4},createSignupPanel:function(){this.$signupInnerPanel=$('<div class="signup-inner-panel"></div>'),this.createSignupPanelTitle(),this.createEmailInput(1),this.getCodeInput(1),this.passwordInput(1),this.inviteGroup(),this.signBtn(1),this.toggleInviteInput(),this.signupToggleWechatAndPhone(),this.$signupContent=$('<div class="af-signup-content"></div>'),this.$signupContent.append(this.$signupEmailGroup).append(this.$signupPassword).append(this.$signupCodeGroup).append(this.$inviteGroup).append(this.$signupBtnContent).append(this.$toggleInviteInput),this.$signupInnerPanel.append(this.$signupPanelTitle).append(this.$signupContent).append(this.$signupTopRightContainer),0===this.options.signNum&&this.$signupInnerPanel.hide()},createLightBox:function(){this.lightBox||(this.lightBox=new LightBox("","",500),this.lightBox?.dialog?(this.isMobileLightBox=!1,this.lightBox.dialog.addClass("signpanel-lightbox"),this.lightBox.box.addClass("signpanel-box"),this.lightBox.background.addClass("signpanel-box-background"),this.lightBox.dialog.width(""),this.lightBox.getTopCancelBtn().on("click",()=>{this.timeout&&clearTimeout(this.timeout)})):(this.isMobileLightBox=!0,this.lightBox=new LightBox("","",{isEasyClose:!1,bodyOverflowHidden:!0}),this.lightBox.$lightBox.addClass("signpanel-lightbox"),this.lightBox.$inDialog.width(""),this.lightBox.$lightClose.on("click",()=>{this.timeout&&clearTimeout(this.timeout)}),this.lightBox.$wrapper.on("pointerdown",()=>{this.timeout&&clearTimeout(this.timeout),this.lightBoxClose()}),this.lightBox.$lightContent.on("pointerdown",t=>{t.stopPropagation()})))},create:function(){this.createLightBox(),this.$panel=$('<div class="af-sign-panel"></div>').addClass(0==this.options.signNum?"signin-panel":"signup-panel"),this.$innerPanel=$("<div>").addClass("sign-inner-panel"),this.options.isAiLayout&&this.$panel.addClass("ai-layout-panel");const t=$('<div class="af-sign-panel-left-background"></div>'),e=this.options.isAiLayout?"https://www.yunzhan365.com/images/login/ai-layout-left-background.png":`${this.host}/images/login/login_left_background.jpg`,i=$("<img>",{src:e,alt:"",loading:"lazy"});this.$panel.append(t.append(i)),this.createMessGroup(),this.createSigninPanel(),this.createSignupPanel(),this.get
16SignInServe(),this.mobileTermService(),this.toggleWechatAndPhone(),this.$innerPanel.append(this.$signinContent).appendTo(this.$panel),this.$panel.append(this.$signupInnerPanel).append(this.$messGroup).append(this.$signInServe).append(this.$topRightContainer),this.options.isLightBox&&(this.isMobileLightBox?this.$panel.appendTo(this.lightBox.getContent()):this.$panel.appendTo(this.lightBox.getBox()),this.lightBox.launch()),this.signFlag=!1,this.initPanel(1),this.iframeClosePanel(),this.addCloseButton(),1===this.options.signNum&&this.showSignupPanel(),window.setTimeout(()=>{this.togglePassword()})},toPhonePasswordLogin:function(){if(this.$signInOfficialPanel.hide(),this.$innerPanel.show(),this.loginType=2,this.isMobile()?this.createMobilePasswordPanelTitle():this.createLoginPanelTitle(),this.$emailGroup.find(".form-control").attr("placeholder","输入手机号/邮箱"),this.$emailGroup.find(".country-select").removeClass("hide-select"),this.$password.addClass("show-input"),this.$codeGroup.removeClass("show-input"),this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.canGetProgress=!1,this.isMobile())return;$(".login-panel-title")[0]&&$(".login-panel-title").remove();const t=$('<div class="login-panel-title"></div>'),e=$('<span class="main-title">账号密码登录</span>'),i=$('<span class="sub-title">还没有账号?</span>'),n=$('<span class="signup-button">立即注册</span>');n.off(),n.on("click",()=>{this.showSignupPanel(),this.trackEvent(this.TRACK_EVENT_NAME.SWITCH_TO_REGISTER_CLICKED,{properties:{from_mode:"login",to_mode:"register"}}),this.trackEvent(this.TRACK_EVENT_NAME.REGISTER_BUTTON_CLICKED,{properties:{register_mode:"phone"}})}),t.append(e).append(i.append(n)),this.$innerPanel.remove(".login-panel-title").prepend(t)},toPhoneCodeLogin:function(){this.$signInOfficialPanel.hide(),this.$innerPanel.show(),this.loginType=1,this.initTn(0),this.createLoginPanelTitle(),this.$emailGroup.find(".form-control").attr("placeholder","输入手机号"),this.$emailGroup.find(".country-select").removeClass("hide-select"),this.$password.removeClass("show-input"),this.$codeGroup.addClass("show-input"),this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.canGetProgress=!1},lightBoxClose:function(t=!1){this.lightBox&&(this.lightBox.cancel(t),this.lightBox=null,this.sendMsgToTools("close"),this.canGetProgress=!1,this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.mobileWechatTimeout&&(window.clearTimeout(this.mobileWechatTimeout),this.mobileWechatTimeout=null))}},Object.assign(SignPanel.prototype,{getPanel:function(){return this.$panel},getHost:function(){let t=window.location;try{t={hostname:window.parent.location.hostname,href:window.parent.location.href}}catch(t){}return"album.yunzhan365.com"===t.hostname||t.href.match(/192.|dev|test|staging-/)?"":t.href.match(/app.yunzhan365.com/)?"https://app.yunzhan365.com":"https://www.yunzhan365.com"},isMobile:function(){return window.innerWidth<=600},setCookie(t,e,i=60){const n=new Date;n.setTime(n.getTime()+1e3*i),document.cookie=`${t}=${e};expires=${n.toUTCString()};path=/;domain=.yunzhan365.com`},sendMsgToTools:function(t){t&&("close"!==t&&this.setCookie("yz_is_login","true",31536e3),window.parent.postMessage({messageType:t},window.parent.location.href))},filterInviteCode:function(){let t=this.getLocalStorage("yunzhaninvitecode")||"";return t.includes("_")&&(t=""),t},handleInviteCode:function(){const t="yunzhan_invite_code",e=new URLSearchParams(window.location.search),i=new Date("2026-03-17T14:00:00").getTime(),n=Date.now()<i+1296e6&&e.get("i")||e.get("inviter");if(n){this.options.inviteCode=n;const e=window.location.hostname.split(".");let i=window.location.hostname;e.length>=2&&(i="."+e.slice(-2).join(".")),document.cookie=`${t}=${encodeURIComponent(n)};domain=${i};path=/;SameSite=Lax`}else{const e=new RegExp("(?:^|;\\s*)"+t+"=([^;]*)"),i=document.cookie.match(e);i&&(this.options.inviteCode=decodeURIComponent(i[1]))}},getQueryString:function(t,e){var i=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=e.substr(1).match(i);return null!=n?unescape(n[2]):null},durationToString:function(t,e){let i=0;i=t-e,i<0&&(i=0);const n=Math.floor(i/3600);let o=Math.floor(i%3600/60);return i%3600/60<1&&(o=1),n>0?n+"小时"+o+"分钟":o+"分钟"}
16,getLocalStorage:function(t){try{if(window.localStorage)return window.localStorage.getItem(t);for(var e=document.cookie.split("; "),i=0;i<e.length;i++){var n=e[i].split("=");if(n[0]==t)return unescape(n[1])}return""}catch(t){return""}},addLocalStorage:function(t,e){try{if(window.localStorage)window.localStorage.setItem(t,e);else{var i=t+"="+escape(e),n=new Date;n.setTime(n.getTime()+864e8),i+="; expires="+n.toGMTString(),document.cookie=i}}catch(t){}},getSearchVal:function(){var t="",e=this.getLocalStorage("yunzhan_search");if(""!=e)try{var i=JSON.parse(e);if(i.hasOwnProperty("t")&&i.hasOwnProperty("q")){var n=i.q,o=parseInt(i.t);""!=n&&(t=(new Date).getTime()-o>86400?"":n)}}catch(t){}return t},parseRedirect:function(t){if(t.indexOf("yunzhan365.com/explore?q=")>0){var e="",i=t.match(/\?(\S*)/);i&&(e=this.getQueryString("q",i[0])),""!=e&&this.addLocalStorage("yunzhan_search",`{"q":${e}, "t":${(new Date).getTime()}}`)}},encode:function(t=""){try{return window.btoa(window.encodeURIComponent(t))}catch(t){return""}},decode:function(t=""){try{return window.decodeURIComponent(window.atob(t))}catch(t){return""}},setMess:function(t){return 1===this.loginType||2===this.loginType?(this.clearValidFail(),this.$emailGroup.find(".error-tips").addClass("show-tips"),void this.$emailGroup.find(".error-tips").html(t)):4===this.loginType?(this.clearValidFail(),this.$signupEmailGroup.find(".error-tips").addClass("show-tips"),void this.$signupEmailGroup.find(".error-tips").html(t)):void(t||(this.clearValidFail(),this.$emailGroup.find(".error-tips").removeClass("show-tips"),this.$emailGroup.find(".error-tips").html("")))},clearValidFail:function(){this.$emailGroup.find(".form-control").removeClass("af-validate-fail"),this.$password.find(".form-control").removeClass("af-validate-fail"),this.$signupEmailGroup.find(".form-control").removeClass("af-validate-fail"),this.$signupPassword.find(".form-control").removeClass("af-validate-fail"),this.$signupCodeGroup.find(".form-control").removeClass("af-validate-fail")},setLog:function(t){if(void 0===window.yzTraceLogHandler?.setLog)return;const e={0:"imp_sign_up",1:"imp_log_in"};if("number"==typeof t&&e[t])try{const i={event_name:e[t],interaction_method:"auto"},n={ignoreCount:!0};window.yzTraceLogHandler.setLog(i,n)}catch(t){console.log(t)}},setIsLoginBefore:function(){this.addLocalStorage(this.IS_LOGIN_BEFORE_STORAGE_KEY,1)}}),Object.assign(SignPanel.prototype,{getQrcode:function(t){this.getNum>=5||this.isMobile()||(this.getNum++,$.ajax({url:`${this.getHost()}/api/third/official-login`,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:{loginType:2,inviteCode:this.options.inviteCode,searchVal:this.getSearchVal()},success:e=>{"OK"==e.code?(t.attr("src",e.data.downloadUrl),this.getNum=0,this.sessionId=e.data.sessionId,this.getCodeTime=(new Date).getTime()):this.getQrcode(t)},error:e=>{this.getQrcode(t),console.log(e)}}))},getProgress:function(t,e){if(1===this.options.signNum||this.isMobile())return;if(this.codeExpireTime<=0)return this.canGetProgress=!1,this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.showRefreshCodeMask(t,e);if(!this.canGetProgress)return void(this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null));const i=(new Date).getTime();let n=0;(i-this.getCodeTime)/1e3>=290&&(n=1,this.getCodeTime=i),this.isGetCode&&(n=1,this.isGetCode=!1),$.ajax({contentType:"application/json",url:`${this.getHost()}/api/third/get-progress`,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:JSON.stringify({"X-Fsh5-Sessionid":this.sessionId,getCode:n}),success:i=>{"OK"==i.code?(this.sendMsgToTools("login"),this.setLog(1),this.setIsLoginBefore(),i=i.data,window.hf_sensors&&hf_sensors.login(i.userId),1===Number.parseInt(i.isFirst)&&hf_utils.registerStat("pc_third"),this.options.callback?this.options.callback():window.location.href="/manage/userPanel",window.parent&&window.parent.location.href.includes("manage")&&window.parent.location.reload(),this.lightBoxClose()):"ACCOUNT_SUSPENDED"===i.code?this.showAccountBanDialog():(1==n&&i.hasOwnProperty("img")&&t.attr("src",i.img),this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.timeout=setTimeout(()=>{this.getProgress(t,e)},2e3))},error:()=>{this.timeout=setTimeout(()=>{this.getProgress(t,e)},2e3)}})},setSignLoading:function(t){this.signFlag=t,this.$signContent.find(".af-sign-btn").toggleClass("af-hidden",t),this.$signContent.find(".af-sign-progress").toggleClass("af-hidden",!t)},handleLoginSuccess:function(t){if(this.sendMsgToTools("login"),this.setLog(1),this.setIsLoginBefore(),window.hf_sensors&&hf_sensors.login(t.userId),fh5.isLoggedIn=!0,fh5.uId=t.userId,fh5.uLink=t.uLink,this.options.callback)this.options.callback();else{if(window?.loginNoReload)return window.location.reload(),!1;this.isMobileLightBox?window.location.href="/dashboard/home":window.location.href="/quick-upload/"}return window.parent&&window.parent.location.href.includes("manage")&&window.parent.location.reload(),this.lightBoxClose(),!0},signIn:function(){if(1===this.loginType)return this.phoneCodeLogin();const t=this.signInValidate();!this.signFlag&&t&&$.ajax({url:`${this.getHost()}/api/user/handle-user-login`,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:{account:this.$emailGroup.find(".form-control").val().trim(),upass:this.$password.find(".form-control").val().trim(),searchVal:this.getSearchVal(),remember:this.isRememberPassword?1:0},beforeSend:()=>{this.setSignLoading(!0)},success:t=>{if(this.setSignLoading(!1),"OK"==t.code){if(window.localStorage.removeItem(this.REMEMBER_PASSWORD_STORAGE_KEY),this.isRememberPassword){const t=this.$emailGroup.find(".form-control").val().trim()??"";window.localStorage.setItem(this.REMEMBER_ACCOUNT_STORAGE_KEY,this.encode(t))}if(!1===this.handleLoginSuccess(t.data))return;this.cookiePanel?.addCookie(this.$emailInput?.val().trim())}else this.handleLoginFail(t)},error:t=>{this.setMess("连接出错,请重试。"),this.setSignLoading(!1)}})},phoneCodeLogin:function(){const t=this.signInValidate();!this.signFlag&&t&&$.ajax({url:`${this.getHost()}/api/user/vrify-code-login`,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:{account:this.$emailGroup.find(".form-control").val().trim(),areaCode:this.areaCode,verifyCode:this.$codeGroup.find(".form-control").val().trim(),invite_code:this.options.inviteCode,searchVal:this.getSearchVal(),registerType:this.isMobile()?1:0},beforeSend:()=>{this.setSignLoading(!0)},success:t=>{this.setSignLoading(!1),"OK"==t.code?this.handleLoginSuccess(t.data):this.handleLoginFail(t)},error:()=>{this.setMess("连接出错,请重试。"),this.setSignLoading(!1)}})},signUp:function(t){const e=this.signUpValidate(t);if(this.signFlag||!e)return;const i={type:"0",account:this.$signupEmailGroup.find(".form-control").val().trim(),upass:this.$signupPassword.find(".form-control").val().trim(),code:this.$signupCodeGroup.find(".form-control").val().trim(),invite_code:this.$inviteGroup.find(".form-control").val().trim(),areaCode:this.areaCode,searchVal:this.getSearchVal()};$.ajax({url:`${this.getHost()}/api/user/handle-user-signup`,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:i,beforeSend:()=>{this.signFlag=!0,this.$signupBtnContent.find(".af-sign-btn").addClass("af-hidden"),this.$signupBtnContent.find(".af-sign-progress").removeClass("af-hidden")},success:e=>{if(this.signFlag=!1,this.$signupBtnContent.find(".af-sign-btn").removeClass("af-hidden"),this.$signupBtnContent.find(".af-sign-progress").addClass("af-hidden"),"OK"==e.code){if(this.sendMsgToTools("signup"),this.setLog(0),this.setIsLoginBefore(),e=e.data,window.hf_sensors&&hf_sensors.login(e.uId),hf_utils.registerStat("pc"),fh5.isLoggedIn=!0,fh5.uId=e.uId,fh5.uLink=e.uLink,fh5.uType="0",hf_utils.registerStat("pc"),this.options.callback)this.options.callback();else if("1"==t){let t="/dashboard/home";window.location.href=t}else window.location.href="/activated-account.php?t=signup";this.lightBoxClose()}else this.setMess(e.msg),this.$signupBtnContent.find(".af-sign-btn").removeClass("af-hidden"),this.$signupBtnContent.find(".af-sign-progress").addClass("af-hidden")},error:t=>{this.setMess("连接出错,请重试。"),this.signFlag=!1,this.$signupBtnContent.find(".af-sign-btn").removeClass("af-hidden"),this.$signupBtnContent.find(".af-sign-progress").addClass("af-hidden")}})},checkEmail:function(t){this.checkEmailValidate(t)&&$.ajax({type:"post",url:`${this.getHost()}/api/user/check-email`,dataType:"json",xhrFields:{withCredentials:!0},beforeSend:()=>{this.$signupEmailGroup.find(".af-sign-check-success").remove()},data:{account:this.$signupEmailGroup.find(".form-control").val().trim()},success:t=>{"OK"==t.code?(this.$signupEmailGroup.children(".af-sign-check-success").length<=0&&this.$signupEmailGroup.append("<div class='af-sign-check-success'></div>"),this.$signupCodeGroup.find(".af-sign-btn-phonecode").removeClass("disabled"),this.$signupEmailGroup.find(".form-control").removeClass("af-validate-fail")):(this.setMess("用户已存在。"),this.$signupCodeGroup.find(".af-sign-btn-phonecode").addClass("disabled"))},error:t=>{this.setMess("用户已存在。")}})}
16,signInValidate:function(){let t="",e="",i="";const n=this.$emailGroup.find(".form-control"),o=this.$codeGroup.find(".form-control"),a=this.$password.find(".form-control");return t=hf_utils.validate("signin",n),t&&""!=t?(this.setMess(t),!1):1===this.loginType&&(i=hf_utils.validate("phoneCode",o),i&&""!=i)?(this.setMess(i),!1):2!==this.loginType&&3!==this.loginType||(e=hf_utils.validate("password",a),!e||""==e)||(this.setMess(e),!1)},handleLoginFail:function(t){const e=t.code;if("PASSWORD_ERROR"===e){this.setMess("密码错误,请重新输入");const e=void 0!==t.data?t.data:{};e&&void 0!==e.errorCount&&(this.passErrorNum=Number.parseInt(e.errorCount)),this.getRemainPasswordCount();let i=!1;return void 0!==e.time&&e.time>0&&(i=!0,this.getRemainTime(e.time)),this.showLoginLimitDialog(i,0)}if("ACCOUNT_NOT_EXISTS"===e)return this.setMess("账号不存在");if("VERIFY_CODE_EXPIRED"===e)return this.setMess("验证码过期");if("ACCOUNT_SUSPENDED"===e)return this.showAccountBanDialog();if("LOGIN_LIMIT"===e){++this.passErrorNum,this.isShowPassError=!0,this.getRemainPasswordCount();const e=void 0!==t.data?t.data:{};return e&&void 0!==e.time&&e.time>0&&this.getRemainTime(e.time),this.showLoginLimitDialog(!0,0)}if("LOGIN_LIMIT_IP"===e){const e=void 0!==t.data?t.data:{};return e&&void 0!==e.time&&e.time>0&&(this.ipLimitTime=this.durationToString(e.time,Math.floor((new Date).getTime()/1e3))),this.isShowPassError=!0,this.showLoginLimitDialog(!0,1)}this.setMess(t.msg)},signUpValidate:function(t){let e="",i="",n="";return e=hf_utils.validate("1"==t?"phone":"email",this.$signupEmailGroup.find(".form-control"),this.areaCode),e&&""!=e?(this.setMess(e),this.$signupEmailGroup.find(".af-sign-check-success").remove(),!1):(i=hf_utils.validate("password",this.$signupPassword.find(".form-control")),i&&""!=i?(this.setMess(i),!1):(n=hf_utils.validate("1"==t?"phoneCode":"verificationCode",this.$signupCodeGroup.find(".form-control")),!n||""==n||(this.setMess(n),!1)))},checkEmailValidate:function(t){if(""===this.$signupEmailGroup.find(".form-control").val().trim())return!1;const e=hf_utils.validate(1===Number.parseInt(t)?"phone":"email",this.$signupEmailGroup.find(".form-control"),this.areaCode);return!e||""==e||(this.setMess(e),this.$signupEmailGroup.find(".af-sign-check-success").remove(),!1)},mobileWechatGetProgress:function(t){$.ajax({contentType:"application/json",url:`${this.getHost()}/api/third/get-progress`,type:"post",dataType:"json",xhrFields:{withCredentials:!0},data:JSON.stringify({"X-Fsh5-Sessionid":t,getCode:0}),success:e=>{"OK"==e.code?(this.sendMsgToTools("login"),e=e.data,window.hf_sensors&&hf_sensors.login(e.userId),1===Number.parseInt(e.isFirst)&&hf_utils.registerStat("pc_third"),this.options.callback?this.options.callback():window.location.href="/dashboard/home",this.lightBoxClose()):(this.mobileWechatTimeout&&(window.clearTimeout(this.mobileWechatTimeout),this.mobileWechatTimeout=null),this.mobileWechatTimeout=setTimeout(()=>{this.mobileWechatGetProgress(t)},500))},error:()=>{this.mobileWechatTimeout=setTimeout(()=>{this.mobileWechatGetProgress(t)},500)}})}}),Object.assign(SignPanel.prototype,{watchLoginType:function(t,e){Object.defineProperty(this,"loginType",{get:function(){return this._loginType},set:function(t){if(this._loginType!==t){if(this._loginType=t,this.$codeLoginButton?.html(1===this.loginType?"账号密码登录":"验证码登录"),this.$rememberGroup?.toggle(1!==this.loginType),4===t&&(this.$signupEmailGroup.find(".form-control").val(""),this.$signupPassword.find(".form-control").val("")),0===this.loginType)return this.$topRightContainer.removeClass("hide-container"),this.$topRightContainer.removeClass("to-wechat"),this.$topRightContainer.addClass("to-phone"),void this.$topRightContainer.find(".top-right-text").html("手机号登录");if([1,2].includes(this.loginType))return this.$topRightContainer.removeClass("hide-container"),this.$topRightContainer.removeClass("to-phone"),this.$topRightContainer.addClass("to-wechat"),void this.$topRightContainer.find(".top-right-text").html("微信扫码登录");if([3,4].includes(this.loginType))return this.$topRightContainer.addClass("hide-container")}},enumerable:!0,configurable:!0})},visibilitychangeEvent:function(){"hidden"===document.visibilityState&&this.pageVisibleEvent(),"visible"===document.visibilityState&&this.pageHiddenEvent()},pageVisibilityChange:function(){this.boundVisibilityChange=this.visibilitychangeEvent.bind(this),window.addEventListener("visibilitychange",this.boundVisibilityChange)},removePageVisibilityChange:function(){this.boundVisibilityChange&&(window.removeEventListener("visibilitychange",this.boundVisibilityChange),this.boundVisibilityChange=null)},pageResizeEvent:function(){this.boundResize=this.pageWidthChange.bind(this),window.addEventListener("resize",this.boundResize)},removePageResizeEvent:function(){this.boundResize&&(window.removeEventListener("resize",this.boundResize),this.boundResize=null)},removeEvent:function(){this.removePageVisibilityChange(),this.removePageResizeEvent()},pageVisibleEvent:function(){this.canGetProgress=!1,this.codeExpireTimeTimer&&(window.clearInterval(this.codeExpireTimeTimer),this.codeExpireTimeTimer=null),this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null)},pageHiddenEvent:function(){$(".refresh-code-mask")[0]||0!==this.loginType||1===this.options.signNum||this.isMobile()||(this.canGetProgress=!0,this.isGetCode=!0,this.codeExpireTimeTimer&&(window.clearInterval(this.codeExpireTimeTimer),this.codeExpireTimeTimer=null),this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.codeExpireTime=300,this.getProgress(this.$qrcodeBox.find(".signin-qrcode"),this.options),this.getCodeExpireTime(this.$qrcodeBox.find(".signin-qrcode"),this.options))},pageWidthChange:function(){const t=window.innerWidth;0===this.options.signNum?this.$signInServe.width(this.$signInOfficialPanel.outerWidth()):this.$signInServe.width(this.$signupInnerPanel.outerWidth()),t<600&&!this.options.noResize&&(this.canGetProgress=!1)},iframeClosePanel:function(){$(".af-light-box").on("click",t=>{(this.lightBox&&this.isMobile()||["/login/login.html","/login/signup.html"].includes(window.location.href))&&(this.lightBoxClose(),this.sendMsgToTools("close"))}),$(".af-light-box-content").on("click",function(t){t.stopPropagation()})}}),Object.assign(SignPanel.prototype,{mobileWechatButtonContainer:function(){if(!this.isMobile())return;
16this.$mobileWechatButton=$('<div class="wechat-button login-button-container"></div>');const t=$('<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.185 5.15693C12.3921 5.15693 12.5964 5.17197 12.7986 5.19379C12.2476 2.67323 9.50322 0.800049 6.37098 0.800049C2.86889 0.800049 0 3.14456 0 6.1214C0 7.83943 0.954667 9.2505 2.54938 10.3449L1.91227 12.2276L4.1392 11.1305C4.93655 11.2852 5.57558 11.4447 6.37098 11.4447C6.57081 11.4447 6.76867 11.435 6.96557 11.4195C6.84097 11.0015 6.76867 10.5632 6.76867 10.1088C6.76869 7.37539 9.15878 5.15693 12.185 5.15693ZM8.76011 3.46025C9.23987 3.46025 9.55744 3.77058 9.55744 4.24143C9.55744 4.71033 9.23987 5.02455 8.76011 5.02455C8.28226 5.02455 7.80347 4.71033 7.80347 4.24143C7.80347 3.77058 8.28229 3.46025 8.76011 3.46025ZM4.3014 5.02453C3.82356 5.02453 3.34182 4.71031 3.34182 4.24141C3.34182 3.77056 3.82356 3.46023 4.3014 3.46023C4.77871 3.46023 5.09678 3.77056 5.09678 4.24141C5.09678 4.71033 4.77871 5.02453 4.3014 5.02453ZM18 10.0336C18 7.532 15.4511 5.49297 12.5886 5.49297C9.55744 5.49297 7.17029 7.532 7.17029 10.0336C7.17029 12.5389 9.55744 14.5736 12.5886 14.5736C13.2227 14.5736 13.8628 14.4174 14.4998 14.2603L16.2475 15.2L15.7682 13.6367C17.0473 12.6941 18 11.4447 18 10.0336ZM10.8316 9.2505C10.5146 9.2505 10.1946 8.94065 10.1946 8.62448C10.1946 8.3127 10.5146 7.99897 10.8316 7.99897C11.3134 7.99897 11.629 8.3127 11.629 8.62448C11.629 8.94065 11.3134 9.2505 10.8316 9.2505ZM14.3357 9.2505C14.0211 9.2505 13.703 8.94065 13.703 8.62448C13.703 8.3127 14.0211 7.99897 14.3357 7.99897C14.8135 7.99897 15.133 8.3127 15.133 8.62448C15.133 8.94065 14.8135 9.2505 14.3357 9.2505Z" fill="#0ECA6B" /></svg>'),e=$("<span>微信登录</span>");this.$mobileWechatButton.append(t).append(e),this.$mobileWechatButton.on("click",()=>{if(this.$mobileWechatButton.hasClass("btn-disabled"))return this.showMobileTermService();const t=this.generateRandomString(),e=window.encodeURIComponent(`${this.MOBILE_WEIXIN_LOGIN_PREFIX}${t}`),i=`weixin://dl/business/?appid=${this.WEIXIN_APPID}&path=${this.WEIXIN_PATH}&query=session_id=${e}`;window.open(i),this.mobileWechatGetProgress(e)})},phoneButtonContainer:function(){if(!this.isMobile())return;this.$mobilePhoneButton=$('<div class="phone-button login-button-container"></div>');const t=$('<svg width="14" height="20" viewBox="0 0 14 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.25 2.3125C2.95163 2.3125 2.66548 2.43103 2.4545 2.642C2.24353 2.85298 2.125 3.13913 2.125 3.4375V16.5625C2.125 16.8609 2.24353 17.147 2.4545 17.358C2.66548 17.569 2.95163 17.6875 3.25 17.6875H10.75C11.0484 17.6875 11.3345 17.569 11.5455 17.358C11.7565 17.147 11.875 16.8609 11.875 16.5625V3.4375C11.875 3.13913 11.7565 2.85298 11.5455 2.642C11.3345 2.43
16103 11.0484 2.3125 10.75 2.3125H8.66387C8.6793 2.37243 8.6875 2.43526 8.6875 2.5C8.6875 2.91421 8.35171 3.25 7.9375 3.25H6.0625C5.64829 3.25 5.3125 2.91421 5.3125 2.5C5.3125 2.43526 5.3207 2.37243 5.33613 2.3125H3.25ZM1.39384 1.58134C1.88613 1.08906 2.55381 0.8125 3.25 0.8125H10.75C11.4462 0.8125 12.1139 1.08906 12.6062 1.58134C13.0984 2.07363 13.375 2.74131 13.375 3.4375V16.5625C13.375 17.2587 13.0984 17.9264 12.6062 18.4187C12.1139 18.9109 11.4462 19.1875 10.75 19.1875H3.25C2.55381 19.1875 1.88613 18.9109 1.39384 18.4187C0.901562 17.9264 0.625 17.2587 0.625 16.5625V3.4375C0.625 2.74131 0.901562 2.07363 1.39384 1.58134ZM7 13.9375C7.41421 13.9375 7.75 14.2733 7.75 14.6875V14.6969C7.75 15.1111 7.41421 15.4469 7 15.4469C6.58579 15.4469 6.25 15.1111 6.25 14.6969V14.6875C6.25 14.2733 6.58579 13.9375 7 13.9375Z" fill="#333940" /></svg>'),e=$("<span>").html("手机号登录");this.$mobilePhoneButton.append(t).append(e),this.$mobilePhoneButton.on("click",()=>{this.phoneButtonClick()})},phoneButtonClick:function(){if(this.$mobilePhoneButton.hasClass("btn-disabled"))return this.showMobileTermService();this.$signInOfficialPanel.hide(),this.$innerPanel.show(),this.loginType=2,this.$emailGroup.find(".form-control").attr("placeholder","输入手机号/邮箱"),this.$codeGroup.removeClass("show-input"),this.$password.addClass("show-input"),this.createMobilePasswordPanelTitle()},createMobilePasswordPanelTitle:function(){$(".login-panel-title").remove(),$(".sub-title-container").remove();const t=$('<div class="login-panel-title"></div>'),e=$('<div class="close-icon-button"></div>'),i=$('<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 0.46967C7.82322 0.762563 7.82322 1.23744 7.53033 1.53033L2.06066 7L7.53033 12.4697C7.82322 12.7626 7.82322 13.2374 7.53033 13.5303C7.23744 13.8232 6.76256 13.8232 6.46967 13.5303L0.46967 7.53033C0.176777 7.23744 0.176777 6.76256 0.46967 6.46967L6.46967 0.46967C6.76256 0.176777 7.23744 0.176777 7.53033 0.46967Z" fill="#B5B5B5" /></svg>'),n=$('<span class="panel-title">账号密码登录</span>');this.returnIconClick(e),this.$innerPanel.prepend(t.append(e.append(i)).append(n));const o=$('<div class="sub-title-container">还没有账号?</div>'),a=$('<span class="signup-button">立即注册</span>');a.on("click",()=>{this.showSignupPanel(),this.trackEvent(this.TRACK_EVENT_NAME.SWITCH_TO_REGISTER_CLICKED,{properties:{from_mode:"login",to_mode:"register"}}),this.trackEvent(this.TRACK_EVENT_NAME.REGISTER_BUTTON_CLICKED,{properties:{register_mode:"phone"}})}),this.$innerPanel.find(".login-panel-title").after(o.append(a))},returnIconClick:function(t){t.on("click",()=>{this.$signInOfficialPanel.show(),this.$innerPanel.hide(),this.loginType=0,$(".login-panel-title .panel-title").html("快速登录或注册"),$(".af-sign-term-service").show(),this.setMess("")})},mobileTermService:function(){if(!this.isMobile())return;this.$mobileTermService=$("<div>").addClass("mobile-term-service");const t=$('<span class="term-service-title">温馨提示</span>'),e=$('<div class="term-service-content">我已阅读并同意</div>');let i='<a class="link" href="/faq/serve.php" target="_blank">《云展网用户注册协议》</a>';this.options.isAiLayout&&(i='<a class="link" href="https://album.yunzhan365.com/serve" target="_blank">《云展网智排注册协议》</a>');const n=$(i),o=$('<span class="agree-button">同意并继续</span>');this.$mobileTermService.append(t).append(e.append(n)).append(o),o.on("click",()=>{this.hideMobileTermService()}),this.$panel.append(this.$mobileTermService)},showMobileTermService:function(){this.$mobileTermService.addClass("show-container"),this.$signInOfficialPanel.hide(),this.$signInServe.hide()},hideMobileTermService:function(){this.$mobileTermService.removeClass("show-container"),this.$signInOfficialPanel.show(),this.$signInServe.show(),this.isCheckedTerm=!0,this.$signInServe.find("#readmeLogin").prop("checked",!0);const t={wechatButton:this.$mobileWechatButton,phoneButton:this.$mobilePhoneButton};Object.values(t).forEach(t=>{t.removeClass("btn-disabled")})},generateRandomString:function(){return Math.random().toString(36).substring(2,10)},mobileQQSign:function(){if(this.options.isAiLayout)return;if(!this.isMobile())return;
16this.$mobileQQButton=$('<div class="qq-button login-button-container"></div>');const t=$('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.99481 16.3834C4.33409 16.631 4.67337 16.1934 4.91087 15.7557C5.14836 15.318 5.30443 14.9414 5.34514 15.0771C5.38586 15.2128 5.42318 15.3452 5.47407 15.4877C5.72255 16.1423 6.08686 16.7468 6.54959 17.2723C6.65477 17.391 5.91513 17.6115 5.47407 18.3614C5.03301 19.1112 5.5996 20.4819 7.79814 20.4819C10.6345 20.4819 11.269 19.4844 11.3267 19.4878C11.4769 19.4962 11.6276 19.4962 11.7779 19.4878C11.9156 19.4997 12.0541 19.4997 12.1918 19.4878C12.2563 19.4878 12.5854 19.7388 13.1147 19.9967C13.8859 20.3905 14.7526 20.5587 15.6152 20.4819C18.8655 20.1426 18.3701 19.0501 18.1157 18.3614C17.8612 17.6726 16.9044 17.3096 16.9485 17.2621C17.5176 16.6479 17.9194 15.8979 18.1157 15.0839C18.1665 14.9278 18.3701 15.3384 18.6314 15.7625C18.8926 16.1866 19.259 16.6446 19.5576 16.3901C19.7985 16.1832 20.2837 15.3282 19.7985 13.5198C19.3133 11.7115 18.3803 11.2941 18.4006 10.9549C18.4409 10.511 18.4352 10.0642 18.3837 9.62149C18.2005 8.99383 17.8612 9.12954 17.8612 8.99382C17.8612 5.39745 15.147 2.5 11.8254 2.5C8.50384 2.5 5.80317 5.39745 5.80317 8.99382C5.80317 9.27882 5.5521 9.06847 5.34514 9.61471C5.25015 9.85899 5.38586 10.0151 5.34514 10.9481C5.34514 11.1991 4.24927 12.3323 3.82178 13.513C3.39428 14.6937 3.3366 15.9151 3.99481 16.3834Z" fill="#298DFF"/></svg>'),e=$("<span>QQ登录</span>");this.$mobileQQButton.append(t).append(e),this.$mobileQQButton.attr("data-href","/userLoad/qq"),this.$mobileQQButton.attr("data-name","腾讯QQ"),this.$mobileQQButton.attr("data-size","710#400"),this.$mobileQQButton.on("click",t=>{this.qqLoginClick(this.$mobileQQButton,t)})}}),Object.assign(SignPanel.prototype,{qqLoginClick:function(t,e){const i=e.currentTarget.classList;if((i.contains("qq-sign")||i.contains("qq-login-button"))&&i.contains("btn-disabled"))return e.preventDefault();this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_MODE_TOGGLE_CLICKED,{properties:{from_mode:this.getLoginModeStr(),to_mode:"qq"}}),this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_BUTTON_CLICKED,{properties:{login_mode:"qq"}}),e.preventDefault();let n=$(t).attr("data-href"),o=($(t).attr("data-size")||a).split("#");$(t).attr("data-name");const a="600#370";o[0],o[1];this.options.inviteCode?(n=`${n}?invite_code=${this.options.inviteCode}`,this.getSearchVal()&&(n=`${n}&searchVal=${this.getSearchVal()}`)):this.getSearchVal()&&(n=`${n}?searchVal=${this.getSearchVal()}`);let s=!1,r=null;const l=t=>{if(s)return;s=!0,$(window).off("message.signIn"),r&&($(r).off("message.signIn"),r.onmessage=null),this.sendMsgToTools("login"),this.setLog(1);const e=t.originalEvent.data;void 0!==window.hf_sensors&&window.hf_sensors.login(e.uId),0===Number.parseInt(e.isFirst)&&window.hf_utils.registerStat("pc_third"),this.options.callback?this.options.callback():this.isMobileLightBox?window.location.href="/dashboard/home":window.location.href="/quick-upload/",this.lightBoxClose()};return r=window.open(n,"_blank"),$(window).on("message.signIn",t=>{l(t)}),$(r).on("message.signIn",t=>{l(t)}),r.onmessage=t=>{l(t)},!1},signinPanelQrcode:function(){if(this.isMobile())return;this.$qrcodeBox=$("<div>").addClass("signin-qrcode-box");const t=$('<img class="signin-qrcode" src="https://www.yunzhan365.com/images/scan-loading.gif" />');this.$qrcodeBox.append(t);const e=$('<svg width="16" height="12" viewBox="0 0 16 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6542 3.63073C10.8268 3.63073 10.997 3.64326 11.1655 3.66145C10.7063 1.56098 8.41935 0 5.80915 0C2.89074 0 0.5 1.95376 0.5 4.43446C0.5 5.86615 1.29556 7.04204 2.62448 7.95407L2.09356 9.52296L3.94933 8.6087C4.61379 8.7376 5.14631 8.87053 5.80915 8.87053C5.97567 8.87053 6.14056 8.86247 6.30464 8.84956C6.20081 8.50123 6.14056 8.13595 6.14056 7.75729C6.14057 5.47945 8.13232 3.63073 10.6542 3.63073ZM7.80009 2.21684C8.19989 2.21684 8.46453 2.47544 8.46453 2.86782C8.46453 3.25857 8.19989 3.52042 7.80009 3.52042C7.40189 3.52042 7.00289 3.25857 7.00289 2.86782C7.00289 2.47544 7.40191 2.21684 7.80009 2.21684ZM4.0845 3.5204C3.6863 3.5204 3.28485 3.25855 3.28485 2.8678C3.28485 2.47543 3.6863 2.21682 4.0845 2.21682C4.48226 2.21682 4.74732 2.47543 4.74732 2.8678C4.74732 3.25857 4.48226 3.5204 4.0845 3.5204ZM15.5 7.69465C15.5 5.60996 13.3759 3.91076 10.9905 3.910
1676C8.46453 3.91076 6.47524 5.60996 6.47524 7.69465C6.47524 9.78238 8.46453 11.4779 10.9905 11.4779C11.5189 11.4779 12.0523 11.3478 12.5832 11.2169L14.0396 12L13.6402 10.6972C14.7061 9.91168 15.5 8.87052 15.5 7.69465ZM9.52637 7.04204C9.26215 7.04204 8.99547 6.78383 8.99547 6.52036C8.99547 6.26054 9.26215 5.9991 9.52637 5.9991C9.92781 5.9991 10.1908 6.26054 10.1908 6.52036C10.1908 6.78383 9.92781 7.04204 9.52637 7.04204ZM12.4464 7.04204C12.1842 7.04204 11.9192 6.78383 11.9192 6.52036C11.9192 6.26054 12.1842 5.9991 12.4464 5.9991C12.8446 5.9991 13.1109 6.26054 13.1109 6.52036C13.1109 6.78383 12.8446 7.04204 12.4464 7.04204Z" fill="#0ECA6B" /></svg>'),i=$("<span>").html("微信扫码"),n=$('<div class="signin-qrcode-box-text"></div>');n.append(e).append(i),this.$qrcodeBox.append(n),this.$signInOfficialPanel.append(this.$qrcodeBox),this.getQrcode(this.$qrcodeBox.find(".signin-qrcode"))},loginButtonQQSign:function(){if(this.options.isAiLayout)return;const t=$('<div class="qq-login-button"></div>'),e=$('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.99481 16.3834C4.33409 16.631 4.67337 16.1934 4.91087 15.7557C5.14836 15.318 5.30443 14.9414 5.34514 15.0771C5.38586 15.2128 5.42318 15.3452 5.47407 15.4877C5.72255 16.1423 6.08686 16.7468 6.54959 17.2723C6.65477 17.391 5.91513 17.6115 5.47407 18.3614C5.03301 19.1112 5.5996 20.4819 7.79814 20.4819C10.6345 20.4819 11.269 19.4844 11.3267 19.4878C11.4769 19.4962 11.6276 19.4962 11.7779 19.4878C11.9156 19.4997 12.0541 19.4997 12.1918 19.4878C12.2563 19.4878 12.5854 19.7388 13.1147 19.9967C13.8859 20.3905 14.7526 20.5587 15.6152 20.4819C18.8655 20.1426 18.3701 19.0501 18.1157 18.3614C17.8612 17.6726 16.9044 17.3096 16.9485 17.2621C17.5176 16.6479 17.9194 15.8979 18.1157 15.0839C18.1665 14.9278 18.3701 15.3384 18.6314 15.7625C18.8926 16.1866 19.259 16.6446 19.5576 16.3901C19.7985 16.1832 20.2837 15.3282 19.7985 13.5198C19.3133 11.7115 18.3803 11.2941 18.4006 10.9549C18.4409 10.511 18.4352 10.0642 18.3837 9.62149C18.2005 8.99383 17.8612 9.12954 17.8612 8.99382C17.8612 5.39745 15.147 2.5 11.8254 2.5C8.50384 2.5 5.80317 5.39745 5.80317 8.99382C5.80317 9.27882 5.5521 9.06847 5.34514 9.61471C5.25015 9.85899 5.38586 10.0151 5.34514 10.9481C5.34514 11.1991 4.24927 12.3323 3.82178 13.513C3.39428 14.6937 3.3366 15.9151 3.99481 16.3834Z" fill="#298DFF"/></svg>'),i=$("<span>QQ登录</span>");t.append(e).append(i),t.attr("data-href","/userLoad/qq"),t.attr("data-name","腾讯QQ"),t.attr("data-size","710#400"),this.$loginButtonGroup.append(t),t.on("click",e=>{this.qqLoginClick(t,e)})},wechatSignButton:function(){const t=$('<div class="af-third-reg-login toggle-wechat-sign"></div>'),e=$('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.986 9.08457C15.1801 9.08457 15.3716 9.09867 15.5612 9.11913C15.0446 6.75611 12.4718 5 9.5353 5C6.25208 5 3.5625 7.19798 3.5625 9.98876C3.5625 11.5994 4.4575 12.9223 5.95254 13.9483L5.35526 15.7133L7.443 14.6848C8.19052 14.8298 8.7896 14.9793 9.5353 14.9793C9.72263 14.9793 9.90812 14.9703 10.0927 14.9558C9.97591 14.5639 9.90812 14.1529 9.90812 13.727C9.90814 11.1644 12.1489 9.08457 14.986 9.08457ZM11.7751 7.49394C12.2249 7.49394 12.5226 7.78487 12.5226 8.2263C12.5226 8.66589 12.2249 8.96047 11.7751 8.96047C11.3271 8.96047 10.8783 8.66589 10.8783 8.2263C10.8783 7.78487 11.3271 7.49394 11.7751 7.49394ZM7.59506 8.96045C7.14708 8.96045 6.69546 8.66587 6.69546 8.22628C6.69546 7.78486 7.14708 7.49392 7.59506 7.49392C8.04254 7.49392 8.34073 7.78486 8.34073 8.22628C8.34073 8.66589 8.04254 8.96045 7.59506 8.96045ZM20.4375 13.6565C20.4375 11.3112 18.0479 9.39961 15.3643 9.39961C12.5226 9.39961 10.2846 11.3112 10.2846 13.6565C10.2846 16.0052 12.5226 17.9127 15.3643 17.9127C15.9588 17.9127 16.5588 17.7663 17.1561 17.619L18.7945 18.5L18.3452 17.0344C19.5444 16.1506 20.4375 14.9793 20.4375 13.6565ZM13.7172 12.9223C13.4199 12.9223 13.1199 12.6318 13.1199 12.3354C13.1199 12.0431 13.4199 11.749 13.7172 11.749C14.1688 11.749 14.4647 12.0431 14.4647 12.3354C14.4647 12.6318 14.1688 12.9223 13.7172 12.9223ZM17.0022 12.9223C16.7073 12.9223 16.4091 12.6318 16.4091 12.3354C16.4091 12.0431 16.7073 
1611.749 17.0022 11.749C17.4502 11.749 17.7497 12.0431 17.7497 12.3354C17.7497 12.6318 17.4502 12.9223 17.0022 12.9223Z" fill="#0ECA6B"/></svg>'),i=$("<span>").html("微信登录").addClass("button-text");t.append(e).append(i),this.$thirdSign.append(t),t.on("click",()=>{if(t.hasClass("btn-disabled"))return;const e=this.getLoginModeStr();this.toggleWechatSignClick(),this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_MODE_TOGGLE_CLICKED,{properties:{from_mode:e,to_mode:this.getLoginModeStr()}}),this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_BUTTON_CLICKED,{properties:{login_mode:"wechat"}})})},toggleWechatSignClick:function(){if(this.$signInOfficialPanel.show(),this.$innerPanel.hide(),this.isGetCode=!0,this.canGetProgress=!0,this.getProgress(this.$qrcodeBox.find(".signin-qrcode"),this.options),this.loginType=0,!this.options.isLightBox){const t=window.parent.location.href;t.includes("manage")?window.location.href="/login.html":t.includes("/templates")?this.createNewPanel(0,this.options.redirect,this.options.callback):this.$panel.hasClass("signin-panel")||(window.location.href="/login.php")}},qqSignButton:function(){if(this.options.isAiLayout)return;const t=$('<a class="af-third-reg-login qq-sign" href="javascript: void(0);" data-href="/userLoad/qq" target="_blank" data-name="腾讯QQ" data-size="710#400"></a>'),e=$('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.99481 16.3834C4.33409 16.631 4.67337 16.1934 4.91087 15.7557C5.14836 15.318 5.30443 14.9414 5.34514 15.0771C5.38586 15.2128 5.42318 15.3452 5.47407 15.4877C5.72255 16.1423 6.08686 16.7468 6.54959 17.2723C6.65477 17.391 5.91513 17.6115 5.47407 18.3614C5.03301 19.1112 5.5996 20.4819 7.79814 20.4819C10.6345 20.4819 11.269 19.4844 11.3267 19.4878C11.4769 19.4962 11.6276 19.4962 11.7779 19.4878C11.9156 19.4997 12.0541 19.4997 12.1918 19.4878C12.2563 19.4878 12.5854 19.7388 13.1147 19.9967C13.8859 20.3905 14.7526 20.5587 15.6152 20.4819C18.8655 20.1426 18.3701 19.0501 18.1157 18.3614C17.8612 17.6726 16.9044 17.3096 16.9485 17.2621C17.5176 16.6479 17.9194 15.8979 18.1157 15.0839C18.1665 14.9278 18.3701 15.3384 18.6314 15.7625C18.8926 16.1866 19.259 16.6446 19.5576 16.3901C19.7985 16.1832 20.2837 15.3282 19.7985 13.5198C19.3133 11.7115 18.3803 11.2941 18.4006 10.9549C18.4409 10.511 18.4352 10.0642 18.3837 9.62149C18.2005 8.99383 17.8612 9.12954 17.8612 8.99382C17.8612 5.39745 15.147 2.5 11.8254 2.5C8.50384 2.5 5.80317 5.39745 5.80317 8.99382C5.80317 9.27882 5.5521 9.06847 5.34514 9.61471C5.25015 9.85899 5.38586 10.0151 5.34514 10.9481C5.34514 11.1991 4.24927 12.3323 3.82178 13.513C3.39428 14.6937 3.3366 15.9151 3.99481 16.3834Z" fill="#298DFF"/></svg>'),i=$("<span>").html("QQ登录").addClass("button-text");t.append(e).append(i),this.$thirdSign.append(t),t.on("click",e=>{if(this.isMobile()||t.hasClass("btn-disabled"))return e.preventDefault();this.qqLoginClick(t,e)})},phoneThirdLoginButton:function(){this.$thirdSign=$('<div class="af-sign-third"></div>'),this.wechatSignButton(),this.qqSignButton()},getCodeExpireTime:function(){this.codeExpireTimeTimer&&(window.clearInterval(this.codeExpireTimeTimer),this.codeExpireTimeTimer=null),this.codeExpireTimeTimer=window.setInterval(()=>{this.codeExpireTime<=0&&(window.clearInterval(this.codeExpireTimeTimer),this.codeExpireTimeTimer=null),--this.codeExpireTime},1e3)},showRefreshCodeMask:function(t,e){if(this.canGetProgress=!1,this.isMobile()||!$(".signin-qrcode-box")[0])return;$(".refresh-code-mask")[0]&&$(".refresh-code-mask").remove();const i=$("<div></div>").addClass("refresh-code-mask"),n=$('<svg xmlns="http://www.w3.org/2000/svg" width="30" height="31" viewBox="0 0 30 31" fill="none"><path d="M26.25 5.5V15.5" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" /><path d="M3.75 15.5V25.5" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" /><path d="M26.25 15.5C26.25 9.28681 21.2132 4.25 15 4.25C11.8216 4.25 8.951 5.5681 6.90506 7.6875M3.75 15.5C3.75 21.7132 8.78681 26.75 15 26.75C18.0347 26.75 20.7889 25.5484 22.8125 23.5949" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" /></svg>'),o=$("<p></p>").addClass("refresh-text"),a=$("<span></span>").html("二维码已失效"),s=$("<span></span>").html("请点击刷新");o.append(a).append(s),i.append(n).append(o),$(".signin-qrcode-box").append(i),i.on("click",this.refreshQrCode.bind(this,t,e,i))}
16,refreshQrCode:function(t,e,i){i&&(i.remove(),this.codeExpireTime=300,this.codeExpireTimeTimer&&(window.clearInterval(this.codeExpireTimeTimer),this.codeExpireTimeTimer=null),this.timeout&&(window.clearTimeout(this.timeout),this.timeout=null),this.isGetCode=!0,this.canGetProgress=!0,this.getProgress(t,e),this.getCodeExpireTime(t,e))}}),Object.assign(SignPanel.prototype,{resetVerifyState:function(t){const e=(0===t?this.$codeGroup:this.$signupCodeGroup).find(".af-sign-btn-phonecode"),i=document.getElementById("tncode_div");i&&(i.style.display="none"),e.hasClass("disabled")&&e.removeClass("disabled").html("获取验证码"),this.setMess("")},getCodeParams:function(t){window.$TN.isSignPanel=!0,void 0!==this.countryPanel&&(this.areaCode=this.countryPanel.getCode());const e=0===t?"7":"1",i=0===t?this.$emailGroup:this.$signupEmailGroup;return window.$TN.setCheckData(()=>({operateId:e,account:i.find(".form-control").val().trim(),areaCode:this.areaCode})),{operateId:e,account:i.find(".form-control").val().trim(),areaCode:this.areaCode}},sendPhoneCode:function(t){var e=60;let i="S后重新获取";this.isMobile()&&(i="s"),t.addClass("disabled").html(e+i),setTimeout(function n(){e--,t.addClass("disabled"),t.html(e+i),1==e?(e=120,t.removeClass("disabled").html("获取验证码"),!0):setTimeout(n,1e3)},1e3)},initTn:function(t){try{const e=document.getElementById("tncode_div");e&&e.remove(),window.setTimeout(()=>{let e=this.$codeGroup.find(".jvr-code-content");1===t&&(e=this.$signupCodeGroup.find(".jvr-code-content")),window.$TN.isAiLayout=this.options.isAiLayout,window.$TN.init(e,null,()=>this.getCodeParams(t))},100),window.$TN.onsuccess(()=>{0===t&&(this.$codeGroup.find(".sign-conde-content").show(),this.$codeGroup.find(".form-control").focus(),this.sendPhoneCode(this.$codeGroup.find(".af-sign-btn-phonecode"))),1===t&&(this.$signupCodeGroup.find(".sign-conde-content").show(),this.$signupCodeGroup.find(".form-control").focus(),this.sendPhoneCode(this.$signupCodeGroup.find(".af-sign-btn-phonecode")))}),window.$TN.onerror(t=>{t=JSON.parse(t),3===Number.parseInt(t.status)?this.setMess("该手机号已被注册。"):(this.setMess("获取短信验证码出错。"),window.setTimeout(()=>{this.$signMess.hide(),this.$label.hide()},1e3))})}catch(t){console.log(t)}},getCodeInput:function(t){0===t&&(this.$codeGroup=$('<div class="af-sign-group af-input-code-group show-input"></div>')),1===t&&(this.$signupCodeGroup=$('<div class="af-sign-group af-input-code-group show-input"></div>'));const e=$('<input class="form-control" type="text" placeholder="输入验证码" />'),i=$('<div class="jvr-code-content"></div>'),n=$('<div class="sign-conde-content"></div>'),o=$('<div class="af-sign-code phone-code"></div>'),a=$('<div class="af-sign-btn-phonecode">获取验证码</div>');(0===t?this.$codeGroup:this.$signupCodeGroup).append(n.append(o.append(e).append(i)).append(a)),this.codeInputEvent(e),this.phoneMessBtnClick(a,t)},codeInputEvent:function(t){t.on("focus",()=>{t.parent(".af-sign-code").addClass("focus"),t.removeClass("af-validate-fail"),this.setMess("")}).on("blur",()=>{t.parent(".af-sign-code").removeClass("focus")})},phoneMessBtnClick:function(t,e){t.on("click",()=>{if(!t.hasClass("disabled")){if(0===e){const t=hf_utils.validate("phone",this.$emailGroup.find(".form-control"),this.areaCode);if(t&&""!=t)return this.setMess(t)}if(1===e){void 0!==window.hf_sensors&&window.hf_sensors.getCode({service_type:"注册"});const t=hf_utils.validate("phone",this.$signupEmailGroup.find(".form-control"),this.areaCode);if(t&&""!=t)return this.setMess(t);const e=hf_utils.validate("password",this.$signupPassword.find(".form-control"));if(e&&""!=e)return this.setMess(e)}if(void 0!==window.$TN){const t=document.getElementById("tncode_div");t&&(t.style.display=""),window.$TN.show()}}})}}),Object.assign(SignPanel.prototype,{showLoginLimitDialog:function(t,e){if(document.getElementById("password-error-dialog")||!this.isShowPassError)return;const i=document.createElement("div");i.id="password-error-dialog";const n=document.createElement("div");
16n.className="dialog-header",n.innerHTML=`\n      <span class="dialog-title">\n        ${this.getLimitDialogText(t,e).title}\n      </span>\n\n      <div class="dialog-close-button login-icon"></div>\n    `,i.appendChild(n);const o=document.createElement("div");o.className="dialog-body",o.innerHTML=this.getLimitDialogText(t,e).text,i.appendChild(o),document.body.appendChild(i),window.setTimeout(()=>{const t=document.querySelector("#password-error-dialog .dialog-close-button");t&&t.addEventListener("click",()=>{document.body.removeChild(i)},{once:!0})}),this.isShowPassError=!1},getRemainPasswordCount:function(){this.passErrorNum<=5&&(this.passErrorNumLeft=5-this.passErrorNum),this.passErrorNum>5&&this.passErrorNum<=10&&(this.passErrorNumLeft=10-this.passErrorNum),this.passErrorNum>10&&this.passErrorNum<=15&&(this.passErrorNumLeft=15-this.passErrorNum),this.passErrorNumLeft<=2&&(this.isShowPassError=!0)},getRemainTime:function(t){if(!t)return;const e=Math.floor((new Date).getTime()/1e3),i=t;this.passErrorTime=this.durationToString(i,e)},getLimitDialogText:function(t,e){let i="注意:密码错误次数过多",n=`<span>您输入的密码错误次数过多,账户已被暂时锁定。</span><span>请等待 ${this.passErrorTime} 后重试。</span><span>如果您忘记了密码,可以点击下方“忘记密码”链接进行密码重置。</span><span>感谢您的理解与耐心!</span>`;return 0===e&&t&&(i="账户已锁定"),1===e&&(i="登录已限制"),0!==e||t||(n=`<span>您已连续输入错误密码。</span><span>再输入错误 ${this.passErrorNumLeft} 次,您的账户将被锁定一定的时长,锁定期间无法登录。</span><span>请仔细核对密码后重新输入,或点击下方“忘记密码”链接进行密码重置。</span>`),1===e&&(n=`<span>您的IP访问频率过高,已暂时限制访问。</span><span>请等待 ${this.ipLimitTime} 后重试。</span><span>感谢您的理解与耐心!</span>`),{title:i,text:n}},showAccountBanDialog:function(){if(this.isShowAccountBanDialog||document.getElementById("account-ban-dialog"))return;this.isShowAccountBanDialog=!0;const t=document.createElement("div");t.className="account-ban-dialog-background";const e=document.createElement("div");e.id="account-ban-dialog";const i=document.createElement("div");i.className="dialog-header";const n=document.createElement("span");n.className="dialog-title",n.innerHTML="账号封禁",i.appendChild(n);const o=document.createElement("div");o.className="dialog-close-button",o.innerHTML='<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.9307 0.189013L6.00031 5.11941L1.06991 0.189013C0.939269 0.0717265 0.792556 0.0130836 0.629775 0.0130836C0.466993 0.0130836 0.323412 0.0750658 0.19903 0.19903C0.0746484 0.322995 0.0126659 0.466576 0.0130833 0.629775C0.0135007 0.792974 0.0721439 0.939686 0.189013 1.06991L5.11941 6.00031L0.189013 10.9307C0.0195529 11.1002 -0.0359596 11.3024 0.0224748 11.5374C0.0809092 11.7724 0.224491 11.9191 0.45322 11.9775C0.681948 12.036 0.887303 11.9804 1.06928 11.811L5.99969 6.88058L10.9301 11.811C11.0607 11.9283 11.2074 11.9869 11.3702 11.9869C11.533 11.9869 11.6766 11.9249 11.801 11.801C11.9254 11.677 11.9873 11.5334 11.9869 11.3702C11.9865 11.207 11.9279 11.0603 11.811 10.9301L6.88059 5.99969L11.811 1.06929C11.9804 0.899825 12.036 0.697601 11.9775 0.462611C11.9191 0.227621 11.7724 0.0809092 11.5374 0.0224748C11.3024 -0.0359596 11.1002 0.0195529 10.9307 0.189013Z" fill="#999999"/></svg>',i.appendChild(o),e.appendChild(i);const a=document.createElement("div");a.className="dialog-body",a.innerHTML='您好,检测到您的账号存在违反<a class="dialog-link" target="_blank" href="/serve.html">《用户协议条款》</a>第 25 条的行为,现对该账号作出封禁处理。',e.appendChild(a);const s=document.createElement("div");s.className="dialog-footer",s.innerHTML='<div class="dialog-footer-button cancel-button">取消</div><div class="dialog-footer-button confirm-button">确定</div>',e.appendChild(s),t.appendChild(e),document.body.appendChild(t),this.banDialogEvent(t,o,s)}
16,banDialogEvent:function(t,e,i){const n=()=>{this.isShowAccountBanDialog=!1,document.body.removeChild(t)},o=i.querySelector(".cancel-button"),a=i.querySelector(".confirm-button");e.addEventListener("click",n,{once:!0}),o.addEventListener("click",n,{once:!0}),a.addEventListener("click",n,{once:!0})}}),Object.assign(SignPanel.prototype,{phonePasswordButton:function(){this.$passwordButtonContainer=$('<div class="phone-password-button-container"></div>'),this.$codeLoginButton=$('<div class="phone-password-button">验证码登录</div>');const t=$('<div class="af-sign-remember"></div>'),e=$('<input id="rememberPassword" class="remember-password-checkbox" type="checkbox" />').prop("checked",this.isRememberPassword),i=$('<label for="rememberPassword" class="remember-password-label">记住密码</label>');t.append(e).append(i),this.$rememberGroup=$('<div class="remember-group"></div>').append(t).append('<span class="remember-divider"></span>');const n=this.options.isAiLayout?"https://www.yunzhan365.com/pass/forget-password":"/pass/forget-password",o=$(`<a class="forget-password" href="${n}" target="_blank">忘记密码</a>`),a=$('<div class="password-button-right"></div>').append(this.$rememberGroup).append(o);this.$passwordButtonContainer.append(this.$codeLoginButton).append(a),this.$codeLoginButton.on("click",()=>{if(1===this.loginType)return this.toPhonePasswordLogin();this.toPhoneCodeLogin()}),e.on("change",()=>{this.isRememberPassword=e.prop("checked"),window.localStorage.setItem(this.REMEMBER_CHECKED_STORAGE_KEY,this.isRememberPassword?"1":"0"),this.isRememberPassword||this.clearRememberPassword()})},loadRememberPassword:function(){try{window.localStorage.removeItem(this.REMEMBER_PASSWORD_STORAGE_KEY);const t=window.localStorage.getItem(this.REMEMBER_CHECKED_STORAGE_KEY),e=Number.parseInt(t);if(1===e||Number.isNaN(e)){const t=this.decode(window.localStorage.getItem(this.REMEMBER_ACCOUNT_STORAGE_KEY)||"");return this.rememberAccount=t,this.rememberPassword="",this.isRememberPassword=!0,void(Number.isNaN(e)&&window.localStorage.setItem(this.REMEMBER_CHECKED_STORAGE_KEY,"1"))}this.isRememberPassword=!1}catch(t){console.error(t)}return null},clearRememberPassword:function(){window.localStorage.removeItem(this.REMEMBER_ACCOUNT_STORAGE_KEY),window.localStorage.removeItem(this.REMEMBER_PASSWORD_STORAGE_KEY),window.localStorage.setItem(this.REMEMBER_CHECKED_STORAGE_KEY,"0")}}),Object.assign(SignPanel.prototype,{createEmailInput:function(t){let e="手机号";if(0===t){e=1===this.loginType||2===this.loginType?"输入手机号/邮箱":"输入邮箱",this.$emailGroup=$('<div class="af-sign-email"></div>');const t=$('<span class="error-tips"></span>');this.$emailGroup.append(t)}if(1===t){e="输入手机号",this.$signupEmailGroup=$('<div class="af-signup-email"></div>');const t=$('<span class="error-tips"></span>');this.$signupEmailGroup.append(t)}const i=$('<div class="sign-email-input country-input-content"></div>'),n=$(`<input class="form-control" type="text" placeholder="${e}" />`);if(0===t&&n.attr({autocomplete:"username",name:"username"}),this.isRememberPassword){const t=this.decode(window.localStorage.getItem(this.REMEMBER_ACCOUNT_STORAGE_KEY)||"");n.val(t)}this.emailInputEvent(n,t),0===t&&this.$emailGroup.append(i.append(n)),1===t&&(this.countrySelect({$email:this.$signupEmailGroup,$emailContent:i,$emailInput:n,signNum:t}),this.$signupEmailGroup.append(i.append(n)))},emailInputEvent:function(t,e){const i=this;t.on("blur",function(){if($(this).parents(".af-sign-email").removeClass("focus"),$(this).parents(".af-signup-email").removeClass("focus"),0===e){if(""===$(this).val().trim())return;i.setMess(hf_utils.validate("signin",$(this)))}else i.checkEmail(1)}).on("change input focus",function(t){if("focus"===t.type&&($(this).parents(".af-sign-email").addClass("focus"),$(this).parents(".af-signup-email").addClass("focus")),"input"===t.type&&(1===i.loginType||2===i.loginType)){const t=$(this).val().replace(/[^a-zA-Z0-9@.\-_+() ]/g,"");$(this).val(t)}$(this).add(i.$password.find(".form-control")).removeClass("af-validate-fail"),i.setMess("")}).on("keyup",function(){0!==e&&(this.value=this.value.replace(/[^0-9-]+/,""))})},togglePassword:function(){$(".password-icon-container").on("click",t=>{const e=$(t.currentTarget).prev();"password"===e.attr("type")?(e.attr("type","text"),$(t.currentTarget).find(".show-password").removeClass("show-icon"),$(t.currentTarget).find(".hide-password").addClass("show-icon")):(e.attr("type","password"),$(t.currentTarget).find(".show-password").addClass("show-icon"),$(t.currentTarget).find(".hide-password").removeClass("show-icon"))})}
16,passwordInput:function(t){0===t&&(this.$password=$('<div class="af-sign-password"></div>')),1===t&&(this.$signupPassword=$('<div class="af-signup-password show-input"></div>'));const e=$('\n      <div class="password-icon-container">\n        <svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="show-password show-icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M20.122 3.97719L16.7607 7.3295C16.7819 7.5044 16.7925 7.6799 16.7923 7.8561C16.7921 7.9344 16.7899 8.0126 16.7859 8.0908C16.7818 8.169 16.7758 8.247 16.7679 8.3249C16.76 8.4028 16.7502 8.4805 16.7385 8.5579C16.7268 8.6353 16.7132 8.7124 16.6977 8.7891C16.6822 8.8659 16.6649 8.9422 16.6456 9.0181C16.6264 9.094 16.6053 9.1694 16.5824 9.2443C16.5595 9.3191 16.5347 9.3934 16.5081 9.4671C16.4816 9.5407 16.4532 9.6137 16.423 9.686C16.3929 9.7582 16.361 9.8297 16.3273 9.9004C16.2936 9.9711 16.2583 10.041 16.2212 10.11C16.1841 10.179 16.1453 10.247 16.1049 10.3141C16.0645 10.3812 16.0224 10.4472 15.9788 10.5122C15.9351 10.5773 15.8899 10.6412 15.8431 10.704C15.7962 10.7668 15.7479 10.8285 15.6981 10.8889C15.6483 10.9494 15.597 11.0086 15.5443 11.0665C15.4915 11.1245 15.4374 11.1811 15.3819 11.2364C15.3264 11.2917 15.2696 11.3456 15.2114 11.3981C15.1532 11.4507 15.0938 11.5017 15.0332 11.5513C14.9725 11.601 14.9107 11.6491 14.8476 11.6957C14.7846 11.7422 14.7205 11.7873 14.6553 11.8307C14.59 11.8742 14.5238 11.916 14.4565 11.9562C14.3892 11.9964 14.321 12.035 14.2518 12.0719C14.1826 12.1087 14.1126 12.1439 14.0417 12.1774C13.9708 12.2108 13.8991 12.2425 13.8266 12.2725C13.7542 12.3024 13.6811 12.3306 13.6072 12.3569C13.5334 12.3833 13.4589 12.4079 13.3839 12.4306C13.3089 12.4533 13.2333 12.4742 13.1572 12.4932C13.0812 12.5123 13.0047 12.5294 12.9278 12.5448C12.8509 12.56 12.7736 12.5734 12.6961 12.585C12.6185 12.5965 12.5407 12.6061 12.4627 12.6138C12.3846 12.6215 12.3065 12.6273 12.2281 12.6312C12.1498 12.6351 12.0714 12.6371 11.993 12.6371C11.8177 12.6372 11.6431 12.6267 11.4691 12.6055L9.35956 14.7117C9.57577 14.7639 9.79337 14.8095 10.0123 14.8486C10.2313 14.8876 10.4513 14.9201 10.6722 14.9459C10.8931 14.9717 11.1147 14.9908 11.3368 15.0033C11.5588 15.0158 11.7811 15.0215 12.0036 15.0206C17.3584 15.0206 21.2929 10.731 24 7.9158C23.7069 7.5597 23.406 7.2103 23.0971 6.8676C22.7885 6.5248 22.4724 6.1891 22.1488 5.86042C21.825 5.53172 21.4942 5.21035 21.1562 4.89633C20.8183 4.58229 20.4736 4.27591 20.122 3.97719ZM19.1621 0L17.1685 1.99035C17.0695 1.93728 16.9697 1.88571 16.8691 1.83565C16.7685 1.78559 16.6672 1.73706 16.5651 1.69008C16.463 1.64309 16.3603 1.59766 16.2568 1.55379C16.1534 1.50991 16.0493 1.46761 15.9446 1.4269C15.8399 1.38618 15.7345 1.34705 15.6286 1.3095C15.5227 1.27198 15.4162 1.23606 15.3092 1.20174C15.2022 1.16744 15.0947 1.13475 14.9867 1.10369C14.8787 1.07263 14.7702 1.04322 14.6613 1.01547C14.5524 0.98769 14.4432 0.96157 14.3335 0.93711C14.2238 0.91264 14.1137 0.88984 14.0033 0.86872C13.893 0.84759 13.7823 0.82814 13.6713 0.81036C13.5604 0.79257 13.4491 0.77648 13.3377 0.76208C13.2262 0.74766 13.1145 0.73494 13.0027 0.72391C12.8908 0.71287 12.7789 0.70354 12.6667 0.6959C12.5546 0.68827 12.4424 0.68233 12.3301 0.67807C12.2177 0.67383 12.1054 0.6713 11.993 0.67046C7.60858 0.67046 4.19104 3.40851 0 7.8526C1.98299 9.9377 3.79374 11.8894 5.90685 13.2339L4.59538 14.5432L6.05451 16L20.6211 1.45677L19.1621 0ZM7.20775 7.8561C7.20764 7.8 7.20852 7.7439 7.21041 7.6878C7.21228 7.6317 7.21514 7.5757 7.21899 7.5197C7.22284 7.4637 7.22768 7.4078 7.2335 7.352C7.23933 7.2962 7.24614 7.2405 7.25393 7.185C7.26171 7.1294 7.27048 7.074 7.28024 7.0187C7.28999 6.9635 7.30071 6.9084 7.3124 6.8535C7.3241 6.7986 7.33677 6.744 7.35039 6.6895C7.36401 6.6351 7.37859 6.5809 7.39413 6.527C7.40967 6.4731 7.42615 6.4194 7.44358 6.3661C7.46102 6.3128 7.47938 6.2597 7.49868 6.207C7.51799 6.1543 7.53821 6.102 7.55936 6.05C7.58052 5.99804 7.60259 5.94644 7.62555 5.89523C7.64853 5.84404 7.67241 5.79325 7.69718 5.74288C7.72194 5.69251 7.7476 5.64259 7.77414 5.59314C7.80066 5.54366 7.82805 5.49468 7.85631 5.44619C7.88457 5.39768 7.91368 5.3497 7.94364 5.30224C7.97359 5.25476 8.00438 5.20783 8.036 5.16143C8.0676 5.11503 8.10002 5.06921 8.13327 5.02396C8.16649 4.97871 8.20051 4.93406 8.23531 4.89002C8.27012 4.84597 8.3057 4.80254 8.34204 4.75975C8.37838 4.71695 8.41547 4.6748 8.4533 4.6333C8.49114 4.59181 8.52969 4.55099 8.56896 4.51085C8.60822 4.47072 8.64819 4.43129 8.68886 4.39255C8.72952 4.35382 8.77086 4.31581 8.81288 4.27855C8.85487 4.24127 8.89752 4.20474 8.94083 4.16897C8.98412 4.13319 9.02804 4.09819 9.07257 4.06397C9.11709 4.02974 9.16221 3.9963 9.20793 3.96367C9.25365 3.93104 9.29992 3.89921 9.34675 3.8682C9.3936 3.83719 9.44098 3.80701 9.48887 3.77767C9.53677 3.74832 9.58518 3.71983 9.63409 3.69219C9.683 3.66455 9.73238 3.63778 9.78223 3.61189C9.8321 3.58598 9.88239 3.56097 9.93313 3.53685C9.98386 3.51271 10.035 3.48948 10.0866 3.46715C10.1381 3.44483 10.1901 3.42342 10.2424 3.40291C10.2947 3.38241 10.3474 3.36283 10.4003 3.34419C10.4534 3.32555 10.5067 3.30784 10.5603 3.29107C10.6139 3.27429 10.6679 3.25847 10.7221 3.24359C10.7762 3.22873 10.8307 3.21482 10.8853 3.20186C10.94 3.1889 10.9949 3.17691 11.05 3.1659C11.1051 3.15487 11.1604 3.14481 11.2159 3.13573C11.2713 3.12666 11.3269 3.11857 11.3827 3.11145C11.4384 3.10433 11.4943 3.09819 11.5503 3.09304C11.6062 3.08788 11.6622 3.08371 11.7184 3.08052C11.7745 3.07734 11.8306 3.07515 11.8868 3.07394C11.943 3.07274 11.9992 3.07253 12.0554 3.0733C12.1116 3.07407 12.1677 3.07583 12.2239 3.07858C12.28 3.08133 12.3361 3.08507 12.3921 3.0898C12.4481 3.09453 12.504 3.10024 12.5598 3.10693C12.6156 3.11363 12.6712 3.12129 12.7268 3.12993C12.7823 3.13859 12.8376 3.14822 12.8928 3.15883C12.948 3.16942 13.003 3.18098 13.0578 3.19351C13.1126 3.2060
165 13.1671 3.21955 13.2214 3.23402C13.2757 3.24847 13.3298 3.26387 13.3835 3.28022C13.4373 3.29658 13.4907 3.31388 13.5439 3.33211C13.597 3.35036 13.6498 3.36953 13.7023 3.38963C13.7548 3.40973 13.8069 3.43074 13.8586 3.45267C13.9103 3.47462 13.9616 3.49746 14.0126 3.52118C14.0635 3.54493 14.114 3.56956 14.164 3.59508C14.2141 3.62059 14.2637 3.64698 14.3128 3.67424C14.3619 3.70151 14.4105 3.72962 14.4587 3.75859C14.5068 3.78756 14.5544 3.81737 14.6015 3.84802C14.6485 3.87867 14.6951 3.91014 14.741 3.94243C14.787 3.97472 14.8324 4.00781 14.8772 4.04168C14.922 4.07558 14.9661 4.11024 15.0097 4.14567L13.6033 5.54978C13.5744 5.52941 13.5451 5.50958 13.5155 5.4903C13.4859 5.47104 13.4558 5.45235 13.4255 5.43423C13.3951 5.41613 13.3644 5.39861 13.3333 5.38168C13.3023 5.36474 13.2709 5.34841 13.2393 5.33268C13.2076 5.31695 13.1756 5.30184 13.1434 5.28734C13.1111 5.27282 13.0786 5.25894 13.0458 5.24568C13.013 5.23244 12.9799 5.21982 12.9467 5.20783C12.9134 5.19585 12.8799 5.18451 12.8462 5.1738C12.8125 5.1631 12.7786 5.15305 12.7445 5.14366C12.7104 5.13426 12.6761 5.12552 12.6417 5.11744C12.6072 5.10935 12.5726 5.10193 12.5379 5.09517C12.5032 5.08842 12.4683 5.08233 12.4334 5.07691C12.3984 5.07149 12.3634 5.06676 12.3282 5.0627C12.2931 5.05862 12.2579 5.05523 12.2226 5.05251C12.1873 5.04978 12.152 5.04773 12.1167 5.04637C12.0813 5.04501 12.046 5.04433 12.0106 5.04431C11.9785 5.0438 11.9465 5.04384 11.9144 5.04443C11.8824 5.04502 11.8504 5.04616 11.8184 5.04784C11.7863 5.04953 11.7544 5.05177 11.7224 5.05457C11.6905 5.05737 11.6586 5.06072 11.6268 5.06461C11.595 5.06851 11.5633 5.07295 11.5316 5.07794C11.4999 5.08292 11.4684 5.08845 11.4369 5.09454C11.4054 5.10061 11.3741 5.10722 11.3428 5.11437C11.3116 5.12154 11.2805 5.12924 11.2495 5.13747C11.2185 5.14569 11.1877 5.15444 11.157 5.16374C11.1263 5.17303 11.0958 5.18285 11.0655 5.1932C11.0352 5.20354 11.005 5.21441 10.9751 5.2258C10.9451 5.23719 10.9153 5.24908 10.8858 5.26149C10.8563 5.27389 10.8269 5.28681 10.7978 5.30023C10.7687 5.31365 10.7399 5.32756 10.7113 5.34198C10.6826 5.3564 10.6543 5.37131 10.6262 5.38671C10.5981 5.40209 10.5702 5.41797 10.5427 5.43433C10.5151 5.45068 10.4879 5.4675 10.4609 5.48478C10.4339 5.50208 10.4073 5.51983 10.3809 5.53805C10.3545 5.55626 10.3285 5.57493 10.3028 5.59404C10.2771 5.61314 10.2517 5.63269 10.2267 5.65269C10.2016 5.67267 10.1769 5.69308 10.1526 5.71391C10.1283 5.73475 10.1043 5.756 10.0807 5.77767C10.0571 5.79932 10.0339 5.82138 10.0111 5.84385C9.98826 5.8663 9.96583 5.88915 9.9438 5.91239C9.92175 5.93563 9.90011 5.95923 9.87889 5.98321C9.85766 6.0072 9.83686 6.0315 9.81648 6.0562C9.79609 6.0809 9.77614 6.106 9.75663 6.1314C9.73711 6.1568 9.71804 6.1825 9.69942 6.2085C9.68078 6.2346 9.6626 6.2609 9.64488 6.2876C9.62718 6.3143 9.60993 6.3412 9.59315 6.3685C9.57636 6.3958 9.56005 6.4233 9.54422 6.4511C9.5284 6.479 9.51306 6.5071 9.49819 6.5354C9.48334 6.5638 9.46898 6.5924 9.45511 6.6212C9.44123 6.6501 9.42786 6.6792 9.41501 6.7085C9.40214 6.7378 9.38979 6.7673 9.37796 6.7971C9.36611 6.8268 9.35478 6.8567 9.34398 6.8869C9.33317 6.917 9.32289 6.9473 9.31312 6.9778C9.30336 7.0083 9.29414 7.0389 9.28546 7.0697C9.27675 7.1005 9.26859 7.1315 9.26097 7.1626C9.25333 7.1936 9.24624 7.2248 9.2397 7.2562C9.23314 7.2875 9.22713 7.3189 9.22168 7.3505C9.21622 7.382 9.21131 7.4136 9.20695 7.4453C9.20257 7.477 9.19875 7.5088 9.19549 7.5406C9.19221 7.5725 9.18949 7.6044 9.18733 7.6363C9.18516 7.6682 9.18355 7.7002 9.18248 7.7322C9.18143 7.7641 9.18093 7.7961 9.18096 7.8281C9.18101 7.8601 9.18161 7.8921 9.18278 7.9241C9.18392 7.9561 9.18563 7.9881 9.18789 8.02C9.19014 8.0519 9.19294 8.0838 9.1963 8.1156C9.19968 8.1474 9.2036 8.1792 9.20805 8.2109C9.21251 8.2426 9.21751 8.2742 9.22305 8.3057C9.22861 8.3372 9.23471 8.3686 9.24135 8.3999C9.24798 8.4312 9.25516 8.4624 9.26289 8.4935C9.27061 8.5246 9.27886 8.5555 9.28765 8.5863C9.29643 8.617 9.30575 8.6476 9.3156 8.6781C9.32544 8.7086 9.3358 8.7388 9.34671 8.7689C9.35761 8.799 9.36901 8.8289 9.38093 8.8586C9.39287 8.8883 9.40531 8.9178 9.41826 8.9471C9.43121 8.9764 9.44466 9.0054 9.4586 9.0342C9.47255 9.063 9.487 9.0916 9.50193 9.1199C9.51688 9.1483 9.53231 9.1763 9.54823 9.2041C9.56413 9.2319 9.58051 9.2594 9.59738 9.2866C9.61423 9.3138 9.63156 9.3407 9.64936 9.3673C9.66714 9.394 9.68539 9.4203 9.70409 9.4462L8.28013 10.882C8.25839 10.8556 8.23695 10.829 8.21578 10.8022C8.19462 10.7754 8.17375 10.7483 8.15316 10.721C8.13259 10.6938 8.11231 10.6663 8.09233 10.6386C8.07233 10.6108 8.05264 10.5829 8.03327 10.5548C8.01389 10.5266 7.99482 10.4983 7.97605 10.4698C7.95728 10.4412 7.93883 10.4124 7.92068 10.3835C7.90253 10.3545 7.88471 10.3254 7.8672 10.2961C7.84968 10.2668 7.83248 10.2372 7.81562 10.2075C7.79873 10.1778 7.78218 
1610.1479 7.76595 10.1179C7.74972 10.0878 7.73382 10.0576 7.71825 10.0272C7.70267 9.9968 7.68743 9.9662 7.67251 9.9355C7.6576 9.9048 7.64302 9.8739 7.62877 9.8428C7.61453 9.8118 7.60062 9.7806 7.58705 9.7492C7.57347 9.7179 7.56025 9.6864 7.54736 9.6548C7.53448 9.6231 7.52193 9.5914 7.50972 9.5595C7.49752 9.5276 7.48567 9.4955 7.47416 9.4634C7.46266 9.4312 7.45149 9.3989 7.44067 9.3666C7.42987 9.3342 7.41941 9.3016 7.4093 9.269C7.3992 9.2364 7.38945 9.2037 7.38004 9.1708C7.37065 9.138 7.36161 9.1051 7.35292 9.072C7.34423 9.039 7.3359 9.0059 7.32794 8.9727C7.31997 8.9395 7.31237 8.9062 7.30512 8.8728C7.29786 8.8394 7.29097 8.806 7.28444 8.7725C7.27792 8.7389 7.27175 8.7054 7.26595 8.6717C7.26017 8.638 7.25473 8.6043 7.24965 8.5706C7.24459 8.5368 7.23988 8.503 7.23554 8.4691C7.23121 8.4352 7.22724 8.4013 7.22364 8.3673C7.22003 8.3334 7.21679 8.2994 7.21392 8.2654C7.21106 8.2313 7.20856 8.1973 7.20642 8.1632C7.20429 8.1291 7.20253 8.095 7.20114 8.0609C7.19975 8.0268 7.19872 7.9927 7.19806 7.9585C7.19741 7.9244 7.19712 7.8902 7.1972 7.8561H7.20775Z" fill="#DDDDDD" /></svg>\n        <svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="hide-password"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C4.76 0 0 7.2667 0 7.2667C0 7.2667 3.52 16 12 16C20.48 16 24 7.2667 24 7.2667C24 7.2667 19.24 0 12 0ZM12 13.08C11.9148 13.082 11.8296 13.0819 11.7444 13.0797C11.6593 13.0775 11.5742 13.0732 11.4892 13.0669C11.4042 13.0605 11.3194 13.0521 11.2349 13.0416C11.1503 13.031 11.0661 13.0185 10.9821 13.0038C10.8982 12.9892 10.8147 12.9725 10.7315 12.9537C10.6484 12.935 10.5658 12.9142 10.4837 12.8914C10.4016 12.8686 10.3201 12.8438 10.2392 12.817C10.1583 12.7902 10.0781 12.7615 9.99862 12.7308C9.91914 12.7 9.84046 12.6674 9.76258 12.6328C9.6847 12.5982 9.60771 12.5617 9.53161 12.5234C9.45552 12.485 9.38042 12.4448 9.3063 12.4028C9.23217 12.3607 9.15912 12.3169 9.08716 12.2713C9.01518 12.2257 8.94437 12.1783 8.87471 12.1292C8.80508 12.0801 8.73668 12.0294 8.66951 11.9769C8.60235 11.9245 8.53652 11.8704 8.472 11.8147C8.40749 11.759 8.34438 11.7018 8.28268 11.643C8.22098 11.5843 8.16076 11.524 8.10201 11.4623C8.04327 11.4006 7.98608 11.3374 7.93042 11.2729C7.87476 11.2084 7.82072 11.1425 7.76831 11.0753C7.71588 11.0082 7.66513 10.9397 7.61607 10.8701C7.56701 10.8004 7.51967 10.7296 7.47406 10.6576C7.42847 10.5856 7.38467 10.5125 7.34266 10.4384C7.30064 10.3643 7.26047 10.2891 7.22214 10.213C7.18382 10.1369 7.14738 10.0599 7.11281 9.982C7.07826 9.9041 7.04564 9.8254 7.01495 9.746C6.98425 9.6665 6.95553 9.5863 6.92878 9.5054C6.90201 9.4245 6.87724 9.343 6.85448 9.2608C6.83172 9.1787 6.81098 9.0961 6.79227 9.013C6.77355 8.9298 6.75688 8.8463 6.74227 8.7623C6.72765 8.6784 6.7151 8.5941 6.70461 8.5096C6.69412 8.425 6.68572 8.3402 6.6794 8.2552C6.67306 8.1703 6.66882 8.0852 6.66667 8C6.66882 7.9148 6.67306 7.8297 6.6794 7.7448C6.68572 7.6598 6.69412 7.575 6.70461 7.4904C6.7151 7.4059 6.72765 7.3216 6.74227 7.2377C6.75688 7.1537 6.77355 7.0702 6.79227 6.987C6.81098 6.9039 6.83172 6.8213 6.85448 6.7392C6.87724 6.657 6.90201 6.5755 6.92878 6.4946C6.95553 6.4137 6.98425 6.3335 7.01495 6.254C7.04564 6.1746 7.07826 6.0959 7.11281 6.018C7.14738 5.94007 7.18382 5.86306 7.22214 5.78695C7.26047 5.71086 7.30064 5.63574 7.34266 5.56159C7.38467 5.48746 7.42847 5.4144 7.47406 5.34242C7.51967 5.27043 7.56701 5.19959 7.61607 5.12992C7.66513 5.06025 7.71588 4.99183 7.76831 4.92466C7.82072 4.85747 7.87476 4.79161 7.93042 4.72708C7.98608 4.66255 8.04327 4.59943 8.10201 4.53771C8.16076 4.47599 8.22098 4.41574 8.28268 4.35695C8.3444 4.29819 8.40751 4.24096 8.472 4.18529C8.53652 4.12961 8.60235 4.07555 8.66951 4.0231C8.73668 3.97065 8.80508 3.91988 8.87471 3.87078C8.94437 3.82168 9.01518 3.77433 9.08716 3.72872C9.15912 3.6831 9.23217 3.63926 9.3063 3.59721C9.38042 3.55518 9.45552 3.51498 9.53161 3.47661C9.60771 3.43826 9.6847 3.4018 9.76258 3.36721C9.84046 3.33263 9.91914 3.29997 9.99862 3.26925C10.0781 3.23852 10.1583 3.20976 10.2392 3.18297C10.3201 3.15618 10.4016 3.13139 10.4837 3.10859C10.5658 3.0858 10.6484 3.06503 10.7315 3.04628C10.8147 3.02753 10.8982 3.01083 10.9821 2.9962C11.0661 2.98155 11.
161503 2.96896 11.2349 2.95844C11.3194 2.94792 11.4042 2.93948 11.4892 2.93313C11.5742 2.92677 11.6593 2.92249 11.7444 2.92029C11.8296 2.9181 11.9148 2.918 12 2.92C12.0852 2.918 12.1704 2.9181 12.2556 2.92029C12.3407 2.92249 12.4258 2.92677 12.5108 2.93313C12.5958 2.93948 12.6805 2.94792 12.7651 2.95844C12.8497 2.96896 12.9339 2.98155 13.0179 2.9962C13.1018 3.01083 13.1853 3.02753 13.2685 3.04628C13.3516 3.06503 13.4342 3.0858 13.5163 3.10859C13.5984 3.13139 13.6799 3.15618 13.7608 3.18297C13.8417 3.20976 13.9219 3.23852 14.0014 3.26925C14.0809 3.29997 14.1595 3.33263 14.2374 3.36721C14.3153 3.4018 14.3923 3.43826 14.4684 3.47661C14.5445 3.51498 14.6196 3.55518 14.6937 3.59721C14.7678 3.63926 14.8409 3.6831 14.9128 3.72872C14.9848 3.77433 15.0556 3.82168 15.1253 3.87078C15.1949 3.91988 15.2633 3.97065 15.3305 4.0231C15.3976 4.07555 15.4635 4.12961 15.528 4.18529C15.5925 4.24096 15.6556 4.29819 15.7173 4.35695C15.779 4.41574 15.8392 4.47599 15.898 4.53771C15.9567 4.59943 16.0139 4.66255 16.0696 4.72708C16.1252 4.79161 16.1793 4.85747 16.2317 4.92466C16.2841 4.99183 16.3349 5.06025 16.3839 5.12992C16.433 5.19959 16.4803 5.27043 16.5259 5.34242C16.5715 5.4144 16.6153 5.48746 16.6573 5.56159C16.6994 5.63574 16.7395 5.71087 16.7779 5.78698C16.8162 5.86307 16.8526 5.94007 16.8872 6.018C16.9217 6.0959 16.9544 6.1746 16.9851 6.254C17.0157 6.3335 17.0445 6.4137 17.0712 6.4946C17.098 6.5755 17.1228 6.657 17.1455 6.7392C17.1683 6.8213 17.189 6.9039 17.2077 6.987C17.2264 7.0702 17.2431 7.1537 17.2577 7.2377C17.2724 7.3216 17.2849 7.4059 17.2954 7.4904C17.3059 7.575 17.3143 7.6598 17.3206 7.7448C17.3269 7.8297 17.3312 7.9148 17.3333 8C17.3312 8.0852 17.3269 8.1703 17.3206 8.2552C17.3143 8.3402 17.3059 8.425 17.2954 8.5096C17.2849 8.5941 17.2724 8.6784 17.2577 8.7623C17.2431 8.8463 17.2264 8.9298 17.2077 9.013C17.189 9.0961 17.1683 9.1787 17.1455 9.2608C17.1228 9.343 17.098 9.4245 17.0712 9.5054C17.0445 9.5863 17.0157 9.6665 16.9851 9.746C16.9544 9.8255 16.9217 9.9041 16.8872 9.982C16.8526 10.0599 16.8162 10.1369 16.7779 10.213C16.7395 10.2891 16.6994 10.3643 16.6573 10.4384C16.6153 10.5125 16.5715 10.5856 16.5259 10.6576C16.4803 10.729
166 16.433 10.8004 16.3839 10.8701C16.3349 10.9397 16.2841 11.0082 16.2317 11.0753C16.1793 11.1425 16.1252 11.2084 16.0696 11.2729C16.0139 11.3374 15.9567 11.4006 15.898 11.4623C15.8392 11.524 15.779 11.5843 15.7173 11.643C15.6556 11.7018 15.5925 11.759 15.528 11.8147C15.4635 11.8704 15.3976 11.9245 15.3305 11.9769C15.2633 12.0294 15.1949 12.0801 15.1253 12.1292C15.0556 12.1783 14.9848 12.2257 14.9128 12.2713C14.8409 12.3169 14.7678 12.3607 14.6937 12.4028C14.6196 12.4448 14.5445 12.485 14.4684 12.5234C14.3923 12.5617 14.3153 12.5982 14.2374 12.6328C14.1595 12.6674 14.0809 12.7 14.0014 12.7308C13.9219 12.7615 13.8417 12.7902 13.7608 12.817C13.6799 12.8438 13.5984 12.8686 13.5163 12.8914C13.4342 12.9142 13.3516 12.935 13.2685 12.9537C13.1853 12.9725 13.1018 12.9891 13.0179 13.0038C12.9339 13.0185 12.8497 13.031 12.7651 13.0416C12.6805 13.0521 12.5958 13.0605 12.5108 13.0669C12.4258 13.0732 12.3407 13.0775 12.2556 13.0797C12.1704 13.0819 12.0852 13.082 12 13.08ZM12 5.33333C11.9564 5.33333 11.9127 5.3344 11.8691 5.33654C11.8256 5.33869 11.7821 5.3419 11.7386 5.34617C11.6952 5.35044 11.6519 5.35578 11.6087 5.36219C11.5655 5.36859 11.5226 5.37606 11.4798 5.38458C11.437 5.39309 11.3944 5.40265 11.3521 5.41326C11.3097 5.42386 11.2677 5.4355 11.2259 5.44815C11.1841 5.46082 11.1427 5.47451 11.1016 5.48922C11.0605 5.50392 11.0198 5.51963 10.9795 5.53633C10.9392 5.55303 10.8993 5.5707 10.8598 5.58935C10.8204 5.60801 10.7814 5.62763 10.7429 5.6482C10.7045 5.66878 10.6665 5.69029 10.6291 5.71273C10.5916 5.73516 10.5548 5.7585 10.5185 5.78273C10.4822 5.80699 10.4465 5.83212 10.4115 5.85813C10.3764 5.88412 10.342 5.91096 10.3083 5.93865C10.2745 5.96632 10.2415 5.99482 10.2092 6.0241C10.1768 6.0534 10.1452 6.0835 10.1144 6.1144C10.0835 6.1452 10.0534 6.1768 10.0241 6.2092C9.99482 6.2415 9.96632 6.2745 9.93865 6.3083C9.91095 6.342 9.88411 6.3764 9.8581 6.4115C9.83211 6.4465 9.80699 6.4822 9.78273 6.5185C9.7585 6.5548 9.73516 6.5916 9.71273 6.6291C9.69029 6.6665 9.66878 6.7045 9.6482 6.7429C9.62763 6.7814 9.60801 6.8204 9.58935 6.8598C9.5707 6.8993 9.55303 6.9392 9.53633 6.9795C9.51963 7.0198 9.50392 7.0605 9.48922 7.1016C9.47451 7.1427 9.46082 7.1841 9.44815 7.2259C9.43549 7.2677 9.42386 7.3097 9.41325 7.3521C9.40265 7.3944 9.39309 7.437 9.38458 7.4798C9.37606 7.5226 9.36859 7.5655 9.36219 7.6087C9.35578 7.6519 9.35044 7.6952 9.34617 7.7386C9.3419 7.7821 9.33869 7.8256 9.33654 7.8691C9.3344 7.9127 9.33333 7.9564 9.33333 8C9.33333 8.0436 9.3344 8.0873 9.33654 8.1309C9.33869 8.1744 9.3419 8.2179 9.34617 8.2614C9.35044 8.3048 9.35578 8.3481 9.36219 8.3913C9.36859 8.4345 9.37606 8.4774 9.38458 8.5202C9.39309 8.563 9.40265 8.6056 9.41325 8.6479C9.42386 8.6903 9.43549 8.7323 9.44815 8.7741C9.46082 8.8159 9.47451 8.8573 9.48922 8.8984C9.50392 8.9395 9.51963 8.9802 9.53633 9.0205C9.55303 9.0608 9.5707 9.1007 9.58935 9.1402C9.60801 9.1796 9.62763 9.2186 9.6482 9.2571C9.66878 9.2955 9.69029 9.3335 9.71273 9.3709C9.73516 9.4084 9.7585 9.4452 9.78273 9.4815C9.80699 9.5178 9.83211 9.5535 9.8581 9.5885C9.88411 9.6236 9.91095 9.658 9.93865 9.6917C9.96632 9.7255 9.99482 9.7585 10.0241 9.7908C10.0534 9.8232 10.0835 9.8548 10.1144 9.8856C10.1452 9.9165 10.1768 9.9466 10.2092 9.9759C10.2415 10.0052 10.2745 10.0337 10.3083 10.0614C10.342 10.089 10.3764 10.1159 10.4115 10.1419C10.4465 10.1679 10.4822 10.193 10.5185 10.2172C10.5548 10.2415 10.5916 10.2648 10.6291 10.2873C10.6665 10.3097 10.7045 10.3312 10.7429 10.3518C10.7814 10.3724 10.8204 10.392 10.8598 10.4106C10.8993 10.4293 10.9392 10.447 10.9795 10.4637C11.0198 10.4804 11.0605 10.4961 11.1016 10.5108C11.1427 10.5255 11.1841 10.5392 11.2259 10.5518C11.2677 10.5645 11.3097 10.5761 11.3521 10.5867C11.3944 10.5974 11.437 10.6069 11.4798 10.6154C11.5226 10.6239 11.5655 10.6314 11.6087 10.6378C11.6519 10.6442 11.6952 10.6496 11.7386 10.6538C11.7821 10.6581 11.8256 10.6613 11.8691 10.6635C11.9127 10.6656 11.9564 10.6667 12 10.6667C12.0436 10.6667 12.0873 10.6656 12.1309 10.6635C12.1744 10.6613 12.2179 10.6581 12.2614 10.6538C12.3048 10.6496 12.3481 10.6442 12.3913 10.6378C12.4345 10.6314 12.4774 10.6239 12.5202 10.6154C12.563 10.6069 12.6056 10.5974 12.6479 10.5867C12.6903 10.5761 12.7323 10.5645 12.7741 10.5518C12.8159 10.5392 12.8573 10.5255 12.8984 10.5108C12.9395 10.4961 12.9802 10.4804 13.0205 10.4637C13.0608 10.447 13.1007 10.4293 13.1402 10.4106C13.1796 10.392 13.2186 10.3724 13.2571 10.3518C13.2955 10.3312 13.3335 10.3097 13.3709 10.2873C13.4084 10.2648 13.4452 10.2415 13.4815 10.2172C13.5178 10.193 13.5535 10.1679 13.5885 10.1419C13.6236 10.1159 13.658 10.089 13.6917 10.0614C13.7255 10.0337 13.7585 10.0052 13.7908 9.9759C13.8232 9.9466 13.8548 9.9165 13.8856 9.8856C13.9165 9.8548 13.9466 9.8232 13.9759 9.7908C14.0052 9.7585 14.0337 9.7255 14.0614 9.6917C14.089 9.658 14.1159 9.6236 14.1419 9.5885C14.1679 9.5535 14.193 9.5178 14.2172 9.4815C14.2415 9.4452 14.2648 9.4084 14.2873 9.3709C14.3097 9.3335 14.3312 9.2955 14.3518 9.2571C14.3724 9.2186 14.392 9.1796 14.4106 9.1402C14.4293 9.1007 14.447 9.0608 14.4637 9.0205C14.4804 8.9802 14.4961 8.9395 14.5108 8.8984C14.5255 8.8573 14.5392 8.8159 14.5518 8.7741C14.5645 8.7323 14.5761 8.6903 14.5867 8.6479C14.5974 8.6056 14.6069 8.563 14.6154 8.5202C14.6239 8.4774 14.6314 8.4345 14.6378 8.3913C14.6442 8.3481 14.6496 8.3048 14.6538 8.2614C14.6581 8.2179 14.6613 8.1744 14.6635 8.1309C14.6656 8.0873 14.6667 8.0436 14.6667 8C14.6667 7.9564 14.6656 7.9127 14.6635 7.8691C14.6613 7.8256 14.6581 7.7821 14.6538 7.7386C14.6496 7.6952 14.6442 7.6519 14.6378 7.6087C14.6314 7.5655 14.6239 7.5226 14.6154 7.4798C14.6069 7.437 14.5974 7.3944 14.5867 7.3521C14.5761 7.3097 14.5645 7.2677 14.5518 7.2259C14.5392 7.1841 14.5255 7.1427 14.5108 7.1016C14.4961 7.0605 14.4804 7.0198 14.4637 6.9795C14.447 6.9392 14.4293 6.8993 14.4106 6.8598C14.392 6.8204 14.3724 6.7814 14.3518 6.7429C14.3312 6.7045 14.3097 6.6665 14.2873 6.6291C14.2648 6.5916 14.2415 6.5548 14.2172 6.5185C14.193 6.4822 14.1679 6.4465 14.1419 6.4115C14.1159 6.3764 14.089 6.342 14.0614 6.3083C14.0337 6.2745 14.0052 6.2415 13.9759 6.2092C13.9466 6.1768 13.9165 6.1452 13.8856 6.1144C13.8548 6.0835 13.8232 6.0534 13.7908 6.0241C13.7585 5.99482 13.7255 5.96632 13.6917 5.93865C13.658 5.91096 13.6236 5.88412 13.5885 5.85813C13.5535 5.83212 13.5178 5.80699 13.4815 5.78273C13.4452 5.7585 13.4084 5.73516 13.3709 5.71273C13.3335 5.69029 13.2955 5.66878 13.2571 5.6482C13.2186 5.62763 13.1796 5.60801 13.1402 5.58935C13.1007 5.5707 13.0608 5.55303 13.0205 5.53633C12.9802 5.51963 12.9395 5.50392 12.8984 5.48922C12.8573 5.47451 12.8159 5.46082 12.7741 5.44815C12.7323 5.4355 12.6903 5.42386 12.6479 5.41326C12.6056 5.40265 12.563 5.39309 12.5202 5.38458C12.4774 5.37606 12.4345 5.36859 12.39
1613 5.36219C12.3481 5.3558 12.3048 5.35046 12.2614 5.34617C12.2179 5.3419 12.1744 5.33869 12.1309 5.33654C12.0873 5.3344 12.0436 5.33333 12 5.33333Z" fill="#DDDDDD" /></svg>\n      </div>\n    '),i=$(`<input class="form-control" type="password" placeholder=${0===t?"输入密码":"输入6-20位密码"} autocomplete="new-password" />`);0===t&&i.attr({autocomplete:"current-password",name:"password"});(0===t?this.$password:this.$signupPassword).append(i).append(e),this.passwordInputEvent(t)},passwordInputEvent:function(t){const e=this,i=0===t?this.$password.find(".form-control"):this.$signupPassword.find(".form-control"),n=0===t?this.$codeGroup.find(".form-control"):this.$signupCodeGroup.find(".form-control");i.on("blur",function(){$(this).parents(".af-sign-password").removeClass("focus"),$(this).parents(".af-signup-password").removeClass("focus"),e.setMess(hf_utils.validate("password",$(this)))}).on("change input",function(){$(this).removeClass("af-validate-fail"),e.setMess("")}).on("focus",function(){$(this).parents(".af-sign-password").addClass("focus"),$(this).parents(".af-signup-password").addClass("focus"),$(this).removeClass("af-validate-fail"),e.setMess("")}),i.add(n).on("keypress",function(i){13===i.which&&(0===t?e.signIn():e.signUp(1))})},inviteGroup:function(){this.$inviteGroup=$('<div class="af-sign-group af-overflow af-invite-group"></div>');const t=$(`<input class="form-control af-sign-invite-input af-left" type="text" placeholder="邀请码(选填)" value="${this.options.inviteCode}" />`);t.on("focus",()=>{t.parent(".af-invite-group").addClass("focus")}),t.on("blur",()=>{t.parent(".af-invite-group").removeClass("focus")}),this.$inviteGroup.append(t)},toggleInviteInput:function(){this.$toggleInviteInput=$('<div class="toggle-invite-input">我有邀请码</div>');let t=!1;this.$toggleInviteInput.on("click",()=>{t=!t,t?(this.$inviteGroup.addClass("show-input"),this.$toggleInviteInput.html("没有邀请码")):(this.$inviteGroup.removeClass("show-input"),this.$toggleInviteInput.html("我有邀请码"))}),this.options.isAiLayout&&this.$toggleInviteInput.hide()}}),Object.assign(SignPanel.prototype,{signinPanelTitle:function(){const t=$('<div class="signin-official-title"></div>'),e=$('<span class="weixin-login-title">微信扫码登录</span><span class="weixin-login-desc">未完成关联绑定的微信与手机号,是两个独立账号</span>');if(t.append(e),this.isMobile()){0===this.loginType&&this.$signInOfficialPanel.addClass("quick-login");const e=$('<span class="weixin-login-desc">未完成关联绑定的微信与手机号,是两个独立账号</span>'),i=$('<span class="mobile-panel-title-text">快速登录或注册</span>');t.empty().append(i).append(e).addClass("mobile-panel-title")}this.$signInOfficialPanel.append(t)},createSignupPanelTitle:function(){this.$signupPanelTitle&&this.$signupPanelTitle.length&&this.$signupPanelTitle.remove(),this.$signupPanelTitle=$("<div>").addClass("signup-panel-title");let t=$("<div>").addClass("main-title");if(this.isMobile()){const e=$("<div>").addClass("close-icon-button"),i=$('<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 0.46967C7.82322 0.762563 7.82322 1.23744 7.53033 1.53033L2.06066 7L7.53033 12.4697C7.82322 12.7626 7.82322 13.2374 7.53033 13.5303C7.23744 13.8232 6.76256 13.8232 6.46967 13.5303L0.46967 7.53033C0.176777 7.23744 0.176777 6.76256 0.46967 6.46967L6.46967 0.46967C6.76256 0.176777 7.23744 0.176777 7.53033 0.46967Z" fill="#B5B5B5" /></svg>');e.append(i);const n=$("<span>").addClass("main-title-text").html("注册账号");e.on("click",()=>{this.loginType=0,this.$signInOfficialPanel.show(),this.$innerPanel.hide(),this.$signupInnerPanel.hide(),this.initTn(0),this.$signInServe.show(),this.setMess("")}),t=t.append(e).append(n)}else t=t.html("注册账号");const e=$('<div class="sub-title"></div>'),i=$("<span>已有账号?</span>"),n=$('<span class="login-button">立即登录</span>');this.$signupPanelTitle.append(t).append(e.append(i).append(n)),n.on("click",()=>{this.$signInOfficialPanel.show(),this.$innerPanel.hide(),this.$signupInnerPanel.hide(),this.loginButtonContainer(),this.$signInOfficialPanel.append(this.$loginButtonGroup),this.initTn(0),this.$signInServe.show(),this.isMobile()?(this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_BUTTON_CLICKED,{properties:{login_mode:"phone"}}),this.phoneButtonClick()):this.toPhonePasswordLogin()})},setPanelTitle:function(t){if(this.isMobile()){const e=$("<div>").addClass("close-icon-button"),i=$('<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 0.46967C7.82322 0.762563 7.82322 1.23744 7.53033 1.53033L2.06066 7L7.53033 12.4697C7.82322 12.7626 7.82322 13.2374 7.53033 13.5303C7.23744 13.8232 6.76256 13.8232 6.46967 13.5303L0.46967 7.53033C0.176777 7.23744 0.176777 6.76256 0.46967 6.46967L6.46967 0.46967C6.76256 0.176777 7.23744 0.176777 7.53033 0.46967Z" fill="#B5B5B5" /></svg>'),n=$("<span>").addClass("panel-title");let o="";switch(this.loginType){case 1:default:o="验证码登录";break;case 2:o="账号密码登录";break;case 3:o="邮箱密码登录"}n.html(o),this.returnIconClick(e),t.append(e.append(i)).append(n)}else{if(1===this.loginType){const e=$('<span class="main-title">验证码登录</span>'),i=$('<span class="sub-title">未注册的手机号登录成功后自动注册</span>');return void t.append(e).append(i)}if(2===this.loginType){const e=$('<span class="main-title">账号密码登录</span>'),i=$('<span class="sub-title"></span>');t.append(e).append(i)}}},createLoginPanelTitle:function(){if(0===this.loginType)return;$(".login-panel-title")[0]&&$(".login-panel-title").remove();const t=$("<div>").addClass("login-panel-title");switch(this.loginType){case 1:this.setPanelTitle(t);break;case 3:{const e=$("<span>").addClass("main-title"),i=$("<span>").addClass("sub-title");t.append(e).append(i),this.setPanelTitle(t);break}}this.$innerPanel.remove(".login-panel-title").prepend(t)}}),Object.assign(SignPanel.prototype,{loginButtonPhoneSign:function(){const t=$('<div class="phone-login-button"></div>'),e=$('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.57143 4.46939C8.27915 4.46939 7.99884 4.5855 7.79217 4.79217C7.5855 4.99884 7.46939 5.27915 7.46939 5.57143V18.4286C7.46939 18.7209 7.5855 19.0012 7.79217 19.2078C7.99884 19.4145 8.27915 19.5306 8.57143 19.5306H15.9184C16.2106 19.5306 16.491 19.4145 16.6976 19.2078C16.9043 19.0012 17.0204 18.7208 17.0204 18.4286V5.57143C17.0204 5.27915 16.9043 4.99884 16.6976 4.79217C16.491 4.5855 16.2106 4.46939 15.9184 4.46939H13.8748C13.8899 4.52809 13.898 4.58964 13.898 4.65306C13.898 5.05882 13.569 5.38776 13.1633 5.38776H11.3265C10.9208 5.38776 10.5918 5.05882 10.5918 4.65306C10.5918 4.58964 10.5999 4.52809 10.615 4.46939H8.57143ZM6.75315 3.75315C
167.23539 3.27092 7.88944 3 8.57143 3H15.9184C16.6004 3 17.2544 3.27092 17.7366 3.75315C18.2189 4.23539 18.4898 4.88944 18.4898 5.57143V18.4286C18.4898 19.1106 18.2189 19.7646 17.7366 20.2468C17.2544 20.7291 16.6004 21 15.9184 21H8.57143C7.88944 21 7.23539 20.7291 6.75315 20.2468C6.27092 19.7646 6 19.1106 6 18.4286V5.57143C6 4.88944 6.27092 4.23539 6.75315 3.75315ZM12.2449 15.8571C12.6507 15.8571 12.9796 16.1861 12.9796 16.5918V16.601C12.9796 17.0068 12.6507 17.3357 12.2449 17.3357C11.8391 17.3357 11.5102 17.0068 11.5102 16.601V16.5918C11.5102 16.1861 11.8391 15.8571 12.2449 15.8571Z" fill="#333940"/></svg>'),i=$("<span>手机号登录</span>");t.append(e).append(i),this.$loginButtonGroup.append(t),t.on("click",()=>{t.hasClass("btn-disabled")||(this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_MODE_TOGGLE_CLICKED,{properties:{from_mode:"wechat",to_mode:"phone"}}),this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_BUTTON_CLICKED,{properties:{login_mode:"phone"}}),this.toPhonePasswordLogin())})},loginButtonContainer:function(){this.isMobile()||(this.$loginButtonGroup&&(this.$loginButtonGroup.empty(),this.$loginButtonGroup.remove(),this.$loginButtonGroup=null),this.$loginButtonGroup=$('<div class="login-button-group"></div>'),this.loginButtonPhoneSign(),this.loginButtonQQSign())},getSignInServe:function(){this.$signInServe=$('<div class="af-sign-term-service official"></div>');const t=$('<input type="checkbox" class="" id="readmeLogin" />').prop("checked",this.isCheckedTerm),e=$('<label for="readmeLogin">我已阅读并同意</label>');let i='<a class="link" href="/faq/serve.php" target="_blank">《云展网用户注册协议》</a>';this.options.isAiLayout&&(i='<a class="link" href="https://album.yunzhan365.com/serve" target="_blank">《云展网智排注册协议》</a>');const n=$(i);this.$signInServe.append(t).append(e.append(n)),window.setTimeout(()=>{0===this.options.signNum?this.$signInServe.width(this.$signInOfficialPanel.outerWidth()):this.$signInServe.width(this.$signupInnerPanel.outerWidth())})},signBtn:function(t){0===t&&(this.$signContent=$("<div class='af-sign-btn-content'></div>")),1===t&&(this.$signupBtnContent=$("<div class='af-signup-btn-content'></div>"));const e=$(`<div class="af-sign-btn button-pure button-pure-blue">${0===t?"登录":"注册"}</div>`),i=$('<div class="af-sign-progress progress progress-striped active af-hidden"><div class="bar"></div></div>'),n=0===t?this.$signContent:this.$signupBtnContent;n.on("click",()=>{n.hasClass("btn-disabled")||(0===t?this.signIn():this.signUp(1))}),0===t&&this.$signContent.append(e).append(i),1===t&&this.$signupBtnContent.append(e).append(i)},addCloseButton:function(){window.location.href.includes("login.php")&&!this.options.isClose||(this.$closeButton=$('<svg class="sign-panel-close-button" width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.0003 29.3333C23.3641 29.3333 29.3337 23.3638 29.3337 16C29.3337 8.63616 23.3641 2.66663 16.0003 2.66663C8.63653 2.66663 2.66699 8.63616 2.66699 16C2.66699 23.3638 8.63653 29.3333 16.0003 29.3333Z" stroke="white" stroke-width="1.5" stroke-linejoin="round"/><path d="M19.771 12.2288L12.2285 19.7713M12.2285 12.2288L19.771 19.7713" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>'),this.$closeButton.on("click",()=>{this.lightBox&&(this.lightBoxClose(),this.sendMsgToTools("close"),this.removeEvent(),this.trackEvent(this.TRACK_EVENT_NAME.CLOSE_BUTTON_CLICKED,{}))}),this.$panel.append(this.$closeButton))},toggleWechatAndPhone:function(){this.$topRightContainer=$('<div class="top-right-container toggle-wechat-phone to-phone"></div>');const t=$('<span class="top-right-text">手机号登录</span>');let e='<svg class="wechat-icon" width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C56 5.37258 50.6274 0 44 0H0L28.6364 27.6818L56 56V12Z" fill="#62ABFF"/><path d="M39.7314 37.0098H42.9854V42.75L43.2266 43H46V36.8809H42.9854V33.7559H39.7314V37.0098ZM40.6123 40.2939V39.126H39.4824L40.6123 40.2939ZM37.5166 37.0908V36.8809H37.3135L37.5166 37.0908ZM30.6553 29.9893L31.9453 31.3252H33.7979V33.2422L35.0576 34.5459H37.6621V31.3252H39.915V27.5869H30.6553V29.9893ZM42.9922 34.3965H46V27.5869H42.9922V34.3965ZM31.3184 10V24.6406H45.9053V24.5752H46V10H31.3184ZM13 12.7822L13.2939 13.0664H15.9551V15.6387L19.1016 18.6807H19.1641V18.7402L22.7998 22.2559H24.5703V23.9668L25.1973 24.5732H27.5908V21.5547H24.5703V18.3906H19.167V13.0049H24.6807V16.0898H27.6094V10H19.1641V13.0049H16.0684V10H13V12.7822ZM42.9922 13.0049V21.6338H34.3262V13.0049H42.9922ZM36.8213 19.5879H40.916V15.4971H36.8213V19.5879Z" fill="white"/></svg>';this.options.isAiLayout&&(e='<svg class="wechat-icon" width="56" height="56" viewB
16ox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C56 5.37258 50.6274 0 44 0H0L28.6364 27.6818L56 56V12Z" fill="#A1B7FF"/><path d="M39.7314 37.0098H42.9854V42.75L43.2266 43H46V36.8809H42.9854V33.7559H39.7314V37.0098ZM40.6123 40.2939V39.126H39.4824L40.6123 40.2939ZM37.5166 37.0908V36.8809H37.3135L37.5166 37.0908ZM30.6553 29.9893L31.9453 31.3252H33.7979V33.2422L35.0576 34.5459H37.6621V31.3252H39.915V27.5869H30.6553V29.9893ZM42.9922 34.3965H46V27.5869H42.9922V34.3965ZM31.3184 10V24.6406H45.9053V24.5752H46V10H31.3184ZM13 12.7822L13.2939 13.0664H15.9551V15.6387L19.1016 18.6807H19.1641V18.7402L22.7998 22.2559H24.5703V23.9668L25.1973 24.5732H27.5908V21.5547H24.5703V18.3906H19.167V13.0049H24.6807V16.0898H27.6094V10H19.1641V13.0049H16.0684V10H13V12.7822ZM42.9922 13.0049V21.6338H34.3262V13.0049H42.9922ZM36.8213 19.5879H40.916V15.4971H36.8213V19.5879Z" fill="white"/></svg>');const i=$(e);let n='<svg class="phone-icon" width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C56 5.37258 50.6274 0 44 0H0L28.6364 27.6818L56 56V12Z" fill="#62ABFF"/><path d="M24.3574 10.7139C23.7289 10.7139 23.1785 10.9504 22.707 11.4219C22.2358 11.8932 22 12.4429 22 13.0713V21.4814L24.3574 23.7607V16.6074H41.6426V39.3926H39.7402L43.876 43.6709C43.9574 43.4369 44 43.1899 44 42.9287V13.0713C44 12.4429 43.7642 11.8932 43.293 11.4219C42.8215 10.9504 42.2711 10.7139 41.6426 10.7139H24.3574Z" fill="white"/></svg>';this.options.isAiLayout&&(n='<svg class="phone-icon" width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C56 5.37258 50.6274 0 44 0H0L28.6364 27.6818L56 56V12Z" fill="#A1B7FF"/><path d="M24.3574 10.7148C23.7289 10.7148 23.1785 10.9514 22.707 11.4229C22.2358 11.8942 22 12.4439 22 13.0723V21.4824L24.3574 23.7617V16.6084H41.6426V39.3936H39.7402L43.876 43.6719C43.9574 43.4378 44 43.1909 44 42.9297V13.0723C44 12.4439 43.7642 11.8942 43.293 11.4229C42.8215 10.9514 42.2711 10.7148 41.6426 10.7148H24.3574Z" fill="white"/></svg>');const o=$(n);this.$toggleWechatPhone=$('<div class="icon-container"></div>'),this.$toggleWechatPhone.append(i).append(o),this.$topRightContainer.append(t).append(this.$toggleWechatPhone),this.$toggleWechatPhone.on("click",()=>{this.changeTopRightWechatPhoneIcon()}),t.on("click",()=>{this.changeTopRightWechatPhoneIcon()})},changeTopRightWechatPhoneIcon:function(){const t=this.getLoginModeStr();return 0===this.loginType?(this.toPhonePasswordLogin(),this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_MODE_TOGGLE_CLICKED,{properties:{from_mode:t,to_mode:this.getLoginModeStr()}}),void this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_BUTTON_CLICKED,{properties:{login_mode:"phone"}})):[1,2].includes(this.loginType)?(this.toggleWechatSignClick(),this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_MODE_TOGGLE_CLICKED,{properties:{from_mode:t,to_mode:this.getLoginModeStr()}}),void this.trackEvent(this.TRACK_EVENT_NAME.LOGIN_BUTTON_CLICKED,{properties:{login_mode:"wechat"}})):void 0},loginAgree:function(){this.$signInServe.find("#readmeLogin").on("change",t=>{if(this.isCheckedTerm=t.target.checked,this.isMobile()){const t={signContent:this.$signContent,signUpContent:this.$signupBtnContent};Object.values(t).forEach(t=>{t.toggleClass("btn-disabled",!this.isCheckedTerm)})}else{const t={phone:this.$loginButtonGroup.find(".phone-login-button"),qq:this.$loginButtonGroup.find(".qq-login-button"),wechat:this.$thirdSign.find(".toggle-wechat-sign"),qqSign:this.$thirdSign.find(".qq-sign"),signContent:this.$signContent,signUpContent:this.$signupBtnContent};this.$qrcodeBox.find(".signin-qrcode").toggleClass("show-filter",!this.isCheckedTerm),Object.values(t).forEach(t=>{t.toggleClass("btn-disabled",!this.isCheckedTerm)})}})},countrySelect:function({$email:t,$emailContent:e,$emailInput:i,signNum:n=0}){const o=this,a=$("<div>").addClass("country-select"),s=$("<div>").addClass("text"),r=$('<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.05806 1.05806C1.30214 0.813981 1.69786 0.813981 1.94194 1.05806L6.5 5.61612L11.0581 1.05806C11.302
161 0.813981 11.6979 0.813981 11.9419 1.05806C12.186 1.30214 12.186 1.69786 11.9419 1.94194L6.94194 6.94194C6.69786 7.18602 6.30214 7.18602 6.05806 6.94194L1.05806 1.94194C0.813981 1.69786 0.813981 1.30214 1.05806 1.05806Z" fill="#333940" /></svg>');a.append(s).append(r),t.append(a),e.addClass("country-other"),window.setTimeout(()=>{this.isMobileLightBox?a.on("click",()=>{this.signupCountryPanel=new CountryCode({content:o.$panel,trigger:a,backFn:(t,e)=>{o.areaCode=t,s.html(`+${t.replace(/^0+/,"")}`),o.resetVerifyState(1),i.focus()}})}):this.signupCountryPanel=new CountryCode({content:o.$panel,trigger:a,backFn:(t,e)=>{o.areaCode=t,s.html(`+${t.replace(/^0+/,"")}`),o.resetVerifyState(1),i.focus()}}),window.setTimeout(()=>{s.html(`+${this.areaCode}`),$(".af-light-box-content").on("click",t=>{this.signupCountryPanel.hide(a)})})})},signupToggleWechatAndPhone:function(){this.$signupTopRightContainer=$('<div class="signup-container top-right-container toggle-wechat-phone to-phone"></div>');const t=$('<span class="top-right-text">微信扫码登录</span>');let e='<svg class="wechat-icon" width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C56 5.37258 50.6274 0 44 0H0L28.6364 27.6818L56 56V12Z" fill="#62ABFF"/><path d="M39.7314 37.0098H42.9854V42.75L43.2266 43H46V36.8809H42.9854V33.7559H39.7314V37.0098ZM40.6123 40.2939V39.126H39.4824L40.6123 40.2939ZM37.5166 37.0908V36.8809H37.3135L37.5166 37.0908ZM30.6553 29.9893L31.9453 31.3252H33.7979V33.2422L35.0576 34.5459H37.6621V31.3252H39.915V27.5869H30.6553V29.9893ZM42.9922 34.3965H46V27.5869H42.9922V34.3965ZM31.3184 10V24.6406H45.9053V24.5752H46V10H31.3184ZM13 12.7822L13.2939 13.0664H15.9551V15.6387L19.1016 18.6807H19.1641V18.7402L22.7998 22.2559H24.5703V23.9668L25.1973 24.5732H27.5908V21.5547H24.5703V18.3906H19.167V13.0049H24.6807V16.0898H27.6094V10H19.1641V13.0049H16.0684V10H13V12.7822ZM42.9922 13.0049V21.6338H34.3262V13.0049H42.9922ZM36.8213 19.5879H40.916V15.4971H36.8213V19.5879Z" fill="white"/></svg>';this.options.isAiLayout&&(e='<svg class="wechat-icon" width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C56 5.37258 50.6274 0 44 0H0L28.6364 27.6818L56 56V12Z" fill="#A1B7FF"/><path d="M39.7314 37.0098H42.9854V42.75L43.2266 43H46V36.8809H42.9854V33.7559H39.7314V37.0098ZM40.6123 40.2939V39.126H39.4824L40.6123 40.2939ZM37.5166 37.0908V36.8809H37.3135L37.5166 37.0908ZM30.6553 29.9893L31.9453 31.3252H33.7979V33.2422L35.0576 34.5459H37.6621V31.3252H39.915V27.5869H30.6553V29.9893ZM42.9922 34.3965H46V27.5869H42.9922V34.3965ZM31.3184 10V24.6406H45.9053V24.5752H46V10H31.3184ZM13 12.7822L13.2939 13.0664H15.9551V15.6387L19.1016 18.6807H19.1641V18.7402L22.7998 22.2559H24.5703V23.9668L25.1973 24.5732H27.5908V21.5547H24.5703V18.3906H19.167V13.0049H24.6807V16.0898H27.6094V10H19.1641V13.0049H16.0684V10H13V12.7822ZM42.9922 13.0049V21.6338H34.3262V13.0049H42.9922ZM36.8213 19.5879H40.916V15.4971H36.8213V19.5879Z" fill="white"/></svg>');const i=$(e),n=$('<div class="icon-container"></div>');n.append(i),this.$signupTopRightContainer.append(t).append(n),n.on("click",()=>{this.signupToWechatLogin()}),t.on("click",()=>{this.signupToWechatLogin()})},signupToWechatLogin:function(){this.$signInOfficialPanel.show(),this.$innerPanel.hide(),this.$signupInnerPanel.hide(),this.isGetCode=!0,this.canGetProgress=!0,this.getProgress(this.$qrcodeBox.find(".signin-qrcode"),this.options),this.loginType=0}}),Object.assign(SignPanel.prototype,{TRACK_EVENT_NAME:{AUTH_PANEL_SHOWN:"auth.panel.shown",CLOSE_BUTTON_CLICKED:"auth.panel.close_button.clicked",LOGIN_MODE_TOGGLE_CLICKED:"auth.panel.login_mode_toggle.clicked",SWITCH_TO_REGISTER_CLICKED:"auth.panel.switch_to_register.clicked",LOGIN_BUTTON_CLICKED:"auth.panel.login_button.clicked",REGISTER_BUTTON_CLICKED:"auth.panel.register_button.clicked"},LOGIN_MODE_MAP:{0:"wechat",1:"phone",2:"phone"},trackEvent:function(t,e){if("function"==typeof window.tracker?.track)if(Object.values(this.TRACK_EVENT_NAME).includes(t))try{window.tracker.track(t,{object_type:"user",...e})}catch(i){console.log(i,`记录${t}事件失败`,"参数为:",e)}else console.warn(`[TrackEvent] 未知事件名称: "${t}",请检查 TRACK_EVENT_NAME 常量`)},getLoginModeStr:function(){return this.LOGIN_MODE_MAP[this.loginType]||""}}),TabBox.prototype={choose:function(t){this.innerTab.find(".tb-tab").removeClass("tb-tab-active"),this.innerTab.find(".tb-tab").eq(t).addClass("tb-tab-active"),this.paneContext.find(".tb-section").removeClass("tb-section-active"),this.paneContext.find(".tb-section").eq(t).addClass("tb-section-active")},removeClass:function(t,e){t.forEach(function(t){t.removeClass(e)})},bindTabClickFn:function(t){var e=this;this.innerTab.on("click",".tb-tab",function(i){var n=$(i.target).index();e.removeClass(e.tabs,"tb-tab-active"),e.removeClass(t,"tb-section-active"),e.tabs[n].addClass("tb-tab-active"),t[n]&&t[n].addClass("tb-section-active")})},getTabContainer:function(){return this.tabContext},getTabs:function(){return this.tabs},getTab:function(t){return this.tabs[t]},setTabTitle:function(t,e){this.tabs[t].html(e).append("<i class='fa fa-caret-up'></i>")},getSectionContaier:function(){return this.paneContext},getSections:function(){return this.panes},getSection:function(t){return this.panes[t]}},ToolTip.prototype={constructor:ToolTip,getPanel:function(){return this.$panel},create:function(){var t=$("<div class='tool-tip-panel'></div>").addClass(this.options.position).addClass(this.options.className),e=$("<div class='tool-tip-arrow-outter'></div>").addClass(this.options.isBig?"big":""),i=$("<div class='tool-tip-arrow'></div>").addClass(this.options.isBig?"big":""),n=$("<div class='tool-tip-text'></div>").addClass(this.options.textClassName).html(this.options.text);return t.append(e).append(i).append(n),this.$panel=t,t},setPosition:function(){var t=this.options.container,e=t.offset(),i=e.top,n=e.left,o=(t.outerWidth(),t.outerHeight(),this.options.content),a=o.offset(),s=a.top,r=a.left,l=o.outerWidth(),d=o.outerHeight(),c=this.$panel,h=c.outerWidth(),p=c.outerHeight(),u=0,g=0,f=this.options.isBig?16:this.options.otherLeft,m=this.options.isBig?16:this.options.otherTop;switch(this.options.position.toLowerCase()){case"top":u=r-n-(h-l)/2,g=s-i-(p+m);break;case"left":u=r-n-(h+f),g=s-i-(p-d)/2;break;case"right":u=r-n+(l+f),g=s-i-(p-d)/2}c.css({left:u,top:g})},destroy:function(t){var e=this;this.timeoutId&&clearTimeout(this.timeoutId),t?e.$panel.remove():e.$panel.fadeOut(function(){e.$panel.remove()})}},ToTopPanel.prototype={constructor:ToTopPanel,create:function(){this.panel=$("<div title='Back To Top' class='ss-to-top-panel af-icon-bg'></div>"),this.panel.appendTo($("body")),this.panel.on("click",this.toTop.bind(this)),$(window).on("scroll",this.handleScroll.bind(this))},handleScroll:function(){$(window).scrollTop()>50?this.panel.addClass("show"):this.panel.removeClass("show")}
16,toTop:function(){var t=this;$("html,body").animate({scrollTop:0},{duration:Math.min($(document).scrollTop()/3,880),easing:"linear",start:function(){},complete:function(){t.panel.removeClass("show")}})}},UpgradePanel.prototype={constructor:UpgradePanel},WaterPanel.prototype={constructor:WaterPanel,load:function(t,e){this.isLoadedAllImg=!1;var i=this;1==(i.options.hasOwnProperty("loadFavorite")?i.options.loadFavorite:1)&&i.loadFavorite();for(var n=0;n<t.length;n++)(function(n){var o=t[n],a=o.hasOwnProperty("bookId")?o.bookId:o.id,s="";s=o.hasOwnProperty("basicLink")?o.basicLink:location.protocol+"//"+location.host+"/basic/"+o.number+".html";var r=$("<li class='water-item' id='"+a+"'></li>"),l=i.isInDomain||i.domain?location.protocol+"//"+i.domain+(""==i.domainSuffix?"":"."+i.domainSuffix)+"/books/"+o.bLink+"/":s,d=$("<a class='water-item-link' href='"+l+"' target='_blank' ></a>"),c=$("<div class='water-img-content'></div>"),h=hf_utils.encodeHTML(o.title),p=i.getExploreAlt(o.categoryId,h,o.newTime),u="";u=o.hasOwnProperty("book_img")?o.book_img.replace(/^https?:/,"https:"):fh5.bookwebsite+"/"+o.uLink+"/"+o.bLink+"/files/shot.jpg";var g=$("<img class='water-book-img af-hide' src='"+u+"' alt='"+(h+p.alt)+"'/>"),f=$("<div class='water-book-title'><a href='"+l+"' target='_blank' title='"+h+p.suffix+"' >"+i.searchHighlight(h,i.keyword)+p.suffix+"</a></div>"),m=$("<div class='water-down-content'></div>"),v=hf_utils.encodeHTML(o.uName),C=$("<div class='water-user-content af-left'></div>"),b=i.isInDomain?"javascript:void(0);":i.domain?location.protocol+"//"+i.domain+(""==i.domainSuffix?"":"."+i.domainSuffix):location.protocol+fh5.website.replace(/^https?:/,"")+"/homepage/"+o.uLink+"/",w=i.isInDomain?$("<div class='water-user-img-link af-left'></div>"):$("<a class='water-user-img-link af-left' href='"+b+"' target='_blank'></a>"),k=$("<div class='water-user-img-content'></div>"),y=v+"上传的"+i.get_suffix_key_by_time(o.newTime),T="";if(o.hasOwnProperty("user_img"))T=o.user_img;else if(o.hasOwnProperty("userLogo"))T=o.userLogo;else{var _="";_=o.hasOwnProperty("accountlogo")?o.accountlogo:"accountlogo.jpg",T="https:"+fh5.bookwebsite+"/"+o.uLink+"/"+_}var x=$("<img class='water-user-img af-hide' alt='"+y+"'/>").attr("src",T+(i.isInHome?"&"+(new Date).getTime():"")),E=i.isInDomain?$("<div class='water-user-name af-left' title='"+v+"' target='_blank'>"+v+"</div>"):$("<a class='water-user-name af-left' href='"+b+"' title='"+v+"' target='_blank'>"+i.searchHighlight(v,i.keyword)+"</a>"),S=$("<div class='water-control-content af-right'></div>"),B=$("<div class='water-like-btn af-left'></div>").attr("title","添加收藏"),P=$("<div class='water-share-btn af-left'></div>"),I=o.pagewidth/o.pageheight,L=i.itemWidth/(isNaN(parseInt(I))?3/4:I),M=$("<div class='water-qrurl-code'></div>"),N=$("<div class='water-qrurl-panel'></div>"),A=$("<div class='af-table'></div>"),O=$("<div class='af-table-centered'></div>");if(i.isInExplore&&(I=i.setExploreBookPoster().imgRatio,L=i.setExploreBookPoster().imgHeight,f=i.exploreBookTitle(o,{bookTitle:h,bookLink:l,followStr:""}),E=i.exploreBookUserName(o,{userName:v,userLink:b}),i.bookImgIsLoaded(g[0],t)),i.isInExplore||i.isInHome){var D="book.yunzhan365.com";window.location.href.match(/192.|dev|test/)&&(D="test2.yunzhan365.com");var R=location.protocol+"//"+D+"/"+o.uLink+"/"+o.bLink+"/mobile/index.html";i.isInExplore&&(d.attr("href",R),f.find("a").attr("href",R)),w.attr("href","javascript:void(0);").attr("target","_self"),E.attr("href","javascript:void(0);").attr("target","_self")}if(i.isInDomain&&B.hide(),i.lastTime=o.newTime,r.width(i.itemWidth),c.width(i.itemWidth).height(L),g.width(i.itemWidth).height(L),i.imgEvent(g[0]),0!=t[n].label){switch(t[n].label){case"1":labelFile="label-new.png";break;case"2":labelFile="label-hot.png";break;case"3":labelFile="label-featured.png"}r.append("<img class='water-label-img' src='"+hf_utils.getLabelFilePath(t[n].label,fh5.website)+"'>")}if(r.append(d.append(c.append(g).append(N.append(A.append(O))))).append(f).append(m.append(C.append(w.append(k.append(x))).append(E)).append(S.append(B).append(P))).append(M),(i.isInExplore||i.isInHome)&&S.remove(),M.hover(function(){if(!(O.children("img").length>0)){if(i.isInExplore){O.append("<span class='water-qrurl-text'>手机扫码查看</span>")}var t="";t=o.hasOwnProperty("url")?o.url.replace(/^https?:/,location.protocol)+"files/extfile/QRURL.png":fh5.bookwebsite+"/"+o.uLink+"/"+o.bLink+"/files/extfile/QRURL.png",O.append("<img class='water-qrurl-img' src='"+t+"' />")}N.addClass("show"),c.height()<218&&(c.addClass("min-height"),r.addClass("z-index"))},function(){N.removeClass("show"),c.hasClass("min-height")&&window.setTimeout(function(){c.removeClass("min-height"),r.removeClass("z-index")},400)}),e?r.prependTo(i.panel):r.appendTo(i.panel),i.isInHome){var H="";H=o.hasOwnProperty("url")?o.url.replace(/^https?:/,location.protocol):fh5.bookwebsite+"/"+o.uLink+"/"+o.bLink,hf_utils.setBookUrl(H,o.uLink,o.bLink,"1",o.isPublic,"1","1",c,g,!0,"#fff",function(){hf_utils.autoFitPosition(c,g,"","","#fff")})}else hf_utils.autoFitPosition(c,g,"","","#fff");hf_utils.autoFitPosition(k,x,"","","#eee"),d.on("click",function(){var t="用户案例";i.isInHome?t="用户主页":i.isInExplore?hf_sensors.clickSearchResult({pageSource:"用户案例",keyword:hf_utils.getQueryString("q"),click_title:h}):t="首页",hf_sensors.readBook({pageSource:t,book_url:l,book_id:a,book_name:h})}),P.on("click",function(){if(hf_sensors.clickShareBookBtn({book_id:a,book_name:o.title}),i.isInDomain||i.isInHome&&i.domain)var t=location.protocol+"//"+i.domain+(""==i.domainSuffix?"":"."+i.domainSuffix)+"/books/"+
16o.bLink+"/";else{t="";t=o.hasOwnProperty("basicLink")?o.basicLink:location.protocol+"//"+location.host+"/basic/"+o.number+".html"}var e=o.uLink,n=o.bLink,s=i.isInDomain||i.domain?"":fh5.bookwebsite+"/"+e+"/"+n+"/files/extfile/QRURL.png",r=fh5.bookwebsite+"/"+e+"/"+n+"/files/extfile/WX_QRURL.png?x-oss-process=image/resize,m_fixed,h_123,w_123";new SharePanel({bookId:a,bTitle:o.title,bDesc:o.description,link:t,pic:o.book_img,qr_img:s,wx_img:r,uLink:e,bLink:n})}),B.on("click",function(){fh5.isLoggedIn?i.likeFn(B,a):new SignPanel({signNum:"0",callback:function(){i.likeFn(B,a),setTimeout(function(){location.reload()},500)}})})})(n);this.isInExplore||this.setPosition()},setPosition:function(){var t,e,i=this;for(i.cols=parseInt((i.container.width()+i.offsetX)/(i.itemWidth+i.offsetX)),t=0;t<i.cols;t++)i.colHeights[t]=0;i.panel.children().each(function(t,e){var n=$(e),o=Math.min.apply(null,i.colHeights),a=i.isInHome?t%i.cols:i.colHeights.indexOf(o);n.css({left:a*i.itemWidth+a*i.offsetX,top:i.colHeights[a]}),i.colHeights[a]+=n.height()+i.offsetY}),e=(i.cols-1)*i.offsetX+i.cols*i.itemWidth,i.panel.css({width:e,height:hf_utils.max2(i.colHeights),left:(i.container.width()-e)/2})},searchHighlight:function(t,e){if(""==e)return t;for(var i=t,n=new RegExp("<.*?>","i"),o=new Array,a=0;;a++){var s=n.exec(i);if(!s)break;o[a]=s,i=i.replace(s,"{[("+a+")]}")}for(var r=Array(e),l=0;l<r.length;l++){var d=new RegExp("("+r[l].replace(/[(){}.+*?^$|\\\[\]]/g,"\\$&")+")","ig");i=i.replace(d,"<span style='background-color: yellow;'>$1</span>")}for(a=0;a<o.length;a++)i=i.replace("{[("+a+")]}",o[a]);return i},searchHighlightExplore:function(t,e){if(!Array.isArray(e))return t;for(var i=t,n=new RegExp("<.*?>","i"),o=new Array,a=0;;a++){var s=n.exec(i);if(!s)break;o[a]=s,i=i.replace(s,"{[("+a+")]}")}for(var r=0;r<e.length;r++)if(e[r]){for(var l=Array(e[r]),d=0;d<l.length;d++){var c=new RegExp("("+l[d].replace(/[(){}.+*?^$|\\\[\]]/g,"\\$&")+")","ig");i=i.replace(c,"<span style='background-color: yellow;'>$1</span>")}for(a=0;a<o.length;a++)i=i.replace("{[("+a+")]}",o[a])}return i},getExploreAlt:function(t,e,i){if(void 0===i)return{alt:"",suffix:""};if(hf_utils.parseDate(i).getTime()>=hf_utils.parseDate(this.start_time).getTime()){var n=this.get_keyword_c_text(e,i);return{alt:n,suffix:n}}if(this.isInExplore){var o=this.exploreDate,a=",在线数字出版平台";if(parseInt(t)<=0)return{alt:a,suffix:""};for(var s=0;s<o.length;s++)if(o[s].id==t)return{alt:","+o[s].alt,suffix:""};return{alt:a,suffix:""}}return{alt:"",suffix:""}},getObjText:function(t){var e=!1,i="",n=this.keyword_arr_d;return $.each(n,function(n,o){if(t.indexOf(n)>=0)return i=o,{text:o,is_in:e=!0}}),{text:i,is_in:e}},get_keyword_c_text:function(t,e){var i=this.getObjText(t),n=i.is_in,o=i.text;return n||(o=this.get_suffix_key_by_time(e)),o},get_suffix_key_by_time:function(t){if(void 0===t)return"";var e=hf_utils.parseDate(t).getSeconds();return e>=1&&e<=10?"电子画册":e>=11&&e<=20?"电子书":e>=21&&e<=30?"电子刊物":e>=31&&e<=40?"电子杂志":e>=41&&e<=50?"宣传画册":e>=51&&e<=60?"电子宣传册":"电子画册"},loadFavorite:function(){if(fh5.isLoggedIn&&!window.waterpanel_getFavorite){$.ajax({url:"/api/user/get-user-favorite-books-id",type:"post",dataType:"json",success:function(t){if("OK"==t.code){window.waterpanel_getFavorite=!0;for(var e=t.data.list,i=0;i<e.length;i++){var n=e[i].bookId;window.waterpanel_bookIds.push(n),$("#"+n+" .water-like-btn").attr("title","移出收藏").addClass("liked")}}}})}},likeFn:function(t,e){if(window.waterpanel_getFavorite&&!t.hasClass("disabled")){var i=window.waterpanel_bookIds.indexOf(e),n=i>=0?0:1;$.ajax({url:"/api/user/save-book-favorite",type:"post",dataType:"json",data:{bookId:e,isFavorie:n},beforeSend:function(){t.addClass("disabled"),hf_utils.addSpin(t)},success:function(o){t.removeClass("disabled"),hf_utils.removeSpin(t),"OK"==o.code?0==n?(t.attr("title","添加收藏").removeClass("liked"),i>-1&&window.waterpanel_bookIds.splice(i,1)):(t.attr("title","移出收藏").addClass("liked"),window.waterpanel_bookIds.push(e)):hf_utils.showError(o.msg)},error:function(e){t.removeClass("disabled"),hf_utils.removeSpin(t)}})}},imgEvent:function(t){if(t&&this.isInExplore){var e=this;t.addEventListener("load",function(){e.setPosition()}),t.addEventListener("error",function(){e.setPosition()})}},setExploreBookPoster:function(t,e){if(!t||!e)return{imgRatio:0,imgHeight:0};var i=t/e;return Number.isNaN(i)&&(i=3/4),{imgRatio:i,imgHeight:this.itemWidth/i}},exploreBookTitle:function(t,e){if(!t||!e)return"";var i=e.bookTitle;void 0!==t.ai_title&&(i=t.ai_title);var n=this.searchHighlight(i,this.keyword);if(void 0!==t._highlightKeywords&&Array.isArray(t._highlightKeywords)){var o=t._highlightKeywords.toReversed();n=this.searchHighlightExplore(i,o)}return $("<div class='water-book-title'><a href='"+e.bookLink+"' target='_blank' title='"+i+"' "+e.followStr+">"+n+"</a></div>")},exploreBookUserName:function(t,e){if(!t||!e)return"";if(this.isInDomain)return $("<div class='water-user-name af-left' title='"+e.userName+"' target='_blank'>"+e.userName+"</div>");var i=this.searchHighlight(e.userName,this.keyword);if(void 0!==t._highlightKeywords&&Array.isArray(t._highlightKeywords)){var n=t._highlightKeywords.toReversed();i=this.searchHighlightExplore(e.userName,n)}return $("<a class='water-user-name af-left' href='"+e.userLink+"' title='"+e.userName+"' target='_blank'>"+i+"</a>")},bookImgIsLoaded:function(t,e){if(t&&e.length&&this.isInExplore){var i=this;t.addEventListener("load",function(){++i.loadedImgCount,i.loadedImgCount===e.length-1&&(i.isLoadedAllImg=!0,i.loadedImgCount=0)}),t.addEventListener("error",function(){++i.loadedImgCount,i.loadedImgCount===e.length-1&&(i.isLoadedAllImg=!0,i.loadedImgCount=0)})}}},function(t){t.fn.qrcode=function(e){var i;function n(t){this.mode=i,this.data=t}function o(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function a(t,e){if(null==t.length)throw Error(t.length+"/"+e);for(var i=0;i<t.length&&0==t[i];)i++;this.num=Array(t.length-i+e);for(var n=0;n<t.length-i;n++)this.num[n]=t[n+i]}function s(t,e){this.totalCount=t,this.dataCount=e}function r(){this.buffer=[],this.length=0}n.prototype={getLength:function(){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},o.prototype={addData:function(t){this.dataList.push(new n(t)),this.dataCache=null},isDark:function(t,e){if(0>t||this.moduleCount<=t||0>e||this.moduleCount<=e)throw Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>
16this.typeNumber){var t=1;for(t=1;40>t;t++){for(var e=s.getRSBlocks(t,this.errorCorrectLevel),i=new r,n=0,o=0;o<e.length;o++)n+=e[o].dataCount;for(o=0;o<this.dataList.length;o++)e=this.dataList[o],i.put(e.mode,4),i.put(e.getLength(),l.getLengthInBits(e.mode,t)),e.write(i);if(i.getLengthInBits()<=8*n)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[i][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),7<=this.typeNumber&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var i=-1;7>=i;i++)if(!(-1>=t+i||this.moduleCount<=t+i))for(var n=-1;7>=n;n++)-1>=e+n||this.moduleCount<=e+n||(this.modules[t+i][e+n]=0<=i&&6>=i&&(0==n||6==n)||0<=n&&6>=n&&(0==i||6==i)||2<=i&&4>=i&&2<=n&&4>=n)},getBestMaskPattern:function(){for(var t=0,e=0,i=0;8>i;i++){this.makeImpl(!0,i);var n=l.getLostPoint(this);(0==i||t>n)&&(t=n,e=i)}return e},createMovieClip:function(t,e,i){for(t=t.createEmptyMovieClip(e,i),this.make(),e=0;e<this.modules.length;e++){i=1*e;for(var n=0;n<this.modules[e].length;n++){var o=1*n;this.modules[e][n]&&(t.beginFill(0,100),t.moveTo(o,i),t.lineTo(o+1,i),t.lineTo(o+1,i+1),t.lineTo(o,i+1),t.endFill())}}return t},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=0==t%2);for(t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=0==t%2)},setupPositionAdjustPattern:function(){for(var t=l.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var i=0;i<t.length;i++){var n=t[e],o=t[i];if(null==this.modules[n][o])for(var a=-2;2>=a;a++)for(var s=-2;2>=s;s++)this.modules[n+a][o+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},setupTypeNumber:function(t){for(var e=l.getBCHTypeNumber(this.typeNumber),i=0;18>i;i++){var n=!t&&1==(e>>i&1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=n}for(i=0;18>i;i++)n=!t&&1==(e>>i&1),this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=n},setupTypeInfo:function(t,e){for(var i=l.getBCHTypeInfo(this.errorCorrectLevel<<3|e),n=0;15>n;n++){var o=!t&&1==(i>>n&1);6>n?this.modules[n][8]=o:8>n?this.modules[n+1][8]=o:this.modules[this.moduleCount-15+n][8]=o}for(n=0;15>n;n++)o=!t&&1==(i>>n&1),8>n?this.modules[8][this.moduleCount-n-1]=o:9>n?this.modules[8][15-n-1+1]=o:this.modules[8][15-n-1]=o;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var i=-1,n=this.moduleCount-1,o=7,a=0,s=this.moduleCount-1;0<s;s-=2)for(6==s&&s--;;){for(var r=0;2>r;r++)if(null==this.modules[n][s-r]){var d=!1;a<t.length&&(d=1==(t[a]>>>o&1)),l.getMask(e,n,s-r)&&(d=!d),this.modules[n][s-r]=d,-1==--o&&(a++,o=7)}if(0>(n+=i)||this.moduleCount<=n){n-=i,i=-i;break}}}},o.PAD0=236,o.PAD1=17,o.createData=function(t,e,i){e=s.getRSBlocks(t,e);for(var n=new r,a=0;a<i.length;a++){var d=i[a];n.put(d.mode,4),n.put(d.getLength(),l.getLengthInBits(d.mode,t)),d.write(n)}for(a=t=0;a<e.length;a++)t+=e[a].dataCount;if(n.getLengthInBits()>8*t)throw Error("code length overflow. ("+n.getLengthInBits()+">"+8*t+")");for(n.getLengthInBits()+4<=8*t&&n.put(0,4);0!=n.getLengthInBits()%8;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*t)&&(n.put(o.PAD0,8),!(n.getLengthInBits()>=8*t));)n.put(o.PAD1,8);return o.createBytes(n,e)},o.createBytes=function(t,e){for(var i=0,n=0,o=0,s=Array(e.length),r=Array(e.length),d=0;d<e.length;d++){var c=e[d].dataCount,h=e[d].totalCount-c;n=Math.max(n,c),o=Math.max(o,h);s[d]=Array(c);for(var p=0;p<s[d].length;p++)s[d][p]=255&t.buffer[p+i];for(i+=c,p=l.getErrorCorrectPolynomial(h),c=new a(s[d],p.getLength()-1).mod(p),r[d]=Array(p.getLength()-1),p=0;p<r[d].length;
vendor: 4,431 bytes, line 16
16p++)h=p+c.getLength()-r[d].length,r[d][p]=0<=h?c.get(h):0}for(p=d=0;p<e.length;p++)d+=e[p].totalCount;for(i=Array(d),p=c=0;p<n;p++)for(d=0;d<e.length;d++)p<s[d].length&&(i[c++]=s[d][p]);for(p=0;p<o;p++)for(d=0;d<e.length;d++)p<r[d].length&&(i[c++]=r[d][p]);return i},i=4;for(var l={PATTERN_POSITION_TABLE:[[],[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]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;0<=l.getBCHDigit(e)-l.getBCHDigit(l.G15);)e^=l.G15<<l.getBCHDigit(e)-l.getBCHDigit(l.G15);return(t<<10|e)^l.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;0<=l.getBCHDigit(e)-l.getBCHDigit(l.G18);)e^=l.G18<<l.getBCHDigit(e)-l.getBCHDigit(l.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return l.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,i){switch(t){case 0:return 0==(e+i)%2;case 1:return 0==e%2;case 2:return 0==i%3;case 3:return 0==(e+i)%3;case 4:return 0==(Math.floor(e/2)+Math.floor(i/3))%2;case 5:return 0==e*i%2+e*i%3;case 6:return 0==(e*i%2+e*i%3)%2;case 7:return 0==(e*i%3+(e+i)%2)%2;default:throw Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new a([1],0),i=0;i<t;i++)e=e.multiply(new a([1,d.gexp(i)],0));return e},getLengthInBits:function(t,e){if(1<=e&&10>e)switch(t){case 1:return 10;case 2:return 9;case i:case 8:return 8;default:throw Error("mode:"+t)}else if(27>e)switch(t){case 1:return 12;case 2:return 11;case i:return 16;case 8:return 10;default:throw Error("mode:"+t)}else{if(!(41>e))throw Error("type:"+e);switch(t){case 1:return 14;case 2:return 13;case i:return 16;case 8:return 12;default:throw Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),i=0,n=0;n<e;n++)for(var o=0;o<e;o++){for(var a=0,s=t.isDark(n,o),r=-1;1>=r;r++)if(!(0>n+r||e<=n+r))for(var l=-1;1>=l;l++)0>o+l||e<=o+l||0==r&&0==l||s==t.isDark(n+r,o+l)&&a++;5<a&&(i+=3+a-5)}for(n=0;n<e-1;n++)for(o=0;o<e-1;o++)a=0,t.isDark(n,o)&&a++,t.isDark(n+1,o)&&a++,t.isDark(n,o+1)&&a++,t.isDark(n+1,o+1)&&a++,(0==a||4==a)&&(i+=3);for(n=0;n<e;n++)for(o=0;o<e-6;o++)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(i+=40);for(o=0;o<e;o++)for(n=0;n<e-6;n++)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(i+=40);for(o=a=0;o<e;o++)for(n=0;n<e;n++)t.isDark(n,o)&&a++;return i+10*(t=Math.abs(100*a/e/e-50)/5)}},d={glog:function(t){if(1>t)throw Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;0>t;)t+=255;for(;256<=t;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},c=0;8>c;c++)d.EXP_TABLE[c]=1<<c;for(c=8;256>c;c++)d.EXP_TABLE[c]=d.EXP_TABLE[c-4]^d.EXP_TABLE[c-5]^d.EXP_TABLE[c-6]^d.EXP_TABLE[c-8];for(c=0;255>c;c++)d.LOG_TABLE[d.EXP_TABLE[c]]=c;return a.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var n=0;n<t.getLength();n++)e[i+n]^=d.gexp(d.glog(this.get(i))+d.glog(t.get(n)));return new a(e,0)},mod:function(t){if(0>this.getLength()-t.getLength())return this;for(var e=d.glog(this.get(0))-d.glog(t.get(0)),i=Array(this.getLength()),n=0;n<this.getLength();n++)i[n]=this.get(n);for(n=0;n<t.getLength();n++)i[n]^=d.gexp(d.glog(t.get(n))+e);return new a(i,0).mod(t)}},s.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37
16],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],s.getRSBlocks=function(t,e){var i=s.getRsBlockTable(t,e);if(null==i)throw Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=i.length/3,o=[],a=0;a<n;a++)for(var r=i[3*a+0],l=i[3*a+1],d=i[3*a+2],c=0;c<r;c++)o.push(new s(l,d));return o},s.getRsBlockTable=function(t,e){switch(e){case 1:return s.RS_BLOCK_TABLE[4*(t-1)+0];case 0:return s.RS_BLOCK_TABLE[4*(t-1)+1];case 3:return s.RS_BLOCK_TABLE[4*(t-1)+2];case 2:return s.RS_BLOCK_TABLE[4*(t-1)+3]}},r.prototype={get:function(t){return 1==(this.buffer[Math.floor(t/8)]>>>7-t%8&1)},put:function(t,e){for(var i=0;i<e;i++)this.putBit(1==(t>>>e-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},"string"==typeof e&&(e={text:e}),e=t.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:2,background:"#ffffff",foreground:"#000000"},e),this.each(function(){var i;if("canvas"==e.render){(i=new o(e.typeNumber,e.correctLevel)).addData(e.text),i.make();var n=document.createElement("canvas");n.width=e.width,n.height=e.height,$.browser.msie&&(n=window.G_vmlCanvasManager.initElement(n));for(var a=n.getContext("2d"),s=e.width/i.getModuleCount(),r=e.height/i.getModuleCount(),l=0;l<i.getModuleCount();l++)for(var d=0;d<i.getModuleCount();d++){a.fillStyle=i.isDark(l,d)?e.foreground:e.background;var c=Math.ceil((d+1)*s)-Math.floor(d*s),h=Math.ceil((l+1)*s)-Math.floor(l*s);a.fillRect(Math.round(d*s),Math.round(l*r),c,h)}}else for((i=new o(e.typeNumber,e.correctLevel)).addData(e.text),i.make(),n=t("<table></table>").css("width",e.width+"px").css("height",e.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",e.background),a=e.width/i.getModuleCount(),s=e.height/i.getModuleCount(),r=0;r<i.getModuleCount();r++)for(l=t("<tr></tr>").css("height",s+"px").appendTo(n),d=0;d<i.getModuleCount();d++)t("<td></td>").css("width",a+"px").css("background-color",i.isDark(r,d)?e.foreground:e.background).appendTo(l);i=n,jQuery(i).appendTo(this)})}}(jQuery),document.addEventListener("DOMContentLoaded",function(){function t(t,e,i){document.querySelectorAll(t).forEach(t=>{t.addEventListener(e,i)})}function e(){document.querySelectorAll(".yz24-footer-weixin-open").forEach(t=>{t.classList.remove("yz24-footer-weixin-open");const e=t.querySelector("a");
16e&&e.setAttribute("aria-expanded","false")})}function i(t){if(t.target.classList.contains("yz24-footer-weixin-img"))return void t.stopPropagation();t.stopPropagation();const i=this.classList.contains("yz24-footer-weixin-open");if(e(),i)return;this.classList.add("yz24-footer-weixin-open");const n=this.querySelector("a");n&&n.setAttribute("aria-expanded","true");const o=this.querySelector(".yz24-footer-weixin-img"),a=o&&o.getAttribute("data-src");a&&!o.getAttribute("src")&&(o.src=a)}t(".yz24-footer-collapsible-colmenu-btn","click",function(t){t.stopPropagation(),e(),document.querySelectorAll(".yz24-footer-collapsible-colmenu-btn.yz24-footer-col-active").forEach(t=>{t!==this&&(t.classList.remove("yz24-footer-col-active"),t.nextElementSibling.classList.remove("yz24-footer-sub-open"))});const i=this.nextElementSibling;i&&i.classList.contains("yz24-footer-collapsible-col-submenu-list")&&(this.classList.toggle("yz24-footer-col-active"),i.classList.toggle("yz24-footer-sub-open"))}),t(".yz24-footer-weixin-trriger","mouseenter",function(){const t=this.querySelector(".yz24-footer-weixin-img");if(!t)return;const e=t.getAttribute("data-src");e&&t.src!==new URL(e,document.baseURI).href&&(t.src=e)}),t(".yz24-footer-collapsible-col-submenu-list .yz24-footer-weixin-trriger","click",i),t(".yz24-footer-collapsible-col-submenu-list .yz24-footer-weixin-trriger","keydown",function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),i.call(this,t))}),document.addEventListener("click",e),function(){const t=document.querySelector(".yz24-footer .yz-copy-right-year");t&&(t.innerHTML=`© ${(new Date).getFullYear()}`)}(),t(".yz24-footer-to-create-trigger","click",async function(){const t=await window.getUserData();t&&"OK"===t.code?window.location.href=`${window.YZ_APP_HOST}/dashboard/home`:SignPanel&&new SignPanel({signNum:"0"})})});

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.