PageSourceSearch

https://www.vconcier.com/wp/wp-content/themes/wpthk/js/wpthk.min.js?v=1791374654

js vconcier.com collected 2026-10-07 12:04:31 UTC 14,620 bytes, 15 lines download raw bytes

1!function(a){"use strict";a.fn.smoothScroll=function(b){var c=a.smoothScroll.getSettings(b);return this.each(function(d){var e=a(this).attr(c.selectorAttribute);!e||c.hashOnly&&!e.match(/^#.+/)||a(this).on(c.events+".smoothScroll."+d,function(){return a.smoothScroll.to(e,b)})})},a.smoothScroll={to:function(b,c){var d=this.getSettings(c);a(window).scrollTop(a(window).scrollTop()+1);var e=a("html");return e.scrollTop()<=0&&(e=a("body")),e.animate({scrollTop:a(b).offset().top-d.offset},d.speed,d.easing,d.callback),!1},defaults:{events:"click",speed:300,easing:"linear",offset:0,selectorAttribute:"href",hashOnly:!0,callback:function(){}},getSettings:function(b){return a.extend(!0,{},this.defaults,b)}}}(jQuery);(function(){var c,f;c=this.jQuery||window.jQuery;f=c(window);c.fn.stick_in_parent=function(b){var A,w,J,n,B,K,p,q,L,k,E,t;null==b&&(b={});t=b.sticky_class;B=b.inner_scrolling;E=b.recalc_every;k=b.parent;q=b.offset_top;p=b.spacer;w=b.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=c(document);null==w&&(w=!0);L=function(a){var b;return window.getComputedStyle?(a=window.getComputedStyle(a[0]),b=parseFloat(a.getPropertyValue("width"))+parseFloat(a.getPropertyValue("margin-left"))+
2parseFloat(a.getPropertyValue("margin-right")),"border-box"!==a.getPropertyValue("box-sizing")&&(b+=parseFloat(a.getPropertyValue("border-left-width"))+parseFloat(a.getPropertyValue("border-right-width"))+parseFloat(a.getPropertyValue("padding-left"))+parseFloat(a.getPropertyValue("padding-right"))),b):a.outerWidth(!0)};J=function(a,b,n,C,F,u,r,G){var v,H,m,D,I,d,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):c("<div />"))&&h.css("position",a.css("position"));x=function(){var d,f,e;if(!G&&(I=A.height(),d=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),b=parseInt(g.css("padding-bottom"),10),n=g.offset().top+d+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:L(a),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,d=q,z=E,l=function(){var c,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+d>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:d}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,d=q,null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.detach()),c={position:"",width:"",top:""},a.css(c).removeClass(t).trigger("sticky_kit:unstick")),B&&(c=f.height(),u+q>c&&!v&&(d-=l,d=Math.max(c-u,d),d=Math.min(q,d),m&&a.css({top:d+"px"})))):e>F&&(m=!0,c={position:"fixed",top:d},c.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(c).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+d>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),a.css({position:"absolute",bottom:b,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);c(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",y),c(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n<K;n++)b=this[n],J(c(b));return this}}).call(this);!function(e,t){if("function"==typeof define&&define.amd)define(["exports","module"],t);else if("undefined"!=typeof exports&&"undefined"!=typeof module)t(exports,module);
2else{var n={exports:{}};t(n.exports,n),e.autosize=n.exports}}(this,function(e,t){"use strict";function n(e){function t(){var t=window.getComputedStyle(e,null);c=t.overflowY,"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),f="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(f)&&(f=0),i()}function n(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,c=t,u&&(e.style.overflowY=t),o()}function o(){var t=window.pageYOffset,n=document.body.scrollTop,o=e.style.height;e.style.height="auto";var i=e.scrollHeight+f;return 0===e.scrollHeight?void(e.style.height=o):(e.style.height=i+"px",v=e.clientWidth,document.documentElement.scrollTop=t,void(document.body.scrollTop=n))}function i(){var t=e.style.height;o();var i=window.getComputedStyle(e,null);if(i.height!==e.style.height?"visible"!==c&&n("visible"):"hidden"!==c&&n("hidden"),t!==e.style.height){var r=document.createEvent("Event");r.initEvent("autosize:resized",!0,!1),e.dispatchEvent(r)}}var d=void 0===arguments[1]?{}:arguments[1],s=d.setOverflowX,l=void 0===s?!0:s,a=d.setOverflowY,u=void 0===a?!0:a;if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var f=null,c=null,v=e.clientWidth,p=function(){e.clientWidth!==v&&i()},h=function(t){window.removeEventListener("resize",p,!1),e.removeEventListener("input",i,!1),e.removeEventListener("keyup",i,!1),e.removeEventListener("autosize:destroy",h,!1),e.removeEventListener("autosize:update",i,!1),r["delete"](e),Object.keys(t).forEach(function(n){e.style[n]=t[n]})}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",h,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",i,!1),window.addEventListener("resize",p,!1),e.addEventListener("input",i,!1),e.addEventListener("autosize:update",i,!1),r.add(e),l&&(e.style.overflowX="hidden",e.style.wordWrap="break-word"),t()}}function o(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=document.createEvent("Event");t.initEvent("autosize:destroy",!0,!1),e.dispatchEvent(t)}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=document.createEvent("Event");t.initEvent("autosize:update",!0,!1),e.dispatchEvent(t)}}var r="function"==typeof Set?new Set:function(){var e=[];return{has:function(t){return Boolean(e.indexOf(t)>-1)},add:function(t){e.push(t)},"delete":function(t){e.splice(e.indexOf(t),1)}}}(),d=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(d=function(e){return e},d.destroy=function(e){return e},d.update=function(e){return e}):(d=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e,t)}),e},d.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e},d.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e}),t.exports=d});jQuery(document).ready(function($){var tbn=$('#page-top');$(window).scroll(function(){if($(this).scrollTop()>500){tbn.fadeIn();}else{tbn.fadeOut();}});tbn.click(function(){$('html, body').animate({scrollTop:0},500);return false;});$(window).scroll(function(){if($('#ovlay').length){select=$(window);if($('#layer #nav').length){select=$('#layer #nav');}else if($('#sform').length&&$('#sform').css('display')==='block'){return;}else if($('#side').length){select=$('#side');}
3var tnp1=$('#layer').offset().top+select.height(),tnp2=$('#layer').offset().top-$(window).height();if($(window).scrollTop()>tnp1||$(window).scrollTop()<tnp2){remove_ovlay();}}});function remove_ovlay(){$('.sidebar').removeAttr('style');$('#sform').removeAttr('style');$('#ovlay').remove();$('body').removeAttr('style');}
4function no_scroll(){var scl_ev='onwheel'in document?'wheel':'onmousewheel'in document?'mousewheel':'DOMMouseScroll';$(window).on(scl_ev,function(e){e.preventDefault();});$(window).on('touchmove.noScroll',function(e){e.preventDefault();});}
5function go_scroll(){var scl_ev='onwheel'in document?'wheel':'onmousewheel'in document?'mousewheel':'DOMMouseScroll';$(window).off(scl_ev);$(window).off('.noScroll');}
6var nav=$('#nav'),mom=$('.mob-menu'),mos=$('.mob-side'),prv=$('.mob-prev'),nxt=$('.mob-next'),srh=$('.mob-search'),men=$('.menu ul'),mob=$('.mobile-nav'),sid=$('.sidebar'),mobmn='style=\"margin-top:-'+$(window).height()+'px;\"><div id=\"nav\">'+nav.html()+'</div>'+'<style>#layer #nav{top:0;}#layer #nav-bottom{border:0;}</style>
6',sdbar='style=\"height:'+$('.sidebar').height()+'px;width:1px\">'+'<style>.sidebar{overflow:hidden;background:#fff;padding:1px;border: 3px solid #ddd;border-radius:5px;}#side,div[id*=\"side-\"]{margin:0;padding:0;}</style>',sform='>';mom.click(function(){mobile_menu('mom',mobmn);}).css('cursor','pointer');mos.click(function(){mobile_menu('mos',sdbar);}).css('cursor','pointer');srh.click(function(){mobile_menu('srh',sform);}).css('cursor','pointer');if($('#data-prev').length){prv.click(function(){location.href=$('#data-prev').attr('data-prev');}).css('cursor','pointer');}else{prv.css('opacity','.4').css('cursor','not-allowed');}
7if($('#data-next').length){nxt.click(function(){location.href=$('#data-next').attr('data-next');}).css('cursor','pointer');}else{nxt.css('opacity','.4').css('cursor','not-allowed');}
8function mobile_menu(cpoint,layer){if($('#bwrap').length){remove_ovlay();}var scltop=$(window).scrollTop();$('body').append('<div id=\"ovlay\">'+'<div id=\"bwrap\"></div>'+'<div id=\"close\"><i class=\"fa fa-times\"></i></div>'+'<div id=\"layer\" '+layer+'</div><style>'+'#bwrap{height:'+$('body').height()+'px;background: rgba(0,0,0, .5 );}'+'#layer{top:'+scltop+'px;}'+'#layer li[class*=\"children\"] a:before{content:\"\\f196\";}'+'#layer li[class*=\"children\"] li a:before{content: \"-\";}'+'</style>');$('#layer ul').show();$('#layer .mobile-nav').hide();if(cpoint==='mos'){var side=$('.sidebar'),width=300;if(width>$(window).width()){width=$(window).width()-6;}
9side.css('width',width+'px');side.css('position','absolute');side.css('right',$(window).width()+'px');side.css('top',$(window).scrollTop()+'px');side.css('z-index','1100');}
10$('#layer ul ul').hide();$('#layer ul li[class*=\"children\"] > a').click(function(e){var tgt=$(e.target).parent('li'),tga=tgt.attr('class').match(/item-[0-9]+/),tgc=tgt.children('ul');tgc.toggle(400,'linear');if($('#'+tga+'-minus').length){$('#'+tga+'-minus').remove();}else{$('#ovlay').append('<div id=\"'+tga+'-minus\"><style>#layer li[class*=\"'+tga+'\"] > a::before{content:\"\\f147\";}</style></dv>');}e.preventDefault();});var lay=$('#layer');if(cpoint==='mom'){lay.animate({'marginTop':'0'},500);}else if(cpoint==='mos'){$('.sidebar').animate({'right':'3px'},500);}else if(cpoint==='srh'){$('html, body').scrollTop(0);no_scroll();$('html, body').css('overflow','hidden');$('#sform').css('top','-100%');$('#sform').show();$('#sform').animate({'top':'80px'},500);setTimeout(function(){$('#sform .search-field').focus();$('#sform .search-field').click();},200);}
11$('#bwrap, #close').click(function(e){if(cpoint==='mom'){lay.animate({'marginTop':'-'+$(window).height()+'px'},500);}else if(cpoint==='mos'){$('.sidebar').animate({'marginRight':'-'+$(window).width()+'px'},500);}else if(cpoint==='srh'){$('#sform').animate({'bottom':'-200%'},500);}setTimeout(function(){if(cpoint==='srh'){go_scroll();$('html, body').css('overflow','auto');$('body, html').scrollTop(scltop);}remove_ovlay();},550);});}
12$('a').smoothScroll();var skeep=$('#side-scroll');if(skeep.css('max-width')!=='32767px'){skeep.stick_in_parent({parent:'#primary',offset_top:0});}$(window).resize(function(){if(skeep.css('max-width')!=='32767px'){skeep.stick_in_parent({parent:'#primary',offset_top:0});}else{skeep.trigger("sticky_kit:detach");}});if($('#search label').length){;$('.search-field').replaceWith($('#search label').html().replace('placeholder=\"','placeholder=\"&#xf002; '));};autosize($('textarea#comment'));var wpthk=$('#thk');if(wpthk.length){if(wpthk.html().indexOf("WpTHK Theme")!=-1&&wpthk.html().indexOf("Thought is free")!=-1){if($('#thk').parent().attr('id')=='foot-in'){wpthk.css({'cssText':'display:block!important;visibility:visible!important;'});}else{insert_wpthk();}}else{insert_wpthk();}}else{insert_wpthk();}function insert_wpthk(){$('#footer').each(function(){var txt=$(this).html();$(this).html(txt.replace(/<\/footer>/g,'<p id=\"thk\" class=\"copy\">WordPress WpTHK Theme is provided by &quot;<a href=\"http://thk.kanzae.net/\" target=\"_blank\">Thought is free</a>&quot;.</p>'));wpthk.css({'cssText':'display:block!important;visibility:visible!important;'});});}function thk_get_yuv(){var yuv=255,chek=null,rgba='',flg1='rgba(0, 0, 0, 0)',flg2='transparent',flg3='none',bcss='background-color',bgc0=$('body').css(bcss),bgc1=$('#footer').css(bcss),bgc2=$('footer').css(bcss),bgc3=$('#foot-in').css(bcss);if(bgc3!=flg1&&bgc3!=flg2&&bgc3!=flg3){chek=bgc3;}else if(bgc2!=flg1&&bgc2!=flg2&&bgc2!=flg3){chek=bgc2;}else if(bgc1!=flg1&&bgc1!=flg2&&bgc1!=flg3){chek=bgc1;}else{chek=bgc0;}if(chek!=flg1&&chek!=flg2&&chek!=flg3){if(typeof(chek)!="undefined"){rgba=chek.split(',');}}else{rgba=['255','255','255','0'];}if(rgba.length>=3){rgba[0]=rgba[0].replace(/rgba\(/g,"").replace(/rgb\(/g,"");rgba[2]=rgba[2].replace(/\)/g,"");yuv=0.299*rgba[0]+0.587*rgba[1]+0.114*rgba[2];}
13return yuv>=128?['black','white']:['white','black'];}
14if(typeof(document.getElementsByClassName)=="undefined"){document.getElementsByClassName=function(t){var elems=new Array();if(document.all){var allelem=document.all;}else{var allelem=document.getElementsByTagName("*");}for(var i=j=0,l=allelem.length;i<l;i++){var names=allelem[i].className.split(/\s/);for(var k=names.length-1;k>=0;k--){if(names[k]===t){elems[j]=allelem[i];j++;break;}}}
15return elems;};}var c=thk_get_yuv(),s=document.createElement('style');s.id='thkc';s.innerText='html #footer,html footer,html #foot-in{position:static!important;}html #thk{display:block!important;height:14px!important;margin:20px 0!important;}html #thk * {display:inline!important;}html #thk,html #thk *{visibility:visible!important;position:relative!important;top:0!important;bottom:0!important;left:0!important;right:0!important;padding:0!important;max-width:100%!important;min-width:100%!important;font-size:11px!important;font-size:1.1rem!important;line-height:1!important;color:'+c[0]+'!important;text-shadow: 1px 1px 1px '+c[1]+'!important;}';document.getElementsByTagName('head')[0].appendChild(s);});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.