mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
2 lines
22 KiB
JavaScript
2 lines
22 KiB
JavaScript
/* skel.js v2.0.1 | (c) n33 | getskel.com | MIT licensed */
|
|
var skel=function(){var e="config",t="breakpoints",n="iterate",r="stateId",i="getElementsByClassName",s="elements",o="stateElements",u="getElementsByTagName",a=!1,f="length",l=" 0 0 ",c=null,h="getCachedElement",p="viewport",d="cacheNewElement",v="config_breakpoint",m="gutters",g="vars",y="insertBefore",b="newInline",w=!0,E="}",S="parentNode",x="orientationChange",T="locations",N="createElement",C="deviceType",k="substring",L="object",A="className",O="isArray",M="match",_="cache",D="+*,",P="replace",H="head",B="newElement",j="indexOf",F="_skel_isReversed",I="push",q="extend",R="grid",U="matchesMedia",z="containers",W="maxGridZoom",X="onorientationchange",V="defaults",$="lock",J="DOMReady",K="getComputedStyle",Q="addEventListener",G="^head",Y="{display:none!important}",Z="parseMeasurement",et="registerLocation",tt="placeholder",nt="events",rt="IEVersion",it="documentElement",st="attachElements",ot="plugins",ut="attachElement",at="location",ft="DOMContentLoaded",lt="text/css",ct="initial-scale=1",ht="device-width",pt="states",dt="_skel_attach",vt="removeEventListener",mt="previousSibling",gt="collapse",yt="change",bt="attached",wt="normalize",Et="applyRowTransforms",St="media",xt="(min-width: ",Tt="resize",Nt="split",Ct="_skel_placeholder",kt="firstChild",Lt="html",At="forceDefaultState",Ot="querySelectorAll",Mt="max-height",_t="min-height",Dt="innerHTML",Pt="prototype",Ht="max-width",Bt="min-width",jt="nextSibling",Ft="domready",It="hasOwnProperty",qt="readyState",Rt="onresize",Ut="android",zt="zoom",Wt="priority",Xt="isStatic",Vt="href",$t=".\\3$1 ",Jt="height=",Kt={breakpoints:[],breakpointList:[],cache:{elements:{},states:{},stateElements:{}},config:{breakpoints:{"*":{href:a,media:""}},containers:1140,defaultState:c,events:{},grid:{zoom:1,collapse:a,gutters:[40,0]},lock:{path:a,permanent:w},plugins:{},pollOnce:a,preload:a,reset:wt,RTL:a,viewport:{width:ht,height:"",scalable:w}},css:{bm:"*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}",n:"html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}",r:"html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}body{-webkit-text-size-adjust:none}",gc:function(e){return".\\31 2u"+e+",.\\31 2u\\24"+e+"{width:100%;clear:none;margin-left:0}"+".\\31 1u"+e+",.\\31 1u\\24"+e+"{width:91.6666666667%;clear:none;margin-left:0}"+".\\31 0u"+e+",.\\31 0u\\24"+e+"{width:83.3333333333%;clear:none;margin-left:0}"+".\\39 u"+e+",.\\39 u\\24"+e+"{width:75%;clear:none;margin-left:0}"+".\\38 u"+e+",.\\38 u\\24"+e+"{width:66.6666666667%;clear:none;margin-left:0}"+".\\37 u"+e+",.\\37 u\\24"+e+"{width:58.3333333333%;clear:none;margin-left:0}"+".\\36 u"+e+",.\\36 u\\24"+e+"{width:50%;clear:none;margin-left:0}"+".\\35 u"+e+",.\\35 u\\24"+e+"{width:41.6666666667%;clear:none;margin-left:0}"+".\\34 u"+e+",.\\34 u\\24"+e+"{width:33.3333333333%;clear:none;margin-left:0}"+".\\33 u"+e+",.\\33 u\\24"+e+"{width:25%;clear:none;margin-left:0}"+".\\32 u"+e+",.\\32 u\\24"+e+"{width:16.6666666667%;clear:none;margin-left:0}"+".\\31 u"+e+",.\\31 u\\24"+e+"{width:8.3333333333%;clear:none;margin-left:0}"+".\\31 2u\\24"+e+D+".\\31 1u\\24"+e+D+".\\31 0u\\24"+e+D+".\\39 u\\24"+e+D+".\\38 u\\24"+e+D+".\\37 u\\24"+e+D+".\\36 u\\24"+e+D+".\\35 u\\24"+e+D+".\\34 u\\24"+e+D+".\\33 u\\24"+e+D+".\\32 u\\24"+e+D+".\\31 u\\24"+e+"+*{"+"clear:left;"+E+".\\-11u"+e+"{margin-left:91.6666666667%}"+".\\-10u"+e+"{margin-left:83.3333333333%}"+".\\-9u"+e+"{margin-left:75%}"+".\\-8u"+e+"{margin-left:66.6666666667%}"+".\\-7u"+e+"{margin-left:58.3333333333%}"+".\\-6u"+e+"{margin-left:50%}"+".\\-5u"+e+"{margin-left:41.6666666667%}"+".\\-4u"+e+"{margin-left:33.3333333333%}"+".\\-3u"+e+"{margin-left:25%}"+".\\-2u"+e+"{margin-left:16.6666666667%}"+".\\-1u"+e+"{margin-left:8.3333333333%}"}},defaults:{breakpoint:{config:c,elements:c,test:c},config_breakpoint:{containers:"100%",grid:{},href:a,media:"",viewport:{}}},events:[],forceDefaultState:a,isInit:a,isStatic:a,locations:{body:c,head:c,html:c},lcn:"_skel_lock",maxGridZoom:1,me:c,plugins:{},sd:"/",stateId:"",vars:{},DOMReady:c,getElementsByClassName:c,indexOf:c,isArray:c,iterate:c,matchesMedia:c,extend:function(e,t){var r;Kt[n](t,function(n){Kt[O](t[n])?(Kt[O](e[n])||(e[n]=[]),Kt[q](e[n],t[n])):typeof t[n]==L?(typeof e[n]!=L&&(e[n]={}),Kt[q](e[n],t[n])):e[n]=t[n]})},getArray:function(e){return Kt[O](e)?e:[e]},parseMeasurement:function(e){var t,n;if(typeof e!="string")t=[e,"px"];else if(e=="fluid")t=[100,"%"];else{var n;n=e[M](/([0-9\.]+)([^\s]*)/),n[f]<3||!n[2]?t=[parseFloat(e),"px"]:t=[parseFloat(n[1]),n[2]]}return t},canUse:function(e){return Kt[t][e]&&Kt[t][e].test()},hasActive:function(e){var t=a;return Kt[n](e,function(n){t=t||Kt.isActive(e[n])}),t},isActive:function(e){return Kt[j](Kt[r],Kt.sd+e)!==-1},isLocked:function(){return!!Kt[g][$]&&Kt[O](Kt[g][$])},lock:function(t,n){Kt[g][$]=[t,n],document.cookie=Kt.lcn+"="+Kt[g][$].join("_")+(Kt[e][$].path?";path="+Kt[e][$].path:"")+(Kt[e][$].permanent?";expires=Tue, 19 Jan 2038 03:14:07 GMT":""),window[at].reload()},unlock:function(){Kt[g][$]=c,document.cookie=Kt.lcn+"="+(Kt[e][$].path?";path="+Kt[e][$].path:"")+";expires=Thu, 01 Jan 1970 01:02:03 GMT",window[at].reload()},useActive:function(e){if(typeof e!==L)return e;var t=c;return Kt[n](e,function(n){if(t!==c)return;Kt.isActive(n)&&(t=e[n])}),t},wasActive:function(e){return Kt[j](Kt[g].lastStateId,Kt.sd+e)!==-1},applyRowTransforms:function(t){Kt[e].RTL&&(Kt.unreverseRows(),t[e][R][gt]&&Kt.reverseRows());var r="_skel_important",s=[],o,u;for(o=1;o<=Kt[W];o++)u=Kt[i]("important("+o+")"),Kt[n](u,function(e){s[I](u[e])});u=Kt[i]("important(collapse)"),Kt[n](u,function(e){s[I](u[e])}),Kt[n](s,function(n){if(n===f)return;var i=s[n],o=i[S],u,l=a,c,h;if(!o)return;if(!i[It](r)||i[r]===a){t[e][R][gt]&&i[A][M](/important\(collapse\)/)?l="c":i[A][M](/important\(([0-9])\)/)&&(h=parseInt(RegExp.$1))<=t[e][R][zt]&&(l="z");if(!l)return;c=Kt[e].RTL?jt:mt,u=i[c];while(u&&u.nodeName=="#text")u=u[c];if(!u)return;o[y](i,Kt[e].RTL&&l=="z"?o.lastChild:o[kt]),i[r]={placeholder:u,mode:l,zoom:h}}else{u=i[r][tt],l=i[r].mode;if(l=="c"&&t[e][R][gt]||l=="z"&&i[r][zt]<=t[e][R][zt])return;o[y](i,Kt[e].RTL&&l=="z"?u[mt]:u[jt]),i[r]=a}})},reverseRows:function(){var e=Kt[i]("row");Kt[n](e,function(t){if(t===f)return;var n=e[t];if(n[F])return;var r=n.children,i;for(i=1;i<r[f];i++)n[y](r[i],r[0]);n[F]=w})},unreverseRows:function(){var e=Kt[i]("row");Kt[n](e,function(t){if(t===f)return;var n=e[t];if(!n[F])return;var r=n.children,i;for(i=1;i<r[f];i++)n[y](r[i],r[0]);n[F]=a})},bind:function(e,t){Kt[nt][e]||(Kt[nt][e]=[]),Kt[nt][e][I](t),e==yt&&Kt.isInit&&t()},change:function(e){Kt.bind(yt,e)},trigger:function(e){if(!Kt[nt][e]||Kt[nt][e][f]==0)return;var t;Kt[n](Kt[nt][e],function(t){Kt[nt][e][t]()})},registerLocation:function(e,t){e==H?t[dt]=function(e,t){t?this[y](e,this[kt]):this===Kt.me[S]?this[y](e,Kt.me):this.appendChild(e)}:t[dt]=function(e,t){t?this[y](e,this[kt]):this.appendChild(e)},Kt[T][e]=t},addCachedElementToBreakpoint:function(e,n){Kt[t][e]&&Kt[t][e][s][I](n)},addCachedElementToState:function(e,t){Kt[_][o][e]?Kt[_][o][e][I](t):Kt[_][o][e]=[t]},attachElement:function(e){var t,n=e[at],r=a;return e[bt]?w:(n[0]=="^"&&(n=n[k](1),r=w),n in Kt[T]?(t=Kt[T][n],t[dt](e[L],r),e[bt]=w,e.onAttach&&e.onAttach(),w):a)},attachElements:function(e){var t=[],r=[],i,s,o;Kt[n](e,function(n){t[e[n][Wt]]||(t[e[n][Wt]]=[]),t[e[n][Wt]][I](e[n])}),Kt[n](t,function(e){if(t[e][f]==0)return;Kt[n](t[e],function(n){Kt[ut](t[e][n])||r[I](t[e][n])})}),r[f]>0&&Kt[J](function(){Kt[n](r,function(e){Kt[ut](r[e])})})},cacheElement:function(e){return Kt[_][s][e.id]=e,e},cacheNewElement:function(e,t,n,r){var i;return t[S]&&t[S].removeChild(t),i=Kt[B](e,t,n,r),Kt.cacheElement(i)},detachAllElements:function(e){var t,r,i={};Kt[n](e,function(t){i[e[t].id]=w}),Kt[n](Kt[_][s],function(e){if(e in i)return;Kt.detachElement(e)})},detachElement:function(e){var t=Kt[_][s][e],n;if(!t[bt])return;n=t[L];if(!n[S]||n[S]&&!n[S].tagName)return;n[S].removeChild(n),t[bt]=a,t.onDetach&&t.onDetach()},getCachedElement:function(e){return Kt[_][s][e]?Kt[_][s][e]:c},newElement:function(e,t,n,r){return{id:e,object:t,location:n,priority:r,attached:a}},changeState:function(i){var u,c,y,S,x,T,N,C,L;Kt[g].lastStateId=Kt[r],Kt[r]=i;if(!Kt[_][pt][Kt[r]]){Kt[_][pt][Kt[r]]={config:{},elements:[],values:{}},y=Kt[_][pt][Kt[r]],Kt[r]===Kt.sd?u=[]:u=Kt[r][k](1)[Nt](Kt.sd),Kt[q](y[e],Kt[V][v]),Kt[n](u,function(n){Kt[q](y[e],Kt[t][u[n]][e])}),N="mV"+Kt[r],y[e][p].content?C=y[e][p].content:Kt.isLocked()?(S=[],S[I]("user-scalable=yes"),Kt[g][$][0]&&S[I]("width="+Kt[g][$][0]),Kt[g][$][1]&&S[I](Jt+Kt[g][$][1]),C=S.join(","),window.setTimeout(function(){Kt.poll()},0)):(S=[],S[I]("user-scalable="+(y[e][p].scalable?"yes":"no")),y[e][p].width&&S[I]("width="+y[e][p].width),y[e][p].height&&S[I](Jt+y[e][p].height),y[e][p].width==ht&&S[I](ct),C=S.join(",")),(x=Kt[h](N))||(x=Kt[d](N,Kt.newMeta(p,C),G,4)),y[s][I](x);var A,O,M=a;S=Kt[Z](y[e][z]),A=S[0],O=S[1],y.values[z]=A+O,N="iC"+y.values[z],O.substr(-1)=="!"&&(M=w,O=O.substr(0,O[f]-1)),(x=Kt[h](N))||(x=Kt[d](N,Kt[b](".container{margin-left:auto;margin-right:auto;width:"+A*1+O+(M?"!important;max-width:none!important;min-width:0!important"+E:E+".container.\\31 25\\25{width:100%;max-width:"+A*1.25+O+";min-width:"+A+E+".container.\\37 5\\25{width:"+A*.75+O+E+".container.\\35 0\\25{width:"+A*.5+O+E+".container.\\32 5\\25{width:"+A*.25+O+E)),H,3)),y[s][I](x),N="iGG"+y[e][R][m][0]+"_"+y[e][R][m][1];if(!(x=Kt[h](N))){var D,B;S=Kt[Z](y[e][R][m][0]),D=S[0],B=S[1];var F,U;S=Kt[Z](y[e][R][m][1]),F=S[0],U=S[1],x=Kt[d]("iGG"+y[e][R][m][0]+"_"+y[e][R][m][1],Kt[b](".row>*{padding:"+F*1+U+l+D*1+B+E+".row{margin:"+F*-1+U+l+D*-1+B+E+".row.uniform>*{padding:"+D*1+B+l+D*1+B+E+".row.uniform{margin:"+D*-1+B+l+D*-1+B+E+".row.\\32 00\\25>*{padding:"+F*2+U+l+D*2+B+E+".row.\\32 00\\25{margin:"+F*-2+U+l+D*-2+B+E+".row.uniform.\\32 00\\25>*{padding:"+D*2+B+l+D*2+B+E+".row.uniform.\\32 00\\25{margin:"+D*-2+B+l+D*-2+B+E+".row.\\31 50\\25>*{padding:"+F*1.5+U+l+D*1.5+B+E+".row.\\31 50\\25{margin:"+F*-1.5+U+l+D*-1.5+B+E+".row.uniform.\\31 50\\25>*{padding:"+D*1.5+B+l+D*1.5+B+E+".row.uniform.\\31 50\\25{margin:"+D*-1.5+B+l+D*-1.5+B+E+".row.\\35 0\\25>*{padding:"+F*.5+U+l+D*.5+B+E+".row.\\35 0\\25{margin:"+F*-0.5+U+l+D*-0.5+B+E+".row.uniform.\\35 0\\25>*{padding:"+D*.5+B+l+D*.5+B+E+".row.uniform.\\35 0\\25{margin:"+D*-0.5+B+l+D*-0.5+B+E+".row.\\32 5\\25>*{padding:"+F*.25+U+l+D*.25+B+E+".row.\\32 5\\25{margin:"+F*-0.25+U+l+D*-0.25+B+E+".row.uniform.\\32 5\\25>*{padding:"+D*.25+B+l+D*.25+B+E+".row.uniform.\\32 5\\25{margin:"+D*-0.25+B+l+D*-0.25+B+E+".row.\\30 \\25>*{padding:0}"+".row.\\30 \\25{margin:0}"),H,3)}y[s][I](x),N="igZ"+y[e][R][zt];if(!(x=Kt[h](N))){C="";for(T=1;T<=y[e][R][zt];T++)C+=Kt.css.gc("\\28 "+T+"\\29");x=Kt[d](N,Kt[b](C),H,3)}y[s][I](x),y[e][R][gt]&&(N="igC"+y[e][z],(x=Kt[h](N))||(x=Kt[d](N,Kt[b](".row:not(.no-collapse)>*{width:100%!important;margin-left:0!important"+E),H,3)),y[s][I](x)),N="iCd"+Kt[r];if(!(x=Kt[h](N))){C=[],L=[],Kt[n](Kt[t],function(e){Kt[j](u,e)!==-1?C[I](".not-"+e):L[I](".only-"+e)});var W=(C[f]>0?C.join(",")+Y:"")+(L[f]>0?L.join(",")+Y:"");x=Kt[d](N,Kt[b](W[P](/\.([0-9])/,$t)),H,3),y[s][I](x)}Kt[n](u,function(r){Kt[t][u[r]][e][Vt]&&(N="ss"+u[r],(x=Kt[h](N))||(x=Kt[d](N,Kt.newStyleSheet(Kt[t][u[r]][e][Vt]),H,5)),y[s][I](x)),Kt[t][u[r]][s][f]>0&&Kt[n](Kt[t][u[r]][s],function(e){y[s][I](Kt[t][u[r]][s][e])})}),Kt[_][o][Kt[r]]&&(Kt[n](Kt[_][o][Kt[r]],function(e){y[s][I](Kt[_][o][Kt[r]][e])}),Kt[_][o][Kt[r]]=[])}else y=Kt[_][pt][Kt[r]];Kt.detachAllElements(y[s]),Kt[st](y[s]),Kt[J](function(){Kt[Et](y)}),Kt[g].state=Kt[_][pt][Kt[r]],Kt[g][r]=Kt[r],Kt.trigger(yt)},getStateId:function(){if(Kt[At]&&Kt[e].defaultState)return Kt[e].defaultState;var r="";return Kt[n](Kt[t],function(e){Kt[t][e].test()&&(r+=Kt.sd+e)}),r},poll:function(){var e="";e=Kt.getStateId(),e===""&&(e=Kt.sd),e!==Kt[r]&&(Kt[Xt]?Kt.changeState(e):(Kt[T][Lt][A]=Kt[T][Lt][A][P](Kt[r][k](1)[P](new RegExp(Kt.sd,"g")," "),""),Kt.changeState(e),Kt[T][Lt][A]=Kt[T][Lt][A]+" "+Kt[r][k](1)[P](new RegExp(Kt.sd,"g")," "),Kt[T][Lt][A].charAt(0)==" "&&(Kt[T][Lt][A]=Kt[T][Lt][A][k](1))))},updateState:function(){var e,i,u,a,l=[];if(Kt[r]==Kt.sd)return;e=Kt[r][k](1)[Nt](Kt.sd),Kt[n](e,function(o){i=Kt[t][e[o]];if(i[s][f]==0)return;Kt[n](i[s],function(e){Kt[_][pt][Kt[r]][s][I](i[s][e]),l[I](i[s][e])})}),Kt[_][o][Kt[r]]&&(Kt[n](Kt[_][o][Kt[r]],function(e){Kt[_][pt][Kt[r]][s][I](Kt[_][o][Kt[r]][e]),l[I](Kt[_][o][Kt[r]][e])}),Kt[_][o][Kt[r]]=[]),l[f]>0&&Kt[st](l)},newDiv:function(e){var t=document[N]("div");return t[Dt]=e,t},newInline:function(e){var t;return t=document[N]("style"),t.type=lt,t[Dt]=e,t},newMeta:function(e,t){var n=document[N]("meta");return n.name=e,n.content=t,n},newStyleSheet:function(e){var t=document[N]("link");return t.rel="stylesheet",t.type=lt,t[Vt]=e,t},initPlugin:function(t,n){typeof n==L&&Kt[q](t[e],n),t.init&&t.init()},registerPlugin:function(e,t){if(!t)return a;Kt[ot][e]=t,t._=this,t.register&&t.register()},init:function(t,r){Kt.initConfig(t),Kt.initElements(),Kt.initEvents(),Kt.poll(),r&&typeof r==L&&(Kt[e][ot]=r),Kt[n](Kt[ot],function(t){Kt.initPlugin(Kt[ot][t],t in Kt[e][ot]?Kt[e][ot][t]:c)}),Kt.isInit=w},initAPI:function(){var e,t,r=navigator.userAgent;Kt[g][rt]=99,e="other",r[M](/Firefox/)?e="firefox":r[M](/Chrome/)?e="chrome":r[M](/Safari/)&&!r[M](/Chrome/)?e="safari":r[M](/(OPR|Opera)/)?e="opera":r[M](/MSIE ([0-9]+)/)?(e="ie",Kt[g][rt]=RegExp.$1):r[M](/Trident\/.+rv:([0-9]+)/)&&(e="ie",Kt[g][rt]=RegExp.$1),Kt[g].browser=e,Kt[g][C]="other",t={ios:"(iPad|iPhone|iPod)",android:"Android",mac:"Macintosh",wp:"Windows Phone",windows:"Windows NT"},Kt[n](t,function(e){r[M](new RegExp(t[e],"g"))&&(Kt[g][C]=e)});switch(Kt[g][C]){case"ios":r[M](/([0-9_]+) like Mac OS X/),e=parseFloat(RegExp.$1[P]("_",".")[P]("_",""));break;case Ut:r[M](/Android ([0-9\.]+)/),e=parseFloat(RegExp.$1);break;case"mac":r[M](/Mac OS X ([0-9_]+)/),e=parseFloat(RegExp.$1[P]("_",".")[P]("_",""));break;case"wp":r[M](/IEMobile\/([0-9\.]+)/),e=parseFloat(RegExp.$1);break;case"windows":r[M](/Windows NT ([0-9\.]+)/),e=parseFloat(RegExp.$1);break;default:e=99}Kt[g].deviceVersion=e,Kt[g].isTouch=Kt[g][C]=="wp"?navigator.msMaxTouchPoints>0:"ontouchstart"in window,Kt[g].isMobile=Kt[g][C]=="wp"||Kt[g][C]==Ut||Kt[g][C]=="ios",e=document.cookie[Nt](";"),Kt[n](e,function(t){var n=e[t][Nt]("=");if(n[0][P](/^\s+|\s+$/g,"")==Kt.lcn&&n[1][f]>0){Kt[g][$]=n[1][Nt]("_");return}})},initConfig:function(r){var i=[],o=[];if(!r||!(t in r))Kt[Xt]=w,Kt[e][p].width="",Kt[e][p].height="",Kt[e][p].scalable=w;typeof r==L&&(r[t]&&(Kt[e][t]={}),Kt[q](Kt[e],r)),R in Kt[e]&&m in Kt[e][R]&&!Kt[O](Kt[e][R][m])&&(Kt[e][R][m]=[Kt[e][R][m],Kt[e][R][m]]),Kt[q](Kt[V][v][R],Kt[e][R]),Kt[W]=Math.max(Kt[W],Kt[e][R][zt]),Kt[q](Kt[V][v][p],Kt[e][p]),Kt[V][v][z]=Kt[e][z],Kt[n](Kt[e][t],function(n){var r,i={},u,a;Kt[q](i,Kt[e][t][n]),Vt in i||(i[Vt]=Kt[V][v][Vt]),St in i||(i[St]=Kt[V][v][St]),"range"in i&&(u=i.range,u=="*"?a="":u.charAt(0)=="-"?a="(max-width: "+parseInt(u[k](1))+"px)":u.charAt(u[f]-1)=="-"?a=xt+parseInt(u[k](0,u[f]-1))+"px)":Kt[j](u,"-")!=-1&&(u=u[Nt]("-"),a=xt+parseInt(u[0])+"px) and (max-width: "+parseInt(u[1])+"px)"),i[St]=a),R in i&&(m in i[R]&&!Kt[O](i[R][m])&&(i[R][m]=[i[R][m],i[R][m]]),zt in i[R]&&(Kt[W]=Math.max(Kt[W],i[R][zt]))),Kt[e][t][n]=i,r={},Kt[q](r,Kt[V].breakpoint),r[e]=Kt[e][t][n],r.test=function(){return Kt[U](i[St])},r[s]=[],Kt[e].preload&&r[e][Vt]&&o[I](r[e][Vt]),Kt[t][n]=r,Kt.breakpointList[I](n)}),Kt[n](Kt[e][nt],function(t){Kt.bind(t,Kt[e][nt][t])}),o[f]>0&&window[at].protocol!="file:"&&Kt[J](function(){var e,t=document[u](H)[0],r=new XMLHttpRequest;Kt[n](o,function(e){r.open("GET",o[e],a),r.send("")})})},initElements:function(){var t=[];t[I](Kt[B]("mV",Kt.newMeta(p,ct),G,1));switch(Kt[e].reset){case"full":t[I](Kt[B]("iR",Kt[b](Kt.css.r),G,2));break;case wt:t[I](Kt[B]("iN",Kt[b](Kt.css.n),G,2))}t[I](Kt[B]("iBM",Kt[b](Kt.css.bm),G,1)),t[I](Kt[B]("iG",Kt[b]('.row>*{float:left}.row:after,.row:before{content:"";display:block;clear:both;height:0}.row.uniform>*>:first-child{margin-top:0}.row.uniform>*>:last-child{margin-bottom:0}'+Kt.css.gc("")),H,3)),Kt[st](t)},initEvents:function(){var t;!Kt[e].pollOnce&&!Kt[Xt]&&(Kt.bind(Tt,function(){Kt.poll()}),Kt.bind(x,function(){Kt.poll()})),Kt[g][C]=="ios"&&Kt[J](function(){Kt.bind(x,function(){var e=document[u]("input");Kt[n](e,function(t){e[t][Ct]=e[t][tt],e[t][tt]=""}),window.setTimeout(function(){Kt[n](e,function(t){e[t][tt]=e[t][Ct]})},100)})}),window[Rt]&&Kt.bind(Tt,window[Rt]),window[Rt]=function(){Kt.trigger(Tt)},window[X]&&Kt.bind(x,window[X]),window[X]=function(){Kt.trigger(x)}},initUtilityMethods:function(){document[Q]?!function(e,t){Kt[J]=t()}(Ft,function(){function e(e){s=1;while(e=t.shift())e()}var t=[],n,r=document,i=ft,s=/^loaded|^c/.test(r[qt]);return r[Q](i,n=function(){r[vt](i,n),e()}),function(e){s?e():t[I](e)}}):!function(e,t){Kt[J]=t()}(Ft,function(e){function t(e){p=1;while(e=n.shift())e()}var n=[],r,i=!1,s=document,o=s[it],u=o.doScroll,a=ft,f=Q,l="onreadystatechange",c=qt,h=u?/^loaded|^c/:/^loaded|c/,p=h.test(s[c]);return s[f]&&s[f](a,r=function(){s[vt](a,r,i),t()},i),u&&s.attachEvent(l,r=function(){/^c/.test(s[c])&&(s.detachEvent(l,r),t())}),e=u?function(t){self!=top?p?t():n[I](t):function(){try{o.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(e){p?e():n[I](e)}}),document[i]?Kt[i]=function(e){return document[i](e)}:Kt[i]=function(e){var t=document;return t[Ot]?t[Ot](("."+e[P](" "," ."))[P](/\.([0-9])/,$t)):[]},Array[Pt][j]?Kt[j]=function(e,t){return e[j](t)}:Kt[j]=function(e,t){if(typeof e=="string")return e[j](t);var n,r=t?t:0,i;if(!this)throw new TypeError;i=this[f];if(i===0||r>=i)return-1;r<0&&(r=i-Math.abs(r));for(n=r;n<i;n++)if(this[n]===e)return n;return-1},Array[O]?Kt[O]=function(e){return Array[O](e)}:Kt[O]=function(e){return Object[Pt].toString.call(e)==="[object Array]"},Object.keys?Kt[n]=function(e,t){if(!e)return[];var n,r=Object.keys(e);for(n=0;r[n];n++)t(r[n])}:Kt[n]=function(e,t){if(!e)return[];var n;for(n in e)Object[Pt][It].call(e,n)&&t(n)},window.matchMedia?Kt[U]=function(e){return e==""?w:window.matchMedia(e).matches}:window.styleMedia||window[St]?Kt[U]=function(e){if(e=="")return w;var t=window.styleMedia||window[St];return t.matchMedium(e||"all")}:window[K]?Kt[U]=function(e){if(e=="")return w;var t=document[N]("style"),n=document[u]("script")[0],r=c;t.type=lt,t.id="matchmediajs-test",n[S][y](t,n),r=K in window&&window[K](t,c)||t.currentStyle;var i="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=i:t.textContent=i,r.width==="1px"}:(Kt[At]=w,Kt[U]=function(e){if(e=="")return w;var t,n,r,i,s={"min-width":c,"max-width":c},o=a;n=e[Nt](/\s+and\s+/);for(i in n)t=n[i],t.charAt(0)=="("&&(t=t[k](1,t[f]-1),r=t[Nt](/:\s+/),r[f]==2&&(s[r[0][P](/^\s+|\s+$/g,"")]=parseInt(r[1]),o=w));if(!o)return a;var u=document[it].clientWidth,l=document[it].clientHeight;return s[Bt]!==c&&u<s[Bt]||s[Ht]!==c&&u>s[Ht]||s[_t]!==c&&l<s[_t]||s[Mt]!==c&&l>s[Mt]?a:w})},preInit:function(){var e=document[u]("script");Kt.me=e[e[f]-1],Kt.initUtilityMethods(),Kt.initAPI(),Kt[et](Lt,document[u](Lt)[0]),Kt[et](H,document[u](H)[0]),Kt[J](function(){Kt[et]("body",document[u]("body")[0])}),Kt[g].browser=="ie"&&Kt[g][rt]>=10&&Kt[ut](Kt[B]("msie-viewport-fix",Kt[b]("@-ms-viewport{width:device-width}"),G,1))}};return Kt.preInit(),Kt[g][rt]<9&&(Kt[Et]=function(e){},Kt[b]=function(e){var t;return t=document[N]("span"),t[Dt]=' <style type="text/css">'+e+"</style>",t}),Kt}();(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof exports=="object"?module.exports=t():e.skel=t()})(this,function(){return skel}); |