';
break;
case "side3":
o = '
';
break;
case "comments":
o = '
';
break;
case "related":
o = '
'
}
var n = i.feed.entry;
if (n) {
if ("related" == t) {
1 == n.length && "recent" != s && (n = (i = getRecentPostsData(t, a)).feed.entry);
for (let e = 0; e < n.length; e++)
if (1 != n.length && getPostID(n, e) == r) {
n.splice(e, 1);
break
}
}
for (var c = 0, l = n; c < l.length; c++) o += getPostContent(t, l, c, a)
} else switch
case "mega":
o = '
' + msgError() + "
";
break;
default:
o = msgError()
}
switch
case "mega":
o += "
", e.append(o).addClass("mega"), 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:
o += "
", e.html(o)
}
e.find("span.entry-image").templateifyThumb()
},
error: function() {
switch
case "mega":
e.append('
' + msgError() + "
");
break;
default:
e.html(msgError())
}
}
})
}
function getMega(e, t, a, s, r) {
r.match("getposts") && ("mega" == t ? getPosts(e, t, a, s) : e.append('
' + msgError() + "
"))
}
function getFeatured(e, t, a, s, r) {
if (r.match("getposts")) {
if ("feat1" == t || "feat2" == t || "feat3" == t) return getPosts(e, t, a, s);
e.html(msgError())
}
}
function getBlock(e, t, a, s, r, i, o) {
if (r.match("getposts")) {
if ("block" == t || "grid" == t || "grid2" == t || "column" == t || "video" == t) return 0 != s && (i = "recent" == s ? "/search" : "/search/label/" + s, o = "" != viewAllText.trim() ? viewAllText : exportify.viewAll, e.parent().find(".widget-title").html('
' + s + "
")), getPosts(e, t, a, s);
e.html(msgError())
}
}
function getWidget(e, t, a, s, r) {
r.match("getposts") && ("side1" == t || "side2" == t || "side3" == t || "comments" == t ? getPosts(e, t, a, s) : e.html(msgError()))
}
function getRelated(e, t, a, s, r) {
getPosts(e, t, a, s, r)
}
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
}
function beautiAvatar(e) {
$(e).attr("src", function(e, t, a) {
return a = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsBGZQYpq4eBccpUt4PXLK9XDBBSQbz4ZgiXU4-j3ODxgRPcLyckvb9-g1J9CbCg3AlJ1e3Yi6ROCI3v8IH5DSsiQGEioDBxRFyIh4tGUeClHT26pTRvXbhje5yvD0B9whMEUTZEhdnNs/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 templateifyFixedSidebar(e) {
$(e).each(function(e, t) {
fixedSidebar = "undefined" == typeof fixedSidebar || fixedSidebar, 1 == fixedSidebar && (e = $(".header-inner").height(), t = 1 == fixedMenu ? e + 30 : 30, $(this).theiaStickySidebar({
containerSelector: "#content-wrapper > .container",
additionalMarginTop: t,
additionalMarginBottom: 30
}))
})
}
fixedMenu = "undefined" == typeof fixedMenu || fixedMenu, viewAllText = "undefined" != typeof viewAllText ? viewAllText : templateifyMessages.viewAll, $("#pikify-pro-main-nav").templateifyMenu().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
a.preventDefault(), e.toggleClass("is-dark"), t = "true" != t ? "true" : "false", localStorage.darkMode = t, darkModeLogo
}))
}), $(".main-title a.title-link").each(function() {
"" != viewAllText.trim() && $(this).html(viewAllText)
}), $(".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())
}), $(".post-body a").each(function() {
var e = $(this),
t = e.text(),
a = t.toLowerCase(),
s = templateifyShortCode(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 = templateifyShortCode(t, "text"),
s = templateifyShortCode(t, "icon"),
r = templateifyShortCode(t, "color"),
i = templateifyShortCode(t, "size"),
o = templateifyShortCode(t, "info"),
n = e.parent().attr("style");
e.addClass(0 != i ? "button btn x2" : "button btn").text(a.replace("%s", "$")), n && n.match("center") && e.addClass("is-c"), 0 != o ? (e.addClass(0 != s ? "x2 " + s : "x2"), e.append('
' + o.replace("%s", "$") + "")) : 0 != s && e.addClass(s), 0 != r && e.addClass("color").attr("style", "background-color:" + r + ";")
}))
}), $(".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("{tocify}") && (t = 0 != (t = templateifyShortCode(t, "title")) ? t : "Table of Contents", e.replaceWith('
'), $(".templateify-toc-title").each(function() {
var e = $(this);
e.click(function
t.preventDefault(), e.toggleClass("is-expanded"), $("#templateify-toc").slideToggle(170)
})
}), $("#templateify-toc").toc({
content: "#post-body",
headings: "h2,h3,h4"
}), $("#templateify-toc li a").each(function() {
var e = $(this);
e.click(function
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())
}), $("#pikify-pro-new-before-ad").each(function() {
var e = $(this);
e.length && $("#before-ad").appendTo(e)
}), $("#pikify-pro-new-after-ad").each(function() {
var e = $(this);
e.length && $("#after-ad").appendTo(e)
}), $("#pikify-pro-main-before-ad .widget").each(function() {
var e = $(this);
e.length && e.appendTo($("#before-ad"))
}), $("#pikify-pro-main-after-ad .widget").each(function() {
var e = $(this);
e.length && e.appendTo($("#after-ad"))
}), $("#pikify-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 .templateify-window").click(function(e) {
e.preventDefault();
var t = $(this),
a = t.data("url"),
s = t.data("width"),
r = t.data("height");
window.open(a, "_blank", "scrollbars=yes,resizable=yes,toolbar=0,width=" + s + ",height=" + r + ",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")))
}), $("#pikify-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, "mega", 5, templateifyShortCode(s, "label"), e))
}), $("#featured .HTML .widget-content").each(function(e, t, a) {
var s = $(this),
r = $(window),
i = s.data("shortcode");
i && (mtc = i.toLowerCase(), e = templateifyShortCode(i, "label"), t = templateifyShortCode(i, "style"), a = "feat2" == (t = 0 != t ? "feat" + t : "feat1") || "feat3" == t ? 5 : 4, r.on("load resize scroll", function i() {
r.scrollTop() + r.height() >= s.offset().top && (r.off("load resize scroll", i), getFeatured(s, t, a, e, mtc))
}).trigger("scroll"))
}), $(".content-section .HTML .widget-content").each(function(e, t, a, s, r) {
var i = $(this),
o = $(window),
n = i.data("shortcode");
n && (mtc = n.toLowerCase(), e = templateifyShortCode(n, "results"), t = templateifyShortCode(n, "label"), a = templateifyShortCode(n, "type"), templateifyShortCode(n, "col"), r = 0 != (r = templateifyShortCode(n, "style")) ? r : "1", "grid" == (a = "grid2" != a && a) && (a = "2" != r ? "grid" : "grid" + r), "col-left" != a && "col-right" != a || (i.parent().addClass("column-style").attr("data-align", "col-left" == a ? "left" : "right"), a = "column"), "video" == a && "1" == r && i.parent().addClass("video-style"), o.on("load resize scroll", function s() {
o.scrollTop() + o.height() >= i.offset().top && (o.off("load resize scroll", s), getBlock(i, a, e, t, mtc))
}).trigger("scroll"))
}), $(".templateify-section .HTML .widget-content").each(function(e, t, a, s, r) {
var i = $(this),
o = $(window),
n = i.data("shortcode"),
c = i.data("is");
n && (e = n.toLowerCase(), t = templateifyShortCode(n, "results"), a = templateifyShortCode(n, "label"), s = templateifyShortCode(n, "type"), r = 0 != (r = templateifyShortCode(n, "style")) ? r : "1", s = "posts" != (s = 0 != s ? s : "posts") ? s : "side" + r, c && "footer" == c && (s = "side1" != s ? s : "side2"), o.on("load resize scroll", function r() {
o.scrollTop() + o.height() >= i.offset().top && (o.off("load resize scroll", r), getWidget(i, s, t, a, e))
}).trigger("scroll"))
}), $("#pikify-pro-related-posts .HTML").each(function(e, t) {
var a = $(this).data("shortcode");
if (a) {
function s() {
return e = templateifyShortCode(a, "title"), t = templateifyShortCode(a, "results"), [e, t]
}
$("#related-wrap").each(function(e, t, a) {
var r = $(this),
i = r.find(".related-tag"),
o = $(window),
n = r.find(".related-content"),
c = s();
e = 0 != c[1] ? c[1] : 3, 0 != c[0] && r.find(".related-title .title > span").text(c[0]), t = i.data("label"), a = i.data("id"), o.on("load resize scroll", function s() {
o.scrollTop() + o.height() >= n.offset().top && (o.off("load resize scroll", s), getRelated(n, "related", e, t, a))
}).trigger("scroll")
})
}
}), $(".pikify-pro-blog-post-comments").each(function() {
var e = $(this),
t = e.data("shortcode"),
a = templateifyShortCode(t, "type"),
s = "comments-system-" + a,
r = e.find("#top-continue .comment-reply");
switch (a) {
case "disqus":
var i = templateifyShortCode(t, "shortname");
0 != i && (disqus_shortname = i), disqusComments(disqus_shortname), e.addClass(s + " is-visible");
break;
case "facebook":
var o = templateifyShortCode(t, "lang"),
n = 0 != o ? "https://connect.facebook.net/" + o + "/all.js#xfbml=1&version=v11.0" : "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v11.0";
$("head").append(''), e.addClass(s).find("#comments").html('
'), e.addClass("is-visible");
break;
case "hide":
e.addClass("is-hidden");
break;
default:
e.addClass("comments-system-blogger is-visible"), $(".entry-meta .entry-comments-link").addClass("show"), r.addClass("btn"), beautiAvatar(".avatar-image-container img")
}
var c = e.find(".comments .comment-reply"),
l = e.find(".comments #top-continue"),
d = e.find("#top-ce.comment-replybox-thread");
c.click(function(e) {
e.preventDefault(), l.show(), d.hide()
}), l.click(function(e) {
e.preventDefault(), l.hide(), d.show()
})
}), $(function() {
$(".entry-image-wrap .entry-image,.author-avatar-wrap .author-avatar").templateifyThumb(), $(".mobile-logo").each(function() {
var e = $(this),
t = $(".main-logo a").clone();
t.find("h1").remove(), t.appendTo(e)
}), $("#mobile-menu").each(function() {
var e = $(this),
t = $("#pikify-pro-main-nav-menu").clone();
t.attr("id", "main-mobile-nav"), t.find(".mega-items").remove(), t.find(".mega-menu > a").each(function(e, t) {
var a = $(this),
s = a.data("shortcode");
s && (t = "recent" == (e = templateifyShortCode(s, "label")) ? "/search" : "/search/label/" + e, a.attr("href", t))
}), t.appendTo(e), $(".mobile-menu-toggle, .hide-mobile-menu, .overlay").click(function(e) {
e.preventDefault(), $("body").toggleClass("nav-active")
}), $(".mobile-menu .has-sub > a").after(''), $(".mobile-menu .mega-menu").find(".submenu-toggle").remove(), $(".mobile-menu ul li .submenu-toggle").click(function() {
var e = $(this);
e.parent().hasClass("has-sub") && (e.parent().hasClass("expanded") ? e.parent().removeClass("expanded").find("> .m-sub").slideToggle(170) : e.parent().addClass("expanded").children(".m-sub").slideToggle(170))
})
}), $(".mm-footer .mm-social").each(function() {
var e = $(this);
$("#topbar ul.social").clone().appendTo(e)
}), $(".mm-footer .mm-menu").each(function() {
var e = $(this);
$("#topbar ul.link-list").clone().appendTo(e)
}), $(".header-inner").each(function() {
var e = $(this);
if (1 == fixedMenu && e.length > 0) {
var t = $(document).scrollTop(),
a = e.offset().top,
s = e.height(),
r = a + s + s;
$(window).scroll(function(s) {
(s = $(document).scrollTop()) > r ? e.addClass("is-fixed") : (s < a || s <= 1) && e.removeClass("is-fixed"), s < t ? setTimeout(function() {
e.addClass("show")
}, 200) : setTimeout(function() {
e.removeClass("show")
}, 200), t = s
})
}
}), templateifyFixedSidebar("#main-wrapper, #sidebar-wrapper"), $("#post-body iframe").each(function() {
var e = $(this);
e.attr("src").match("www.youtube.com") && e.wrap('
')
}), $("p.comment-content").each(function() {
var e = $(this);
e.replaceText(/(https:\/\/\S+(\.png|\.jpeg|\.jpg|\.gif))/g, '
'), e.replaceText(/(?:https:\/\/)?(?:www\.)?(?:youtube\.com)\/(?:watch\?v=)?(.+)/g, '
[embed]https://www.youtube.com/watch?v=$1[/embed]
')
}), $("#pikify-pro-load-more-link").each(function() {
var e = $(this),
t = e.data("load");
t && e.show(), e.click(function(a) {
a.preventDefault(), e.hide(), $.ajax({
url: t,
success: function(a) {
var s = $(a).find(".blog-posts");
s.find(".index-post").addClass("post-animated post-fadeInUp"), $(".blog-posts").append(s.html()), (t = $(a).find("#pikify-pro-load-more-link").data("load")) ? e.show() : (e.hide(), $("#blog-pager .no-more").addClass("show"))
},
beforeSend: function() {
$("#blog-pager .loading").show()
},
complete: function() {
$("#blog-pager .loading").hide(), $(".index-post .entry-image-wrap .entry-image").templateifyThumb(), templateifyFixedSidebar("#main-wrapper, #sidebar-wrapper")
}
})
})
}), $("#pikify-pro-cookie-consent").each(function() {
var e = $(this),
t = e.find(".widget.Text").data("shortcode"),
a = e.find(".consent-button");
e.length > 0 && (t && (ok = templateifyShortCode(t, "ok"), days = templateifyShortCode(t, "days"), 0 != ok && a.text(ok), days = 0 != days ? Number(days) : 7), "1" !== $.cookie("pikify_pro_cookie_consent") && (e.css("display", "block"), $(window).on("load", function() {
e.addClass("is-visible")
})), a.off("click").click(function
t.preventDefault(), t.stopPropagation(), $.cookie("pikify_pro_cookie_consent", "1", {
expires: days,
path: "https://www.der-postillon.com/"
}), e.removeClass("is-visible"), setTimeout(function() {
e.css("display", "none")
}, 500)
}), cookieChoices = {})
}), $("#back-top").each(function() {
var e = $(this);
$(window).on("scroll", function() {
$(this).scrollTop() >= 100 ? e.addClass("show") : e.removeClass("show"), e.offset().top >= $("#footer-wrapper").offset().top - 34 ? e.addClass("on-footer") : e.removeClass("on-footer")
}), e.click(function(e) {
e.preventDefault(), $("html, body").animate({
scrollTop: 0
}, 500)
})
})
});
//]]>