(function(){var arrayProto=Array.prototype;if(typeof Document==="undefined"||!arrayProto.forEach||!document.querySelector){return}var query=function query(selector){return this.querySelector(selector)};var queryAll=function queryAll(selector){var matches=this.querySelectorAll(selector);var elements=new Elements(matches);return elements};["Document","DocumentFragment","Element"].forEach(function(ParentNode){if(!(ParentNode in this)){return}var prototype=this[ParentNode].prototype;if(!("query"in prototype)){prototype.query=query}if(!("queryAll"in prototype)){prototype.queryAll=queryAll}});if(!("Elements"in this)){var push_uniq=function(a,b){for(var i=0,mx=b.length;i