PageSourceSearch

https://www.matramaxx.de/wp-content/cache/min/1/wp-content/plugins…/mmcf-calendly-inline.js?ver=1791404101

js matramaxx.de collected 2026-10-08 07:25:46 UTC 2,120 bytes, 8 lines download raw bytes

1(function(){'use strict';if(typeof window.customElements==='undefined'||typeof window.customElements.define!=='function'){return}
2if(window.customElements.get('mmcf-calendly-inline')){return}
3function ensurePlaceholder(host){var placeholder=host.querySelector('.calendly-inline-widget');if(placeholder)return placeholder;var url=host.getAttribute('url')||'';if(!url)return null;placeholder=document.createElement('div');placeholder.className='calendly-inline-widget mmcf-calendly-inline';placeholder.setAttribute('data-auto-load','false');placeholder.setAttribute('data-url',url);var height=parseInt(host.getAttribute('height')||'600',10);if(!isFinite(height)||height<200)height=600;placeholder.style.minWidth='320px';placeholder.style.height=height+'px';host.appendChild(placeholder);return placeholder}
4function activate(placeholder){if(placeholder.dataset.mmcfInitialized==='1')return;placeholder.dataset.mmcfInitialized='1';var url=placeholder.getAttribute('data-url');if(!url||!window.mmcfCalendly||typeof window.mmcfCalendly.load!=='function')return;window.mmcfCalendly.load().then(function(Calendly){if(Calendly&&typeof Calendly.initInlineWidget==='function'){Calendly.initInlineWidget({url:url,parentElement:placeholder});try{if(window.MmxContactForm&&typeof window.MmxContactForm.appointmentOpen==='function'){window.MmxContactForm.appointmentOpen('inline')}}catch(e){}}}).catch(function(){placeholder.dataset.mmcfInitialized=''})}
5class MmcfCalendlyInline extends HTMLElement{connectedCallback(){if(this._mmcfWired)return;this._mmcfWired=!0;var placeholder=ensurePlaceholder(this);if(!placeholder)return;if(typeof window.IntersectionObserver==='undefined'){activate(placeholder);return}
6var io=new IntersectionObserver(function(entries){entries.forEach(function(entry){if(entry.isIntersecting){activate(placeholder);io.unobserve(placeholder)}})},{rootMargin:'300px',threshold:0.01});io.observe(placeholder);this._mmcfObserver=io}
7disconnectedCallback(){if(this._mmcfObserver){this._mmcfObserver.disconnect();this._mmcfObserver=null}}}
8window.customElements.define('mmcf-calendly-inline',MmcfCalendlyInline)})()

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.