// source --> https://www.kamellebud.de/wp-content/plugins/e2pdf/js/e2pdf.frontend.js?ver=1.32.26 
var e2pdfViewer = {
    updateViewArea: function (pdfIframe, listener) {
        if (pdfIframe.hasClass('e2pdf-pages-loaded') && pdfIframe.hasClass('e2pdf-responsive')) {
            var pdfIframeContents = pdfIframe.contents();
            var viewerHeight = parseInt(pdfIframeContents.find('#viewer').outerHeight());
            if (pdfIframe.hasClass('e2pdf-responsive-page')) {
                viewerHeight = parseInt(pdfIframeContents.find('#viewer .page').first().outerHeight());
            }
            var viewerContainerTop = parseInt(pdfIframeContents.find('#viewerContainer').offset().top);
            pdfIframe.innerHeight(viewerHeight + viewerContainerTop + 2);
            if (!pdfIframe.hasClass('e2pdf-responsive-page')) {
                pdfIframeContents.find('#viewerContainer').scrollTop(0);
            }
        }
        if (listener == 'pagesloaded') {
            var pdfIframeContents = pdfIframe.contents();
            pdfIframeContents.find('#viewerContainer').scrollTop(0);
        }
    },
    viewSinglePageSwitch: function (pdfIframe, page) {
        if (pdfIframe.hasClass('e2pdf-single-page-mode') && pdfIframe.hasClass('e2pdf-responsive')) {
            var page = parseInt(page);
            if (page) {
                var pdfIframeContents = pdfIframe.contents();
                pdfIframeContents.find('.page').not('.page[data-page-number="' + page + '"]').css({'position': 'absolute', 'visibility': 'hidden', 'z-index': '-1'});
                pdfIframeContents.find('.page[data-page-number="' + page + '"]').css({'position': 'relative', 'visibility': '', 'z-index': ''});
            }
        }
    },
    iframeLoad: function (iframe) {
        var pdfIframe = jQuery(iframe);
        if (!pdfIframe.hasClass('e2pdf-preload')) {
            var pdfIframeContents = pdfIframe.contents();
            pdfIframe.addClass('e2pdf-view-loaded');
            pdfIframeContents.find('html').addClass('e2pdf-view-loaded');
            if (iframe.contentWindow && iframe.contentWindow.PDFViewerApplication) {
                var PDFViewerApplication = iframe.contentWindow.PDFViewerApplication;
                if (pdfIframe.attr('cursor')) {
                    PDFViewerApplication.pdfCursorTools.switchTool(parseInt(pdfIframe.attr('cursor')));
                }
                if (iframe.contentWindow.PDFViewerApplicationOptions) {
                    if (pdfIframe.attr('resolution')) {
                        iframe.contentWindow.PDFViewerApplicationOptions.set('printResolution', parseInt(pdfIframe.attr('resolution')));
                    }
                    if (pdfIframe.attr('scroll')) {
                        iframe.contentWindow.PDFViewerApplicationOptions.set('scrollModeOnLoad', parseInt(pdfIframe.attr('scroll')));
                    }
                    if (pdfIframe.attr('spread')) {
                        iframe.contentWindow.PDFViewerApplicationOptions.set('spreadModeOnLoad', parseInt(pdfIframe.attr('spread')));
                    }
                }
                PDFViewerApplication.initializedPromise.then(function () {
                    PDFViewerApplication.eventBus.on('pagesloaded', function (event) {
                        pdfIframe.addClass('e2pdf-pages-loaded');
                        pdfIframeContents.find('html').addClass('e2pdf-pages-loaded');
                        e2pdfViewer.viewSinglePageSwitch(pdfIframe, 1);
                        e2pdfViewer.updateViewArea(pdfIframe, 'pagesloaded');
                    });
                    PDFViewerApplication.eventBus.on('pagechanging', function (event) {
                        if (event && event.pageNumber) {
                            e2pdfViewer.viewSinglePageSwitch(pdfIframe, event.pageNumber);
                            e2pdfViewer.updateViewArea(pdfIframe, 'pagechanging');
                        }
                    });
                    var title = document.title;
                    PDFViewerApplication.eventBus.on('beforeprint', function (event) {
                        if (PDFViewerApplication.printService) {
                            var pdfTitle;
                            var metadataTitle = PDFViewerApplication.metadata && PDFViewerApplication.metadata.get("dc:title");
                            if (metadataTitle) {
                                if (metadataTitle !== "Untitled" && !/[\uFFF0-\uFFFF]/g.test(metadataTitle)) {
                                    pdfTitle = metadataTitle;
                                }
                            }
                            if (pdfTitle) {
                                document.title = pdfTitle;
                            } else if (PDFViewerApplication.contentDispositionFilename) {
                                document.title = PDFViewerApplication.contentDispositionFilename;
                            }
                        }
                    });
                    PDFViewerApplication.eventBus.on('afterprint', function (event) {
                        document.title = title;
                    });
                    var listeners = [
                        'scalechanging',
                        'scalechanged',
                        'rotationchanging',
                        'updateviewarea',
                        'scrollmodechanged',
                        'spreadmodechanged',
                        'pagechanging',
                        'zoomin',
                        'zoomout',
                        'zoomreset',
                        'nextpage',
                        'previouspage'
                    ];
                    listeners.forEach(function (listener) {
                        PDFViewerApplication.eventBus.on(listener, function (event) {
                            e2pdfViewer.updateViewArea(pdfIframe, listener);
                        });
                    });
                });
            } else {
                pdfIframeContents[0].addEventListener('pagesloaded', function (event) {
                    pdfIframe.addClass('e2pdf-pages-loaded');
                    pdfIframeContents.find('html').addClass('e2pdf-pages-loaded');
                    e2pdfViewer.viewSinglePageSwitch(pdfIframe, 1);
                    e2pdfViewer.updateViewArea(pdfIframe, 'pagesloaded');
                });
                pdfIframeContents[0].addEventListener('pagechanging', function (event) {
                    if (event && event.detail && event.detail.pageNumber) {
                        e2pdfViewer.viewSinglePageSwitch(pdfIframe, event.detail.pageNumber);
                        e2pdfViewer.updateViewArea(pdfIframe, 'pagechanging');
                    }
                });
                var listeners = [
                    'scalechanging',
                    'scalechanged',
                    'rotationchanging',
                    'updateviewarea',
                    'scrollmodechanged',
                    'spreadmodechanged',
                    'pagechanging',
                    'zoomin',
                    'zoomout',
                    'zoomreset',
                    'nextpage',
                    'previouspage'
                ];
                listeners.forEach(function (listener) {
                    pdfIframeContents[0].addEventListener(listener, function (event) {
                        e2pdfViewer.updateViewArea(pdfIframe, listener);
                    });
                });
            }
        }
    },
    imageLoad: function (image) {
        var img = jQuery(image);
        var preload = img.attr('preload');
        if (preload) {
            img.removeClass('e2pdf-preload')
            img.removeAttr('preload');
            img.attr('src', preload);
        }
    },
    print: {
        browser: {
            isFirefox: function () {
                return typeof InstallTrigger !== 'undefined';
            },
            isIE: function () {
                return navigator.userAgent.indexOf('MSIE') !== -1 || !!document.documentMode;
            },
            isEdge: function () {
                return !e2pdfViewer.print.browser.isIE() && !!window.StyleMedia;
            }
        },
        iframeSupport: function () {
            if (navigator.userAgent.indexOf('Mobile') !== -1) {
                return false;
            }
            return true;
        },
        pdf: function (blobURL) {
            var iframe = document.createElement('iframe');
            if (e2pdfViewer.print.iframeSupport()) {
                if (e2pdfViewer.print.browser.isFirefox()) {
                    iframe.setAttribute('style', 'width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0');
                } else {
                    iframe.setAttribute('style', 'visibility: hidden; height: 0; width: 0; position: absolute; border: 0');
                }
                iframe.onload = function () {
                    try {
                        iframe.focus();
                        if (e2pdfViewer.print.browser.isEdge() || e2pdfViewer.print.browser.isIE()) {
                            try {
                                iframe.contentWindow.document.execCommand('print', false, null);
                            } catch (e) {
                                iframe.contentWindow.print();
                            }
                        } else {
                            iframe.contentWindow.print();
                        }
                    } catch (error) {

                    } finally {
                        if (e2pdfViewer.print.browser.isFirefox()) {
                            iframe.style.visibility = 'hidden';
                            iframe.style.left = '-1px';
                        }

                    }
                };
                iframe.setAttribute('src', blobURL);
                document.getElementsByTagName('body')[0].appendChild(iframe);
            }
        }
    },
    autoDownload: function (lid) {
        jQuery(document).ready(function () {
            var link = jQuery('a[lid="' + lid + '"]').first();
            if (link.length > 0 && !link.hasClass('e2pdf-auto-download-ready')) {
                link.addClass('e2pdf-auto-download-ready');
                link[0].click();
            }
        });
    }
};
jQuery(document).ready(function () {
    jQuery(document).on('click', 'a.e2pdf-download-loader', function (e) {
        var link = jQuery(this);
        if (!link.hasClass('e2pdf-download-ready')) {
            e.preventDefault();
        }
        var linkURL = link.attr('href');
        if (!link.hasClass('e2pdf-download-progress')) {
            link.addClass('e2pdf-download-progress');
            fetch(link.attr('href'), {
                method: 'GET',
                headers: {
                    'X-E2PDF-REQUEST': 'true'
                }
            }).then(resp => {
                if (resp.ok) {
                    return resp.blob().then((blob) => {
                        const blobURL = URL.createObjectURL(blob);
                        if (link.hasClass('e2pdf-ios-safari-loader')) {
                            window.addEventListener('message', function handleMessage(event) {
                                if (event.data === 'e2pdf-download-ready') {
                                    link.removeClass('e2pdf-download-progress');
                                    window.removeEventListener('message', handleMessage);
                                }
                            });
                            const iframe = document.createElement('iframe');
                            iframe.style.setProperty('display', 'none', 'important');
                            document.body.appendChild(iframe);
                            const doc = iframe.contentDocument || iframe.contentWindow.document;
                            doc.open();
                            doc.write(`
                            <!DOCTYPE html>
                            <html>
                            <body>
                            <a href="${blobURL}" download="${link.attr('download')}"></a>
                            <script>
                                const link = document.querySelector('a');
                                parent.postMessage('e2pdf-download-ready', '*');                             
                                link.click();    
                            </script>
                            </body>
                            </html>
                            `);
                            doc.close();
                        } else {
                            link.attr('href', blobURL).addClass('e2pdf-download-ready');
                            link[0].click();
                            link.attr('href', linkURL).removeClass('e2pdf-download-ready e2pdf-download-progress');
                        }
                    });
                } else {
                    var errorMessage = 'Something went wrong!';
                    return resp.json().then((json) => {
                        if (json && json.redirect_url) {
                            link.attr('href', linkURL).removeClass('e2pdf-download-ready e2pdf-download-progress');
                            window.location.href = json.redirect_url;
                        } else {
                            if (json && json.error) {
                                errorMessage = json.error;
                            }
                            throw new Error(errorMessage);
                        }
                    }).catch(() => {
                        throw new Error(errorMessage);
                    });
                }
            }).catch((error) => {
                link.attr('href', linkURL).removeClass('e2pdf-download-ready e2pdf-download-progress');
                alert(error.message || 'Something went wrong!');
            });
        }
    });
    jQuery(document).on('click', 'a.e2pdf-print-pdf', function (e) {
        var link = jQuery(this);
        e.preventDefault();
        if (!link.hasClass('e2pdf-download-ready')) {
            e.preventDefault();
        }
        var linkURL = link.attr('href');
        if (!link.hasClass('e2pdf-download-progress')) {
            link.addClass('e2pdf-download-progress');
            fetch(link.attr('href'), {
                method: 'GET',
                headers: {
                    'X-E2PDF-REQUEST': 'true'
                }
            }).then(resp => {
                if (resp.ok) {
                    resp.blob().then((blob) => {
                        const blobURL = URL.createObjectURL(new Blob([blob], {type: 'application/pdf'}));
                        e2pdfViewer.print.pdf(blobURL);
                        link.addClass('e2pdf-download-ready');
                        link.removeClass('e2pdf-download-ready e2pdf-download-progress');
                    });
                } else {
                    var errorMessage = 'Something went wrong!';
                    return resp.json().then((json) => {
                        if (json && json.redirect_url) {
                            link.attr('href', linkURL).removeClass('e2pdf-download-ready e2pdf-download-progress');
                            window.location.href = json.redirect_url;
                        } else {
                            if (json && json.error) {
                                errorMessage = json.error;
                            }
                            throw new Error(errorMessage);
                        }
                    }).catch(() => {
                        throw new Error(errorMessage);
                    });
                }
            }).catch((error) => {
                link.attr('href', linkURL).removeClass('e2pdf-download-ready e2pdf-download-progress');
                alert(error.message || 'Something went wrong!');
            });
        }
    });
    if (jQuery('.e2pdf-download.e2pdf-auto').not('.e2pdf-iframe-download').length > 0) {
        jQuery('.e2pdf-download.e2pdf-auto').not('.e2pdf-iframe-download').each(function (i, el) {
            setTimeout(function () {
                jQuery(el).click();
            }, i * 500);
        });
    }
    jQuery('.modal').on('show.bs.modal', function () {
        var modal = jQuery(this);
        modal.find('iframe.e2pdf-preload, img.e2pdf-preload').each(function () {
            jQuery(this).removeClass('e2pdf-preload').attr('src', jQuery(this).attr('preload'));
        });
    });
    var wpcf = document.querySelector('.wpcf7');
    if (wpcf !== null) {
        wpcf.addEventListener('wpcf7mailsent', function (event) {
            var message = event.detail.apiResponse.message;
            if (message && (message.includes('e2pdf-view') || message.includes('e2pdf-download'))) {
                if (jQuery('.wpcf7-response-output').length > 0) {
                    if (window.MutationObserver) {
                        new MutationObserver((mutationsList, observer) => {
                            for (var mutation of mutationsList) {
                                observer.disconnect();
                                jQuery('.wpcf7-response-output').html(jQuery('.wpcf7-response-output').text());
                            }
                        }).observe(jQuery('.wpcf7-response-output')[0], {attributes: false, childList: true, characterData: false});
                    } else {
                        setTimeout(function () {
                            jQuery('.wpcf7-response-output').html(jQuery('.wpcf7-response-output').text());
                        }, 500);
                    }
                }
            }
        }, false);
    }
    jQuery(document).on('metform/after_submit', function (event, payload) {
        if (payload && payload.response) {
            var response = payload.response;
            if (response.status && response.data && response.data.message) {
                var message = response.data.message;
                if (message && (message.includes('e2pdf-view') || message.includes('e2pdf-download'))) {
                    if (jQuery('.mf-main-response-wrap').length > 0 && jQuery('.mf-main-response-wrap p').length > 0) {
                        var response = jQuery('.mf-main-response-wrap').clone();
                        response.find('p').html(message);
                        jQuery('.mf-main-response-wrap').replaceWith(response);
                    }
                }
            }
        }
    });
});
// source --> https://www.kamellebud.de/wp-content/plugins/popups-for-divi/scripts/ie-compat.min.js?ver=3.2.7 
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t=[],r="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(e||(e={}));var n,o,i,s,a,c=function(e){return Object.freeze(e)},u=function(e,t){this.inlineSize=e,this.blockSize=t,c(this)},h=function(){function e(e,t,r,n){return this.x=e,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},l=function(e){if(f(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},d=function(e){var t,r;if(e instanceof Element)return!0;var n=null===(r=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===r?void 0:r.defaultView;return!!(n&&e instanceof n.Element)},p="undefined"!=typeof window?window:{},v=new WeakMap,g=/auto|scroll/,b=/^tb|vertical/,m=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),y=function(e){return parseFloat(e||"0")},w=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new u((r?t:e)||0,(r?e:t)||0)},E=c({devicePixelContentBoxSize:w(),borderBoxSize:w(),contentBoxSize:w(),contentRect:new h(0,0,0,0)}),S=function(e,t){if(void 0===t&&(t=!1),v.has(e)&&!t)return v.get(e);if(l(e))return v.set(e,E),E;var r=getComputedStyle(e),n=f(e)&&e.ownerSVGElement&&e.getBBox(),o=!m&&"border-box"===r.boxSizing,i=b.test(r.writingMode||""),s=!n&&g.test(r.overflowY||""),a=!n&&g.test(r.overflowX||""),u=n?0:y(r.paddingTop),d=n?0:y(r.paddingRight),p=n?0:y(r.paddingBottom),S=n?0:y(r.paddingLeft),x=n?0:y(r.borderTopWidth),T=n?0:y(r.borderRightWidth),z=n?0:y(r.borderBottomWidth),B=S+d,O=u+p,R=(n?0:y(r.borderLeftWidth))+T,M=x+z,A=a?e.offsetHeight-M-e.clientHeight:0,k=s?e.offsetWidth-R-e.clientWidth:0,C=o?B+R:0,N=o?O+M:0,D=n?n.width:y(r.width)-C-k,F=n?n.height:y(r.height)-N-A,P=D+B+k+R,_=F+O+A+M,j=c({devicePixelContentBoxSize:w(Math.round(D*devicePixelRatio),Math.round(F*devicePixelRatio),i),borderBoxSize:w(P,_,i),contentBoxSize:w(D,F,i),contentRect:new h(S,u,D,F)});return v.set(e,j),j},x=function(t,r,n){var o=S(t,n),i=o.borderBoxSize,s=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(r){case e.DEVICE_PIXEL_CONTENT_BOX:return a;case e.BORDER_BOX:return i;default:return s}},T=function(e){var t=S(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=c([t.borderBoxSize]),this.contentBoxSize=c([t.contentBoxSize]),this.devicePixelContentBoxSize=c([t.devicePixelContentBoxSize])},z=function(e){if(l(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},B=function(){var e=1/0,r=[];t.forEach((function(t){if(0!==t.activeTargets.length){var n=[];t.activeTargets.forEach((function(t){var r=new T(t.target),o=z(t.target);n.push(r),t.lastReportedSize=x(t.target,t.observedBox),o<e&&(e=o)})),r.push((function(){t.callback.call(t.observer,n,t.observer)})),t.activeTargets.splice(0,t.activeTargets.length)}}));for(var n=0,o=r;n<o.length;n++){(0,o[n])()}return e},O=function(e){t.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(r){r.isActive()&&(z(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))}))}))},R=function(){var e,n=0;for(O(n);t.some((function(e){return e.activeTargets.length>0}));)n=B(),O(n);return t.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:r}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=r),window.dispatchEvent(e)),n>0},M=[],A=function(e){if(!n){var t=0,r=document.createTextNode("");new MutationObserver((function(){return M.splice(0).forEach((function(e){return e()}))})).observe(r,{characterData:!0}),n=function(){r.textContent=""+(t?t--:t++)}}M.push(e),n()},k=0,C={attributes:!0,characterData:!0,childList:!0,subtree:!0},N=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],D=function(e){return void 0===e&&(e=0),Date.now()+e},F=!1,P=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!F){F=!0;var r,n=D(e);r=function(){var r=!1;try{r=R()}finally{if(F=!1,e=n-D(),!k)return;r?t.run(1e3):e>0?t.run(e):t.start()}},A((function(){requestAnimationFrame(r)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,C)};document.body?t():p.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),N.forEach((function(t){return p.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),N.forEach((function(t){return p.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),_=function(e){!k&&e>0&&P.start(),!(k+=e)&&P.stop()},j=function(){function t(t,r){this.target=t,this.observedBox=r||e.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e,t=x(this.target,this.observedBox,!0);return e=this.target,f(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},t}(),I=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},L=new WeakMap,W=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},X=function(){function e(){}return e.connect=function(e,t){var r=new I(e,t);L.set(e,r)},e.observe=function(e,r,n){var o=L.get(e),i=0===o.observationTargets.length;W(o.observationTargets,r)<0&&(i&&t.push(o),o.observationTargets.push(new j(r,n&&n.box)),_(1),P.schedule())},e.unobserve=function(e,r){var n=L.get(e),o=W(n.observationTargets,r),i=1===n.observationTargets.length;o>=0&&(i&&t.splice(t.indexOf(n),1),n.observationTargets.splice(o,1),_(-1))},e.disconnect=function(e){var t=this,r=L.get(e);r.observationTargets.slice().forEach((function(r){return t.unobserve(e,r.target)})),r.activeTargets.splice(0,r.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,e)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;--r>=0&&t.item(r)!==this;);return r>-1}),Array.from||(Array.from=(o=Object.prototype.toString,i=function(e){return"function"==typeof e||"[object Function]"===o.call(e)},s=Math.pow(2,53)-1,a=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),s)},function(e){var t=this,r=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,o=arguments.length>1?arguments[1]:void 0;if(void 0!==o){if(!i(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var s,c=a(r.length),u=i(t)?Object(new t(c)):new Array(c),h=0;h<c;)s=r[h],u[h]=o?void 0===n?o(s,h):o.call(n,s,h):s,h+=1;return u.length=c,u})),function(){var e=Array.prototype.slice;try{e.call(document.documentElement)}catch(t){Array.prototype.slice=function(t,r){if(r=void 0!==r?r:this.length,"[object Array]"===Object.prototype.toString.call(this))return e.call(this,t,r);var n,o,i=[],s=this.length,a=t||0;a=a>=0?a:Math.max(0,s+a);var c="number"==typeof r?Math.min(r,s):s;if(r<0&&(c=s+r),(o=c-a)>0)if(i=new Array(o),this.charAt)for(n=0;n<o;n++)i[n]=this.charAt(a+n);else for(n=0;n<o;n++)i[n]=this[a+n];return i}}}(),window.ResizeObserver=V,String.prototype.padStart||Object.defineProperty(String.prototype,"padStart",{configurable:!0,writable:!0,value:function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))}})}));