"use strict";var w3={};w3.hide=function(a){w3.hideElements(w3.getElements(a))};w3.hideElements=function(c){var b,a=c.length;for(b=0;b-1){b.splice(b.indexOf(a[d]),1)}}e.className=b.join(" ")};w3.toggleClass=function(c,b,a){w3.toggleClassElements(w3.getElements(c),b,a)};w3.toggleClassElements=function(e,d,c){var b,a=e.length;for(b=0;b-1){d=1}j=l[n].getElementsByTagName("*");for(k=0;k-1){d=1}}if(d==1){l[n].style.display=""}else{l[n].style.display="none"}}}};w3.sortHTML=function(c,d,e){var o,m,k,q,l,g,p,n,f,h;o=w3.getElements(c);for(k=0;kn))||(h==1&&(p0){break}}}};w3.slideshow=function(g,c,f){var e,d,a=w3.getElements(g),b=a.length;d={};d.current=1;d.x=a;d.ondisplaychange=f;if(!isNaN(c)||c==0){d.milliseconds=c}else{d.milliseconds=1000}d.start=function(){d.display(d.current);if(d.ondisplaychange){d.ondisplaychange()}if(d.milliseconds>0){window.clearTimeout(d.timeout);d.timeout=window.setTimeout(d.next,d.milliseconds)}};d.next=function(){d.current+=1;if(d.current>d.x.length){d.current=1}d.start()};d.previous=function(){d.current-=1;if(d.current<1){d.current=d.x.length}d.start()};d.display=function(h){w3.styleElements(d.x,"display","none");w3.styleElement(d.x[h-1],"display","block")};d.start();return d};w3.includeHTML=function(a){var f,d,c,b,e;f=document.getElementsByTagName("*");for(d=0;d=0;q-=1){n=b[q].getAttribute("w3-repeat").split(" ");if(n.length==1){g=n[0]}else{u=n[0];g=n[2]}b[q].removeAttribute("w3-repeat");t=w[g];if(t&&typeof t=="object"&&t.length!="undefined"){r=0;for(h in t){r+=1;y=b[q];y=s(y,"element",u,t[h]);v=y.attributes;for(m=0;m-1){C=(l=="attribute")?J.value:J.innerHTML;F=C.indexOf("{{",F);if(F===-1){break}E=C.indexOf("}}",F+1);H=C.substring(F+2,E);B=H.split("||");I=undefined;for(z=0;z-1){A[F].value=A[F].value.replace(G,B)}}}z=D.getElementsByTagName("*");C=z.length;D.innerHTML=D.innerHTML.replace(G,B)}};