{"version":3,"sources":["webpack:///node_modules/scrollreveal/dist/scrollreveal.js"],"names":[],"mappings":"AAAA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,oBAAoB;;AAErB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,sCAAsC;AACtC,wCAAwC;AACxC,wCAAwC;AACxC;AACA;;AAEA;AACA;;AAEA;AACA,6BAA6B;AAC7B,iCAAiC;AACjC,+BAA+B;AAC/B,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA,IAAI;AACJ;AACA;;AAEA,cAAc;;AAEd;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,8BAA8B,oBAAoB;;AAElD,iCAAiC,iCAAiC;AAClE,2BAA2B,iBAAiB;AAC5C,+BAA+B,2CAA2C;AAC1E;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uCAAuC,mDAAmD,EAAE;AAC5F;AACA;AACA,iDAAiD,sCAAsC,EAAE;AACzF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC,qCAAqC,EAAE;AAC7E,uCAAuC,GAAG;AAC1C;AACA;;AAEA;AACA;;AAEA,4BAA4B;AAC5B;AACA;AACA,GAAG,EAAE;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,6CAA6C,8CAA8C,EAAE;;AAE7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,8CAA8C,+CAA+C,EAAE;AAC/F;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,aAAa,MAAM;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,OAAO;AACxB;AACA,kBAAkB,OAAO;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAmD,wBAAwB,EAAE;;AAE7E;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,uDAAuD;;AAEvD,gEAAgE,iBAAiB,EAAE,SAAS,QAAQ;;AAEpG,oDAAoD,6CAA6C,EAAE;AACnG;AACA,oEAAoE,iBAAiB,EAAE,SAAS,QAAQ;;AAExG;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oFAAoF;AACpF,mFAAmF;AACnF;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,YAAY,kCAAkC;AAC9C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA,wBAAwB,gDAAgD;AACxE,wBAAwB,gDAAgD;AACxE,wBAAwB,gDAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,+EAA+E;AAC/E,+FAA+F;AAC/F;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE,oEAAoE;AACpE;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,KAAK;AACjB,YAAY,OAAO;AACnB;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,sBAAsB,cAAc;AACpC,EAAE;;AAEF;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA,wDAAwD,iBAAiB,EAAE;AAC3E,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,uDAAuD,iBAAiB,EAAE;AAC1E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDAAuD,iBAAiB,EAAE;AAC1E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,cAAc;AACrD;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6CAA6C,mCAAmC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,mCAAmC;AAC3E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B;;AAE9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,uCAAuC;AACnE;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4BAA4B,mCAAmC;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA,8BAA8B,gCAAgC;AAC9D;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,4BAA4B,6BAA6B,EAAE;AAC3D;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,IAAI;;AAEJ;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB;AACnB,mBAAmB;AACnB,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,2CAA2C,mBAAmB,sBAAsB,EAAE,EAAE;AACxF,0CAA0C,mBAAmB,qBAAqB,EAAE,EAAE;AACtF,yCAAyC,mBAAmB,oBAAoB,EAAE,EAAE;AACpF,wCAAwC,mBAAmB,mBAAmB,EAAE,EAAE;AAClF,uCAAuC,mBAAmB,kBAAkB,EAAE,EAAE;;AAEhF,2CAA2C,mBAAmB,eAAe,EAAE,EAAE;AACjF,0CAA0C,mBAAmB,gBAAgB,EAAE,EAAE;AACjF,uCAAuC,mBAAmB,cAAc,EAAE,EAAE;;AAE5E;AACA;;AAEA,yCAAyC,0DAA0D;;AAEnG;AACA,oBAAoB,uBAAuB,EAAE;AAC7C,yBAAyB,6DAA6D;AACtF,EAAE;;AAEF;;AAEA;;AAEA,CAAC","file":"scripts.js","sourcesContent":["/*! @license ScrollReveal v4.0.9\n\n\tCopyright 2021 Fisssion LLC.\n\n\tLicensed under the GNU General Public License 3.0 for\n\tcompatible open source projects and non-commercial use.\n\n\tFor commercial sites, themes, projects, and applications,\n\tkeep your source code private/proprietary by purchasing\n\ta commercial license from https://scrollrevealjs.org/\n*/\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global = global || self, global.ScrollReveal = factory());\n}(this, function () { 'use strict';\n\n\tvar defaults = {\n\t\tdelay: 0,\n\t\tdistance: '0',\n\t\tduration: 600,\n\t\teasing: 'cubic-bezier(0.5, 0, 0, 1)',\n\t\tinterval: 0,\n\t\topacity: 0,\n\t\torigin: 'bottom',\n\t\trotate: {\n\t\t\tx: 0,\n\t\t\ty: 0,\n\t\t\tz: 0\n\t\t},\n\t\tscale: 1,\n\t\tcleanup: false,\n\t\tcontainer: document.documentElement,\n\t\tdesktop: true,\n\t\tmobile: true,\n\t\treset: false,\n\t\tuseDelay: 'always',\n\t\tviewFactor: 0.0,\n\t\tviewOffset: {\n\t\t\ttop: 0,\n\t\t\tright: 0,\n\t\t\tbottom: 0,\n\t\t\tleft: 0\n\t\t},\n\t\tafterReset: function afterReset() {},\n\t\tafterReveal: function afterReveal() {},\n\t\tbeforeReset: function beforeReset() {},\n\t\tbeforeReveal: function beforeReveal() {}\n\t};\n\n\tfunction failure() {\n\t\tdocument.documentElement.classList.remove('sr');\n\n\t\treturn {\n\t\t\tclean: function clean() {},\n\t\t\tdestroy: function destroy() {},\n\t\t\treveal: function reveal() {},\n\t\t\tsync: function sync() {},\n\t\t\tget noop() {\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction success() {\n\t\tdocument.documentElement.classList.add('sr');\n\n\t\tif (document.body) {\n\t\t\tdocument.body.style.height = '100%';\n\t\t} else {\n\t\t\tdocument.addEventListener('DOMContentLoaded', function () {\n\t\t\t\tdocument.body.style.height = '100%';\n\t\t\t});\n\t\t}\n\t}\n\n\tvar mount = { success: success, failure: failure };\n\n\t/*! @license is-dom-node v1.0.4\n\n\t\tCopyright 2018 Fisssion LLC.\n\n\t\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\t\tof this software and associated documentation files (the \"Software\"), to deal\n\t\tin the Software without restriction, including without limitation the rights\n\t\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t\tcopies of the Software, and to permit persons to whom the Software is\n\t\tfurnished to do so, subject to the following conditions:\n\n\t\tThe above copyright notice and this permission notice shall be included in all\n\t\tcopies or substantial portions of the Software.\n\n\t\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\tSOFTWARE.\n\n\t*/\n\tfunction isDomNode(x) {\n\t\treturn typeof window.Node === 'object'\n\t\t\t? x instanceof window.Node\n\t\t\t: x !== null &&\n\t\t\t\t\ttypeof x === 'object' &&\n\t\t\t\t\ttypeof x.nodeType === 'number' &&\n\t\t\t\t\ttypeof x.nodeName === 'string'\n\t}\n\n\t/*! @license is-dom-node-list v1.2.1\n\n\t\tCopyright 2018 Fisssion LLC.\n\n\t\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\t\tof this software and associated documentation files (the \"Software\"), to deal\n\t\tin the Software without restriction, including without limitation the rights\n\t\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t\tcopies of the Software, and to permit persons to whom the Software is\n\t\tfurnished to do so, subject to the following conditions:\n\n\t\tThe above copyright notice and this permission notice shall be included in all\n\t\tcopies or substantial portions of the Software.\n\n\t\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\tSOFTWARE.\n\n\t*/\n\n\tfunction isDomNodeList(x) {\n\t\tvar prototypeToString = Object.prototype.toString.call(x);\n\t\tvar regex = /^\\[object (HTMLCollection|NodeList|Object)\\]$/;\n\n\t\treturn typeof window.NodeList === 'object'\n\t\t\t? x instanceof window.NodeList\n\t\t\t: x !== null &&\n\t\t\t\t\ttypeof x === 'object' &&\n\t\t\t\t\ttypeof x.length === 'number' &&\n\t\t\t\t\tregex.test(prototypeToString) &&\n\t\t\t\t\t(x.length === 0 || isDomNode(x[0]))\n\t}\n\n\t/*! @license Tealight v0.3.6\n\n\t\tCopyright 2018 Fisssion LLC.\n\n\t\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\t\tof this software and associated documentation files (the \"Software\"), to deal\n\t\tin the Software without restriction, including without limitation the rights\n\t\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t\tcopies of the Software, and to permit persons to whom the Software is\n\t\tfurnished to do so, subject to the following conditions:\n\n\t\tThe above copyright notice and this permission notice shall be included in all\n\t\tcopies or substantial portions of the Software.\n\n\t\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\tSOFTWARE.\n\n\t*/\n\n\tfunction tealight(target, context) {\n\t if ( context === void 0 ) { context = document; }\n\n\t if (target instanceof Array) { return target.filter(isDomNode); }\n\t if (isDomNode(target)) { return [target]; }\n\t if (isDomNodeList(target)) { return Array.prototype.slice.call(target); }\n\t if (typeof target === \"string\") {\n\t try {\n\t var query = context.querySelectorAll(target);\n\t return Array.prototype.slice.call(query);\n\t } catch (err) {\n\t return [];\n\t }\n\t }\n\t return [];\n\t}\n\n\tfunction isObject(x) {\n\t\treturn (\n\t\t\tx !== null &&\n\t\t\tx instanceof Object &&\n\t\t\t(x.constructor === Object ||\n\t\t\t\tObject.prototype.toString.call(x) === '[object Object]')\n\t\t)\n\t}\n\n\tfunction each(collection, callback) {\n\t\tif (isObject(collection)) {\n\t\t\tvar keys = Object.keys(collection);\n\t\t\treturn keys.forEach(function (key) { return callback(collection[key], key, collection); })\n\t\t}\n\t\tif (collection instanceof Array) {\n\t\t\treturn collection.forEach(function (item, i) { return callback(item, i, collection); })\n\t\t}\n\t\tthrow new TypeError('Expected either an array or object literal.')\n\t}\n\n\tfunction logger(message) {\n\t\tvar details = [], len = arguments.length - 1;\n\t\twhile ( len-- > 0 ) details[ len ] = arguments[ len + 1 ];\n\n\t\tif (this.constructor.debug && console) {\n\t\t\tvar report = \"%cScrollReveal: \" + message;\n\t\t\tdetails.forEach(function (detail) { return (report += \"\\n — \" + detail); });\n\t\t\tconsole.log(report, 'color: #ea654b;'); // eslint-disable-line no-console\n\t\t}\n\t}\n\n\tfunction rinse() {\n\t\tvar this$1 = this;\n\n\t\tvar struct = function () { return ({\n\t\t\tactive: [],\n\t\t\tstale: []\n\t\t}); };\n\n\t\tvar elementIds = struct();\n\t\tvar sequenceIds = struct();\n\t\tvar containerIds = struct();\n\n\t\t/**\n\t\t * Take stock of active element IDs.\n\t\t */\n\t\ttry {\n\t\t\teach(tealight('[data-sr-id]'), function (node) {\n\t\t\t\tvar id = parseInt(node.getAttribute('data-sr-id'));\n\t\t\t\telementIds.active.push(id);\n\t\t\t});\n\t\t} catch (e) {\n\t\t\tthrow e\n\t\t}\n\t\t/**\n\t\t * Destroy stale elements.\n\t\t */\n\t\teach(this.store.elements, function (element) {\n\t\t\tif (elementIds.active.indexOf(element.id) === -1) {\n\t\t\t\telementIds.stale.push(element.id);\n\t\t\t}\n\t\t});\n\n\t\teach(elementIds.stale, function (staleId) { return delete this$1.store.elements[staleId]; });\n\n\t\t/**\n\t\t * Take stock of active container and sequence IDs.\n\t\t */\n\t\teach(this.store.elements, function (element) {\n\t\t\tif (containerIds.active.indexOf(element.containerId) === -1) {\n\t\t\t\tcontainerIds.active.push(element.containerId);\n\t\t\t}\n\t\t\tif (element.hasOwnProperty('sequence')) {\n\t\t\t\tif (sequenceIds.active.indexOf(element.sequence.id) === -1) {\n\t\t\t\t\tsequenceIds.active.push(element.sequence.id);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/**\n\t\t * Destroy stale containers.\n\t\t */\n\t\teach(this.store.containers, function (container) {\n\t\t\tif (containerIds.active.indexOf(container.id) === -1) {\n\t\t\t\tcontainerIds.stale.push(container.id);\n\t\t\t}\n\t\t});\n\n\t\teach(containerIds.stale, function (staleId) {\n\t\t\tvar stale = this$1.store.containers[staleId].node;\n\t\t\tstale.removeEventListener('scroll', this$1.delegate);\n\t\t\tstale.removeEventListener('resize', this$1.delegate);\n\t\t\tdelete this$1.store.containers[staleId];\n\t\t});\n\n\t\t/**\n\t\t * Destroy stale sequences.\n\t\t */\n\t\teach(this.store.sequences, function (sequence) {\n\t\t\tif (sequenceIds.active.indexOf(sequence.id) === -1) {\n\t\t\t\tsequenceIds.stale.push(sequence.id);\n\t\t\t}\n\t\t});\n\n\t\teach(sequenceIds.stale, function (staleId) { return delete this$1.store.sequences[staleId]; });\n\t}\n\n\t/*! @license Rematrix v0.3.0\n\n\t\tCopyright 2018 Julian Lloyd.\n\n\t\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\t\tof this software and associated documentation files (the \"Software\"), to deal\n\t\tin the Software without restriction, including without limitation the rights\n\t\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t\tcopies of the Software, and to permit persons to whom the Software is\n\t\tfurnished to do so, subject to the following conditions:\n\n\t\tThe above copyright notice and this permission notice shall be included in\n\t\tall copies or substantial portions of the Software.\n\n\t\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\t\tTHE SOFTWARE.\n\t*/\n\t/**\n\t * @module Rematrix\n\t */\n\n\t/**\n\t * Transformation matrices in the browser come in two flavors:\n\t *\n\t * - `matrix` using 6 values (short)\n\t * - `matrix3d` using 16 values (long)\n\t *\n\t * This utility follows this [conversion guide](https://goo.gl/EJlUQ1)\n\t * to expand short form matrices to their equivalent long form.\n\t *\n\t * @param {array} source - Accepts both short and long form matrices.\n\t * @return {array}\n\t */\n\tfunction format(source) {\n\t\tif (source.constructor !== Array) {\n\t\t\tthrow new TypeError('Expected array.')\n\t\t}\n\t\tif (source.length === 16) {\n\t\t\treturn source\n\t\t}\n\t\tif (source.length === 6) {\n\t\t\tvar matrix = identity();\n\t\t\tmatrix[0] = source[0];\n\t\t\tmatrix[1] = source[1];\n\t\t\tmatrix[4] = source[2];\n\t\t\tmatrix[5] = source[3];\n\t\t\tmatrix[12] = source[4];\n\t\t\tmatrix[13] = source[5];\n\t\t\treturn matrix\n\t\t}\n\t\tthrow new RangeError('Expected array with either 6 or 16 values.')\n\t}\n\n\t/**\n\t * Returns a matrix representing no transformation. The product of any matrix\n\t * multiplied by the identity matrix will be the original matrix.\n\t *\n\t * > **Tip:** Similar to how `5 * 1 === 5`, where `1` is the identity.\n\t *\n\t * @return {array}\n\t */\n\tfunction identity() {\n\t\tvar matrix = [];\n\t\tfor (var i = 0; i < 16; i++) {\n\t\t\ti % 5 == 0 ? matrix.push(1) : matrix.push(0);\n\t\t}\n\t\treturn matrix\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing the combined transformations\n\t * of both arguments.\n\t *\n\t * > **Note:** Order is very important. For example, rotating 45°\n\t * along the Z-axis, followed by translating 500 pixels along the\n\t * Y-axis... is not the same as translating 500 pixels along the\n\t * Y-axis, followed by rotating 45° along on the Z-axis.\n\t *\n\t * @param {array} m - Accepts both short and long form matrices.\n\t * @param {array} x - Accepts both short and long form matrices.\n\t * @return {array}\n\t */\n\tfunction multiply(m, x) {\n\t\tvar fm = format(m);\n\t\tvar fx = format(x);\n\t\tvar product = [];\n\n\t\tfor (var i = 0; i < 4; i++) {\n\t\t\tvar row = [fm[i], fm[i + 4], fm[i + 8], fm[i + 12]];\n\t\t\tfor (var j = 0; j < 4; j++) {\n\t\t\t\tvar k = j * 4;\n\t\t\t\tvar col = [fx[k], fx[k + 1], fx[k + 2], fx[k + 3]];\n\t\t\t\tvar result =\n\t\t\t\t\trow[0] * col[0] + row[1] * col[1] + row[2] * col[2] + row[3] * col[3];\n\n\t\t\t\tproduct[i + k] = result;\n\t\t\t}\n\t\t}\n\n\t\treturn product\n\t}\n\n\t/**\n\t * Attempts to return a 4x4 matrix describing the CSS transform\n\t * matrix passed in, but will return the identity matrix as a\n\t * fallback.\n\t *\n\t * > **Tip:** This method is used to convert a CSS matrix (retrieved as a\n\t * `string` from computed styles) to its equivalent array format.\n\t *\n\t * @param {string} source - `matrix` or `matrix3d` CSS Transform value.\n\t * @return {array}\n\t */\n\tfunction parse(source) {\n\t\tif (typeof source === 'string') {\n\t\t\tvar match = source.match(/matrix(3d)?\\(([^)]+)\\)/);\n\t\t\tif (match) {\n\t\t\t\tvar raw = match[2].split(', ').map(parseFloat);\n\t\t\t\treturn format(raw)\n\t\t\t}\n\t\t}\n\t\treturn identity()\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing X-axis rotation.\n\t *\n\t * @param {number} angle - Measured in degrees.\n\t * @return {array}\n\t */\n\tfunction rotateX(angle) {\n\t\tvar theta = Math.PI / 180 * angle;\n\t\tvar matrix = identity();\n\n\t\tmatrix[5] = matrix[10] = Math.cos(theta);\n\t\tmatrix[6] = matrix[9] = Math.sin(theta);\n\t\tmatrix[9] *= -1;\n\n\t\treturn matrix\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing Y-axis rotation.\n\t *\n\t * @param {number} angle - Measured in degrees.\n\t * @return {array}\n\t */\n\tfunction rotateY(angle) {\n\t\tvar theta = Math.PI / 180 * angle;\n\t\tvar matrix = identity();\n\n\t\tmatrix[0] = matrix[10] = Math.cos(theta);\n\t\tmatrix[2] = matrix[8] = Math.sin(theta);\n\t\tmatrix[2] *= -1;\n\n\t\treturn matrix\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing Z-axis rotation.\n\t *\n\t * @param {number} angle - Measured in degrees.\n\t * @return {array}\n\t */\n\tfunction rotateZ(angle) {\n\t\tvar theta = Math.PI / 180 * angle;\n\t\tvar matrix = identity();\n\n\t\tmatrix[0] = matrix[5] = Math.cos(theta);\n\t\tmatrix[1] = matrix[4] = Math.sin(theta);\n\t\tmatrix[4] *= -1;\n\n\t\treturn matrix\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing 2D scaling. The first argument\n\t * is used for both X and Y-axis scaling, unless an optional\n\t * second argument is provided to explicitly define Y-axis scaling.\n\t *\n\t * @param {number} scalar - Decimal multiplier.\n\t * @param {number} [scalarY] - Decimal multiplier.\n\t * @return {array}\n\t */\n\tfunction scale(scalar, scalarY) {\n\t\tvar matrix = identity();\n\n\t\tmatrix[0] = scalar;\n\t\tmatrix[5] = typeof scalarY === 'number' ? scalarY : scalar;\n\n\t\treturn matrix\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing X-axis translation.\n\t *\n\t * @param {number} distance - Measured in pixels.\n\t * @return {array}\n\t */\n\tfunction translateX(distance) {\n\t\tvar matrix = identity();\n\t\tmatrix[12] = distance;\n\t\treturn matrix\n\t}\n\n\t/**\n\t * Returns a 4x4 matrix describing Y-axis translation.\n\t *\n\t * @param {number} distance - Measured in pixels.\n\t * @return {array}\n\t */\n\tfunction translateY(distance) {\n\t\tvar matrix = identity();\n\t\tmatrix[13] = distance;\n\t\treturn matrix\n\t}\n\n\tvar getPrefixedCssProp = (function () {\n\t\tvar properties = {};\n\t\tvar style = document.documentElement.style;\n\n\t\tfunction getPrefixedCssProperty(name, source) {\n\t\t\tif ( source === void 0 ) source = style;\n\n\t\t\tif (name && typeof name === 'string') {\n\t\t\t\tif (properties[name]) {\n\t\t\t\t\treturn properties[name]\n\t\t\t\t}\n\t\t\t\tif (typeof source[name] === 'string') {\n\t\t\t\t\treturn (properties[name] = name)\n\t\t\t\t}\n\t\t\t\tif (typeof source[(\"-webkit-\" + name)] === 'string') {\n\t\t\t\t\treturn (properties[name] = \"-webkit-\" + name)\n\t\t\t\t}\n\t\t\t\tthrow new RangeError((\"Unable to find \\\"\" + name + \"\\\" style property.\"))\n\t\t\t}\n\t\t\tthrow new TypeError('Expected a string.')\n\t\t}\n\n\t\tgetPrefixedCssProperty.clearCache = function () { return (properties = {}); };\n\n\t\treturn getPrefixedCssProperty\n\t})();\n\n\tfunction style(element) {\n\t\tvar computed = window.getComputedStyle(element.node);\n\t\tvar position = computed.position;\n\t\tvar config = element.config;\n\n\t\t/**\n\t\t * Generate inline styles\n\t\t */\n\t\tvar inline = {};\n\t\tvar inlineStyle = element.node.getAttribute('style') || '';\n\t\tvar inlineMatch = inlineStyle.match(/[\\w-]+\\s*:\\s*[^;]+\\s*/gi) || [];\n\n\t\tinline.computed = inlineMatch ? inlineMatch.map(function (m) { return m.trim(); }).join('; ') + ';' : '';\n\n\t\tinline.generated = inlineMatch.some(function (m) { return m.match(/visibility\\s?:\\s?visible/i); })\n\t\t\t? inline.computed\n\t\t\t: inlineMatch.concat( ['visibility: visible']).map(function (m) { return m.trim(); }).join('; ') + ';';\n\n\t\t/**\n\t\t * Generate opacity styles\n\t\t */\n\t\tvar computedOpacity = parseFloat(computed.opacity);\n\t\tvar configOpacity = !isNaN(parseFloat(config.opacity))\n\t\t\t? parseFloat(config.opacity)\n\t\t\t: parseFloat(computed.opacity);\n\n\t\tvar opacity = {\n\t\t\tcomputed: computedOpacity !== configOpacity ? (\"opacity: \" + computedOpacity + \";\") : '',\n\t\t\tgenerated: computedOpacity !== configOpacity ? (\"opacity: \" + configOpacity + \";\") : ''\n\t\t};\n\n\t\t/**\n\t\t * Generate transformation styles\n\t\t */\n\t\tvar transformations = [];\n\n\t\tif (parseFloat(config.distance)) {\n\t\t\tvar axis = config.origin === 'top' || config.origin === 'bottom' ? 'Y' : 'X';\n\n\t\t\t/**\n\t\t\t * Let’s make sure our our pixel distances are negative for top and left.\n\t\t\t * e.g. { origin: 'top', distance: '25px' } starts at `top: -25px` in CSS.\n\t\t\t */\n\t\t\tvar distance = config.distance;\n\t\t\tif (config.origin === 'top' || config.origin === 'left') {\n\t\t\t\tdistance = /^-/.test(distance) ? distance.substr(1) : (\"-\" + distance);\n\t\t\t}\n\n\t\t\tvar ref = distance.match(/(^-?\\d+\\.?\\d?)|(em$|px$|%$)/g);\n\t\t\tvar value = ref[0];\n\t\t\tvar unit = ref[1];\n\n\t\t\tswitch (unit) {\n\t\t\t\tcase 'em':\n\t\t\t\t\tdistance = parseInt(computed.fontSize) * value;\n\t\t\t\t\tbreak\n\t\t\t\tcase 'px':\n\t\t\t\t\tdistance = value;\n\t\t\t\t\tbreak\n\t\t\t\tcase '%':\n\t\t\t\t\t/**\n\t\t\t\t\t * Here we use `getBoundingClientRect` instead of\n\t\t\t\t\t * the existing data attached to `element.geometry`\n\t\t\t\t\t * because only the former includes any transformations\n\t\t\t\t\t * current applied to the element.\n\t\t\t\t\t *\n\t\t\t\t\t * If that behavior ends up being unintuitive, this\n\t\t\t\t\t * logic could instead utilize `element.geometry.height`\n\t\t\t\t\t * and `element.geoemetry.width` for the distance calculation\n\t\t\t\t\t */\n\t\t\t\t\tdistance =\n\t\t\t\t\t\taxis === 'Y'\n\t\t\t\t\t\t\t? (element.node.getBoundingClientRect().height * value) / 100\n\t\t\t\t\t\t\t: (element.node.getBoundingClientRect().width * value) / 100;\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new RangeError('Unrecognized or missing distance unit.')\n\t\t\t}\n\n\t\t\tif (axis === 'Y') {\n\t\t\t\ttransformations.push(translateY(distance));\n\t\t\t} else {\n\t\t\t\ttransformations.push(translateX(distance));\n\t\t\t}\n\t\t}\n\n\t\tif (config.rotate.x) { transformations.push(rotateX(config.rotate.x)); }\n\t\tif (config.rotate.y) { transformations.push(rotateY(config.rotate.y)); }\n\t\tif (config.rotate.z) { transformations.push(rotateZ(config.rotate.z)); }\n\t\tif (config.scale !== 1) {\n\t\t\tif (config.scale === 0) {\n\t\t\t\t/**\n\t\t\t\t * The CSS Transforms matrix interpolation specification\n\t\t\t\t * basically disallows transitions of non-invertible\n\t\t\t\t * matrixes, which means browsers won't transition\n\t\t\t\t * elements with zero scale.\n\t\t\t\t *\n\t\t\t\t * That’s inconvenient for the API and developer\n\t\t\t\t * experience, so we simply nudge their value\n\t\t\t\t * slightly above zero; this allows browsers\n\t\t\t\t * to transition our element as expected.\n\t\t\t\t *\n\t\t\t\t * `0.0002` was the smallest number\n\t\t\t\t * that performed across browsers.\n\t\t\t\t */\n\t\t\t\ttransformations.push(scale(0.0002));\n\t\t\t} else {\n\t\t\t\ttransformations.push(scale(config.scale));\n\t\t\t}\n\t\t}\n\n\t\tvar transform = {};\n\t\tif (transformations.length) {\n\t\t\ttransform.property = getPrefixedCssProp('transform');\n\t\t\t/**\n\t\t\t * The default computed transform value should be one of:\n\t\t\t * undefined || 'none' || 'matrix()' || 'matrix3d()'\n\t\t\t */\n\t\t\ttransform.computed = {\n\t\t\t\traw: computed[transform.property],\n\t\t\t\tmatrix: parse(computed[transform.property])\n\t\t\t};\n\n\t\t\ttransformations.unshift(transform.computed.matrix);\n\t\t\tvar product = transformations.reduce(multiply);\n\n\t\t\ttransform.generated = {\n\t\t\t\tinitial: ((transform.property) + \": matrix3d(\" + (product.join(', ')) + \");\"),\n\t\t\t\tfinal: ((transform.property) + \": matrix3d(\" + (transform.computed.matrix.join(', ')) + \");\")\n\t\t\t};\n\t\t} else {\n\t\t\ttransform.generated = {\n\t\t\t\tinitial: '',\n\t\t\t\tfinal: ''\n\t\t\t};\n\t\t}\n\n\t\t/**\n\t\t * Generate transition styles\n\t\t */\n\t\tvar transition = {};\n\t\tif (opacity.generated || transform.generated.initial) {\n\t\t\ttransition.property = getPrefixedCssProp('transition');\n\t\t\ttransition.computed = computed[transition.property];\n\t\t\ttransition.fragments = [];\n\n\t\t\tvar delay = config.delay;\n\t\t\tvar duration = config.duration;\n\t\t\tvar easing = config.easing;\n\n\t\t\tif (opacity.generated) {\n\t\t\t\ttransition.fragments.push({\n\t\t\t\t\tdelayed: (\"opacity \" + (duration / 1000) + \"s \" + easing + \" \" + (delay / 1000) + \"s\"),\n\t\t\t\t\tinstant: (\"opacity \" + (duration / 1000) + \"s \" + easing + \" 0s\")\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (transform.generated.initial) {\n\t\t\t\ttransition.fragments.push({\n\t\t\t\t\tdelayed: ((transform.property) + \" \" + (duration / 1000) + \"s \" + easing + \" \" + (delay / 1000) + \"s\"),\n\t\t\t\t\tinstant: ((transform.property) + \" \" + (duration / 1000) + \"s \" + easing + \" 0s\")\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * The default computed transition property should be undefined, or one of:\n\t\t\t * '' || 'none 0s ease 0s' || 'all 0s ease 0s' || 'all 0s 0s cubic-bezier()'\n\t\t\t */\n\t\t\tvar hasCustomTransition =\n\t\t\t\ttransition.computed && !transition.computed.match(/all 0s|none 0s/);\n\n\t\t\tif (hasCustomTransition) {\n\t\t\t\ttransition.fragments.unshift({\n\t\t\t\t\tdelayed: transition.computed,\n\t\t\t\t\tinstant: transition.computed\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tvar composed = transition.fragments.reduce(\n\t\t\t\tfunction (composition, fragment, i) {\n\t\t\t\t\tcomposition.delayed += i === 0 ? fragment.delayed : (\", \" + (fragment.delayed));\n\t\t\t\t\tcomposition.instant += i === 0 ? fragment.instant : (\", \" + (fragment.instant));\n\t\t\t\t\treturn composition\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdelayed: '',\n\t\t\t\t\tinstant: ''\n\t\t\t\t}\n\t\t\t);\n\n\t\t\ttransition.generated = {\n\t\t\t\tdelayed: ((transition.property) + \": \" + (composed.delayed) + \";\"),\n\t\t\t\tinstant: ((transition.property) + \": \" + (composed.instant) + \";\")\n\t\t\t};\n\t\t} else {\n\t\t\ttransition.generated = {\n\t\t\t\tdelayed: '',\n\t\t\t\tinstant: ''\n\t\t\t};\n\t\t}\n\n\t\treturn {\n\t\t\tinline: inline,\n\t\t\topacity: opacity,\n\t\t\tposition: position,\n\t\t\ttransform: transform,\n\t\t\ttransition: transition\n\t\t}\n\t}\n\n\t/**\n\t * apply a CSS string to an element using the CSSOM (element.style) rather\n\t * than setAttribute, which may violate the content security policy.\n\t *\n\t * @param {Node} [el] Element to receive styles.\n\t * @param {string} [declaration] Styles to apply.\n\t */\n\tfunction applyStyle (el, declaration) {\n\t\tdeclaration.split(';').forEach(function (pair) {\n\t\t\tvar ref = pair.split(':');\n\t\t\tvar property = ref[0];\n\t\t\tvar value = ref.slice(1);\n\t\t\tif (property && value) {\n\t\t\t\tel.style[property.trim()] = value.join(':');\n\t\t\t}\n\t\t});\n\t}\n\n\tfunction clean(target) {\n\t\tvar this$1 = this;\n\n\t\tvar dirty;\n\t\ttry {\n\t\t\teach(tealight(target), function (node) {\n\t\t\t\tvar id = node.getAttribute('data-sr-id');\n\t\t\t\tif (id !== null) {\n\t\t\t\t\tdirty = true;\n\t\t\t\t\tvar element = this$1.store.elements[id];\n\t\t\t\t\tif (element.callbackTimer) {\n\t\t\t\t\t\twindow.clearTimeout(element.callbackTimer.clock);\n\t\t\t\t\t}\n\t\t\t\t\tapplyStyle(element.node, element.styles.inline.generated);\n\t\t\t\t\tnode.removeAttribute('data-sr-id');\n\t\t\t\t\tdelete this$1.store.elements[id];\n\t\t\t\t}\n\t\t\t});\n\t\t} catch (e) {\n\t\t\treturn logger.call(this, 'Clean failed.', e.message)\n\t\t}\n\n\t\tif (dirty) {\n\t\t\ttry {\n\t\t\t\trinse.call(this);\n\t\t\t} catch (e) {\n\t\t\t\treturn logger.call(this, 'Clean failed.', e.message)\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction destroy() {\n\t\tvar this$1 = this;\n\n\t\t/**\n\t\t * Remove all generated styles and element ids\n\t\t */\n\t\teach(this.store.elements, function (element) {\n\t\t\tapplyStyle(element.node, element.styles.inline.generated);\n\t\t\telement.node.removeAttribute('data-sr-id');\n\t\t});\n\n\t\t/**\n\t\t * Remove all event listeners.\n\t\t */\n\t\teach(this.store.containers, function (container) {\n\t\t\tvar target =\n\t\t\t\tcontainer.node === document.documentElement ? window : container.node;\n\t\t\ttarget.removeEventListener('scroll', this$1.delegate);\n\t\t\ttarget.removeEventListener('resize', this$1.delegate);\n\t\t});\n\n\t\t/**\n\t\t * Clear all data from the store\n\t\t */\n\t\tthis.store = {\n\t\t\tcontainers: {},\n\t\t\telements: {},\n\t\t\thistory: [],\n\t\t\tsequences: {}\n\t\t};\n\t}\n\n\tfunction deepAssign(target) {\n\t\tvar sources = [], len = arguments.length - 1;\n\t\twhile ( len-- > 0 ) sources[ len ] = arguments[ len + 1 ];\n\n\t\tif (isObject(target)) {\n\t\t\teach(sources, function (source) {\n\t\t\t\teach(source, function (data, key) {\n\t\t\t\t\tif (isObject(data)) {\n\t\t\t\t\t\tif (!target[key] || !isObject(target[key])) {\n\t\t\t\t\t\t\ttarget[key] = {};\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdeepAssign(target[key], data);\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttarget[key] = data;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t\treturn target\n\t\t} else {\n\t\t\tthrow new TypeError('Target must be an object literal.')\n\t\t}\n\t}\n\n\tfunction isMobile(agent) {\n\t\tif ( agent === void 0 ) agent = navigator.userAgent;\n\n\t\treturn /Android|iPhone|iPad|iPod/i.test(agent)\n\t}\n\n\tvar nextUniqueId = (function () {\n\t\tvar uid = 0;\n\t\treturn function () { return uid++; }\n\t})();\n\n\tfunction initialize() {\n\t\tvar this$1 = this;\n\n\t\trinse.call(this);\n\n\t\teach(this.store.elements, function (element) {\n\t\t\tvar styles = [element.styles.inline.generated];\n\n\t\t\tif (element.visible) {\n\t\t\t\tstyles.push(element.styles.opacity.computed);\n\t\t\t\tstyles.push(element.styles.transform.generated.final);\n\t\t\t\telement.revealed = true;\n\t\t\t} else {\n\t\t\t\tstyles.push(element.styles.opacity.generated);\n\t\t\t\tstyles.push(element.styles.transform.generated.initial);\n\t\t\t\telement.revealed = false;\n\t\t\t}\n\n\t\t\tapplyStyle(element.node, styles.filter(function (s) { return s !== ''; }).join(' '));\n\t\t});\n\n\t\teach(this.store.containers, function (container) {\n\t\t\tvar target =\n\t\t\t\tcontainer.node === document.documentElement ? window : container.node;\n\t\t\ttarget.addEventListener('scroll', this$1.delegate);\n\t\t\ttarget.addEventListener('resize', this$1.delegate);\n\t\t});\n\n\t\t/**\n\t\t * Manually invoke delegate once to capture\n\t\t * element and container dimensions, container\n\t\t * scroll position, and trigger any valid reveals\n\t\t */\n\t\tthis.delegate();\n\n\t\t/**\n\t\t * Wipe any existing `setTimeout` now\n\t\t * that initialization has completed.\n\t\t */\n\t\tthis.initTimeout = null;\n\t}\n\n\tfunction animate(element, force) {\n\t\tif ( force === void 0 ) force = {};\n\n\t\tvar pristine = force.pristine || this.pristine;\n\t\tvar delayed =\n\t\t\telement.config.useDelay === 'always' ||\n\t\t\t(element.config.useDelay === 'onload' && pristine) ||\n\t\t\t(element.config.useDelay === 'once' && !element.seen);\n\n\t\tvar shouldReveal = element.visible && !element.revealed;\n\t\tvar shouldReset = !element.visible && element.revealed && element.config.reset;\n\n\t\tif (force.reveal || shouldReveal) {\n\t\t\treturn triggerReveal.call(this, element, delayed)\n\t\t}\n\n\t\tif (force.reset || shouldReset) {\n\t\t\treturn triggerReset.call(this, element)\n\t\t}\n\t}\n\n\tfunction triggerReveal(element, delayed) {\n\t\tvar styles = [\n\t\t\telement.styles.inline.generated,\n\t\t\telement.styles.opacity.computed,\n\t\t\telement.styles.transform.generated.final\n\t\t];\n\t\tif (delayed) {\n\t\t\tstyles.push(element.styles.transition.generated.delayed);\n\t\t} else {\n\t\t\tstyles.push(element.styles.transition.generated.instant);\n\t\t}\n\t\telement.revealed = element.seen = true;\n\t\tapplyStyle(element.node, styles.filter(function (s) { return s !== ''; }).join(' '));\n\t\tregisterCallbacks.call(this, element, delayed);\n\t}\n\n\tfunction triggerReset(element) {\n\t\tvar styles = [\n\t\t\telement.styles.inline.generated,\n\t\t\telement.styles.opacity.generated,\n\t\t\telement.styles.transform.generated.initial,\n\t\t\telement.styles.transition.generated.instant\n\t\t];\n\t\telement.revealed = false;\n\t\tapplyStyle(element.node, styles.filter(function (s) { return s !== ''; }).join(' '));\n\t\tregisterCallbacks.call(this, element);\n\t}\n\n\tfunction registerCallbacks(element, isDelayed) {\n\t\tvar this$1 = this;\n\n\t\tvar duration = isDelayed\n\t\t\t? element.config.duration + element.config.delay\n\t\t\t: element.config.duration;\n\n\t\tvar beforeCallback = element.revealed\n\t\t\t? element.config.beforeReveal\n\t\t\t: element.config.beforeReset;\n\n\t\tvar afterCallback = element.revealed\n\t\t\t? element.config.afterReveal\n\t\t\t: element.config.afterReset;\n\n\t\tvar elapsed = 0;\n\t\tif (element.callbackTimer) {\n\t\t\telapsed = Date.now() - element.callbackTimer.start;\n\t\t\twindow.clearTimeout(element.callbackTimer.clock);\n\t\t}\n\n\t\tbeforeCallback(element.node);\n\n\t\telement.callbackTimer = {\n\t\t\tstart: Date.now(),\n\t\t\tclock: window.setTimeout(function () {\n\t\t\t\tafterCallback(element.node);\n\t\t\t\telement.callbackTimer = null;\n\t\t\t\tif (element.revealed && !element.config.reset && element.config.cleanup) {\n\t\t\t\t\tclean.call(this$1, element.node);\n\t\t\t\t}\n\t\t\t}, duration - elapsed)\n\t\t};\n\t}\n\n\tfunction sequence(element, pristine) {\n\t\tif ( pristine === void 0 ) pristine = this.pristine;\n\n\t\t/**\n\t\t * We first check if the element should reset.\n\t\t */\n\t\tif (!element.visible && element.revealed && element.config.reset) {\n\t\t\treturn animate.call(this, element, { reset: true })\n\t\t}\n\n\t\tvar seq = this.store.sequences[element.sequence.id];\n\t\tvar i = element.sequence.index;\n\n\t\tif (seq) {\n\t\t\tvar visible = new SequenceModel(seq, 'visible', this.store);\n\t\t\tvar revealed = new SequenceModel(seq, 'revealed', this.store);\n\n\t\t\tseq.models = { visible: visible, revealed: revealed };\n\n\t\t\t/**\n\t\t\t * If the sequence has no revealed members,\n\t\t\t * then we reveal the first visible element\n\t\t\t * within that sequence.\n\t\t\t *\n\t\t\t * The sequence then cues a recursive call\n\t\t\t * in both directions.\n\t\t\t */\n\t\t\tif (!revealed.body.length) {\n\t\t\t\tvar nextId = seq.members[visible.body[0]];\n\t\t\t\tvar nextElement = this.store.elements[nextId];\n\n\t\t\t\tif (nextElement) {\n\t\t\t\t\tcue.call(this, seq, visible.body[0], -1, pristine);\n\t\t\t\t\tcue.call(this, seq, visible.body[0], +1, pristine);\n\t\t\t\t\treturn animate.call(this, nextElement, { reveal: true, pristine: pristine })\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * If our element isn’t resetting, we check the\n\t\t\t * element sequence index against the head, and\n\t\t\t * then the foot of the sequence.\n\t\t\t */\n\t\t\tif (\n\t\t\t\t!seq.blocked.head &&\n\t\t\t\ti === [].concat( revealed.head ).pop() &&\n\t\t\t\ti >= [].concat( visible.body ).shift()\n\t\t\t) {\n\t\t\t\tcue.call(this, seq, i, -1, pristine);\n\t\t\t\treturn animate.call(this, element, { reveal: true, pristine: pristine })\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t!seq.blocked.foot &&\n\t\t\t\ti === [].concat( revealed.foot ).shift() &&\n\t\t\t\ti <= [].concat( visible.body ).pop()\n\t\t\t) {\n\t\t\t\tcue.call(this, seq, i, +1, pristine);\n\t\t\t\treturn animate.call(this, element, { reveal: true, pristine: pristine })\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction Sequence(interval) {\n\t\tvar i = Math.abs(interval);\n\t\tif (!isNaN(i)) {\n\t\t\tthis.id = nextUniqueId();\n\t\t\tthis.interval = Math.max(i, 16);\n\t\t\tthis.members = [];\n\t\t\tthis.models = {};\n\t\t\tthis.blocked = {\n\t\t\t\thead: false,\n\t\t\t\tfoot: false\n\t\t\t};\n\t\t} else {\n\t\t\tthrow new RangeError('Invalid sequence interval.')\n\t\t}\n\t}\n\n\tfunction SequenceModel(seq, prop, store) {\n\t\tvar this$1 = this;\n\n\t\tthis.head = [];\n\t\tthis.body = [];\n\t\tthis.foot = [];\n\n\t\teach(seq.members, function (id, index) {\n\t\t\tvar element = store.elements[id];\n\t\t\tif (element && element[prop]) {\n\t\t\t\tthis$1.body.push(index);\n\t\t\t}\n\t\t});\n\n\t\tif (this.body.length) {\n\t\t\teach(seq.members, function (id, index) {\n\t\t\t\tvar element = store.elements[id];\n\t\t\t\tif (element && !element[prop]) {\n\t\t\t\t\tif (index < this$1.body[0]) {\n\t\t\t\t\t\tthis$1.head.push(index);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis$1.foot.push(index);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction cue(seq, i, direction, pristine) {\n\t\tvar this$1 = this;\n\n\t\tvar blocked = ['head', null, 'foot'][1 + direction];\n\t\tvar nextId = seq.members[i + direction];\n\t\tvar nextElement = this.store.elements[nextId];\n\n\t\tseq.blocked[blocked] = true;\n\n\t\tsetTimeout(function () {\n\t\t\tseq.blocked[blocked] = false;\n\t\t\tif (nextElement) {\n\t\t\t\tsequence.call(this$1, nextElement, pristine);\n\t\t\t}\n\t\t}, seq.interval);\n\t}\n\n\tfunction reveal(target, options, syncing) {\n\t\tvar this$1 = this;\n\t\tif ( options === void 0 ) options = {};\n\t\tif ( syncing === void 0 ) syncing = false;\n\n\t\tvar containerBuffer = [];\n\t\tvar sequence$$1;\n\t\tvar interval = options.interval || defaults.interval;\n\n\t\ttry {\n\t\t\tif (interval) {\n\t\t\t\tsequence$$1 = new Sequence(interval);\n\t\t\t}\n\n\t\t\tvar nodes = tealight(target);\n\t\t\tif (!nodes.length) {\n\t\t\t\tthrow new Error('Invalid reveal target.')\n\t\t\t}\n\n\t\t\tvar elements = nodes.reduce(function (elementBuffer, elementNode) {\n\t\t\t\tvar element = {};\n\t\t\t\tvar existingId = elementNode.getAttribute('data-sr-id');\n\n\t\t\t\tif (existingId) {\n\t\t\t\t\tdeepAssign(element, this$1.store.elements[existingId]);\n\n\t\t\t\t\t/**\n\t\t\t\t\t * In order to prevent previously generated styles\n\t\t\t\t\t * from throwing off the new styles, the style tag\n\t\t\t\t\t * has to be reverted to its pre-reveal state.\n\t\t\t\t\t */\n\t\t\t\t\tapplyStyle(element.node, element.styles.inline.computed);\n\t\t\t\t} else {\n\t\t\t\t\telement.id = nextUniqueId();\n\t\t\t\t\telement.node = elementNode;\n\t\t\t\t\telement.seen = false;\n\t\t\t\t\telement.revealed = false;\n\t\t\t\t\telement.visible = false;\n\t\t\t\t}\n\n\t\t\t\tvar config = deepAssign({}, element.config || this$1.defaults, options);\n\n\t\t\t\tif ((!config.mobile && isMobile()) || (!config.desktop && !isMobile())) {\n\t\t\t\t\tif (existingId) {\n\t\t\t\t\t\tclean.call(this$1, element);\n\t\t\t\t\t}\n\t\t\t\t\treturn elementBuffer // skip elements that are disabled\n\t\t\t\t}\n\n\t\t\t\tvar containerNode = tealight(config.container)[0];\n\t\t\t\tif (!containerNode) {\n\t\t\t\t\tthrow new Error('Invalid container.')\n\t\t\t\t}\n\t\t\t\tif (!containerNode.contains(elementNode)) {\n\t\t\t\t\treturn elementBuffer // skip elements found outside the container\n\t\t\t\t}\n\n\t\t\t\tvar containerId;\n\t\t\t\t{\n\t\t\t\t\tcontainerId = getContainerId(\n\t\t\t\t\t\tcontainerNode,\n\t\t\t\t\t\tcontainerBuffer,\n\t\t\t\t\t\tthis$1.store.containers\n\t\t\t\t\t);\n\t\t\t\t\tif (containerId === null) {\n\t\t\t\t\t\tcontainerId = nextUniqueId();\n\t\t\t\t\t\tcontainerBuffer.push({ id: containerId, node: containerNode });\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\telement.config = config;\n\t\t\t\telement.containerId = containerId;\n\t\t\t\telement.styles = style(element);\n\n\t\t\t\tif (sequence$$1) {\n\t\t\t\t\telement.sequence = {\n\t\t\t\t\t\tid: sequence$$1.id,\n\t\t\t\t\t\tindex: sequence$$1.members.length\n\t\t\t\t\t};\n\t\t\t\t\tsequence$$1.members.push(element.id);\n\t\t\t\t}\n\n\t\t\t\telementBuffer.push(element);\n\t\t\t\treturn elementBuffer\n\t\t\t}, []);\n\n\t\t\t/**\n\t\t\t * Modifying the DOM via setAttribute needs to be handled\n\t\t\t * separately from reading computed styles in the map above\n\t\t\t * for the browser to batch DOM changes (limiting reflows)\n\t\t\t */\n\t\t\teach(elements, function (element) {\n\t\t\t\tthis$1.store.elements[element.id] = element;\n\t\t\t\telement.node.setAttribute('data-sr-id', element.id);\n\t\t\t});\n\t\t} catch (e) {\n\t\t\treturn logger.call(this, 'Reveal failed.', e.message)\n\t\t}\n\n\t\t/**\n\t\t * Now that element set-up is complete...\n\t\t * Let’s commit any container and sequence data we have to the store.\n\t\t */\n\t\teach(containerBuffer, function (container) {\n\t\t\tthis$1.store.containers[container.id] = {\n\t\t\t\tid: container.id,\n\t\t\t\tnode: container.node\n\t\t\t};\n\t\t});\n\t\tif (sequence$$1) {\n\t\t\tthis.store.sequences[sequence$$1.id] = sequence$$1;\n\t\t}\n\n\t\t/**\n\t\t * If reveal wasn't invoked by sync, we want to\n\t\t * make sure to add this call to the history.\n\t\t */\n\t\tif (syncing !== true) {\n\t\t\tthis.store.history.push({ target: target, options: options });\n\n\t\t\t/**\n\t\t\t * Push initialization to the event queue, giving\n\t\t\t * multiple reveal calls time to be interpreted.\n\t\t\t */\n\t\t\tif (this.initTimeout) {\n\t\t\t\twindow.clearTimeout(this.initTimeout);\n\t\t\t}\n\t\t\tthis.initTimeout = window.setTimeout(initialize.bind(this), 0);\n\t\t}\n\t}\n\n\tfunction getContainerId(node) {\n\t\tvar collections = [], len = arguments.length - 1;\n\t\twhile ( len-- > 0 ) collections[ len ] = arguments[ len + 1 ];\n\n\t\tvar id = null;\n\t\teach(collections, function (collection) {\n\t\t\teach(collection, function (container) {\n\t\t\t\tif (id === null && container.node === node) {\n\t\t\t\t\tid = container.id;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\treturn id\n\t}\n\n\t/**\n\t * Re-runs the reveal method for each record stored in history,\n\t * for capturing new content asynchronously loaded into the DOM.\n\t */\n\tfunction sync() {\n\t\tvar this$1 = this;\n\n\t\teach(this.store.history, function (record) {\n\t\t\treveal.call(this$1, record.target, record.options, true);\n\t\t});\n\n\t\tinitialize.call(this);\n\t}\n\n\tvar polyfill = function (x) { return (x > 0) - (x < 0) || +x; };\n\tvar mathSign = Math.sign || polyfill;\n\n\t/*! @license miniraf v1.0.1\n\n\t\tCopyright 2018 Fisssion LLC.\n\n\t\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\t\tof this software and associated documentation files (the \"Software\"), to deal\n\t\tin the Software without restriction, including without limitation the rights\n\t\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t\tcopies of the Software, and to permit persons to whom the Software is\n\t\tfurnished to do so, subject to the following conditions:\n\n\t\tThe above copyright notice and this permission notice shall be included in all\n\t\tcopies or substantial portions of the Software.\n\n\t\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\tSOFTWARE.\n\n\t*/\n\tvar polyfill$1 = (function () {\n\t\tvar clock = Date.now();\n\n\t\treturn function (callback) {\n\t\t\tvar currentTime = Date.now();\n\t\t\tif (currentTime - clock > 16) {\n\t\t\t\tclock = currentTime;\n\t\t\t\tcallback(currentTime);\n\t\t\t} else {\n\t\t\t\tsetTimeout(function () { return polyfill$1(callback); }, 0);\n\t\t\t}\n\t\t}\n\t})();\n\n\tvar miniraf = window.requestAnimationFrame ||\n\t\twindow.webkitRequestAnimationFrame ||\n\t\twindow.mozRequestAnimationFrame ||\n\t\tpolyfill$1;\n\n\tfunction getGeometry(target, isContainer) {\n\t\t/**\n\t\t * We want to ignore padding and scrollbars for container elements.\n\t\t * More information here: https://goo.gl/vOZpbz\n\t\t */\n\t\tvar height = isContainer ? target.node.clientHeight : target.node.offsetHeight;\n\t\tvar width = isContainer ? target.node.clientWidth : target.node.offsetWidth;\n\n\t\tvar offsetTop = 0;\n\t\tvar offsetLeft = 0;\n\t\tvar node = target.node;\n\n\t\tdo {\n\t\t\tif (!isNaN(node.offsetTop)) {\n\t\t\t\toffsetTop += node.offsetTop;\n\t\t\t}\n\t\t\tif (!isNaN(node.offsetLeft)) {\n\t\t\t\toffsetLeft += node.offsetLeft;\n\t\t\t}\n\t\t\tnode = node.offsetParent;\n\t\t} while (node)\n\n\t\treturn {\n\t\t\tbounds: {\n\t\t\t\ttop: offsetTop,\n\t\t\t\tright: offsetLeft + width,\n\t\t\t\tbottom: offsetTop + height,\n\t\t\t\tleft: offsetLeft\n\t\t\t},\n\t\t\theight: height,\n\t\t\twidth: width\n\t\t}\n\t}\n\n\tfunction getScrolled(container) {\n\t\tvar top, left;\n\t\tif (container.node === document.documentElement) {\n\t\t\ttop = window.pageYOffset;\n\t\t\tleft = window.pageXOffset;\n\t\t} else {\n\t\t\ttop = container.node.scrollTop;\n\t\t\tleft = container.node.scrollLeft;\n\t\t}\n\t\treturn { top: top, left: left }\n\t}\n\n\tfunction isElementVisible(element) {\n\t\tif ( element === void 0 ) element = {};\n\n\t\tvar container = this.store.containers[element.containerId];\n\t\tif (!container) { return }\n\n\t\tvar viewFactor = Math.max(0, Math.min(1, element.config.viewFactor));\n\t\tvar viewOffset = element.config.viewOffset;\n\n\t\tvar elementBounds = {\n\t\t\ttop: element.geometry.bounds.top + element.geometry.height * viewFactor,\n\t\t\tright: element.geometry.bounds.right - element.geometry.width * viewFactor,\n\t\t\tbottom: element.geometry.bounds.bottom - element.geometry.height * viewFactor,\n\t\t\tleft: element.geometry.bounds.left + element.geometry.width * viewFactor\n\t\t};\n\n\t\tvar containerBounds = {\n\t\t\ttop: container.geometry.bounds.top + container.scroll.top + viewOffset.top,\n\t\t\tright: container.geometry.bounds.right + container.scroll.left - viewOffset.right,\n\t\t\tbottom:\n\t\t\t\tcontainer.geometry.bounds.bottom + container.scroll.top - viewOffset.bottom,\n\t\t\tleft: container.geometry.bounds.left + container.scroll.left + viewOffset.left\n\t\t};\n\n\t\treturn (\n\t\t\t(elementBounds.top < containerBounds.bottom &&\n\t\t\t\telementBounds.right > containerBounds.left &&\n\t\t\t\telementBounds.bottom > containerBounds.top &&\n\t\t\t\telementBounds.left < containerBounds.right) ||\n\t\t\telement.styles.position === 'fixed'\n\t\t)\n\t}\n\n\tfunction delegate(\n\t\tevent,\n\t\telements\n\t) {\n\t\tvar this$1 = this;\n\t\tif ( event === void 0 ) event = { type: 'init' };\n\t\tif ( elements === void 0 ) elements = this.store.elements;\n\n\t\tminiraf(function () {\n\t\t\tvar stale = event.type === 'init' || event.type === 'resize';\n\n\t\t\teach(this$1.store.containers, function (container) {\n\t\t\t\tif (stale) {\n\t\t\t\t\tcontainer.geometry = getGeometry.call(this$1, container, true);\n\t\t\t\t}\n\t\t\t\tvar scroll = getScrolled.call(this$1, container);\n\t\t\t\tif (container.scroll) {\n\t\t\t\t\tcontainer.direction = {\n\t\t\t\t\t\tx: mathSign(scroll.left - container.scroll.left),\n\t\t\t\t\t\ty: mathSign(scroll.top - container.scroll.top)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tcontainer.scroll = scroll;\n\t\t\t});\n\n\t\t\t/**\n\t\t\t * Due to how the sequencer is implemented, it’s\n\t\t\t * important that we update the state of all\n\t\t\t * elements, before any animation logic is\n\t\t\t * evaluated (in the second loop below).\n\t\t\t */\n\t\t\teach(elements, function (element) {\n\t\t\t\tif (stale || element.geometry === undefined) {\n\t\t\t\t\telement.geometry = getGeometry.call(this$1, element);\n\t\t\t\t}\n\t\t\t\telement.visible = isElementVisible.call(this$1, element);\n\t\t\t});\n\n\t\t\teach(elements, function (element) {\n\t\t\t\tif (element.sequence) {\n\t\t\t\t\tsequence.call(this$1, element);\n\t\t\t\t} else {\n\t\t\t\t\tanimate.call(this$1, element);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tthis$1.pristine = false;\n\t\t});\n\t}\n\n\tfunction isTransformSupported() {\n\t\tvar style = document.documentElement.style;\n\t\treturn 'transform' in style || 'WebkitTransform' in style\n\t}\n\n\tfunction isTransitionSupported() {\n\t\tvar style = document.documentElement.style;\n\t\treturn 'transition' in style || 'WebkitTransition' in style\n\t}\n\n\tvar version = \"4.0.9\";\n\n\tvar boundDelegate;\n\tvar boundDestroy;\n\tvar boundReveal;\n\tvar boundClean;\n\tvar boundSync;\n\tvar config;\n\tvar debug;\n\tvar instance;\n\n\tfunction ScrollReveal(options) {\n\t\tif ( options === void 0 ) options = {};\n\n\t\tvar invokedWithoutNew =\n\t\t\ttypeof this === 'undefined' ||\n\t\t\tObject.getPrototypeOf(this) !== ScrollReveal.prototype;\n\n\t\tif (invokedWithoutNew) {\n\t\t\treturn new ScrollReveal(options)\n\t\t}\n\n\t\tif (!ScrollReveal.isSupported()) {\n\t\t\tlogger.call(this, 'Instantiation failed.', 'This browser is not supported.');\n\t\t\treturn mount.failure()\n\t\t}\n\n\t\tvar buffer;\n\t\ttry {\n\t\t\tbuffer = config\n\t\t\t\t? deepAssign({}, config, options)\n\t\t\t\t: deepAssign({}, defaults, options);\n\t\t} catch (e) {\n\t\t\tlogger.call(this, 'Invalid configuration.', e.message);\n\t\t\treturn mount.failure()\n\t\t}\n\n\t\ttry {\n\t\t\tvar container = tealight(buffer.container)[0];\n\t\t\tif (!container) {\n\t\t\t\tthrow new Error('Invalid container.')\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tlogger.call(this, e.message);\n\t\t\treturn mount.failure()\n\t\t}\n\n\t\tconfig = buffer;\n\n\t\tif ((!config.mobile && isMobile()) || (!config.desktop && !isMobile())) {\n\t\t\tlogger.call(\n\t\t\t\tthis,\n\t\t\t\t'This device is disabled.',\n\t\t\t\t(\"desktop: \" + (config.desktop)),\n\t\t\t\t(\"mobile: \" + (config.mobile))\n\t\t\t);\n\t\t\treturn mount.failure()\n\t\t}\n\n\t\tmount.success();\n\n\t\tthis.store = {\n\t\t\tcontainers: {},\n\t\t\telements: {},\n\t\t\thistory: [],\n\t\t\tsequences: {}\n\t\t};\n\n\t\tthis.pristine = true;\n\n\t\tboundDelegate = boundDelegate || delegate.bind(this);\n\t\tboundDestroy = boundDestroy || destroy.bind(this);\n\t\tboundReveal = boundReveal || reveal.bind(this);\n\t\tboundClean = boundClean || clean.bind(this);\n\t\tboundSync = boundSync || sync.bind(this);\n\n\t\tObject.defineProperty(this, 'delegate', { get: function () { return boundDelegate; } });\n\t\tObject.defineProperty(this, 'destroy', { get: function () { return boundDestroy; } });\n\t\tObject.defineProperty(this, 'reveal', { get: function () { return boundReveal; } });\n\t\tObject.defineProperty(this, 'clean', { get: function () { return boundClean; } });\n\t\tObject.defineProperty(this, 'sync', { get: function () { return boundSync; } });\n\n\t\tObject.defineProperty(this, 'defaults', { get: function () { return config; } });\n\t\tObject.defineProperty(this, 'version', { get: function () { return version; } });\n\t\tObject.defineProperty(this, 'noop', { get: function () { return false; } });\n\n\t\treturn instance ? instance : (instance = this)\n\t}\n\n\tScrollReveal.isSupported = function () { return isTransformSupported() && isTransitionSupported(); };\n\n\tObject.defineProperty(ScrollReveal, 'debug', {\n\t\tget: function () { return debug || false; },\n\t\tset: function (value) { return (debug = typeof value === 'boolean' ? value : debug); }\n\t});\n\n\tScrollReveal();\n\n\treturn ScrollReveal;\n\n}));\n"],"sourceRoot":""}