var OOP=OOP||{};!function(t){"use strict";apiInited||(t.tpl=t.tpl||{},t.tpl.format=function(t,i){var a;return t.replace(/\{{([\d\w\.]+)\}}/g,function(t,e){return void 0===(a=function(t,e){t=t||{};for(var i=e.split("."),a=i.length,s=0;s)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');"):a[t]=a[t]||j(document.getElementById(t).innerHTML),e?t(e):t}function O(t){if(!this.data.pictotal)return"";t=t||{};for(var e="",i=Math.min(this.data.pic.length,9),t=(t.className||"")+" "+n[i]+" smallPic pic",a=0;a':"")+'>'+(2==s.pictype?'':"")+"";e+=OOP.tpl.format(o,s)}return e+=9查看全部'+this.data.pictotal+"张照片":"",OOP.tpl.format('
{{photo_list}}
',{photo_list:e,className:t})}function H(){for(var t=0,e=0;this.data.pic&&e','','{{nickname}}({{uin}})',"",""].join("")}).prototype.getUin=function(){return escHTML(this.data.uin+"")},r.prototype.getName=function(){return escHTML(this.data.nickname+"")},r.prototype.getProfileURL=function(){var t="",e={nickname:this.getName()||this.getUin(),uin:this.getUin(),who:this.data.who};switch(this.data.who){case 3:t=format("http://rc.qzone.qq.com/myhome/weibo/profile/{uin}",e);break;case 2:t=format("http://www.pengyou.com/index.php?mod=profile&u={uin}&adtag=from_profile",e);break;default:t=format("http://user.qzone.qq.com/{uin}",e)}return t},r.prototype.getAvatarURL=function(t,e){return window.QZONE&&QZONE.FP&&QZONE.FP.getPURL?QZONE.FP.getPURL(this.data.uin,t||100):(e="http://qlogo{{host}}.store.qq.com/qzone/{{uin}}/{{uin}}/{{size}}","qq.com"==document.domain||(e="http://py.qlogo.cn/friend/{{uin}}/audited/60"),OOP.tpl.format(e,{uin:this.data.uin,size:t||100,host:this.data.uin%4||1}))},r.prototype.getProfileLink=function(t){var e=''+(t?"":"@")+"{parsedNickname}",t={parsedNickname:QZONE.FP.removeUBB(this.getName()||this.getUin()),nickname:this.getName()||this.getUin(),uin:this.getUin(),who:this.data.who,url:this.getProfileURL()};return format(e,t)},r.prototype.getUserLink=function(){var t={parsedNickname:QZONE.FP.removeUBB(this.getName()||this.getUin()),nickname:this.getName()||this.getUin(),uin:this.getUin(),who:this.data.who,url:this.getProfileURL()+(1==this.data.who?"/mood":"")};return format('{parsedNickname}',t)},r.prototype.getAvatarLink=function(t){t={nickname:this.getName()||this.getUin(),uin:this.getUin(),who:this.data.who,avatar_url:this.getAvatarURL(t),profile_url:this.getProfileURL()};return OOP.tpl.format(this.avatar_tpl,t)},r.prototype.toJSON=function(){return QZFL.object.extend(!0,{},this.data)},(h=function(t){if(this.data=QZFL.object.extend(!0,{},t),this.data.rt_con&&this.data.rt_con.conlist&&(this.data.rtitem={},this.data.rtitem.rich_info=this.data.pic,this.data.rtitem.created_time=this.data.rt_created_time,this.data.rtitem.createTime=this.data.rt_createTime,this.data.rtitem.nosrc=this.data.rt_nosrc,this.data.rtitem.rt_account=this.data.rt_account,this.data.rtitem.wbid=this.data.rt_wbid,this.data.rtitem.t1_source=this.data.rt_source,this.data.rtitem.t1_subtype=this.data.rt_subtype,this.data.rtitem.source_name=this.data.rt_source_name,this.data.rtitem.source_url=this.data.rt_source_url,this.data.rtitem.rt_sum=this.data.rt_sum,this.data.rtitem.tid=this.data.rt_tid,this.data.rtitem.uin=this.data.rt_uin,this.data.rtitem.name=this.data.rt_uinname,this.data.rtitem.conlist=this.data.rt_con.conlist,this.data.rtitem.content=this.data.rt_con.content,this.data.rtitem.cmtnum=this.data.rt_cmtnum,this.data.rtitem.has_more_con=this.data.rt_has_more_con,this.data.rtitem.long_article=this.data.rt_long_article),this.data.commentlist=this.data.commentlist||[],this.cmc=new _(this.data.commentlist||{}),this.seed=i++,this.data&&this.data.pic&&0)+?)#/gi,"")),i=i.replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},h.prototype.replaceEmoticon=function(t,e){return e?QZONE.FP.removeUBB(t):t.replace(/\[em\]e(\d{1,8})\[\/em\]/gi,"")},h.prototype.processRichContent=function(t){for(var e,i,a,s,o,n,r=/(?:@\{uin:([^\}]*),nick:([^\},]*)(?:,who:(\d+))?\})|[^@]+/g,c={"%7D":"}","%2C":",","%25":"%"},d=function(t,e){if(3==="a~b".split(/(~)/).length)return t.split(e);e.global||(e=new RegExp(e.source,"g"+(e.ignoreCase?"i":"")));for(var i,a="",s=[],o=t.length,n=0;n)+?#)/g),l="",h="",u=0;u)+?)#/g,function(t,e,i){a=!0;return'#'+escHTML(e)+"#"}),!a){e="",o=h.split(/(@(?!^\{)[\{]uin\:[a-z\d]+\,nick\:[^}]*[\}])/g);for(var m=0;m{name}',{uin:escHTML(e),name:escHTML(i)})):escHTML(t)}),s||(n=n.replace(/((?:https|ftp|http):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,'$1')),i+=n;e=i}l+=e}return l},h.prototype.replaceTopic=function(t){return t=restHTML(t),this.processRichContent(t)},h.prototype.getHTML=function(t){if(1@{nickname}',e));break;case 1:o++,t.link&&(e.url=escHTML(e.url),e.text=this.getURLTitle(o)||e.url,s.push(format('{text}',e)));break;case 2:e.con&&s.push(this.replaceEmoticon(this.replaceTopic(e.con),t.emoji))}return 0===(i=(i=s.join("")).replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")).length&&(i=this.replaceEmoticon(this.replaceTopic(this.data.content),t.emoji)),t.wrapper&&(i=format('
{content}
',{content:i})),i},h.prototype.getMedia=function(){for(var t,e="",i=this.data.rich_info||[],a=[],s=0;s',t));break;case 3:a.push(format('',t))}return 0{media}',{media:a.join("")})),e},h.prototype.getFullContent=function(){return this.getHTML()+this.getMedia()},h.prototype.getCreatedTime=function(t){return this.data.lastmodify&&this.data.created_time!==this.data.lastmodify?"编辑于 "+e(this.data.lastmodify):e(this.data.created_time,t)||this.data.createTime},h.prototype.getTimestamp=function(){return this.data.create_time},h.prototype.getType=function(){var t="original";1==this.data.isSignIn&&(t="sign");for(var e=this.data.rich_info||[],i=0;i{content}',{content:n.join(" || ")})),t.origin&&(s=new h(this.data.rtitem),o.push(format('
{content}
',{content:s.getFullContent()})))}return o.join("")},h.prototype.getURLTitle=function(t){return this.data["url_title_"+t]||""},h.prototype.getTid=function(){return this.data.tid},h.prototype.getRTTid=function(){return this.data.rt_tid||""},h.prototype.getUin=function(){return this.data.owneruin||this.data.uin||""},h.prototype.getRTUin=function(){return this.data.rt_uin||""},h.prototype.getRTMood=function(){if(this.data.rtitem)return new h(this.data.rtitem)},h.prototype.getPhotosSync=function(){if(0','
',this.data.story_info&&this.data.story_info.time?"拍摄于 "+escHTML(e(this.data.story_info.time)):""," "+(this.data.story_info&&this.data.story_info.lbs&&escHTML(this.data.story_info.lbs.idname||this.data.story_info.lbs.name)),"
",""].join(""):""},h.prototype.getSourceName=function(){return this.data.source_name},h.prototype.getSourceHTML=function(){if("qq.com"!=document.domain&&("QQ空间"==this.data.source_name||"朋友网"==this.data.source_name))return"";if(!this.data.source_name&&!this.data.t1_source_name)return"";if(this.data.source_url){var t={source_name:escHTML(this.data.source_name),formated_source_name:QZONE.FP.removeUBB(20来自{{formated_source_name}}',t)}return'来自'+escHTML(this.data.source_name||this.data.t1_source_name)+""},h.prototype.getLocationHTML=function(){var t=this.data.lbs,e=["",'','',"",""].join("");return t&&t.pos_x&&t.pos_y?OOP.tpl.format(e,{name:escHTML(t.name),pos_x:escHTML(t.pos_x),pos_y:escHTML(t.pos_y)}):""},h.prototype.toJSON=function(t){var e,e={content:this.data.content,seed:this.seed,tid:this.data.tid,uin:this.data.uin,tags:this.data.tags,mood_type:this.getTypeHTML(),voice_html:this.getVoiceHTML(),op_button_html:this.getButtonHTML(),content_html:this.getHTML({wrapper:!1}),media_preview_html:this.getMediaPreviewHTML(),feed_private_style:64==this.data.ugc_right?"feed_private":"",has_right_style:1','举报','{{comment_count_html}}','{{retweet_count_html}}',""].join(""),i=['"].join(""),a=t.toJSON();return OOP.tpl.format(t.data.nosrc?i:e,a)}return""},h.prototype.getRTHistoryHTML=function(){var t=this.data.rtlist;if(t){for(var e,i=['
',"{{retweet_list}}","
"].join(""),a=new Object,s=new Array,o="",n=0;n{{name}}',{uin:d.uin,name:escHTML(d.name)}))}for(var l,n=0;n',' "].join("");if("1"===this.data.origin_feed_has_audited)return['"].join("");var e=['
','
','{{user_link}}
{{content_html}}
{{ellipsis}}','","{{voice_html}}","
","{{media_preview_html}}",'
','
','{{created_time}}',"{{source_html}}","
","{{rt_op_button_html}}","
","{{rt_history_html}}","
"].join(""),t=t.toJSON();return t.media_preview_html=this.getMediaPreviewHTML(),t.voice_html=this.getVoiceHTML(),t.rt_op_button_html=this.getRTButtonHTML(),t.rt_history_html=this.getRTHistoryHTML(),OOP.tpl.format(e,t)}return""},h.prototype.getMediaPreviewHTML=function(){var t=['
',"{{video_thumb_html}}","{{pic_thumb_html}}","{{audio_thumb_html}}","{{magic_thumb_html}}","{{attach_thumb_html}}","{{vote_thumb_html}}",'","
"].join(""),e=["video","pic","audio","magic","attach","vote"],i={video:{bitmap:3,name:"视频",status:0},pic:{bitmap:1,name:"图片",status:0},audio:{bitmap:7,name:"音乐",status:0},magic:{bitmap:6,name:"动画",status:0},attach:{bitmap:5,name:"附件",status:0},vote:{bitmap:4,name:"投票",status:0}},a=this.data,s=[];if(a.attach_type)for(var o=a.attach_type.toString(2),o=new Array(16-o.length+1).join("0")+o,n=0;n','
    ',"<%for(var i=0; i","
  • ",'',"
  • ","<%}%>","
","<%if(vote.num > 3){%>",'

更多<%=vote.num-3%>项↓

',"<%}%>",""].join("");return tmpl(t,this.data)},h.prototype.getAttachHTML=function(t){t=t||{};var e=['
','
','
','{{name}}',"
","
"].join(""),i=this.data.attach,a=[];return i&&(i.className=t.className,i.name=escHTML(i.name),a.push(OOP.tpl.format(e,i))),a.join("")},h.prototype.getMagicHTML=function(t){t=t||{};for(var e,i=['
',"","
"].join(""),a=this.data.magic||[],s=[],o=/{"\$type":"magicEmoticon","id":(\d+)}/,n=0;n','
','
','','','','',"","
",'
','{{time}}"',"
","
",""].join(""),s=[],o=this.data.voice||[],n=0;n',"
    ","<%for(var i=0;i",'
  • ','','',"","
  • ","<%}%>","
","<%=showAllLinkHTML%>"," "].join(""),a=[],s=0;this.data.pic&&s查看全部'+this.data.pictotal+"张照片":""})}catch(t){window.console&&console.log("[ERR] 生成排版模版时出错:",t.message)}return""}:O).call(this,t)}),h.prototype.getVideoThumbHTML=function(t){t=t||{};var e=[],i=['
','','','','','视频缩略图',"","","
"].join("");if(!(0','
','','','',"",'
','

','{{formatedName}}',"

",'

{{singername}}

',"
",'
','','',"","
","
",'
','收起','
',"
",'
','',"
",""].join(""),i=[];if(!(0',"{{mod_comments}}","\x3c!--发表框 默认--\x3e",'
\x3c!--如果,发表框在评论列表上面,请加上 class mod_commnets_poster_top 谢谢--\x3e','
','
','
我也说一句
',"
","
","
",""].join("");return OOP.tpl.format(t,{tid:this.getTid(),mod_comments:this.getCommentsHTML()})},h.prototype.getButtonHTML=function(){var e,i=this.getUin()==QZONE.FP.getQzoneConfig("loginUin"),a=["{{timeshuoshuo_status}}",'删除'].join("");(window.t||window.MOOD&&c.env)&&(e=window.t&&t.tab||c.env&&c.env.tab);var s=i&&!this.data.voice&&2!=this.data.t1_source&&33!=this.data.t1_subtype&&0!==this.data.isEditable,o="1"===this.data.public_pav;i&&this.data.video&&this.data.video.length&&(s=!1),o&&(s=!1);var n=['"].join(""),s=['','','{{comment_count_html}}','',n].join(""),o=['','','','{{comment_count_html}}','',"detail"==e||o?"":n].join(""),n=['{{comment_count_html}}',''+OOP.tpl.format(n,{permalink:this.getPermalink(),comment_count:this.getCommentCount(),retweet_count:this.getRTCount(),uin:this.data.uin,comment_count_html:(n=this.getCommentCount(),!l&&n?"评论("+n+")":"评论"),forward_num_html:(n=this.getForwardNum(),!l&&n?"转发("+n+")":"转发"),tid:this.data.tid,t1_source:this.data.t1_source})+"";if(1'+OOP.tpl.format(i?s:o,{permalink:this.getPermalink(),comment_count:this.getCommentCount(),retweet_count:this.getRTCount(),uin:this.data.uin,comment_count_html:(r=this.getCommentCount(),!l&&r?"评论("+r+")":"评论"),forward_num_html:(r=this.getForwardNum(),!l&&r?"转发("+r+")":"转发"),voice_class_fix:this.data.voice?" none":"",tid:this.data.tid,t1_source:this.data.t1_source})+"";var r='立即发送';return this.data.haspublish&&(r="已经发送"),'
'+OOP.tpl.format(a,{timeshuoshuo_status:r})+"
"},h.prototype.getApplyAccessHTML=function(){return 2==this.data.right?'
该空间已经加密 申请访问
':3==this.data.right?'
该空间已经加密 输入密码并查看 申请访问
':""},h.prototype.getInfoHTML=function(){var t=['
','','{{created_time}}',"","{{source_html}}","{{location_html}}","{{authorize_html}}","
"].join(""),i=!1;try{i=QZONE.FP._t.isOwnerMode()}catch(t){}return 1预定于 {{createTime2}} 发送',{createTime2:this.data.createTime2}):OOP.tpl.format(t,{permalink:this.getPermalink(),created_time:this.getCreatedTime(),created_time_full:this.getCreatedTime(!0),source_html:this.getSourceHTML(),location_html:this.getLocationHTML(),authorize_html:function(t){if(!i)return"";var e;switch(t.ugc_right){case 4:e='';break;case 16:e='';break;case 64:e='';break;case 128:e='';break;default:e=""}return e}(this.data)})},h.prototype.getItemHTML=function(){var t=['
  • ','
    ','
    ',"
    ",'",'
    ','
    ','
    ','{{user_link}} {{mood_type}}
    {{content_html}}
    {{ellipsis}}','","{{voice_html}}","
    ","{{media_preview_html}}","{{story_info}}",'
    ',"{{apply_access_html}}","{{info_html}}","{{op_button_html}}","
    ",'
    ','
    ','","{{comment_module}}","
    ","
    ",'
    ',"
  • "].join("");return OOP.tpl.format(t,this.toJSON())},(p=function(t){if(this.data=t||{},this.template=['
  • ','\t
    ',"\t\t
    ","\t\t\t{{ui_avatar}}",'\t\t\t
    ','\t\t\t\t{{parsedNickname}}',"\t\t\t\t{{privateText}}","\t\t\t\t{{replyTarget}}","\t\t\t\t:","\t\t\t\t{{content_html}}","\t\t\t\t{{commentPhotos}}",'\t\t\t\t
    ','\t\t\t\t\t{{create_time}}','\t\t\t\t\t回复',"\t\t\t\t
    ","\t\t\t
    ","\t\t
    ","\t\t{{mod_comments_sub}}","\t
    ","
  • "].join(""),this._author=new r({nickname:this.data.name||this.data.owner&&this.data.owner.name||this.data.uin,uin:this.data.uin||this.data.owner&&this.data.owner.uin,who:2*!!this.data.t3_wc_uin||this.data.t3_source||2*!!this.data.t2_wc_uin||this.data.t2_source||1}),this.replies_tpl='
    {{comments_list}}
    ',this.config={max_replies_count:-1,show_avatar:!0},this.data.list_3){if(this.data.private)for(var e=0;e'+(n?"私密":"")+"回复 "+a.getProfileLink(!0)+""}return""}),e=QZFL.FP.removeUBB(e);var i="";this.data.private&&(this.data.isReply?this.data.replyTarget||(i='私密回复'):i='私密评论'),this.data.content_html=e.replace(t,function(t,e,i,a,s){return e?s?"":new r({nickname:restXHTML(i||e),uin:e,who:a||1}).getProfileLink():t});var s=this.data.pic;return this.data.commentPhotos=function(){if(a)return"";if(!s||!s.length)return"";for(var t=[],e=0;e',"\t
    ","\t\t<%for(var i=0; pics && i",'\t\t\t','\t\t\t\t',"\t\t\t","\t\t<%}%>","\t
    ",""].join("");return tmpl(i,{pics:t})}(),OOP.tpl.format(this.template,{parsedNickname:QZONE.FP.removeUBB(escHTML(this.data.name)),nickname:escHTML(this.data.name),uin:this.data.uin,ui_avatar:this.data.ui_avatar,content_html:this.data.content_html,create_time:function(t){if("string"==typeof t)return t;if(0==t)return"";var e=(new Date).getTime()/1e3;try{e=QZONE.FP.getSvrTime().getTime()/1e3}catch(t){}var i=e-t;if(i<=0)return"刚刚";var a=new Date(1e3*t),t=new Date(1e3*e);return i<60?Math.floor(i)+"秒前":i<3600?Math.floor(i/60)+"分钟前":i<86400?a.getDate()==t.getDate()?"今天"+a.getHours()+":"+(9','
    ',"{{comments_list}}","
    \x3c!-- list end --\x3e","\x3c!-- poster --\x3e","\x3c!-- qz_comments end--\x3e"].join(""),t&&this.init(t)}).prototype.init=function(t){var e;for(t=t||[],e=0;ethis.config.max_comments_count?this.config.max_comments_count:this._models.length)<0?this._models.length:i,a=0;a"+e.join("")+""})},(g=function(t){this.opts=t||{},this._models=[],this._pagination={totalRecords:0,rowsPerPage:20,total:0,page:0},this.config={mood:{comment:{},reply:{}}},this.opts.initialData&&(this._pagination.page++,this.init(this.opts.initialData),"function"==typeof this.opts.success&&this.opts.success(this))}).prototype.init=function(t){this._models=[],t=t||{},this._pagination.totalRecords=void 0===t.total?t.usrinfo&&t.usrinfo.msgnum||0:t.total,this._pagination.total=Math.ceil(this._pagination.totalRecords/this._pagination.rowsPerPage);for(var e=t.msglist||t.posts||[],i=0;i=this.getPagination().total?4294967295:t,this.config.cur_pos=4294967295==e?this.getPagination().total:e,y(this.config)},f.prototype.next=function(){var t=this.config.pos;this.config.pos=this.getPagination().next,this.config.cur_pos=t,y(this.config)},f.prototype.prev=function(){var t=this.config.pos;this.config.pos=this.getPagination().prev,this.config.cur_pos=4294967295==t?this.getPagination().total:t,y(this.config)},f.prototype.getPagination=function(){var t=Math.ceil(this.config.total/this.config.num),e=4294967295==this.config.pos?t:parseInt(this.config.pos);return{total:t,next:t)+?)#/gi,"")),i=i.replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},k.prototype.getHTML=function(t){t=QZFL.object.extend({emoji:!0,hashtag:!0,link:!0,wrapper:!0},t);for(var e,i,a=this.data.conlist||[],s=[],o=0;o@{nickname}',e));break;case 1:t.link&&(e.url=escHTML(e.url),s.push(format('{url}',e)));break;case 2:s.push(escHTML(e.con))}return i=s.join(""),i=t.emoji?QZFL.FP.removeUBB(i):i.replace(/\[em\]e(\d{1,8})\[\/em\]/gi,""),i=(i=t.hashtag?i.replace(/^(?!&)#((?:.|)+?)(?!&)#/gi,function(t,e){return format('{name}',{keyword:encodeURIComponent(e),name:escHTML(t)})}):i.replace(/^(?!&)#((?:.|)+?)(?!&)#/gi,"")).replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,""),t.wrapper&&(i=format('
    {content}
    ',{content:i})),i},k.prototype.getMedia=function(){for(var t,e="",i=this.data.rich_info||[],a=[],s=0;s',t));break;case 3:a.push(format('',t))}return 0{media}',{media:a.join("")})),e},k.prototype.getFullContent=function(){return this.getHTML()+this.getMedia()},k.prototype.getCreatedTime=function(){return this.data.create_time||this.data.createTime},k.prototype.getTimestamp=function(){return this.data.create_time},k.prototype.getType=function(){var t="original";1==this.data.isSignIn&&(t="sign");for(var e=this.data.rich_info||[],i=0;i{content}',{content:n.join(" || ")})),t.origin&&(s=new k(this.data.rtitem),o.push(format('
    {content}
    ',{content:s.getFullContent()})))}return o.join("")},k.prototype.getTid=function(){return this.data.tid},k.prototype.getRTTid=function(){return this.data.rt_tid||""},k.prototype.getUin=function(){return this.data.owneruin||this.data.uin||""},k.prototype.getRTUin=function(){return this.data.rt_uin||""},k.prototype.getRTMood=function(){if(this.data.rtitem)return new k(this.data.rtitem)},k.prototype.getPhotosSync=function(){if(0{{source_name}}',this.data):"QQ空间"},k.prototype.getLocationHTML=function(){var t=['
    ','
    ','{{name}} 查看地图',"
    ","
    "].join("");return this.data.lbs?OOP.tpl.format(t,this.data.lbs):""},k.prototype.getShareType=function(){return this.data.srctype||""},k.prototype.getShareTitle=function(){return escHTML(restHTML(this.data.rt_title))||""},k.prototype.getShareTitleUrl=function(){var t;switch(this.getShareType()){case 1:t=decodeURIComponent(this.data.rt_url);break;case 17:t=this.data.rt_source_url;break;case 50:t=this.getRTTid()?this.getRTTid().split("|")[0]:"http://rc.qzone.qq.com/mall";break;default:t=this.data.rt_url}return escHTML(t)},k.prototype.getRTPlatform=function(){var t;switch(this.data.platformid){case 50:t="qzone";break;case 51:t="pengyou";break;default:t="other"}return t},k.prototype.getShareSummary=function(){return escHTML(this.data.rt_summary||"")},k.prototype.getRTSourceHTML=function(){return 50==this.data.srctype?this.data.rt_source_name:this.data.rt_source_url?OOP.tpl.format('{{rt_source_name}}',this.data):this.data.rt_source_name||1!=this.data.srctype?this.data.rt_source_name:this.data.rt_uinname},k.prototype.getRTSourceUrl=function(){return this.data.rt_source_url||""},k.prototype.toJSON=function(t){var e;return{content:this.data.content,seed:this.seed,tid:this.data.tid,uin:this.data.uin,content_html:this.getHTML({wrapper:!1}),media_preview_html:this.getMediaPreviewHTML(),nickname:this.getAuthor().getName(),user_link:this.getAuthor().getUserLink(),avatar_url:this.getAuthor().getAvatarURL(),profile_url:this.getAuthor().getProfileURL(),created_time:this.getCreatedTime(),mod_comments:this.getCommentsHTML(),comment_count:this.getCommentCount()||0,comment_count_html:(e=this.getCommentCount(),!l&&e?"评论("+e+")":"评论"),retweet_count:this.getRTCount()||0,retweet_count_html:(e=this.getRTCount(),!l&&e?"转发("+e+")":"转发"),source_html:this.getSourceHTML(),location_html:this.getLocationHTML(),permalink:this.getPermalink(),forward_num:this.getForwardNum(),forward_num_html:(e=this.getForwardNum(),!l&&e?"转发("+e+")":"转发"),report_style:this.getUin()==QZONE.FP.getQzoneConfig("loginUin")?"none":"",delete_style:(this.getUin(),QZONE.FP.getQzoneConfig("loginUin"),""),rt_share_title:this.getShareTitle(),rt_share_title_url:this.getShareTitleUrl(),rt_share_summary:this.getShareSummary(),rt_source_html:this.getRTSourceHTML(),rt_source_url:this.getRTSourceUrl()}},k.prototype.getMediaPreviewHTML=function(){var t=['
    ',"{{photo_thumb_html}}","{{video_thumb_html}}","{{music_thumb_html}}","
    "].join(""),e={photo_thumb_html:this.getPhotoThumbHTML(),video_thumb_html:this.getVideoThumbHTML(),music_thumb_html:this.getMusicThumbHTML()};return OOP.tpl.format(t,e)},k.prototype.getPhotoThumbHTML=function(){var t=['
    ',"{{photo_list}}","
    "].join(""),e=[];if(!(0photo_thumb_html',{photo:i[a],share_title_url:this.getShareTitleUrl()}));return 4查看全部{{pictotal}}张照片',{pictotal:this.data.pictotal,rt_url:this.getShareTitleUrl()})),OOP.tpl.format(t,{photo_list:e.join("")})},k.prototype.getVideoThumbHTML=function(){var t=[],e=['
    ','','','','视频缩略图',"","","
    "].join("");if(!(0','
    ','','','',"",'
    ','

    ','{{name}}',"

    ",'

    {{singername}}

    ',"
    ",'
    ','','',"","
    ","
    ",'
    ','收起','
    ',"
    ",'
    ','',"
    ",""].join(""),e=[];if(!(0','",'
    ','
    ','
    ','\t{{user_link}} {{content_html}}',"
    ",'
    ','\t","
    ","{{location_html}}",'
    ','
    ','{{created_time}} 来自{{source_html}}',"
    ",'","
    ",'
    ','
    ','","\x3c!-- 评论区 --\x3e",'
    ',"{{mod_comments}}","\x3c!--发表框 默认--\x3e",'
    \x3c!--如果,发表框在评论列表上面,请加上 class mod_commnets_poster_top 谢谢--\x3e','
    ','
    ','
    我也说一句
    ',"
    ","
    ","
    ","
    ","
    ","
    ",'
    ',""].join("");return OOP.tpl.format(t,this.toJSON())},L=0,M={index:{url:"https://"+location.hostname+"/proxy/domain/taotao.qq.com/cgi-bin/emotion_cgi_get_mix_v6",idc:0},mine:{url:"https://"+location.hostname+"/proxy/domain/taotao.qq.com/cgi-bin/emotion_cgi_msglist_v6",idc:1},weibo:{url:"https://"+location.hostname+"/proxy/domain/taotao.qq.com/cgi-bin/emotion_cgi_get_tweet_msgs_v6",idc:0},feedlist:{url:"https://"+location.hostname+"/proxy/domain/taotao.qq.com/cgi-bin/emotion_cgi_feedlist_v6",idc:0},schedule:{url:"https://"+location.hostname+"/proxy/domain/taotao.qq.com/cgi-bin/emotion_cgi_timershuoshuolist_v6",idc:0}},c.api=c.api||{},c.api.get=function(e){var i={uin:(e=e||{}).uin||"",tid:e.tid||"",t1_source:e.t1_source||"1",ftype:0,sort:0,pos:0,num:20,code_version:1,need_private_comment:1,format:"jsonp"},t="http://taotao."+document.domain+"/cgi-bin/emotion_cgi_msgdetail_v6",a=new QZFL.JSONGetter(t,"_get"+Math.random(),i,"utf-8");a.onSuccess=function(t){a=(t=t||{}).result,void 0!==t.code&&(a={code:t.code,msg:t.message}),0==a.code?(t.create_time=t.createTime,t.commentlist=t.commentlist||[],t.reply_num=t.reply_num||t.replies||t.msgTotal||t.commentlist.length,t=new h(t),"function"==typeof e.success&&e.success(t),x({uin:i.uin,id:i.tid,src:9})):(""==a.msg||QZONE.FP.showMsgbox(a.msg,5,2e3),"function"==typeof e.error&&e.error(a)),QZONE.FP._t.TCISD.haboStat({stime:this.endTime-this.startTime,commandid:this._uri,resultcode:d.code,touin:QZONE.FP._t.g_iLoginUin})},a.onError=function(){QZONE.FP._t.TCISD.haboStat({stime:this.endTime-this.startTime,commandid:this._uri,resultcode:999,touin:QZONE.FP._t.g_iLoginUin})},a.onTimeout=function(){QZONE.FP._t.TCISD.haboStat({stime:1e4,commandid:this._uri,resultcode:998,touin:QZONE.FP._t.g_iLoginUin})},a.send("_Callback")},c.api.getPhotosForTopic=v,c.api.get_multi_details=T,c.api.visitReport=x,c.api.user=r,c.DataStorage=c.DataStorage||{},c.api.getMoodPhotos=function(i){var t;5e3!=i.appid?(t={tid0:(i=i||{}).tid||"",uin0:i.uin||0,source0:i.source||0,num:1,uin:i.loginUin,out_charset:"utf-8",format:"jsonp"},(t=new QZFL.JSONGetter("http://taotao.qq.com/cgi-bin/emotion_cgi_getmsgs_detail","get",t,"utf-8")).setReportRate&&t.setReportRate(15),new Date,t.onSuccess=function(t){var e,o;0===t.code?(t.data=t.data||{},t.data.msglist=t.data.msglist||[],e=new g({initialData:t.data}),o=[],e.each(function(t){for(var e=t.getPhotosSync(),i=0;i