“}function getPostContent(e,t,a,s){var o=””,r=getPostLink(t,a),n=getPostTitle(t,a),i=getPostAuthor(t,a),c=getPostDate(t,a),l=getPostImage(t,a),d=getPostImageType(l,a),p=getPostMeta(i,c);switch(e){case”msimple”:o+=’
“;break;case”comments”:o+=getPostComments(t,a,r,n);break;case”related”:a!=s-1&&(o+=’
“)}return o}function getRecentPostsData(e,t,a){return $.ajax({url:getFeedUrl(e,t,”recent”),type:”GET”,async:!1,dataType:”json”,cache:!0,success:function(e){return e}}).responseJSON}function getPosts(e,t,a,s,o){s=0!=s?s:”unlabeled”,a=”related”!=t?a:Number(a)+1,$.ajax({url:getFeedUrl(t,a,s),type:”GET”,dataType:”json”,cache:!0,beforeSend:function(a){switch(t){case”default”:case”comments”:case”related”:e.html(beforeLoader()).parent().addClass(“type-“+t)}},success:function(r){var n=””;switch(t){case”msimple”:n=’
‘}var i=r.feed.entry;if(i){if(“related”==t){1==i.length&&”recent”!=s&&(i=(r=getRecentPostsData(t,a)).feed.entry);for(let e=0;e
“;break;default:n=msgError()}switch(t){case”msimple”:n+=”
“,e.append(n).addClass(“msimple”),e.find(“a:first”).attr(“href”,function(e,t){switch(s){case”recent”:t=t.replace(t,”/search”);break;default:t=t.replace(t,”/search/label/”+s)}return t});break;default:n+=”
“,e.html(n)}e.find(“span.entry-image”).pbtThumb()},error:function(){switch(t){case”msimple”:e.append(‘
‘+msgError()+”
“);break;default:e.html(msgError())}}})}function getMega(e,t,a,s,o){o.match(“getposts”)&&(“msimple”==t?getPosts(e,t,a,s):e.append(‘
‘+msgError()+”
“))}function getWidget(e,t,a,s,o){o.match(“getposts”)&&(“default”==t||”comments”==t?getPosts(e,t,a,s):e.html(msgError()))}function getRelated(e,t,a,s,o){getPosts(e,t,a,s,o)}function disqusComments(e){var t=document.createElement(“script”);t.type=”text/javascript”,t.async=!0,t.src=”https://”+e+”.disqus.com/blogger_item.js”,document.getElementsByTagName(“head”)[0].appendChild(t)}function beautiAvatar(e){$(e).attr(“src”,function(e,t,a){return a=”//1.bp.blogspot.com/-QN2lgvtYZco/YN3mUSryAVI/AAAAAAAAADs/KrR-etCcvUMcPl06jopTs9pzq59IAXhMQCLcBGAsYHQ/s35/avatar.jpg”,t=(t=(t=t.replace(“//resources.blogblog.com/img/blank.gif”,a)).replace(“//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SA=s35”,a)).replace(“/s35″,”/s39″)})}function pbtFixedSidebar(e){$(e).each(function(e){fixedSidebar=”undefined”==typeof fixedSidebar||fixedSidebar,1==fixedSidebar&&(e=1==fixedMenu?93:25,$(this).theiaStickySidebar({containerSelector:”#content-wrapper > .container”,additionalMarginTop:e,additionalMarginBottom:25}))})}fixedMenu=”undefined”==typeof fixedMenu||fixedMenu,viewAllText=”undefined”!=typeof viewAllText?viewAllText:pbtMessages.viewAll,$(“#starter-pro-main-nav”).pbtMenu().find(“.widget”).addClass(“show-menu”),$(“.show-search”).click(function(e){e.preventDefault(),$(“body”).addClass(“search-active”),$(“#main-search-wrap”).fadeIn(170).find(“input”).focus()}),$(“.search-close”).click(function(e){e.preventDefault(),$(“body”).removeClass(“search-active”),$(“#main-search-wrap”).fadeOut(170).find(“input”).blur()}),$(“html”).each(function(){var e=$(this),t=localStorage.darkMode;darkMode=”undefined”!=typeof darkMode&&darkMode,userDarkMode=”undefined”==typeof userDarkMode||userDarkMode,1!=darkMode&&0!=userDarkMode&&(“true”==t&&(e.addClass(“is-dark”),darkModeLogo(t)),$(“.darkmode-toggle”).click(function(a){a.preventDefault(),e.toggleClass(“is-dark”),t=”true”!=t?”true”:”false”,localStorage.darkMode=t,darkModeLogo(t)}))}),$(“.sidebar .social-icons a”).each(function(e){var t=$(this),a=t.attr(“href”).split(“#”);a[1]&&””!=(e=a[1].trim())&&t.append(‘‘+e+”“),t.attr(“href”,a[0].trim())}),$(“.MailChimp .widget-content”).each(function(e,t){var a=$(this),s=a.data(“shortcode”);s&&(e=pbtShortCode(s,”title”),t=pbtShortCode(s,”text”),0!=e&&a.find(“.mailchimp-title”).text(e),0!=t&&a.find(“.mailchimp-text”).text(t))}),$(“.post-body a”).each(function(){var e=$(this),t=e.text(),a=t.toLowerCase(),s=pbtShortCode(t,”text”);a.match(“getbutton”)&&0!=s&&(e.replaceText(/([^{\}]+(?=}))/g,”$1“),e.find(“em”).replaceText(“$”,”%s”),e.each(function(){var e=$(this),t=e.text(),a=pbtShortCode(t,”text”),s=pbtShortCode(t,”icon”),o=pbtShortCode(t,”color”),r=pbtShortCode(t,”size”),n=pbtShortCode(t,”info”),i=e.parent().attr(“style”);e.addClass(0!=r?”button btn x2″:”button btn”).text(a.replace(“%s”,”$”)),i&&i.match(“center”)&&e.addClass(“is-c”),0!=n?(e.addClass(0!=s?”x2 “+s:”x2”),e.append(‘‘+n.replace(“%s”,”$”)+”“)):0!=s&&e.addClass(s),0!=o&&e.addClass(“color”).attr(“style”,”background-color:”+o+”;”)}))}),$(“.post-body b”).each(function(){var e=$(this),t=e.text(),a=t.toLowerCase().trim();a.match(/(?:\$ads\=\{1\})/g)&&e.replaceWith(‘
‘),a.match(/(?:\$ads\=\{2\})/g)&&e.replaceWith(‘
‘),a.match(“{gettoc}”)&&(t=0!=(t=pbtShortCode(t,”title”))?t:”Table of Contents”,e.replaceWith(‘
‘),$(“.pbt-toc-title”).each(function(){var e=$(this);e.click(function(t){t.preventDefault(),e.toggleClass(“is-expanded”),$(“#pbt-toc”).slideToggle(170)})}),$(“#pbt-toc”).toc({content:”#post-body”,headings:”h2,h3,h4″}),$(“#pbt-toc li a”).each(function(){var e=$(this);e.click(function(t){return t.preventDefault(),$(“html,body”).animate({scrollTop:$(e.attr(“href”)).offset().top-20},500),!1})})),a.match(“{contactform}”)&&(e.replaceWith(‘
‘),$(“#post-body .contact-form-widget”).append($(“#ContactForm1 .contact-form-form”))),a.match(“{leftsidebar}”)&&($(“body”).addClass(“is-left”),e.remove()),a.match(“{rightsidebar}”)&&($(“body”).addClass(“is-right”).removeClass(“is-left”),e.remove()),a.match(“{fullwidth}”)&&($(“body”).addClass(“no-sidebar”),e.remove())}),$(“#starter-pro-new-before-ad”).each(function(){var e=$(this);e.length&&$(“#before-ad”).appendTo(e)}),$(“#starter-pro-new-after-ad”).each(function(){var e=$(this);e.length&&$(“#after-ad”).appendTo(e)}),$(“#starter-pro-main-before-ad .widget”).each(function(){var e=$(this);e.length&&e.appendTo($(“#before-ad”))}),$(“#starter-pro-main-after-ad .widget”).each(function(){var e=$(this);e.length&&e.appendTo($(“#after-ad”))}),$(“#starter-pro-post-footer-ads .widget”).each(function(){var e=$(this);e.length&&e.appendTo($(“#post-footer-ads”))}),$(“.post-body blockquote”).each(function(){var e=$(this),t=e.text().toLowerCase().trim(),a=e.html();if(t.match(“{alertsuccess}”)){const t=a.replace(“{alertSuccess}”,””);e.replaceWith(‘
‘+t+”
“)}if(t.match(“{alertinfo}”)){const t=a.replace(“{alertInfo}”,””);e.replaceWith(‘
‘+t+”
“)}if(t.match(“{alertwarning}”)){const t=a.replace(“{alertWarning}”,””);e.replaceWith(‘
‘+t+”
“)}if(t.match(“{alerterror}”)){const t=a.replace(“{alertError}”,””);e.replaceWith(‘
‘+t+”
“)}if(t.match(“{codebox}”)){const t=a.replace(“{codeBox}”,””);e.replaceWith(‘
'+t+"
“)}}),$(“.share-links .pbt-window”).click(function(e){e.preventDefault();var t=$(this),a=t.data(“url”),s=t.data(“width”),o=t.data(“height”);window.open(a,”_blank”,”scrollbars=yes,resizable=yes,toolbar=0,width=”+s+”,height=”+o+”,top=50,left=50″).focus()}),$(“.share-links .show-hid a”).click(function(e){e.preventDefault(),$(this).parent().parent().toggleClass(“expanded”)}),$(“.about-author .author-text”).each(function(){var e=$(this),t=e.find(“a”);t.length&&(t.each(function(){var e=$(this),t=e.text().trim(),a=e.attr(“href”);e.replaceWith(‘
‘)}),e.parent().append(‘
‘),e.find(“li”).appendTo(e.parent().find(“.author-links”)))}),$(“#starter-pro-main-nav-menu li.mega-menu”).each(function(e,t){var a=$(this),s=a.find(“a”).data(“shortcode”);s&&(e=s.toLowerCase(),getMega(a,”msimple”,5,pbtShortCode(s,”label”),e))}),$(“#sidebar .HTML .widget-content”).each(function(e,t,a,s){var o=$(this),r=$(window),n=o.data(“shortcode”);n&&(e=n.toLowerCase(),t=pbtShortCode(n,”results”),a=pbtShortCode(n,”label”),s=pbtShortCode(n,”type”),r.on(“load resize scroll”,function n(){r.scrollTop()+r.height()>=o.offset().top&&(r.off(“load resize scroll”,n),getWidget(o,s,t,a,e))}).trigger(“scroll”))}),$(“#starter-pro-related-posts .HTML”).each(function(e,t){var a=$(this).data(“shortcode”);if(a){function s(){return e=pbtShortCode(a,”title”),t=pbtShortCode(a,”results”),[e,t]}$(“#related-wrap”).each(function(e,t,a){var o=$(this),r=o.find(“.related-tag”),n=$(window),i=o.find(“.starter-pro-related-content”),c=s();e=0!=c[1]?c[1]:3,0!=c[0]&&o.find(“.related-title .title > span”).text(c[0]),t=r.data(“label”),a=r.data(“id”),n.on(“load resize scroll”,function s(){n.scrollTop()+n.height()>=i.offset().top&&(n.off(“load resize scroll”,s),getRelated(i,”related”,e,t,a))}).trigger(“scroll”)})}}),$(“.starter-pro-blog-post-comments”).each(function(){var e=$(this),t=e.data(“shortcode”),a=pbtShortCode(t,”type”),s=”comments-system-“+a,o=e.find(“#top-continue .comment-reply”);switch(a){case”disqus”:var r=pbtShortCode(t,”shortname”);0!=r&&(disqus_shortname=r),disqusComments(disqus_shortname),e.addClass(s+” is-visible”);break;case”facebook”:var n=pbtShortCode(t,”lang”),i=0!=n?”https://connect.facebook.net/”+n+”/all.js#xfbml=1&version=v11.0″:”https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v11.0″;$(“head”).append(‘
classiccarsconnection