! function() { "use strict"; var t; ! function(t) { t.CURSOR = "cursor", t.NONE = "none", t.SCROLL = "scroll" }(t || (t = {})), window.addEventListener("DOMContentLoaded", (function() { var e = document.querySelectorAll("lottie-player"); e.forEach((function(e) { var a = e.attributes, i = JSON.parse(a.rest.value), o = document.getElementById(a.id.value), n = i.controls, r = void 0 === n || n, l = i.loop, u = void 0 === l || l; o.__autoplay = !1, o.__controls = !0 === r, o.setLooping(!0 === u), a.interactivitymode.value === t.NONE ? (o.__autoplay = !0, o.play()) : function(e) { if ("" !== e.id.value) { var a = function(e) { var a = e.interactivitymode, i = e.interactivitytype, o = e.totalframes; return a.value === t.SCROLL ? [{ visibility: [0, 1], type: i.value, frames: [0, parseFloat(o.value)] }] : [{ type: i.value }] }(e); LottieInteractivity.create({ player: "#".concat(e.id.value), mode: e.interactivitymode.value, actions: a }) } }(a) })) })) }();