"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};!function(n,t){function e(n,t){Object.getOwnPropertyNames(n).forEach(function(o){void 0!==t[o]&&null!==t[o]&&("object"===_typeof(t[o])&&"contentEl"!==o?e(n[o],t[o]):n[o]=t[o])},null)}function o(){var t=n.scrollY,e=t/100,o=setInterval(function(){t-=e,n.scrollTo(0,t),t<=0&&clearInterval(o)},10)}function s(){var e=t.createElement("div");if(e.innerHTML=m,t.body.appendChild(e),c.contentEl&&c.contentEl.style){var s=c.contentEl.getBoundingClientRect().left,i=c.contentEl.clientWidth;t.querySelector(".csdn-side-toolbar").style.right="auto",t.querySelector(".csdn-side-toolbar").style.left=s+i+8+"px"}if(c.goTop.isShow){var a=function(){n.scrollY>=r?l.classList.remove("go-top-hide"):l.classList.add("go-top-hide")},l=t.querySelector("a.option-box[data-type='gotop']"),r=n.outerHeight,d=t.body.scrollHeight;a(),n.addEventListener("scroll",a,!1),n.addEventListener("resize",function(){r=n.outerHeight,d=t.body.scrollHeight,a()}),l.addEventListener("click",o,!1)}if(c.cs.isShow){t.querySelector("a.option-box[data-type='cs']").addEventListener("click",function(){null!==c.cs.clickFun?c.cs.clickFun():n.open(c.cs.clickUrl,"_blank")},!1)}if(c.help.isShow){t.querySelector("a.option-box[data-type='cs']").addEventListener("click",function(){null!==c.help.clickFun?c.help.clickFun():n.open(c.help.clickUrl,"_blank")},!1)}if(c.guide.isShow){t.querySelector("a.option-box[data-type='guide']").addEventListener("click",function(){null!==c.guide.clickFun?c.guide.clickFun():n.open(c.guide.clickUrl,"_blank")},!1)}}var c=(location.protocol.substr(0,4),{url:"https://g.csdnimg.cn/side-toolbar/3.0",opinion:{isShow:!1},qr:{isShow:!0,btnImgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/qr.png",data:[{imgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/qr_wechat.png",desc:"关注公众号"},{imgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/qr_app.png",desc:"下载APP"}]},cs:{isShow:!0,btnImgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/kefu.png",clickUrl:"https://csdn.s2.udesk.cn/im_client/?web_plugin_id=29181",clickFun:null},help:{isShow:!1,btnImgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/bangzhucopy.png",clickUrl:"",clickFun:null},report:{isShow:!1,btnImgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/jubaocopy.png"},goTop:{isShow:!0,btnImgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/fanhuidingbucopy.png"},guide:{isShow:!1,btnImgSrc:"https://g.csdnimg.cn/side-toolbar/3.0/images/guide.png",clickUrl:"https://blogdev.blog.csdn.net/article/details/108241158",clickFun:null},theme:"white",contentEl:null,afterFinished:null}),i={options:{},goTop:o};void 0===n.csdn&&(n.csdn={}),n.csdn.sideToolbar=Object.assign(i,n.csdn.sideToolbar);var a=n.csdn.sideToolbar.options;!function(){e(c,a)}(),function(n){var e=t.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=n,t.getElementsByTagName("head")[0].appendChild(e)}(c.url+"/side-toolbar.css");var l="",r="",d="",p="",g="",u="",h="";if(c.opinion.isShow&&(l='\n \n \n 意见
反馈\n \n '),c.guide.isShow&&(r='\n \n \n 新手
引导\n \n '),c.qr.isShow){var b="";c.qr.data.forEach(function(n){b+='\n
'+n.desc+"
\n