public/theme.bundle.js
(()=>{var e,t={2250:()=>{},9328:()=>{const e=document.querySelectorAll("[data-map]");e.forEach((e=>{const t={...{container:e,style:"mapbox://styles/mapbox/light-v9",scrollZoom:!1,interactive:!1},...e.dataset.map?JSON.parse(e.dataset.map):{}};mapboxgl.accessToken="pk.eyJ1IjoiZ29vZHRoZW1lcyIsImEiOiJjanU5eHR4N2cybDU5NGVwOHZwNGprb3E0In0.msdw9q16dh8v4azJXUdiXg",new mapboxgl.Map(t)}))},5060:()=>{function e(){document.documentElement.style.overflowX="visible"}function t(){document.documentElement.style.overflowX=""}document.querySelectorAll(".modal").forEach((o=>{o.addEventListener("show.bs.modal",e),o.addEventListener("hidden.bs.modal",t)}))},8925:()=>{const e=document.querySelectorAll(".navbar-nav .dropdown, .navbar-nav .dropend"),t=["mouseenter"],o=["mouseleave","click"];e.forEach((function(e){const n=e.querySelector(".dropdown-menu");t.forEach((function(t){e.addEventListener(t,(function(){!function(e){window.innerWidth<992||(e.classList.add("showing"),setTimeout((function(){e.classList.remove("showing"),e.classList.add("show")}),1))}(n)}))})),o.forEach((function(t){e.addEventListener(t,(function(e){!function(e,t){setTimeout((function(){window.innerWidth<992||t.classList.contains("show")&&("click"===e.type&&e.target.closest(".dropdown-menu form")||(t.classList.add("showing"),t.classList.remove("show"),setTimeout((function(){t.classList.remove("showing")}),200)))}),2)}(e,n)}))}))}))},3246:()=>{const e=document.querySelectorAll(".navbar-togglable"),t=document.querySelectorAll(".navbar-collapse"),o=["load","scroll"];let n=!1;function a(e){const t=window.pageYOffset;t&&!n&&function(e){e.classList.remove("navbar-dark"),e.classList.add("navbar-light"),e.classList.add("bg-white"),n=!0}(e),t||function(e){e.classList.remove("navbar-light"),e.classList.remove("bg-white"),e.classList.add("navbar-dark"),n=!1}(e)}function r(){const e=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.overflow="hidden",document.body.style.paddingRight=e+"px"}e.forEach((function(e){o.forEach((function(t){window.addEventListener(t,(function(){a(e)}))}))})),t.forEach((function(e){e.addEventListener("show.bs.collapse",(function(){r()})),e.addEventListener("hidden.bs.collapse",(function(){document.documentElement.style.overflow="",document.body.style.paddingRight=""}))}))},4093:(e,t,o)=>{"use strict";var n=o(5169),a=o(2442),r=o.n(a),l=(o(1105),o(7541),o(3031),o(4878)),i=o(2711),d=o.n(i);d().init({duration:700,easing:"ease-out-quad",once:!0,startEvent:"load"}),window.AOS=d();var c=o(765),s=o.n(c);document.querySelectorAll("[data-bigpicture]").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();const o=JSON.parse(e.dataset.bigpicture),n={...{el:e,noLoader:!0},...o};s()(n)}))})),window.BigPicture=s(),window.Alert=n.bZ,window.Button=n.zx,window.Carousel=n.lr,window.Collapse=n.UO,window.Dropdown=n.Lt,window.Modal=n.u_,window.Offcanvas=n.TB,window.Popover=n.J2,window.ScrollSpy=n.DA,window.Tab=n.OK,window.Toast=n.FN,window.Tooltip=n.u;var u=o(4529),w=o.n(u);document.querySelectorAll("[data-choices]").forEach((e=>{const t={...e.dataset.choices?JSON.parse(e.dataset.choices):{},...{shouldSort:!1,searchEnabled:!1,classNames:{containerInner:e.className,input:"form-control",inputCloned:"form-control-xs",listDropdown:"dropdown-menu",itemChoice:"dropdown-item",activeState:"show",selectedState:"active"}}};new(w())(e,t)})),window.Choices=w();var f=o(8273);function p(e){const t=e.dataset.to?+e.dataset.to:null,o=e.dataset.countup?JSON.parse(e.dataset.countup):{};new f.I(e,t,o).start()}document.querySelectorAll("[data-countup]").forEach((e=>{"countup:in"!==e.getAttribute("data-aos-id")&&p(e)})),document.addEventListener("aos:in:countup:in",(function(e){(e.detail instanceof Element?[e.detail]:document.querySelectorAll('.aos-animate[data-aos-id="countup:in"]:not(.counted)')).forEach((e=>{p(e)}))})),window.CountUp=f.I;var m=o(2025),h=o.n(m);h().autoDiscover=!1,h().thumbnailWidth=null,h().thumbnailHeight=null;document.querySelectorAll("[data-dropzone]").forEach((e=>{let t;const o=e.dataset.dropzone?JSON.parse(e.dataset.dropzone):{},n={previewsContainer:e.querySelector(".dz-preview"),previewTemplate:e.querySelector(".dz-preview").innerHTML,init:function(){this.on("addedfile",(function(e){1==o.maxFiles&&t&&this.removeFile(t),t=e}))}},a={...o,...n};e.querySelector(".dz-preview").innerHTML="",new(h())(e,a)})),window.Dropzone=h(),window.Flickity=r();var v=o(7802),g=o.n(v),y=o(6344),b=o.n(y),S=o(2157),E=o.n(S);const O=document.querySelectorAll(".highlight");g().registerLanguage("xml",E()),g().registerLanguage("javascript",b()),O.forEach((e=>{g().highlightBlock(e)})),window.hljs=g();var L=o(7564),q=o.n(L),x=o(3391),A=o.n(x);const j=document.querySelectorAll("[data-isotope]"),k=document.querySelectorAll("[data-filter]");j.forEach((function(e){q()(e,(function(){const t=JSON.parse(e.dataset.isotope);new(A())(e,t)}))})),k.forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();const o=e.dataset.filter,n=e.dataset.bsTarget;A().data(n).arrange({filter:o})}))})),window.Isotope=A(),window.imagesLoaded=q();const N=document.querySelectorAll("[data-jarallax], [data-jarallax-element]");(0,l.jarallaxVideo)(),(0,l.jarallaxElement)(),(0,l.jarallax)(N),window.jarallax=l.jarallax,window.jarallaxElement=l.jarallaxElement,window.jarallaxVideo=l.jarallaxVideo;o(9328),o(5060),o(8925),o(3246);document.querySelectorAll('[data-bs-toggle="popover"]').forEach((e=>{new n.J2(e)}));const T=document.querySelectorAll('[data-toggle="price"]');T.forEach((e=>{e.addEventListener("change",(e=>{const t=e.target,o=t.checked,n=t.dataset.target;document.querySelectorAll(n).forEach((e=>{const t=e.dataset.annual,n=e.dataset.monthly,a=e.dataset.options?JSON.parse(e.dataset.options):{};a.startVal=o?t:n,a.duration=a.duration?a.duration:1;(o?new f.I(e,n,a):new f.I(e,t,a)).start()}))}))}));var J=o(6095),I=o.n(J);document.querySelectorAll("[data-quill]").forEach((e=>{const t={modules:{toolbar:[["bold","italic"],["link","blockquote","code","image"],[{list:"ordered"},{list:"bullet"}]]},theme:"snow",...e.dataset.quill?JSON.parse(e.dataset.quill):{}};new(I())(e,t)})),window.Quill=I();var z=o(3002),C=o.n(z);const D={header:".navbar.fixed-top",offset:function(e,t){return t.dataset.scroll&&void 0!==JSON.parse(t.dataset.scroll).offset?JSON.parse(t.dataset.scroll).offset:24}};new(C())("[data-scroll]",D),window.SmoothScroll=C();document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach((e=>{new n.u(e)}));var M=o(3614),H=o.n(M);document.querySelectorAll("[data-typed]").forEach((e=>{const t={typeSpeed:40,backSpeed:40,backDelay:1e3,loop:!0,...e.dataset.typed?JSON.parse(e.dataset.typed):{}};new(H())(e,t)})),window.Typed=H()}},o={};function n(e){var a=o[e];if(void 0!==a)return a.exports;var r=o[e]={exports:{}};return t[e].call(r.exports,r,r.exports,n),r.exports}n.m=t,e=[],n.O=(t,o,a,r)=>{if(!o){var l=1/0;for(c=0;c<e.length;c++){for(var[o,a,r]=e[c],i=!0,d=0;d<o.length;d++)(!1&r||l>=r)&&Object.keys(n.O).every((e=>n.O[e](o[d])))?o.splice(d--,1):(i=!1,r<l&&(l=r));i&&(e.splice(c--,1),t=a())}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[o,a,r]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={505:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var a,r,[l,i,d]=o,c=0;for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(d)var s=d(n);for(t&&t(o);c<l.length;c++)r=l[c],n.o(e,r)&&e[r]&&e[r][0](),e[l[c]]=0;return n.O(s)},o=self.webpackChunklandkit=self.webpackChunklandkit||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),n.O(void 0,[736],(()=>n(4093)));var a=n.O(void 0,[736],(()=>n(2250)));a=n.O(a)})();
//# sourceMappingURL=https://bitfire.co/assets/js/theme.bundle.js.map