%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/romanian.ongrace.com/wp-content/plugins/otter-blocks/build/blocks/
Upload File :
Create Path :
Current File : /var/www/projetos/romanian.ongrace.com/wp-content/plugins/otter-blocks/build/blocks/slider.js

!function(){"use strict";var e;e=()=>{const e=setInterval((()=>{var t;void 0!==(null===(t=window)||void 0===t?void 0:t.Glide)&&(clearInterval(e),(()=>{const e=document.querySelectorAll(".wp-block-themeisle-blocks-slider"),t={root:null,rootMargin:"0px",threshold:[0]};e.forEach((e=>{const a=e.querySelector(".glide__slides");if(!Boolean(a.childElementCount))return!1;Object.keys(t).map((e=>t[e]=Number(t[e])));const o=new IntersectionObserver((r=>{r.forEach((t=>{if(t.isIntersecting&&0<=t.intersectionRect.height){const t="false"!==e.dataset.autoplay&&("true"===e.dataset.autoplay?2e3:e.dataset.autoplay);if("true"!==e.dataset.hideArrows){const t=document.createElement("div");t.innerHTML='<div class="glide__arrows" data-glide-el="controls"><button class="glide__arrow glide__arrow--left" data-glide-dir="<"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewbox="0 0 100 100" role="img" aria-hidden="true"><path d="M 10,50 L 60,100 L 70,90 L 30,50  L 70,10 L 60,0 Z"></path></svg></button><button class="glide__arrow glide__arrow--right" data-glide-dir="&gt;"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewbox="0 0 100 100" role="img" aria-hidden="true"><path d="M 10,50 L 60,100 L 70,90 L 30,50  L 70,10 L 60,0 Z"></path></svg></button></div>',e.appendChild(t.firstElementChild)}new window.Glide(`#${e.id}`,{...e.dataset,type:"carousel",keyboard:!0,autoplay:t,hoverpause:!0,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount(),a&&(a.style.height=e.dataset.height),o.unobserve(e)}}),t)}));o.observe(e)}))})())}),500)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}();

Zerion Mini Shell 1.0