/* appearlazy.min.js 1.2.1 */
appear(function(){"use strict";function t(t){t.classList?t.classList.add("appeared"):t.className+=" appeared"}function e(e){var r=e.getAttribute("src")||!1;e.addEventListener("error",function s(t){r&&e.setAttribute("src",r),e.removeEventListener("error",s)});var a=e.getAttribute("data-src");return a?(e.setAttribute("src",a),void t(e)):(a=e.getAttribute("data-bkg"),a?(e.style.backgroundImage='url("'+a+'")',void t(e)):void 0)}function r(t){if(t.hasChildNodes()){var r=t.querySelectorAll("[data-src], [data-bkg]"),a=r.length;if(0===a)e(t);else for(var s=0;s<a;s++)e(r[s])}else e(t)}function a(t,e){setTimeout(function(){r(t)},e)}var s=[];return{init:function(){for(var t=document.getElementsByClassName("appear"),e=t.length,r=0;r<e;r+=1){var n=t[r].getAttribute("data-delay");n?a(t[r],n):s.push(t[r])}},elements:s,appear:r,bounds:200}}());