{"aliases":["scroll","scrollBy","scrollIntoView","Element.prototype.scroll","Element.prototype.scrollBy","Element.prototype.scrollIntoView","window.scroll","window.scrollBy"],"dependencies":["requestAnimationFrame"],"license":"MIT","spec":"https://drafts.csswg.org/cssom-view/#smooth-scrolling","repo":"https://github.com/magic-akari/seamless-scroll-polyfill","docs":"https://developer.mozilla.org/en/docs/Web/CSS/scroll-behavior","browsers":{"android":"*","chrome":"<61","edge":"*","edge_mob":"*","firefox":"4 - 36","firefox_mob":"<37","ie":">=9","ie_mob":">=9","opera":"<48","op_mob":"<45","safari":"<15.4","ios_saf":"<15.4","samsung_mob":"<8.0"},"install":{"module":"seamless-scroll-polyfill","postinstall":"update.task.js"},"detectSource":"(function(){if(\"document\"in self&&\"documentElement\"in self.document&&\"style\"in self.document.documentElement&&\"scrollBehavior\"in document.documentElement.style)return!0\nif(Element.prototype.scrollTo&&Element.prototype.scrollTo.toString().indexOf(\"[native code]\")>-1)return!1\ntry{var e=!1,t={top:1,left:0}\nObject.defineProperty(t,\"behavior\",{get:function(){return e=!0,\"smooth\"},enumerable:!0})\nvar o=document.createElement(\"DIV\"),n=document.createElement(\"DIV\")\nreturn o.setAttribute(\"style\",\"height: 1px; overflow: scroll;\"),n.setAttribute(\"style\",\"height: 2px; overflow: scroll;\"),o.appendChild(n),o.scrollTo(t),e}catch(e){return!1}})()\n","baseDir":"smoothscroll","hasTests":true,"isTestable":true,"isPublic":true,"size":9748}