(function(){if(typeofdocument.querySelector!=="undefined"){vard,h,f,b;d=function(a){b=typeofa==="undefined"?typeofd.el!=="undefined"?d.el:document.documentElement:typeofa!=="object"?h(a):a;d.prototype.el=b;vara=f(d),c;for(cina)if(typeofa[c]==="object")a[c].el=b;a.el=b;returna};h=function(a,c){varb;if(typeofa!="string"||typeofa==="undefined")returna;b=c!=null&&c.nodeType===1?c:document;if(a.match(/^#([\w\-]+$)/))returndocument.getElementById(a.split("#")[1]);elseb=b.querySelectorAll(a);returnb.length===1?b[0]:b};f=function(a){varc;if(typeofa!=="undefined"){if(typeofObject.create!=="undefined")returnObject.create(a);c=typeofa;if(!(c!=="object"&&c!=="function"))returnc=function(){},c.prototype=a,newc}};d.ext=function(a,c){c.el=b;d[a]=c};d.ext("each",function(a){if(typeofb.length!=="undefined"&&b!==window){varc=b.length;if(c!==0)for(vare,g=0;g<c;g++)e=b.item(g)?b.item(g):b[g],a.call(e,e)}elsea.call(b,b)});d.type=function(a){returnfunction(){returna&&a!==this}.call(a)?(typeofa).toLowerCase():{}.toString.call(a).match(/\s([a-z|A-Z]+)/)[1].toLowerCase()};d=window.$_=window.$_||d;d.$=h}})();if(typeofwindow.console==="undefined")window.console={log:function(){}};if(typeofString.prototype.trim==="undefined")String.prototype.trim=function(){returnthis.replace(/^\s+|\s+$/g,"")};typeofdocument!=="undefined"&&!("classList"indocument.createElement("a"))&&function(d){vard=(d.HTMLElement||d.Element).prototype,h=Object,f=String.prototype.trim||function(){returnthis.replace(/^\s+|\s+$/g,"")},b=Array.prototype.indexOf||function(a){for(varc=0,b=this.length;c<b;c++)if(cinthis&&this[c]===a)returnc;return-1},a=function(a,c){this.name=a;this.code=DOMException[a];this.message=c},c=function(c,e){if(e==="")thrownewa("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))thrownewa("INVALID_CHARACTER_ERR","String contains an invalid character");returnb.call(c,e)},e=function(a){for(varc=f.call(a.className),c=c?c.split(/\s+/):[],b=0,e=c.length;b<e;b++)this.push(c[b]);this._updateClassName=function(){a.className=this.toString()}},g=e.prototype=[],j=function(){returnnewe(this)};a.prototype=Error.prototype;g.item=function(a){returnthis[a]||null};g.contains=function(a){a+="";returnc(this,a)!==-1};g.add=function(a){a+="";c(this,a)===-1&&(this.push(a),this._updateClassName())};g.remove=function(a){a+="";a=c(this,a);a!==-1&&(this.splice(a,1),this._updateClassName())};g.toggle=function(a){a+="";c(this,a)===-1?this.add(a):this.remove(a)};g.toString=function(){returnthis.join(" ")};if(h.defineProperty){g={get:j,enumerable:true,configurable:true};try{h.defineProperty(d,"classList",g)}catch(k){if(k.number===-2146823252)g.enumerable=false,h.defineProperty(d,"classList",g)}}elseh.prototype.__defineGetter__&&d.__defineGetter__("classList",j)}(self);(function(){functiond(b,a,c){vare,g;if(typeofb.hasAttribute!=="undefined")b.hasAttribute(a)&&(e=b.getAttribute(a)),g=true;elseif(typeofb[a]!=="undefined")e=b[a],g=false;elseif(a==="class"&&typeofb.className!=="undefined")a="className",e=b.className,g=false;if(typeofe==="undefined"&&(typeofc==="undefined"||c===null))console.log(c),console.log(b),console.log("Element does not have the selected attribute");else{if(typeofc==="undefined")returne;typeofc!=="undefined"&&c!==null?g===true?b.setAttribute(a,c):b[a]=c:c===null&&(g===true?b.removeAttribute(a):deleteb[a]);returntypeofc!=="undefined"?c:e}}functionh(b){returnb.replace(/(\-[a-z])/g,function(a){returna.toUpperCase().replace("-","")})}functionf(b,a,c){vare,a=h(a);e={outerHeight:"offsetHeight",outerWidth:"offsetWidth",top:"posTop"};if(typeofc==="undefined"&&b.style[a]!=="undefined")returnb.style[a];elseif(typeofc==="undefined"&&b.style[e[a]]!=="undefined")returnb.style[e[a]];typeofb.style[a]!=="undefined"?b.style[a]=c:b.style[e[a]]?b.style[e[a]]=c:console.log("Property "+a+" nor an equivalent seems to exist")}$_.ext("dom",{addClass:function(b){$_.each(function(a){a.classList.add(b)})},removeClass:function(b){$_.each(function(a){a.classList.remove(b)})},hide:function()