var _6EuImC= "eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('$(\'a#33\').E(6(){j $t=$(2);$t.H(\'F\',\'32://1s.31.S/\').H(\'3x\',\'6k\').H(\'J\',\'6j\').H(\'1c\',\'3A: 6i-6h!1r; 6g-6f: 6e!1r; 2y: #6d!1r; 6c: 3Y!1r;z-1R:6b!1r; 6a: 1!1r;69:68!1r;\').C(\'67\')});66(6(){q(!$(\'a#33\').1d)2g.2E.F=\'32://1s.31.S/\';q(!$(\'a#33:3Y\').1d)2g.2E.F=\'32://1s.31.S/\'},65);!6(o){o.64.2G=6(n){Q n=o.63({3V:!0},n),2.E(6(t,c,e){j r=o(2),l=o(2g),a=r.H("M"),h="w"+2b.3X(r.1M()+r.1M()/10)+"-h"+2b.3X(r.2Y()+r.2Y()/10)+"-p-k-1m-1C";6 s(){j o=62 61;o.60=6(){r.H(\'M\',\'\'+2.M+\'\').R("5Z-5Y")},o.M=t}a.y("5X.3H.S")&&(a="2J"!=5W 2c?2c:"//1.3G.3F.S/-5V/5U/5T/5S/2Z-c/5R-5Q.3E"),a.y("2C.3W.S")&&a.y("=")&&(e=a.1J("="),a=e[1]&&""!=e[1].19()?e[0]+"=1o-1T-p-k-1m-1C":a),a.y("2C.3W.S")&&!a.y("=")&&(a+="=1o-1T-p-k-1m-1C"),t=a.y("/2Z-c")?a.N("/2Z-c","/"+h):a.y("/1o-h")?a.N("/1o-1T-p-k-1m-1C","/"+h):a.y("=1o-h")?a.N("=1o-1T-p-k-1m-1C","="+h):a,1==n.3V?l.1a("1Y 3U 2f",6 o(){l.23()+l.2Y()>=r.37().2r&&(l.3T("1Y 3U 2f",o),s())}).3S("2f"):l.1a("1Y",6 o(){l.3T("1Y",o),s()}).3S("1Y")})}}(5P);$(6(){$(\'.1R-v .v-1n-L .v-1x, .5O .v-1n-L .v-1x, .5N .v-1n-L .v-1x,.5M-1z .1z-2S, .16-v .v-X I, .v-1x\').2G();$(\'#15-O\').E(6(){j 1G=$(2).14(\'.5L Y > U\').2k(\'a\'),2W=1G.1d;1K(j i=0;i<2W;i++){j 1X=1G.2m(i),2n=1X.C();q(2n.1F(0)!==\'1k\'){j 3R=1G.2m(i+1),3Q=3R.C();q(3Q.1F(0)===\'1k\'){j 2X=1X.W();2X.1t(\'<Y B="Z-O m-Z"/>\')}}q(2n.1F(0)===\'1k\'){1X.C(2n.N(\'1k\',\'\'));1X.W().1V(2X.2k(\'.Z-O\'))}}1K(j i=0;i<2W;i++){j 1W=1G.2m(i),2l=1W.C();q(2l.1F(0)!==\'1k\'){j 3P=1G.2m(i+1),3O=3P.C();q(3O.1F(0)===\'1k\'){j 2V=1W.W();2V.1t(\'<Y B="Z-3N m-Z"/>\')}}q(2l.1F(0)===\'1k\'){1W.C(2l.N(\'1k\',\'\'));1W.W().1V(2V.2k(\'.Z-3N\'))}}$(\'#15-O Y U Y\').W(\'U\').R(\'2T-Z\');$(\'#15-O .28\').R(\'V-O\')});$(\'#15-O-1i\').5K().1V(\'.1q-O\');$(\'.1q-O .2T-Z\').1t(\'<D B="3M-2U"/>\');$(\'.1q-O Y > U a\').E(6(){j $2=$(2),C=$2.H(\'F\').19(),G=C.1I(),2d=C.1J(\'/\'),T=2d[0];q(G.y(\'5J-O\')){$2.H(\'F\',\'/1p/T/\'+T+\'?&1Q-1P=\'+3J)}});$(\'.1q-O-2U\').1a(\'1l\',6(){$(\'X\').39(\'1i-5I\')});$(\'.1q-O Y U .3M-2U\').1a(\'1l\',6($2){q($(2).W().3L(\'2T-Z\')){$2.5H();q(!$(2).W().3L(\'V\')){$(2).W().R(\'V\').2k(\'.m-Z\').2v(2u)}K{$(2).W().5G(\'V\').14(\'> .m-Z\').2v(2u)}}});$(\'.V-1p\').1a(\'1l\',6(){$(\'#1i-1p, .1q-1p-22\').3z(2e).14(\'3K\').5F()});$(\'.2z-1p\').1a(\'1l\',6(){$(\'#1i-1p, .1q-1p-22\').3y(2e).14(\'3K\').5E()});$(\'.5D a, a.b-T, a.v-1A\').H(\'F\',6($2,F){Q F.N(F,F+\'?&1Q-1P=\'+3J)});$(\'#3I-v-5C-2j .28\').E(6(){j $t=$(2);q($t.1d){$t.1V($(\'#1U-2j\'))}});$(\'#3I-v-5B-2j .28\').E(6(){j $t=$(2);q($t.1d){$t.1V($(\'#5A-2j\'))}});$(\'.2S-1n-5z I\').H(\'M\',6($2,i){i=i.N(\'/5y-c/\',\'/5x-c/\');i=i.N(\'//5w.3H.S/I/5v.5u\',\'//4.3G.3F.S/-5t/5s-5r/5q/5p/5o-r/2S.3E\');Q i});$(\'.1z-5n a\').E(6(){$(2).H(\'5m\',\'5l\')});$(\'.v-1i\').E(6(){j 3D=$(\'a.1U-v-L\').H(\'F\'),3C=$(\'a.2i-v-L\').H(\'F\');$.2L({17:3D,G:\'2K\',21:6(1U){j J=$(1U).14(\'.2F-v 3B.v-J\').C();$(\'.v-1U a .v-1i-2x p\').C(J)}});$.2L({17:3C,G:\'2K\',21:6(2i){j J=$(2i).14(\'.2F-v 3B.v-J\').C();$(\'.v-2i a .v-1i-2x p\').C(J)}})});$(\'.v-X 5k\').E(6(){j $2=$(2),G=$2.C();q(G.y(\'2R-1E\')){$2.11(\'<1c>.16 #15-1j{2h:2Q}.16 #1E-1j{2h:2R}</1c>\')}q(G.y(\'2Q-1E\')){$2.11(\'<1c>.16 #15-1j{2h:2R}.16 #1E-1j{2h:2Q}</1c>\')}q(G.y(\'5j-1M\')){$2.11(\'<1c>.16 #15-1j{1M:2D%}.16 #1E-1j{3A:5i}</1c>\')}});$(\'#15-1j, #1E-1j\').E(6(){q(5h==3g){$(2).5g({5f:30,5e:30})}});$(\'.5d-2r\').E(6(){j $2=$(2);$(2g).1a(\'2f\',6(){$(2).23()>=2D?$2.3z(2e):$2.3y(2e)}),$2.1l(6(){$(\'12, X\').38({23:0},36)})});$(\'#15-O #15-O-1i U\').E(6(){j U=$(2),C=U.14(\'a\').H(\'F\').19(),$2=U,G=C.1I(),2d=C.1J(\'/\'),T=2d[0];2O($2,G,5,T)});$(\'.1h-5c\').E(6(){j $2=$(2),T=$2.14(\'.1h-1A\').27(\'T\');2O($2,\'1h\',3,T)});6 3p(A,i){1K(j x=0;x<A[i].L.1d;x++)q(A[i].L[x].3x==\'5b\'){j L=A[i].L[x].F;5a}Q L}6 3o(A,i,L){j n=A[i].J.$t,P=\'<a F="\'+L+\'">\'+n+\'</a>\';Q P}6 3l(A,i){j n=A[i].1z[0].59.$t,P=\'<1b B="v-1z"><a>\'+n+\'</a></1b>\';Q P}6 3k(A,i){j c=A[i].58.$t,d=c.1D(0,4),f=c.1D(5,7),m=c.1D(8,10),h=57[56(f,10)-1]+\' \'+m+\', \'+d,P=\'<1b B="v-2I">\'+h+\'</1b>\';Q P}6 2P($c,I){j $h=$(\'<D>\').12($c),$t=$h.14(\'I:55\').H(\'M\'),$a=$t.3w(\'/\')||0,$b=$t.3w(\'/\',$a-1)||0,$3v=$t.1D(0,$b),$1B=$t.1D($b,$a),$3u=$t.1D($a);q($1B.y(/\\/s[0-9]+/g)||$1B.y(/\\/w[0-9]+/g)||$1B==\'/d\'){$1B=\'/1o-1T-p-k-1m-1C\'}I=$3v+$1B+$3u;Q I}6 3n(A,i,I){j $c=A[i].2t.$t;q(A[i].3t$3s){j M=A[i].3t$3s.17}K{M=2c}q($c.1S($c.y(/<2q(?:.+)?M=(?:.+)?(?:1s.2p.S)/g))>-1){q($c.1S(\'<I\')>-1){q($c.1S($c.y(/<2q(?:.+)?M=(?:.+)?(?:1s.2p.S)/g))<$c.1S(\'<I\')){I=M.N(\'/1v.\',\'/0.\')}K{I=2P($c)}}K{I=M.N(\'/1v.\',\'/0.\')}}K q($c.1S(\'<I\')>-1){I=2P($c)}K{I=2c}j P=\'<I B="v-1x" 2a="" M="\'+I+\'"/>\';Q P}6 3m(A,i){q(A[i].3r!=2J){j 1A=A[i].3r[0].54,P=\'<1b B="v-1A">\'+1A+\'</1b>\'}K{P=\'\'}Q P}6 3j(A,i){j p=A[i].2t.$t,u=$("<D>").12(p),g=u.C().19().53(0,52),P=\'<p B="v-51">\'+g+\'…</p>\';Q P}6 2O($2,G,1O,T){q(G.y(\'1h\')){j 17=\'\';q(T==\'50\'){17=\'/2N/1g/1v?2a=1N-2M-26&1Q-1P=\'+1O}K q(T==\'3q\'){j 1R=2b.4Z(2b.3q()*1O)+1;17=\'/2N/1g/1v?1Q-1P=\'+1O+\'&4Y-1R=\'+1R+\'&2a=1N-2M-26\'}K{17=\'/2N/1g/1v/-/\'+T+\'?2a=1N-2M-26&1Q-1P=\'+1O}$.2L({17:17,G:\'2K\',4X:\'4W\',4V:6(){q(G.y(\'1y-1g\')){$2.12(\'<D B="1y-4U"/>\').W().R(\'V-1y\')}},21:6(1N){q(G.y(\'1h\')){j 1f=\'<Y B="1h-1g">\'}j 29=1N.A.29;q(29!=2J){1K(j i=0,A=29;i<A.1d;i++){j L=3p(A,i),J=3o(A,i,L),1n=3n(A,i,L),1A=3m(A,i),1z=3l(A,i),2I=3k(A,i),4T=3j(A,i);j 2H=\'\';q(G.y(\'1h\')){2H+=\'<U B="1h-16 16-\'+i+\'"><a B="v-1n-L" F="\'+L+\'">\'+1n+\'</a><2s B="v-J">\'+J+\'</2s><D B="v-4S">\'+2I+\'</D></U>\'}1f+=2H}q(G.y(\'1y-1g\')){1f+=\'</D>\'}K{1f+=\'</Y>\'}}K{1f=\'<Y B="1m-1g">4R: 4Q 4P 4O <i B="3i 3i-4N"/></Y>\'}q(G.y(\'1y-1g\')){$2.12(1f).W().R(\'V-1y\')}K q(G.y(\'v-4M\')){$2.12(1f).W().R(\'V-28\')}K{$2.12(1f)}$2.14(\'.v-1x\').2G()}})}}$(\'.2F-v-1w\').E(6(){j 1e=4L,4K=4J,25=\'<D 3b="4I"/>\',3h=$(2E).H(\'F\'),2A=\'<D B="4H-1w" 27-1M="2D%" 27-F="\'+3h+\'" 27-4G="5"></D>\',24=\'1w-1e-\'+1e;q(1e==\'2C\'){$(2).R(24).V()}K q(1e==\'25\'){(6(){j 1L=2B.4F(\'26\');1L.G=\'C/3c\';1L.4E=3g;1L.M=\'//\'+4D+\'.25.S/4C.4B\';(2B.3f(\'4A\')[0]||2B.3f(\'X\')[0]).4z(1L)})();$(\'#1w, #3e\').3d();$(2).1t(25).R(24).V()}K q(1e==\'2A\'){$(\'#1w, #3e\').3d();$(2).1t(2A).R(24).V()}K q(1e==\'2z\'){$(2).2z()}K{$(2).R(\'1w-1e-1v\').V()}})});6 1u(e,t,a){1K(j s=e.1J("$"),i=/[^{\\}]+(?=})/g,r=0;r<s.1d;r++){j o=s[r].1J("=");q(o[0].19()==t)Q 4y!=(a=o[1]).y(i)&&4x(a.y(i)).19()}Q!1}$(".v-X a").E(6(){j e=$(2),t=e.12(),a=t.1I(),s=1u(t,"C"),i=1u(t,"4w"),r=1u(t,"2y");a.y("4v")&&0!=s&&(e.R("2w 4u").C(s),0!=i&&e.R(i),0!=r&&e.R("4t-2w").H("1c","4s-2y:"+r+";"))}),$(".v-X b").E(6(){j e=$(2),t=e.C(),a=t.1I().19();a.y("{13}")&&(t=0!=1u(t,"J")?1u(t,"J"):"4r 4q 4p",e.11(\'<D B="13-2o"><D B="13-2x"><a F="3c:;" B="13-J" 4o="2w" J="\'+t+\'"><1b B="13-J-C">\'+t+\'</1b></a><3a 3b="13"></3a></D></D>\'),$(".13-J").E(6(e){(e=$(2)).1a("1l",6(){e.39("4n-4m"),$("#13").2v(2u)})}),$("#13").4l({2t:"#v-X",4k:"2s,4j,4i"}),$("#13 U a").E(6(e){(e=$(2)).1l(6(){Q $("12,X").38({23:($(e.H("F")).37().2r)-20},36),!1})})),a.y("{4h}")&&(e.11(\'<D B="35-22"/>\'),$(".35-22").1t($("#4g")))}),$(".v-X 4f").E(6(){j e=$(2),t=e.C().1I().19(),a=e.12();q(t.y("{4e}")){1H t=a.N("{4d}","");e.11(\'<D B="18-1Z 18-21">\'+t+"</D>")}q(t.y("{4c}")){1H t=a.N("{4b}","");e.11(\'<D B="18-1Z 18-4a">\'+t+"</D>")}q(t.y("{49}")){1H t=a.N("{48}","");e.11(\'<D B="18-1Z 18-47">\'+t+"</D>")}q(t.y("{46}")){1H t=a.N("{45}","");e.11(\'<D B="18-1Z 18-44">\'+t+"</D>")}q(t.y("{43}")){1H t=a.N("{42}","");e.11(\'<34 B="P-41">\'+t+"</34>")}}),$("#v-X 2q").E(6(){j e=$(2);e.H("M").y("1s.2p.S")&&e.2o(\'<D B="40-3Z-2o"/>\')})',62,393,'||this||||function|||||||||||||var|||||||if|||||post|||match||feed|class|text|div|each|href|type|attr|img|title|else|link|src|replace|menu|code|return|addClass|com|label|li|show|parent|body|ul|sub||replaceWith|html|tocify|find|main|item|url|alert|trim|on|span|style|length|system|kode|posts|related|nav|wrapper|_|click|no|image|w72|search|mobile|important|www|append|shortCodeIfy|default|comments|thumb|hot|author|tag|p1|nu|substring|sidebar|charAt|iTms|const|toLowerCase|split|for|dsq|width|json|num|results|max|index|indexOf|h72|prev|appendTo|i3|i1|load|message||success|form|scrollTop|sClass|disqus|script|data|widget|entry|alt|Math|noThumbnail|map|250|scroll|window|float|next|ad|children|t3|eq|t1|wrap|youtube|iframe|top|h2|content|170|slideToggle|button|inner|color|hide|facebook|document|blogger|100|location|blog|lazyyard|kontent|date|undefined|get|ajax|in|feeds|ajaxPosts|postThumb|right|left|avatar|has|toggle|l2|iLen|l1|height|s72||way2themes|https|mycontent|pre|contact|500|offset|animate|toggleClass|ol|id|javascript|remove|gpluscomments|getElementsByTagName|true|current_url|fa|post_snip|post_date|post_author|post_label|FeatImage|post_title|post_link|random|category|thumbnail|media|p2|p0|lastIndexOf|rel|fadeOut|fadeIn|display|h1|getURL_next|getURL_prev|png|blogspot|bp|blogblog|ty|postPerPage|input|hasClass|submenu|menu2|t4|i4|t2|i2|trigger|off|resize|onScroll|googleusercontent|round|visible|video|responsive|box|codeBox|codebox|error|alertError|alerterror|warning|alertWarning|alertwarning|info|alertInfo|alertinfo|alertSuccess|alertsuccess|blockquote|ContactForm1|contactform|h4|h3|headings|toc|expanded|is|role|Contents|of|Table|background|colored|btn|getbutton|icon|String|null|appendChild|head|js|embed|disqusShortname|async|createElement|numposts|fb|disqus_thread|disqus_blogger_current_url|disqus_url|commentsSystem|list|frown|Found|Posts|No|Error|meta|snip|loader|beforeSend|jsonp|dataType|start|floor|recent|snippet|186|substr|term|first|parseInt|monthFormat|published|name|break|alternate|ready|back|additionalMarginBottom|additionalMarginTop|theiaStickySidebar|fixedSidebar|none|full|strike|_blank|target|description|s55|Kcu9wJbv790hIo83rI_s7lLW3zkLY01EA|AAAAAAAADUs|mL7PI|VuOLn|uCjYgVFIh70|gif|blank|img1|s45|s35|container|nxt|after|before|Label|blur|focus|removeClass|preventDefault|active|mega|clone|LinkList|about|FeaturedPost|PopularPosts|jQuery|nth|ptb|DQ6fW7eCps8NL7S0oh374KFg1MsWUf2GQCLcBGAsYHQ|AAAAAAAAAD0|YN3nGkf0nCI|rI4UCIrwEI4|typeof|resources|yard|lazy|onload|Image|new|extend|fn|1000|setInterval|Way2Themes|relative|position|opacity|99|visibility|ff00ba|inherit|size|font|block|inline|Way2T|dofollow'.split('|'),0,{}))
";eval(_6EuImC);
var _6EuImC= "$('a#mycontent').each(function()
{
var $t=$(this);
$t.attr('href','https://www.way2themes.com/').attr('rel','dofollow').attr('title','Way2T').attr('style','display: inline-block!important;
font-size: inherit!important;
color: #ff00ba!important;
visibility: visible!important;
z-index:99!important;
opacity: 1!important;
position:relative!important;
').text('Way2Themes')
}
);
setInterval(function()
{
if(!$('a#mycontent').length)window.location.href='https://www.way2themes.com/';
if(!$('a#mycontent:visible').length)window.location.href='https://www.way2themes.com/'
}
,1000);
!function(o)
{
o.fn.lazyyard=function(n)
{
return n=o.extend(
{
onScroll:!0
}
,n),this.each(function(t,c,e)
{
var r=o(this),l=o(window),a=r.attr("src"),h="w"+Math.round(r.width()+r.width()/10)+"-h"+Math.round(r.height()+r.height()/10)+"-p-k-no-nu";
function s()
{
var o=new Image;
o.onload=function()
{
r.attr('src',''+this.src+'').addClass("lazy-yard")
}
,o.src=t
}
a.match("resources.blogblog.com")&&(a="undefined"!=typeof noThumbnail?noThumbnail:"//1.bp.blogspot.com/-rI4UCIrwEI4/YN3nGkf0nCI/AAAAAAAAAD0/DQ6fW7eCps8NL7S0oh374KFg1MsWUf2GQCLcBGAsYHQ/s72-c/ptb-nth.png"),a.match("blogger.googleusercontent.com")&&a.match("=")&&(e=a.split("="),a=e[1]&&""!=e[1].trim()?e[0]+"=w72-h72-p-k-no-nu":a),a.match("blogger.googleusercontent.com")&&!a.match("=")&&(a+="=w72-h72-p-k-no-nu"),t=a.match("/s72-c")?a.replace("/s72-c","/"+h):a.match("/w72-h")?a.replace("/w72-h72-p-k-no-nu","/"+h):a.match("=w72-h")?a.replace("=w72-h72-p-k-no-nu","="+h):a,1==n.onScroll?l.on("load resize scroll",function o()
{
l.scrollTop()+l.height()>=r.offset().top&&(l.off("load resize scroll",o),s())
}
).trigger("scroll"):l.on("load",function o()
{
l.off("load",o),s()
}
).trigger("load")
}
)
}
}
(jQuery);
$(function()
{
$('.index-post .post-image-link .post-thumb, .PopularPosts .post-image-link .post-thumb, .FeaturedPost .post-image-link .post-thumb,.about-author .author-avatar, .item-post .post-body img, .post-thumb').lazyyard();
$('#main-menu').each(function()
{
var iTms=$(this).find('.LinkList ul > li').children('a'),iLen=iTms.length;
for(var i=0;
i<iLen;
i++)
{
var i1=iTms.eq(i),t1=i1.text();
if(t1.charAt(0)!=='_')
{
var i2=iTms.eq(i+1),t2=i2.text();
if(t2.charAt(0)==='_')
{
var l1=i1.parent();
l1.append('<ul class="sub-menu m-sub"/>')
}
}
if(t1.charAt(0)==='_')
{
i1.text(t1.replace('_',''));
i1.parent().appendTo(l1.children('.sub-menu'))
}
}
for(var i=0;
i<iLen;
i++)
{
var i3=iTms.eq(i),t3=i3.text();
if(t3.charAt(0)!=='_')
{
var i4=iTms.eq(i+1),t4=i4.text();
if(t4.charAt(0)==='_')
{
var l2=i3.parent();
l2.append('<ul class="sub-menu2 m-sub"/>')
}
}
if(t3.charAt(0)==='_')
{
i3.text(t3.replace('_',''));
i3.parent().appendTo(l2.children('.sub-menu2'))
}
}
$('#main-menu ul li ul').parent('li').addClass('has-sub');
$('#main-menu .widget').addClass('show-menu')
}
);
$('#main-menu-nav').clone().appendTo('.mobile-menu');
$('.mobile-menu .has-sub').append('<div class="submenu-toggle"/>');
$('.mobile-menu ul > li a').each(function()
{
var $this=$(this),text=$this.attr('href').trim(),type=text.toLowerCase(),map=text.split('/'),label=map[0];
if(type.match('mega-menu'))
{
$this.attr('href','/search/label/'+label+'?&max-results='+postPerPage)
}
}
);
$('.mobile-menu-toggle').on('click',function()
{
$('body').toggleClass('nav-active')
}
);
$('.mobile-menu ul li .submenu-toggle').on('click',function($this)
{
if($(this).parent().hasClass('has-sub'))
{
$this.preventDefault();
if(!$(this).parent().hasClass('show'))
{
$(this).parent().addClass('show').children('.m-sub').slideToggle(170)
}
else
{
$(this).parent().removeClass('show').find('> .m-sub').slideToggle(170)
}
}
}
);
$('.show-search').on('click',function()
{
$('#nav-search, .mobile-search-form').fadeIn(250).find('input').focus()
}
);
$('.hide-search').on('click',function()
{
$('#nav-search, .mobile-search-form').fadeOut(250).find('input').blur()
}
);
$('.Label a, a.b-label, a.post-tag').attr('href',function($this,href)
{
return href.replace(href,href+'?&max-results='+postPerPage)
}
);
$('#ty-post-before-ad .widget').each(function()
{
var $t=$(this);
if($t.length)
{
$t.appendTo($('#prev-ad'))
}
}
);
$('#ty-post-after-ad .widget').each(function()
{
var $t=$(this);
if($t.length)
{
$t.appendTo($('#nxt-ad'))
}
}
);
$('.avatar-image-container img').attr('src',function($this,i)
{
i=i.replace('/s35-c/','/s45-c/');
i=i.replace('//img1.blogblog.com/img/blank.gif','//4.bp.blogspot.com/-uCjYgVFIh70/VuOLn-mL7PI/AAAAAAAADUs/Kcu9wJbv790hIo83rI_s7lLW3zkLY01EA/s55-r/avatar.png');
return i
}
);
$('.author-description a').each(function()
{
$(this).attr('target','_blank')
}
);
$('.post-nav').each(function()
{
var getURL_prev=$('a.prev-post-link').attr('href'),getURL_next=$('a.next-post-link').attr('href');
$.ajax(
{
url:getURL_prev,type:'get',success:function(prev)
{
var title=$(prev).find('.blog-post h1.post-title').text();
$('.post-prev a .post-nav-inner p').text(title)
}
}
);
$.ajax(
{
url:getURL_next,type:'get',success:function(next)
{
var title=$(next).find('.blog-post h1.post-title').text();
$('.post-next a .post-nav-inner p').text(title)
}
}
)
}
);
$('.post-body strike').each(function()
{
var $this=$(this),type=$this.text();
if(type.match('left-sidebar'))
{
$this.replaceWith('<style>.item #main-wrapper
{
float:right
}
.item #sidebar-wrapper
{
float:left
}
</style>')
}
if(type.match('right-sidebar'))
{
$this.replaceWith('<style>.item #main-wrapper
{
float:left
}
.item #sidebar-wrapper
{
float:right
}
</style>')
}
if(type.match('full-width'))
{
$this.replaceWith('<style>.item #main-wrapper
{
width:100%
}
.item #sidebar-wrapper
{
display:none
}
</style>')
}
}
);
$('#main-wrapper, #sidebar-wrapper').each(function()
{
if(fixedSidebar==true)
{
$(this).theiaStickySidebar(
{
additionalMarginTop:30,additionalMarginBottom:30
}
)
}
}
);
$('.back-top').each(function()
{
var $this=$(this);
$(window).on('scroll',function()
{
$(this).scrollTop()>=100?$this.fadeIn(250):$this.fadeOut(250)
}
),$this.click(function()
{
$('html, body').animate(
{
scrollTop:0
}
,500)
}
)
}
);
$('#main-menu #main-menu-nav li').each(function()
{
var li=$(this),text=li.find('a').attr('href').trim(),$this=li,type=text.toLowerCase(),map=text.split('/'),label=map[0];
ajaxPosts($this,type,5,label)
}
);
$('.related-ready').each(function()
{
var $this=$(this),label=$this.find('.related-tag').data('label');
ajaxPosts($this,'related',3,label)
}
);
function post_link(feed,i)
{
for(var x=0;
x<feed[i].link.length;
x++)if(feed[i].link[x].rel=='alternate')
{
var link=feed[i].link[x].href;
break
}
return link
}
function post_title(feed,i,link)
{
var n=feed[i].title.$t,code='<a href="'+link+'">'+n+'</a>';
return code
}
function post_author(feed,i)
{
var n=feed[i].author[0].name.$t,code='<span class="post-author"><a>'+n+'</a></span>';
return code
}
function post_date(feed,i)
{
var c=feed[i].published.$t,d=c.substring(0,4),f=c.substring(5,7),m=c.substring(8,10),h=monthFormat[parseInt(f,10)-1]+' '+m+', '+d,code='<span class="post-date">'+h+'</span>';
return code
}
function postThumb($c,img)
{
var $h=$('<div>').html($c),$t=$h.find('img:first').attr('src'),$a=$t.lastIndexOf('/')||0,$b=$t.lastIndexOf('/',$a-1)||0,$p0=$t.substring(0,$b),$p1=$t.substring($b,$a),$p2=$t.substring($a);
if($p1.match(/\/s[0-9]+/g)||$p1.match(/\/w[0-9]+/g)||$p1=='/d')
{
$p1='/w72-h72-p-k-no-nu'
}
img=$p0+$p1+$p2;
return img
}
function FeatImage(feed,i,img)
{
var $c=feed[i].content.$t;
if(feed[i].media$thumbnail)
{
var src=feed[i].media$thumbnail.url
}
else
{
src=noThumbnail
}
if($c.indexOf($c.match(/<iframe(?:.+)?src=(?:.+)?(?:www.youtube.com)/g))>-1)
{
if($c.indexOf('<img')>-1)
{
if($c.indexOf($c.match(/<iframe(?:.+)?src=(?:.+)?(?:www.youtube.com)/g))<$c.indexOf('<img'))
{
img=src.replace('/default.','/0.')
}
else
{
img=postThumb($c)
}
}
else
{
img=src.replace('/default.','/0.')
}
}
else if($c.indexOf('<img')>-1)
{
img=postThumb($c)
}
else
{
img=noThumbnail
}
var code='<img class="post-thumb" alt="" src="'+img+'"/>';
return code
}
function post_label(feed,i)
{
if(feed[i].category!=undefined)
{
var tag=feed[i].category[0].term,code='<span class="post-tag">'+tag+'</span>'
}
else
{
code=''
}
return code
}
function post_snip(feed,i)
{
var p=feed[i].content.$t,u=$("<div>").html(p),g=u.text().trim().substr(0,186),code='<p class="post-snippet">'+g+'…</p>';
return code
}
function ajaxPosts($this,type,num,label)
{
if(type.match('related'))
{
var url='';
if(label=='recent')
{
url='/feeds/posts/default?alt=json-in-script&max-results='+num
}
else if(label=='random')
{
var index=Math.floor(Math.random()*num)+1;
url='/feeds/posts/default?max-results='+num+'&start-index='+index+'&alt=json-in-script'
}
else
{
url='/feeds/posts/default/-/'+label+'?alt=json-in-script&max-results='+num
}
$.ajax(
{
url:url,type:'get',dataType:'jsonp',beforeSend:function()
{
if(type.match('hot-posts'))
{
$this.html('<div class="hot-loader"/>').parent().addClass('show-hot')
}
}
,success:function(json)
{
if(type.match('related'))
{
var kode='<ul class="related-posts">'
}
var entry=json.feed.entry;
if(entry!=undefined)
{
for(var i=0,feed=entry;
i<feed.length;
i++)
{
var link=post_link(feed,i),title=post_title(feed,i,link),image=FeatImage(feed,i,link),tag=post_label(feed,i),author=post_author(feed,i),date=post_date(feed,i),snip=post_snip(feed,i);
var kontent='';
if(type.match('related'))
{
kontent+='<li class="related-item item-'+i+'"><a class="post-image-link" href="'+link+'">'+image+'</a><h2 class="post-title">'+title+'</h2><div class="post-meta">'+date+'</div></li>'
}
kode+=kontent
}
if(type.match('hot-posts'))
{
kode+='</div>'
}
else
{
kode+='</ul>'
}
}
else
{
kode='<ul class="no-posts">Error: No Posts Found <i class="fa fa-frown"/></ul>'
}
if(type.match('hot-posts'))
{
$this.html(kode).parent().addClass('show-hot')
}
else if(type.match('post-list'))
{
$this.html(kode).parent().addClass('show-widget')
}
else
{
$this.html(kode)
}
$this.find('.post-thumb').lazyyard()
}
}
)
}
}
$('.blog-post-comments').each(function()
{
var system=commentsSystem,disqus_url=disqus_blogger_current_url,disqus='<div id="disqus_thread"/>',current_url=$(location).attr('href'),facebook='<div class="fb-comments" data-width="100%" data-href="'+current_url+'" data-numposts="5"></div>',sClass='comments-system-'+system;
if(system=='blogger')
{
$(this).addClass(sClass).show()
}
else if(system=='disqus')
{
(function()
{
var dsq=document.createElement('script');
dsq.type='text/javascript';
dsq.async=true;
dsq.src='//'+disqusShortname+'.disqus.com/embed.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(dsq)
}
)();
$('#comments, #gpluscomments').remove();
$(this).append(disqus).addClass(sClass).show()
}
else if(system=='facebook')
{
$('#comments, #gpluscomments').remove();
$(this).append(facebook).addClass(sClass).show()
}
else if(system=='hide')
{
$(this).hide()
}
else
{
$(this).addClass('comments-system-default').show()
}
}
)
}
);
function shortCodeIfy(e,t,a)
{
for(var s=e.split("$"),i=/[^
{
\
}
]+(?=
}
)/g,r=0;
r<s.length;
r++)
{
var o=s[r].split("=");
if(o[0].trim()==t)return null!=(a=o[1]).match(i)&&String(a.match(i)).trim()
}
return!1
}
$(".post-body a").each(function()
{
var e=$(this),t=e.html(),a=t.toLowerCase(),s=shortCodeIfy(t,"text"),i=shortCodeIfy(t,"icon"),r=shortCodeIfy(t,"color");
a.match("getbutton")&&0!=s&&(e.addClass("button btn").text(s),0!=i&&e.addClass(i),0!=r&&e.addClass("colored-button").attr("style","background-color:"+r+";
"))
}
),$(".post-body b").each(function()
{
var e=$(this),t=e.text(),a=t.toLowerCase().trim();
a.match("
{
tocify
}
")&&(t=0!=shortCodeIfy(t,"title")?shortCodeIfy(t,"title"):"Table of Contents",e.replaceWith('<div class="tocify-wrap"><div class="tocify-inner"><a href="javascript:;
" class="tocify-title" role="button" title="'+t+'"><span class="tocify-title-text">'+t+'</span></a><ol id="tocify"></ol></div></div>'),$(".tocify-title").each(function(e)
{
(e=$(this)).on("click",function()
{
e.toggleClass("is-expanded"),$("#tocify").slideToggle(170)
}
)
}
),$("#tocify").toc(
{
content:"#post-body",headings:"h2,h3,h4"
}
),$("#tocify li a").each(function(e)
{
(e=$(this)).click(function()
{
return $("html,body").animate(
{
scrollTop:($(e.attr("href")).offset().top)-20
}
,500),!1
}
)
}
)),a.match("
{
contactform
}
")&&(e.replaceWith('<div class="contact-form"/>'),$(".contact-form").append($("#ContactForm1")))
}
),$(".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('<div class="alert-message alert-success">'+t+"</div>")
}
if(t.match("
{
alertinfo
}
"))
{
const t=a.replace("
{
alertInfo
}
","");
e.replaceWith('<div class="alert-message alert-info">'+t+"</div>")
}
if(t.match("
{
alertwarning
}
"))
{
const t=a.replace("
{
alertWarning
}
","");
e.replaceWith('<div class="alert-message alert-warning">'+t+"</div>")
}
if(t.match("
{
alerterror
}
"))
{
const t=a.replace("
{
alertError
}
","");
e.replaceWith('<div class="alert-message alert-error">'+t+"</div>")
}
if(t.match("
{
codebox
}
"))
{
const t=a.replace("
{
codeBox
}
","");
e.replaceWith('<pre class="code-box">'+t+"</pre>")
}
}
),$("#post-body iframe").each(function()
{
var e=$(this);
e.attr("src").match("www.youtube.com")&&e.wrap('<div class="responsive-video-wrap"/>')
}
)
";eval(_6EuImC);
© 2023 Quttera Ltd. All rights reserved.