PageSourceSearch

https://relai.app/app/themes/juniper-theme/dist/src/js/_app.js?ver=2.5.74

js relai.app collected 2026-09-24 09:26:18 UTC 10,376 bytes, 2 lines download raw bytes

1!function(){function t(t,e,n,r){Object.defineProperty(t,e,{get:n,set:r,enumerable:!0,configurable:!0})}var e="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{},n={},r={},o=e.parcelRequire8c83;null==o&&((o=function(t){if(t in n)return n[t].exports;if(t in r){var e=r[t];delete r[t];var o={id:t,exports:{}};return n[t]=o,e.call(o.exports,o,o.exports),o.exports}var i=Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(t,e){r[t]=e},e.parcelRequire8c83=o);var i=o.register;i("bB0zn",function(e,n){t(e.exports,"_",function(){return r});function r(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}}),i("6QEWP",function(e,n){function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}t(e.exports,"_",function(){return o})}),i("2Xzd1",function(e,n){t(e.exports,"_",function(){return l});var r=o("gUOYc"),i=o("Q6yVl"),a=o("4S8xA"),c=o("ihB7G");function l(t){return(0,r._)(t)||(0,i._)(t)||(0,c._)(t)||(0,a._)()}}),i("gUOYc",function(e,n){t(e.exports,"_",function(){return i});var r=o("gNF1f");function i(t){if(Array.isArray(t))return(0,r._)(t)}}),i("gNF1f",function(e,n){t(e.exports,"_",function(){return r});function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}}),i("Q6yVl",function(e,n){t(e.exports,"_",function(){return r});function r(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}}),i("4S8xA",function(e,n){t(e.exports,"_",function(){return r});function r(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}}),i("ihB7G",function(e,n){t(e.exports,"_",function(){return i});var r=o("gNF1f");function i(t,e){if(t){if("string"==typeof t)return(0,r._)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r._)(t,e)}}});var a=o("bB0zn"),c=o("6QEWP"),l=function(){var t=document.querySelector(".nav-toggle");if(t){var e=document.querySelector("body");t.addEventListener("click",function(){t.classList.toggle("nav--toggled"),e.classList.toggle("nav--toggled")})}},u={settings:{timelines:document.querySelectorAll(".is-style-is-timeline")},init:function(){this.setDOM(),this.setEvents()},setDOM:function(){this.settings.timelines&&this.settings.timelines.forEach(function(t){var e=document.createElement("div"),n=document.createElement("div");e.classList.add("is-style-is-timeline__scroller","js-timeline-scroller"),n.classList.add("is-style-is-timeline__drag","js-timeline-drag"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="57" height="56" viewBox="0 0 57 56" fill="none"><rect width="54" height="54" x="1.5" y="1" fill="#14217E" rx="11"/>\n    <rect width="54" height="54" x="1.5" y="1" stroke="#fff" stroke-width="2" rx="11"/> <g fill="#fff" clip-path="url(#a)"><path fill-rule="evenodd" d="M12.5 28c0-8.837 7.163-16 16-16s16 7.163 16 16-7.163 16-16 16-16-7.163-16-16Zm16-13.078c-7.223 0-13.078 5.855-13.078 13.078 0 7.222 5.855 13.078 13.078 13.078 7.223 0 13.078-5.856 13.078-13.078 0-7.223-5.855-13.078-13.078-13.078Z" clip-rule="evenodd"/><path d="M27.392 37.202h2.186v-3.843h-2.186v3.843Z"/><path fill-rule="evenodd" d="M29.578 20.665V18.88h-2.186v1.76H23.42v14.611h2.647v-5.35h2.693l2.871 5.35h2.954l-3.16-5.784c.095-.039.188-.08.278-.123.77-.376 1.353-.906 1.748-1.591.4-.69.599-1.503.599-2.44 0-.932-.198-1.748-.592-2.447-.39-.704-.968-1.25-1.734-1.641-.602-.309-1.318-.495-2.147-.56Zm-3.51 7.038h2.44c.656 0 1.193-.09 1.612-.271.418-.185.728-.454.927-.806.205-.357.307-.795.307-1.313 0-.518-.102-.96-.307-1.327a1.951 1.951 0 0 0-.934-.842c-.419-.195-.959-.292-1.62-.292h-2.425v4.851Z" clip-rule="evenodd"/>\n    </g><defs><clipPath id="a"><path fill="#fff" d="M12.5 12h32v32h-32z"/></clipPath></defs></svg>',t.appendChild(e),e.appendChild(n)})},setEvents:function(){var t=this;this.settings.timelines&&window.addEventListener("scroll",function(){t.settings.timelines.forEac
1h(function(t){var e=t.querySelector(".js-timeline-scroller"),n=t.querySelector(".js-timeline-drag");if(e&&n){var r=t.getBoundingClientRect(),o=t.offsetHeight-n.offsetHeight,i=0;r.top<=100&&(i=Math.max(0,i=Math.min(100-r.top,o))),isFinite(i)&&t.style.setProperty("--height","".concat(i,"px"))}})},{passive:!0})}},s={loading:!1,init:function(){s.initNewsletterForm()},initNewsletterForm:function(){document.querySelectorAll("[data-newsletter-form]").forEach(function(t){var e=t.querySelector('[type="submit"]');t.addEventListener("submit",function(n){if(n.preventDefault(),s.loading)return!1;s.loading=!0;var r=new FormData;r.append("email",t.querySelector('[name="user_email"]').value),r.append("group",t.querySelector('[name="group"]').value),r.append("nonce",ajax_var.ajax_nonce),r.append("action","register_newsletter_subscriber"),t.classList.toggle("loading",s.loading),null==e||e.classList.toggle("button-loading",s.loading);var o=t.querySelector("[data-newsletter-response]");return o.classList.remove("visible","error"),fetch(t.action,{method:"post",body:r}).then(function(t){return t.json()}).then(function(t){if(t.success){o.innerText=o.getAttribute("data-newsletter-response");return}o.classList.add("error"),o.innerText=o.getAttribute("data-newsletter-response-error")}).catch(function(t){console.warn(t),o.classList.add("error"),o.innerText=o.getAttribute("data-newsletter-response-error")}).finally(function(){s.loading=!1,t.classList.toggle("loading",s.loading),null==e||e.classList.toggle("button-loading",s.loading),o.classList.add("visible"),t.reset()}),!1})})}},d=o("2Xzd1"),f={throttle:function(t,e){var n;return function(){var r=arguments;n||(t.apply(this,r),n=!0,setTimeout(function(){return n=!1},e))}},debounce:function(t,e){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return t.apply(r,o)},e)}},scale:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:100;return(t-e)*(o-r)/(n-e)+r},random:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9999;return Math.floor(Math.random()*(e-t+1)+t)},shuffle:function(t){return t.slice().sort(function(){return Math.random()-.5})},flatten:function(t){var e;return(e=[]).concat.apply(e,(0,d._)(t))},removeDupliates:function(t){return(0,d._)(new Set(t))},getHex:function(){return"#"+Math.floor(0xffffff*Math.random()).toString(16).padEnd(6,"0")},getQuery:function(){return document.location.search.replace(/(^\?)/,"").split("&").reduce(function(t,e){return t[(e=e.split("="))[0]]=e[1],t},{})},isMobile:function(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i))},getMobileOperatingSystem:function(){var t=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(t)?"Windows Phone":/android/i.test(t)?"Android":/iPad|iPhone|iPod/.test(t)&&!window.MSStream?"iOS":"unknown"},goTo:function(t,e){document.body.scrollTop=document.documentElement.scrollTop=y},getElem:function(t,e){var n=document.querySelectorAll(t);[].forEach.call(n,e)},clone:function(t){this.getElem(t,function(t){for(var e=t.getAttribute("data-clone"),n=0;n<e-1;n++){var r=t.cloneNode(!0);r.setAttribute("data-clone","clone"),t.parentElement.appendChild(r)}})}},p={init:function(){p.initOpenButton(),p.initCloseButton(),p.initCloseOnOtherClick(),p.initDownloadAppButton()},initDownloadAppButton:function(){document.querySelectorAll("[data-app-download]").forEach(function(t){t.addEventListener("click",function(e){if(e.preventDefault(),e.stopPropagation(),f.isMobile()){var n="";if(n="iOS"===f.getMobileOperatingSystem()?t.getAttribute("data-app-download-ios"):t.getAttribute("data-app-download-android"))return window.open(n),!0}var r=p.get("qr"),o=r&&r.querySelector(".popup__qr-img");return o&&o.dataset.defaultSrc&&(o.src=o.dataset.defaultSrc),p.open("qr"),!0})})}
1,initCloseOnOtherClick:function(){document.querySelectorAll("[data-popup]").forEach(function(t){t.addEventListener("click",function(){p.close()})}),document.querySelectorAll("[data-popup-content]").forEach(function(t){t.addEventListener("click",function(t){t.stopPropagation()})})},initCloseButton:function(){document.querySelectorAll("[data-popup-close]").forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),p.close()})})},initOpenButton:function(){document.querySelectorAll("[data-popup-open], a[href^='#popup--']").forEach(function(t){t.addEventListener("click",function(e){e.preventDefault();var n=t.getAttribute("data-popup-open");if(null===n){if(!(n=t.getAttribute("href")))return;n=n.split("--")[1]}if("qr"===n){var r=t.getAttribute("data-qr-src"),o=p.get("qr"),i=o&&o.querySelector(".popup__qr-img");i&&(i.src=r||i.dataset.defaultSrc||i.src)}p.open(n)})})},get:function(t){return document.querySelector("[data-popup='".concat(t,"']"))},open:function(t){var e=p.get(t);e&&e.classList.add("active")},close:function(){document.querySelectorAll("[data-popup]").forEach(function(t){t.classList.remove("active"),t.classList.remove("playing-video"),t.querySelectorAll("[data-popup-video]").forEach(function(t){t.pause()})})}},g={init:function(){var t=this,e=document.querySelectorAll(".sticky-cards");0!==e.length&&e.forEach(function(e){t.setupCards(e)})},setupCards:function(t){Array.from(t.children).forEach(function(e){var n=document.createElement("div");n.className="sticky-cards-item",t.insertBefore(n,e),n.appendChild(e)})}},h=function(){"use strict";function t(){(0,a._)(this,t)}return(0,c._)(t,[{key:"initCore",value:function(){l(),u.init(),s.init(),p.init(),g.init()}}]),t}();function v(){new h().initCore()}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",v):v()}();
2//# sourceMappingURL=_app.js.map

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.