PageSourceSearch

https://www.cancom.de/wp-content/cache/min/2/wp-content/plugins/gr…/assets/js/frontend.js?ver=1790869033

js cancom.de collected 2026-10-02 07:19:34 UTC 2,673 bytes, 7 lines download raw bytes

1(function(){jQuery(function(){if(typeof $==='undefined')$=jQuery;greyd.trigger.init()})})(jQuery);greyd.trigger=new function(){this.init=function(){$('.hidden-trigger-link').each(function(){var elem=this;$(elem).on('click',function(e,prevEvent){var cmdClicked=e.metaKey||e.ctrlKey;var cmdClickedPrev=typeof prevEvent!=='undefined'&&(prevEvent.metaKey||prevEvent.ctrlKey);if(cmdClicked||cmdClickedPrev){e.preventDefault();window.open($(this).attr('href'),'_blank')}else if(typeof prevEvent!=='undefined'){this.click()}});$(elem).siblings(':not([href])').on('click',function(e){$(elem).trigger('click',e)})});$("[data-anchor]").each(function(){var search=$(this).data("anchor");var match=$("[data-anchor-id='"+search+"']");if(match.length&&match.attr("id")){$(this).attr('href','#'+$(match).attr("id"));$(match).removeAttr("data-anchor-id")}
2$(this).removeAttr("data-anchor")});if($("[data-greyd-trigger], [onclick*='greyd.trigger.trigger'], [onmouseenter*='greyd.trigger.trigger']").length===0){return}
3$('[data-greyd-trigger][data-onload="hide"]').each(function(){if($(this).hasClass('is-layout-flex')||$(this).hasClass('wp-block-group-is-layout-flex')){$(this).css('display','flex');$(this).hide()}});$("body").off("greyd-trigger",greyd.trigger.onTrigger);$("body").on("greyd-trigger",greyd.trigger.onTrigger)}
4this.onTrigger=function(e,event,trigger,isGlobal){if(isGlobal){var targets=$("[data-greyd-trigger*='"+trigger+"|']")}else{var targets=$(event.target).closest(".dynamic, .main, .navigation, body").find("[data-greyd-trigger*='"+trigger+"|']")}
5if(targets.length>0){targets.each(function(i,elem){var target=$(elem);var regex=new RegExp(trigger+"[A-Za-z\|]+","g");var data=target.data("greyd-trigger");var setup=data?data.match(regex).slice(-1).pop():"";var action=setup?setup.split("|")[1]:'show';if(typeof target[action]==='function'){if(target.data("siblings")=="hide")target.siblings("[data-greyd-trigger]").stop().hide();target.stop();target.css({transition:'none'});target[action]()}})}else{if($(".wp-block-greyd-popover[data-popover-name='"+trigger+"']").length>0){var targetQuery=".wp-block-greyd-popover[data-popover-name='"+trigger+"'] .wp-block-greyd-popover-popup > [role=dialog]";if(isGlobal){var targets=$(targetQuery)}else{var targets=$(event.target).closest(".query-post, .dynamic, .main, .navigation, body").find(targetQuery)}
6if(targets.length>0){var target=targets[targets.length-1];const dialogId=$(target).attr("id");window.dispatchEvent(new Event('toggle_'+dialogId));event.stopPropagation()}}}}
7this.trigger=function(event,string,isGlobal){$("body").trigger("greyd-trigger",[event,string,isGlobal]);window.dispatchEvent(new Event('resize'))}}

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.