webshims-rails 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/lib/webshims-rails.rb +1 -1
  2. data/lib/webshims-rails/version.rb +2 -2
  3. data/readme.textile +5 -3
  4. data/vendor/assets/javascripts/webshims/dev/extras/custom-validity.js +261 -0
  5. data/vendor/assets/javascripts/webshims/dev/extras/modernizr-custom.js +535 -0
  6. data/vendor/assets/javascripts/webshims/dev/extras/mousepress.js +60 -0
  7. data/vendor/assets/javascripts/webshims/dev/polyfiller.js +1171 -0
  8. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvas/README +62 -0
  9. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvas/canvas2png.js +42 -0
  10. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvas/flashcanvas.js +28 -0
  11. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvas/flashcanvas.swf +0 -0
  12. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvas/proxy.php +73 -0
  13. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvas/save.php +49 -0
  14. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/README +82 -0
  15. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/canvas2png.js +42 -0
  16. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/flash10canvas.swf +0 -0
  17. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/flash9canvas.swf +0 -0
  18. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/flashcanvas.js +31 -0
  19. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/proxy.php +73 -0
  20. data/vendor/assets/javascripts/webshims/dev/shims/FlashCanvasPro/save.php +49 -0
  21. data/vendor/assets/javascripts/webshims/dev/shims/combos/1.js +1710 -0
  22. data/vendor/assets/javascripts/webshims/dev/shims/combos/10.js +3317 -0
  23. data/vendor/assets/javascripts/webshims/dev/shims/combos/11.js +1585 -0
  24. data/vendor/assets/javascripts/webshims/dev/shims/combos/12.js +1587 -0
  25. data/vendor/assets/javascripts/webshims/dev/shims/combos/13.js +1054 -0
  26. data/vendor/assets/javascripts/webshims/dev/shims/combos/14.js +476 -0
  27. data/vendor/assets/javascripts/webshims/dev/shims/combos/15.js +314 -0
  28. data/vendor/assets/javascripts/webshims/dev/shims/combos/16.js +2101 -0
  29. data/vendor/assets/javascripts/webshims/dev/shims/combos/17.js +2264 -0
  30. data/vendor/assets/javascripts/webshims/dev/shims/combos/18.js +2161 -0
  31. data/vendor/assets/javascripts/webshims/dev/shims/combos/19.js +2244 -0
  32. data/vendor/assets/javascripts/webshims/dev/shims/combos/2.js +2294 -0
  33. data/vendor/assets/javascripts/webshims/dev/shims/combos/20.js +1607 -0
  34. data/vendor/assets/javascripts/webshims/dev/shims/combos/21.js +1635 -0
  35. data/vendor/assets/javascripts/webshims/dev/shims/combos/22.js +2409 -0
  36. data/vendor/assets/javascripts/webshims/dev/shims/combos/23.js +2168 -0
  37. data/vendor/assets/javascripts/webshims/dev/shims/combos/24.js +2777 -0
  38. data/vendor/assets/javascripts/webshims/dev/shims/combos/25.js +2204 -0
  39. data/vendor/assets/javascripts/webshims/dev/shims/combos/26.js +2863 -0
  40. data/vendor/assets/javascripts/webshims/dev/shims/combos/27.js +4079 -0
  41. data/vendor/assets/javascripts/webshims/dev/shims/combos/3.js +2971 -0
  42. data/vendor/assets/javascripts/webshims/dev/shims/combos/4.js +823 -0
  43. data/vendor/assets/javascripts/webshims/dev/shims/combos/5.js +1078 -0
  44. data/vendor/assets/javascripts/webshims/dev/shims/combos/59.js +1754 -0
  45. data/vendor/assets/javascripts/webshims/dev/shims/combos/6.js +1230 -0
  46. data/vendor/assets/javascripts/webshims/dev/shims/combos/7.js +1485 -0
  47. data/vendor/assets/javascripts/webshims/dev/shims/combos/8.js +1442 -0
  48. data/vendor/assets/javascripts/webshims/dev/shims/combos/9.js +2515 -0
  49. data/vendor/assets/javascripts/webshims/dev/shims/details.js +146 -0
  50. data/vendor/assets/javascripts/webshims/dev/shims/dom-extend.js +908 -0
  51. data/vendor/assets/javascripts/webshims/dev/shims/es5.js +802 -0
  52. data/vendor/assets/javascripts/webshims/dev/shims/excanvas.js +924 -0
  53. data/vendor/assets/javascripts/webshims/dev/shims/form-core.js +660 -0
  54. data/vendor/assets/javascripts/webshims/dev/shims/form-datalist.js +677 -0
  55. data/vendor/assets/javascripts/webshims/dev/shims/form-message.js +164 -0
  56. data/vendor/assets/javascripts/webshims/dev/shims/form-native-extend.js +256 -0
  57. data/vendor/assets/javascripts/webshims/dev/shims/form-native-fix.js +261 -0
  58. data/vendor/assets/javascripts/webshims/dev/shims/form-number-date-api.js +384 -0
  59. data/vendor/assets/javascripts/webshims/dev/shims/form-number-date-ui.js +847 -0
  60. data/vendor/assets/javascripts/webshims/dev/shims/form-shim-extend.js +1472 -0
  61. data/vendor/assets/javascripts/webshims/dev/shims/geolocation.js +168 -0
  62. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-ar.js +32 -0
  63. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-ch-ZN.js +32 -0
  64. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-de.txt +33 -0
  65. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-el.js +32 -0
  66. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-en.txt +34 -0
  67. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-es.js +32 -0
  68. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-fr.js +32 -0
  69. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-he.js +32 -0
  70. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-hi.js +32 -0
  71. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-hu.js +32 -0
  72. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-it.js +32 -0
  73. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-ja.js +32 -0
  74. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-nl.js +32 -0
  75. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-pt-PT.js +32 -0
  76. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-ru.js +32 -0
  77. data/vendor/assets/javascripts/webshims/dev/shims/i18n/errormessages-sv.js +32 -0
  78. data/vendor/assets/javascripts/webshims/dev/shims/json-storage.js +308 -0
  79. data/vendor/assets/javascripts/webshims/dev/shims/jwplayer/license.txt +1 -0
  80. data/vendor/assets/javascripts/webshims/dev/shims/jwplayer/player.swf +0 -0
  81. data/vendor/assets/javascripts/webshims/dev/shims/jwplayer/readme.html +87 -0
  82. data/vendor/assets/javascripts/webshims/dev/shims/mediaelement-core.js +534 -0
  83. data/vendor/assets/javascripts/webshims/dev/shims/mediaelement-native-fix.js +99 -0
  84. data/vendor/assets/javascripts/webshims/dev/shims/mediaelement-swf.js +1074 -0
  85. data/vendor/assets/javascripts/webshims/dev/shims/mediaelement-yt.js +543 -0
  86. data/vendor/assets/javascripts/webshims/dev/shims/styles/details-arrows.png +0 -0
  87. data/vendor/assets/javascripts/webshims/dev/shims/styles/forms.png +0 -0
  88. data/vendor/assets/javascripts/webshims/dev/shims/styles/polyfill-loader.gif +0 -0
  89. data/vendor/assets/javascripts/webshims/dev/shims/styles/shim.css +677 -0
  90. data/vendor/assets/javascripts/webshims/dev/shims/swf/jwwebshims.swf +0 -0
  91. data/vendor/assets/javascripts/webshims/dev/shims/swf/localStorage.swf +0 -0
  92. data/vendor/assets/javascripts/webshims/dev/shims/track-ui.js +292 -0
  93. data/vendor/assets/javascripts/webshims/dev/shims/track.js +763 -0
  94. data/vendor/assets/javascripts/webshims/minified/extras/modernizr-custom.js +20 -20
  95. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +29 -29
  96. data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +37 -33
  97. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +83 -76
  98. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +44 -42
  99. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +43 -38
  100. data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +27 -25
  101. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +60 -55
  102. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +68 -64
  103. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +60 -59
  104. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +66 -64
  105. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +74 -69
  106. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +46 -43
  107. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +52 -47
  108. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +61 -57
  109. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +68 -60
  110. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +82 -77
  111. data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +58 -0
  112. data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +80 -0
  113. data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +103 -0
  114. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +96 -91
  115. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +30 -31
  116. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +37 -39
  117. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +59 -61
  118. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +31 -29
  119. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +38 -37
  120. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +38 -33
  121. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +68 -63
  122. data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +22 -20
  123. data/vendor/assets/javascripts/webshims/minified/shims/es5.js +15 -14
  124. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +22 -22
  125. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +22 -22
  126. data/vendor/assets/javascripts/webshims/minified/shims/form-message.js +8 -9
  127. data/vendor/assets/javascripts/webshims/minified/shims/form-native-extend.js +7 -8
  128. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +23 -21
  129. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +44 -33
  130. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-sv.js +3 -0
  131. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/player.swf +0 -0
  132. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/readme.html +86 -86
  133. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +16 -13
  134. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +30 -30
  135. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +14 -0
  136. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +71 -10
  137. data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +9 -0
  138. data/vendor/assets/javascripts/webshims/minified/shims/track.js +20 -0
  139. metadata +101 -5
  140. data/vendor/assets/javascripts/webshims/minified/shims/form-output.js +0 -5
@@ -1,20 +1,20 @@
1
- window.Modernizr=function(s,e,C){function z(a,b){for(var c in a){var g=a[c];if(!~(""+g).indexOf("-")&&J[g]!==C)return"pfx"==b?g:!0}return!1}function v(a,b,c){var g=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+w.join(g+" ")+g).split(" ");if("string"===typeof b||"undefined"===typeof b)return z(e,b);e=(a+" "+t.join(g+" ")+g).split(" ");a:{var a=e,f;for(f in a)if(g=b[a[f]],g!==C){if(!1===c){b=a[f];break a}b="function"===typeof g?g.bind(c||b):g;break a}b=!1}return b}function D(){f.input=function(a){for(var b=
2
- 0,c=a.length;b<c;b++)u[a[b]]=!!(a[b]in j);if(u.list)u.list=!(!e.createElement("datalist")||!s.HTMLDataListElement);return u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));f.inputtypes=function(a){for(var b=0,c,g,f=a.length;b<f;b++){j.setAttribute("type",g=a[b]);if(c="text"!==j.type)j.value=q,j.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(g)&&j.style.WebkitAppearance!==C?(m.appendChild(j),c=e.defaultView,c=c.getComputedStyle&&"textfield"!==
3
- c.getComputedStyle(j,null).WebkitAppearance&&0!==j.offsetHeight,m.removeChild(j)):/^(search|tel)$/.test(g)||(c=/^(url|email)$/.test(g)?j.checkValidity&&!1===j.checkValidity():j.value!=q);E[a[b]]=!!c}return E}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var f={},m=e.documentElement,k=e.createElement("modernizr"),J=k.style,j=e.createElement("input"),q=":)",w="Webkit Moz O ms".split(" "),t="webkit moz o ms".split(" "),k={},E={},u={},x=[],F=x.slice,
4
- A,G={}.hasOwnProperty,H;H="undefined"!==typeof G&&"undefined"!==typeof G.call?function(a,b){return G.call(a,b)}:function(a,b){return b in a&&"undefined"===typeof a.constructor.prototype[b]};if(!Function.prototype.bind)Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=F.call(arguments,1),g=function(){if(this instanceof g){var e=function(){};e.prototype=b.prototype;var e=new e,f=b.apply(e,c.concat(F.call(arguments)));return Object(f)===f?f:e}return b.apply(a,
5
- c.concat(F.call(arguments)))};return g};k.canvas=function(){var a=e.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))};k.geolocation=function(){return"geolocation"in navigator};k.video=function(){var a=e.createElement("video"),b=!1;try{if(b=!!a.canPlayType)b=new Boolean(b),b.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),b.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,
6
- "")}catch(c){}return b};k.audio=function(){var a=e.createElement("audio"),b=!1;try{if(b=!!a.canPlayType)b=new Boolean(b),b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),b.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),b.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),b.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(c){}return b};k.localstorage=function(){try{return localStorage.setItem("modernizr","modernizr"),localStorage.removeItem("modernizr"),
7
- !0}catch(a){return!1}};k.sessionstorage=function(){try{return sessionStorage.setItem("modernizr","modernizr"),sessionStorage.removeItem("modernizr"),!0}catch(a){return!1}};for(var I in k)H(k,I)&&(A=I.toLowerCase(),f[A]=k[I](),x.push((f[A]?"":"no-")+A));f.input||D();f.addTest=function(a,b){if("object"==typeof a)for(var c in a)H(a,c)&&f.addTest(c,a[c]);else{a=a.toLowerCase();if(f[a]!==C)return f;b="function"==typeof b?b():b;m.className+=" "+(b?"":"no-")+a;f[a]=b}return f};J.cssText="";k=j=null;(function(a,
8
- b){function c(){var b=y.elements;return"string"==typeof b?b.split(" "):b}function e(b){var a=o[b[n]];a||(a={},h++,b[n]=h,o[h]=a);return a}function f(a,i,d){i||(i=b);if(l)return i.createElement(a);d||(d=e(i));i=d.cache[a]?d.cache[a].cloneNode():K.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a);return i.canHaveChildren&&!N.test(a)?d.frag.appendChild(i):i}function j(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();a.createElement=
9
- function(d){return!y.shivMethods?b.createElem(d):f(d,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(y,b.frag)}function i(a){a||(a=b);var i=e(a);if(y.shivCSS&&!r&&!i.hasCSS){var d,c=a;d=c.createElement("p");c=c.getElementsByTagName("head")[0]||c.documentElement;d.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
10
- d=c.insertBefore(d.lastChild,c.firstChild);i.hasCSS=!!d}l||j(a,i);return a}var B=a.html5||{},N=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,K=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,r,n="_html5shiv",h=0,o={},l;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>";r="hidden"in a;var i;if(!(i=1==a.childNodes.length)){b.createElement("a");
11
- var d=b.createDocumentFragment();i="undefined"==typeof d.cloneNode||"undefined"==typeof d.createDocumentFragment||"undefined"==typeof d.createElement}l=i}catch(c){l=r=!0}})();var y={elements:B.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==B.shivCSS,supportsUnknownElements:l,shivMethods:!1!==B.shivMethods,type:"default",shivDocument:i,createElement:f,createDocumentFragment:function(a,
12
- i){a||(a=b);if(l)return a.createDocumentFragment();for(var i=i||e(a),d=i.frag.cloneNode(),B=0,f=c(),o=f.length;B<o;B++)d.createElement(f[B]);return d}};a.html5=y;i(b)})(this,e);f._version="2.6.1";f._domPrefixes=t;f._cssomPrefixes=w;f.testProp=function(a){return z([a])};f.testAllProps=v;f.prefixed=function(a,b,c){return b?v(a,b,c):v(a,"pfx")};m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+x.join(" "));return f}(this,this.document);
13
- (function(s,e,C){function z(a){return"[object Function]"==E.call(a)}function v(a){return"string"==typeof a}function D(){}function f(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function m(){var a=u.shift();x=1;a?a.t?w(function(){("c"==a.t?p.injectCss:p.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),m()):x=0}function k(a,b,g,j,r,n,h){function o(d){if(!y&&f(l.readyState)&&(M.r=y=1,!x&&m(),l.onload=l.onreadystatechange=null,d)){"img"!=a&&w(function(){G.removeChild(l)},50);for(var e in c[b])c[b].hasOwnProperty(e)&&
14
- c[b][e].onload()}}var h=h||p.errorTimeout,l=e.createElement(a),y=0,k=0,M={t:g,s:b,e:r,a:n,x:h};1===c[b]&&(k=1,c[b]=[]);"object"==a?l.data=b:(l.src=b,l.type=a);l.width=l.height="0";l.onerror=l.onload=l.onreadystatechange=function(){o.call(this,k)};u.splice(j,0,M);"img"!=a&&(k||2===c[b]?(G.insertBefore(l,A?null:t),w(o,h)):c[b].push(l))}function J(a,b,c,e,f){return x=0,b=b||"j",v(a)?k("c"==b?I:H,a,b,this.i++,c,e,f):(u.splice(this.i++,0,a),1==u.length&&m()),this}function j(){var a=p;return a.loader={load:J,
15
- i:0},a}var q=e.documentElement,w=s.setTimeout,t=e.getElementsByTagName("script")[0],E={}.toString,u=[],x=0,F="MozAppearance"in q.style,A=F&&!!e.createRange().compareNode,G=A?q:t.parentNode,q=s.opera&&"[object Opera]"==E.call(s.opera),q=!!e.attachEvent&&!q,H=F?"object":q?"script":"img",I=q?"script":H,a=Array.isArray||function(a){return"[object Array]"==E.call(a)},b=[],c={},g={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},L,p;p=function(e){function f(a){var a=a.split("!"),e=b.length,c=
16
- a.pop(),i=a.length,c={url:c,origUrl:c,prefixes:a},h,d,k;for(d=0;d<i;d++)k=a[d].split("="),(h=g[k.shift()])&&(c=h(c,k));for(d=0;d<e;d++)c=b[d](c);return c}function k(a,b,e,i,h){var d=f(a),g=d.autoCallback;d.url.split(".").pop().split("?").shift();d.bypass||(b&&(b=z(b)?b:b[a]||b[i]||b[a.split("/").pop().split("?")[0]]),d.instead?d.instead(a,b,e,i,h):(c[d.url]?d.noexec=!0:c[d.url]=1,e.load(d.url,d.forceCSS||!d.forceJS&&"css"==d.url.split(".").pop().split("?").shift()?"c":C,d.noexec,d.attrs,d.timeout),
17
- (z(b)||z(g))&&e.load(function(){j();b&&b(d.origUrl,h,i);g&&g(d.origUrl,h,i);c[d.url]=2})))}function K(a,b){function c(a,f){if(a)if(v(a))f||(d=function(){var a=[].slice.call(arguments);i.apply(this,a);h()}),k(a,d,b,0,e);else{if(Object(a)===a)for(j in g=function(){var b=0,d;for(d in a)a.hasOwnProperty(d)&&b++;return b}(),a)a.hasOwnProperty(j)&&(!f&&!--g&&(z(d)?d=function(){var a=[].slice.call(arguments);i.apply(this,a);h()}:d[j]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,
18
- b);h()}}(i[j])),k(a[j],d,b,j,e))}else!f&&h()}var e=!!a.test,f=a.load||a.both,d=a.callback||D,i=d,h=a.complete||D,g,j;c(e?a.yep:a.nope,!!f);f&&c(f)}var r,n,h=this.yepnope.loader;if(v(e))k(e,0,h,0);else if(a(e))for(r=0;r<e.length;r++)n=e[r],v(n)?k(n,0,h,0):a(n)?p(n):Object(n)===n&&K(n,h);else Object(e)===e&&K(e,h)};p.addPrefix=function(a,b){g[a]=b};p.addFilter=function(a){b.push(a)};p.errorTimeout=1E4;null==e.readyState&&e.addEventListener&&(e.readyState="loading",e.addEventListener("DOMContentLoaded",
19
- L=function(){e.removeEventListener("DOMContentLoaded",L,0);e.readyState="complete"},0));s.yepnope=j();s.yepnope.executeStack=m;s.yepnope.injectJs=function(a,b,c,g,j,k){var h=e.createElement("script"),o,l,g=g||p.errorTimeout;h.src=a;for(l in c)h.setAttribute(l,c[l]);b=k?m:b||D;h.onreadystatechange=h.onload=function(){!o&&f(h.readyState)&&(o=1,b(),h.onload=h.onreadystatechange=null)};w(function(){o||(o=1,b(1))},g);j?h.onload():t.parentNode.insertBefore(h,t)};s.yepnope.injectCss=function(a,b,c,f,g,j){var f=
20
- e.createElement("link"),h,b=j?m:b||D;f.href=a;f.rel="stylesheet";f.type="text/css";for(h in c)f.setAttribute(h,c[h]);g||(t.parentNode.insertBefore(f,t),w(b,0))}})(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
1
+ window.Modernizr=function(s,g,C){function y(b,a){for(var e in b){var f=b[e];if(!~(""+f).indexOf("-")&&K[f]!==C)return"pfx"==a?f:!0}return!1}function x(b,a,e){var f=b.charAt(0).toUpperCase()+b.slice(1),m=(b+" "+t.join(f+" ")+f).split(" ");if("string"===typeof a||"undefined"===typeof a)return y(m,a);m=(b+" "+D.join(f+" ")+f).split(" ");a:{var b=m,d;for(d in b)if(f=a[b[d]],f!==C){if(!1===e){a=b[d];break a}a="function"===typeof f?f.bind(e||a):f;break a}a=!1}return a}function E(){h.input=function(b){for(var a=
2
+ 0,e=b.length;a<e;a++)u[b[a]]=!!(b[a]in l);if(u.list)u.list=!(!g.createElement("datalist")||!s.HTMLDataListElement);return u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));h.inputtypes=function(b){for(var a=0,e,f,m=b.length;a<m;a++){l.setAttribute("type",f=b[a]);if(e="text"!==l.type)l.value=r,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==C?(p.appendChild(l),e=g.defaultView,e=e.getComputedStyle&&"textfield"!==
3
+ e.getComputedStyle(l,null).WebkitAppearance&&0!==l.offsetHeight,p.removeChild(l)):/^(search|tel)$/.test(f)||(e=/^(url|email)$/.test(f)?l.checkValidity&&!1===l.checkValidity():l.value!=r);z[b[a]]=!!e}return z}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var h={},p=g.documentElement,n=g.createElement("modernizr"),K=n.style,l=g.createElement("input"),r=":)",A=" -webkit- -moz- -o- -ms- ".split(" "),t="Webkit Moz O ms".split(" "),D="webkit moz o ms".split(" "),
4
+ n={},z={},u={},F=[],G=F.slice,B,H={}.hasOwnProperty,J;J="undefined"!==typeof H&&"undefined"!==typeof H.call?function(b,a){return H.call(b,a)}:function(b,a){return a in b&&"undefined"===typeof b.constructor.prototype[a]};if(!Function.prototype.bind)Function.prototype.bind=function(b){var a=this;if("function"!=typeof a)throw new TypeError;var e=G.call(arguments,1),f=function(){if(this instanceof f){var m=function(){};m.prototype=a.prototype;var m=new m,d=a.apply(m,e.concat(G.call(arguments)));return Object(d)===
5
+ d?d:m}return a.apply(b,e.concat(G.call(arguments)))};return f};n.canvas=function(){var b=g.createElement("canvas");return!(!b.getContext||!b.getContext("2d"))};n.geolocation=function(){return"geolocation"in navigator};n.video=function(){var b=g.createElement("video"),a=!1;try{if(a=!!b.canPlayType)a=new Boolean(a),a.ogg=b.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),a.h264=b.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),a.webm=b.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,
6
+ "")}catch(e){}return a};n.audio=function(){var b=g.createElement("audio"),a=!1;try{if(a=!!b.canPlayType)a=new Boolean(a),a.ogg=b.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),a.mp3=b.canPlayType("audio/mpeg;").replace(/^no$/,""),a.wav=b.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),a.m4a=(b.canPlayType("audio/x-m4a;")||b.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(e){}return a};n.localstorage=function(){try{return localStorage.setItem("modernizr","modernizr"),localStorage.removeItem("modernizr"),
7
+ !0}catch(b){return!1}};n.sessionstorage=function(){try{return sessionStorage.setItem("modernizr","modernizr"),sessionStorage.removeItem("modernizr"),!0}catch(b){return!1}};for(var I in n)J(n,I)&&(B=I.toLowerCase(),h[B]=n[I](),F.push((h[B]?"":"no-")+B));h.input||E();h.addTest=function(b,a){if("object"==typeof b)for(var e in b)J(b,e)&&h.addTest(e,b[e]);else{b=b.toLowerCase();if(h[b]!==C)return h;a="function"==typeof a?a():a;p.className+=" "+(a?"":"no-")+b;h[b]=a}return h};K.cssText="";n=l=null;(function(b,
8
+ a){function e(){var a=v.elements;return"string"==typeof a?a.split(" "):a}function f(a){var c=k[a[j]];c||(c={},q++,a[j]=q,k[q]=c);return c}function m(b,c,d){c||(c=a);if(w)return c.createElement(b);d||(d=f(c));c=d.cache[b]?d.cache[b].cloneNode():l.test(b)?(d.cache[b]=d.createElem(b)).cloneNode():d.createElem(b);return c.canHaveChildren&&!h.test(b)?d.frag.appendChild(c):c}function d(a,c){if(!c.cache)c.cache={},c.createElem=a.createElement,c.createFrag=a.createDocumentFragment,c.frag=c.createFrag();a.createElement=
9
+ function(b){return!v.shivMethods?c.createElem(b):m(b,a,c)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+e().join().replace(/\w+/g,function(a){c.createElem(a);c.frag.createElement(a);return'c("'+a+'")'})+");return n}")(v,c.frag)}function i(b){b||(b=a);var c=f(b);if(v.shivCSS&&!o&&!c.hasCSS){var k,i=b;k=i.createElement("p");i=i.getElementsByTagName("head")[0]||i.documentElement;k.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
10
+ k=i.insertBefore(k.lastChild,i.firstChild);c.hasCSS=!!k}w||d(b,c);return b}var g=b.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,l=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,o,j="_html5shiv",q=0,k={},w;(function(){try{var b=a.createElement("a");b.innerHTML="<xyz></xyz>";o="hidden"in b;var c;if(!(c=1==b.childNodes.length)){a.createElement("a");var d=a.createDocumentFragment();c="undefined"==typeof d.cloneNode||
11
+ "undefined"==typeof d.createDocumentFragment||"undefined"==typeof d.createElement}w=c}catch(k){w=o=!0}})();var v={elements:g.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==g.shivCSS,supportsUnknownElements:w,shivMethods:!1!==g.shivMethods,type:"default",shivDocument:i,createElement:m,createDocumentFragment:function(b,d){b||(b=a);if(w)return b.createDocumentFragment();
12
+ for(var d=d||f(b),k=d.frag.cloneNode(),i=0,q=e(),g=q.length;i<g;i++)k.createElement(q[i]);return k}};b.html5=v;i(a)})(this,g);h._version="2.6.2";h._prefixes=A;h._domPrefixes=D;h._cssomPrefixes=t;h.testProp=function(b){return y([b])};h.testAllProps=x;h.prefixed=function(b,a,e){return a?x(b,a,e):x(b,"pfx")};p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+F.join(" "));return h}(this,this.document);
13
+ (function(s,g,C){function y(a){return"[object Function]"==D.call(a)}function x(a){return"string"==typeof a}function E(){}function h(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function p(){var a=z.shift();u=1;a?a.t?A(function(){("c"==a.t?m.injectCss:m.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),p()):u=0}function n(b,i,e,f,l,o,j){function q(c){if(!w&&h(k.readyState)&&(n.r=w=1,!u&&p(),k.onload=k.onreadystatechange=null,c)){"img"!=b&&A(function(){B.removeChild(k)},50);for(var q in a[i])a[i].hasOwnProperty(q)&&
14
+ a[i][q].onload()}}var j=j||m.errorTimeout,k=g.createElement(b),w=0,v=0,n={t:e,s:i,e:l,a:o,x:j};1===a[i]&&(v=1,a[i]=[]);"object"==b?k.data=i:(k.src=i,k.type=b);k.width=k.height="0";k.onerror=k.onload=k.onreadystatechange=function(){q.call(this,v)};z.splice(f,0,n);"img"!=b&&(v||2===a[i]?(B.insertBefore(k,G?null:t),A(q,j)):a[i].push(k))}function K(a,b,e,f,g){return u=0,b=b||"j",x(a)?n("c"==b?J:H,a,b,this.i++,e,f,g):(z.splice(this.i++,0,a),1==z.length&&p()),this}function l(){var a=m;return a.loader={load:K,
15
+ i:0},a}var r=g.documentElement,A=s.setTimeout,t=g.getElementsByTagName("script")[0],D={}.toString,z=[],u=0,F="MozAppearance"in r.style,G=F&&!!g.createRange().compareNode,B=G?r:t.parentNode,r=s.opera&&"[object Opera]"==D.call(s.opera),r=!!g.attachEvent&&!r,H=F?"object":r?"script":"img",J=r?"script":H,I=Array.isArray||function(a){return"[object Array]"==D.call(a)},b=[],a={},e={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},f,m;m=function(d){function i(a){var a=a.split("!"),k=b.length,d=
16
+ a.pop(),f=a.length,d={url:d,origUrl:d,prefixes:a},i,c,g;for(c=0;c<f;c++)g=a[c].split("="),(i=e[g.shift()])&&(d=i(d,g));for(c=0;c<k;c++)d=b[c](d);return d}function f(b,d,g,e,h){var c=i(b),j=c.autoCallback;c.url.split(".").pop().split("?").shift();c.bypass||(d&&(d=y(d)?d:d[b]||d[e]||d[b.split("/").pop().split("?")[0]]),c.instead?c.instead(b,d,g,e,h):(a[c.url]?c.noexec=!0:a[c.url]=1,g.load(c.url,c.forceCSS||!c.forceJS&&"css"==c.url.split(".").pop().split("?").shift()?"c":C,c.noexec,c.attrs,c.timeout),
17
+ (y(d)||y(j))&&g.load(function(){l();d&&d(c.origUrl,h,e);j&&j(c.origUrl,h,e);a[c.url]=2})))}function g(a,b){function d(a,i){if(a)if(x(a))i||(c=function(){var a=[].slice.call(arguments);h.apply(this,a);j()}),f(a,c,b,0,e);else{if(Object(a)===a)for(l in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(l)&&(!i&&!--m&&(y(c)?c=function(){var a=[].slice.call(arguments);h.apply(this,a);j()}:c[l]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,
18
+ b);j()}}(h[l])),f(a[l],c,b,l,e))}else!i&&j()}var e=!!a.test,i=a.load||a.both,c=a.callback||E,h=c,j=a.complete||E,m,l;d(e?a.yep:a.nope,!!i);i&&d(i)}var h,o,j=this.yepnope.loader;if(x(d))f(d,0,j,0);else if(I(d))for(h=0;h<d.length;h++)o=d[h],x(o)?f(o,0,j,0):I(o)?m(o):Object(o)===o&&g(o,j);else Object(d)===d&&g(d,j)};m.addPrefix=function(a,b){e[a]=b};m.addFilter=function(a){b.push(a)};m.errorTimeout=1E4;null==g.readyState&&g.addEventListener&&(g.readyState="loading",g.addEventListener("DOMContentLoaded",
19
+ f=function(){g.removeEventListener("DOMContentLoaded",f,0);g.readyState="complete"},0));s.yepnope=l();s.yepnope.executeStack=p;s.yepnope.injectJs=function(a,b,e,f,l,o){var j=g.createElement("script"),n,k,f=f||m.errorTimeout;j.src=a;for(k in e)j.setAttribute(k,e[k]);b=o?p:b||E;j.onreadystatechange=j.onload=function(){!n&&h(j.readyState)&&(n=1,b(),j.onload=j.onreadystatechange=null)};A(function(){n||(n=1,b(1))},f);l?j.onload():t.parentNode.insertBefore(j,t)};s.yepnope.injectCss=function(a,b,e,f,h,l){var f=
20
+ g.createElement("link"),j,b=l?p:b||E;f.href=a;f.rel="stylesheet";f.type="text/css";for(j in e)f.setAttribute(j,e[j]);h||(t.parentNode.insertBefore(f,t),A(b,0))}})(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};Modernizr.addTest({texttrackapi:"function"===typeof document.createElement("video").addTextTrack,track:"kind"in document.createElement("track")});
@@ -1,29 +1,29 @@
1
- (function(b){if(window.jQuery)b(jQuery),b=jQuery.noop;"function"===typeof define&&define.amd&&define.amd.jQuery&&define("polyfiller",["jquery"],b)})(function(b){var C=b(document.scripts||"script"),o=b.event.special,D=b([]),g=window.Modernizr,r=window.asyncWebshims,B=g.addTest,y=parseFloat(b.browser.version,10),p=window.Object,E=window.html5||{};g.genericDOM=!!b("<video><div></div></video>")[0].innerHTML;g.advancedObjectProperties=g.objectAccessor=g.ES5=!!("create"in p&&"seal"in p);var d={version:"1.8.13",
2
- cfg:{useImportantStyles:!0,waitReady:!0,extendNative:!0,loadStyles:!0,disableShivMethods:!0,basePath:function(){var a=C.filter('[src*="polyfiller.js"]'),a=a[0]||a.end()[a.end().length-1],a=(b.support.hrefNormalized?a.src:a.getAttribute("src",4)).split("?")[0];return a=a.slice(0,a.lastIndexOf("/")+1)+"shims/"}()},bugs:{},browserVersion:y,modules:{},features:{},featureList:[],setOptions:function(a,c){"string"==typeof a&&void 0!==c?j[a]=!b.isPlainObject(c)?c:b.extend(!0,j[a]||{},c):"object"==typeof a&&
3
- b.extend(!0,j,a)},addPolyfill:function(a,c){var c=c||{},e=c.f||a;if(!n[e])n[e]=[],n[e].delayReady=0,d.featureList.push(e),j[e]={};n[e].push(a);c.options=b.extend(j[e],c.options);z(a,c);c.methodNames&&b.each(c.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){var a=function(c){var f=[],h;if(j.disableShivMethods&&g.genericDOM&&"html5Clone"in b.support)E.shivMethods=!1;var i=function(){b("html").removeClass("loading-polyfills long-loading-polyfills");b(window).unbind(".lP");clearTimeout(h)};
4
- f.push("loading-polyfills");b(window).bind("load.lP error.lP",i);h=setTimeout(function(){b("html").addClass("long-loading-polyfills")},600);j.waitReady&&b.isReady&&d.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false.");q(c,i);j.useImportantStyles&&f.push("polyfill-important");f[0]&&b("html").addClass(f.join(" "));j.loadStyles&&s.loadCSS("styles/shim.css");a=b.noop},c;return function(e){var f=[],e=e||d.featureList;"string"==typeof e&&(e=e.split(" "));c||(c=-1!==b.inArray("forms",
5
- e),!c&&-1!==b.inArray("forms-ext",e)&&(e.push("forms"),c=!0));j.waitReady&&(b.readyWait++,q(e,function(){b.ready(!0)}));b.each(e,function(a,b){n[b]?(b!==n[b][0]&&q(n[b],function(){k(b,!0)}),f=f.concat(n[b])):(d.warn("could not find webshims-feature (aborted): "+b),k(b,!0))});a(e);t(f)}}(),reTest:function(){var a,c,e=function(e,h){var i=m[h],d=h+"Ready",g;if(i&&!i.loaded&&!(i.test&&b.isFunction(i.test)?i.test([]):i.test)){o[d]&&delete o[d];if((g=n[i.f])&&!c)g.delayReady++,q(h,function(){g.delayReady--;
6
- k(i.f,g.callReady)});a.push(h)}};return function(d,h){c=h;"string"==typeof d&&(d=d.split(" "));a=[];b.each(d,e);t(a)}}(),isReady:function(a,c){if(n[a]&&0<n[a].delayReady){if(c)n[a].callReady=!0;return!1}a+="Ready";if(c){if(o[a]&&o[a].add)return!0;o[a]=b.extend(o[a]||{},{add:function(b){b.handler.call(this,a)}});b.event.trigger(a)}return!(!o[a]||!o[a].add)||!1},ready:function(a,c,e){"string"==typeof a&&(a=a.split(" "));e||(a=b.map(b.grep(a,function(a){return!k(a)}),function(a){return a+"Ready"}));
7
- a.length?(e=a.shift(),b(document).one(e,function(){q(a,c,!0)})):c(b,d,window,document)},fixHTML5:function(a){return a},capturingEvents:function(a,c){document.addEventListener&&("string"==typeof a&&(a=[a]),b.each(a,function(a,f){var h=function(a){a=b.event.fix(a);c&&d.capturingEventPrevented&&d.capturingEventPrevented(a);return b.event.handle.call(this,a)};o[f]=o[f]||{};!o[f].setup&&!o[f].teardown&&b.extend(o[f],{setup:function(){this.addEventListener(f,h,!0)},teardown:function(){this.removeEventListener(f,
8
- h,!0)}})}))},register:function(a,c){var e=m[a];if(e){if(e.noAutoCallback){var f=function(){c(b,d,window,document,void 0,e.options);k(a,!0)};e.d?q(e.d,f):f()}}else d.warn("can't find module: "+a)},c:{},loader:{addModule:function(a,c){m[a]=c;c.name=c.name||a;if(!c.c)c.c=[];b.each(c.c,function(b,c){d.c[c]||(d.c[c]=[]);d.c[c].push(a)})},loadList:function(){var a=[],c=function(c,e){"string"==typeof e&&(e=[e]);b.merge(a,e);s.loadScript(c,!1,e)},e=function(c,e){if(k(c)||-1!=b.inArray(c,a))return!0;var d=
9
- m[c];if(d)if(d=d.test&&b.isFunction(d.test)?d.test(e):d.test)k(c,!0);else return!1;return!0},f=function(a,c){if(a.d&&a.d.length){var d=function(a,d){!e(d,c)&&-1==b.inArray(d,c)&&c.push(d)};b.each(a.d,function(a,c){m[c]?d(a,c):n[c]&&(b.each(n[c],d),q(n[c],function(){k(c,!0)}))});if(!a.noAutoCallback)a.noAutoCallback=!0}};return function(h){var i,g=[],j,k,l=function(e,h){k=h;b.each(d.c[h],function(c,d){if(-1==b.inArray(d,g)||-1!=b.inArray(d,a))return k=!1});if(k)return c("combos/"+k,d.c[k]),!1};for(j=
10
- 0;j<h.length;j++)i=m[h[j]],!i||e(i.name,h)?i||d.warn("could not find: "+h[j]):(i.css&&s.loadCSS(i.css),i.loadInit&&i.loadInit(),i.loaded=!0,f(i,h),g.push(i.name));for(j=0,h=g.length;j<h;j++)k=!1,i=g[j],-1==b.inArray(i,a)&&("noCombo"!=d.debug&&b.each(m[i].c,l),k||c(m[i].src||i,i))}}(),makePath:function(a){if(-1!=a.indexOf("//")||0===a.indexOf("/"))return a;-1==a.indexOf(".")&&(a+=".js");j.addCacheBuster&&(a+=j.addCacheBuster);return j.basePath+a},loadCSS:function(){var a,c=[];return function(d){d=
11
- this.makePath(d);-1==b.inArray(d,c)&&(a=a||b("link, style")[0]||b("script")[0],c.push(d),b('<link rel="stylesheet" />').insertBefore(a).attr({href:d}))}}(),loadScript:function(){var a=[];return function(c,d,f){c=s.makePath(c);if(-1==b.inArray(c,a)){var h=function(){h=null;d&&d();f&&("string"==typeof f&&(f=f.split(" ")),b.each(f,function(a,c){m[c]&&(m[c].afterLoad&&m[c].afterLoad(),k(!m[c].noAutoCallback?c:c+"FileLoaded",!0))}))};a.push(c);window.require?require([c],h):window.sssl?sssl(c,h):window.yepnope?
12
- yepnope.injectJs(c,h):window.steal&&steal(c).then(h)}}}()}};b.webshims=d;var u=("https:"==location.protocol?"https://":"http://")+"ajax.googleapis.com/ajax/libs/",y=u+"jqueryui/1.8.21/",j=d.cfg,n=d.features,k=d.isReady,q=d.ready,l=d.addPolyfill,m=d.modules,s=d.loader,t=s.loadList,z=s.addModule,v=[],F={warn:1,error:1};d.addMethodName=function(a){var a=a.split(":"),c=a[1];1==a.length&&(c=a[0]);a=a[0];b.fn[a]=function(){return this.callProp(c,arguments)}};b.fn.callProp=function(a,c){var e;c||(c=[]);
13
- this.each(function(){var f=b.prop(this,a);if(f&&f.apply){if(e=f.apply(this,c),void 0!==e)return!1}else d.warn(a+" is not a method of "+this)});return void 0!==e?e:this};d.activeLang=function(){var a=navigator.browserLanguage||navigator.language||"";q("webshimLocalization",function(){d.activeLang(a)});return function(c){if(c)if("string"==typeof c)a=c;else if("object"==typeof c){var b=arguments,f=this;q("webshimLocalization",function(){d.activeLang.apply(f,b)})}return a}}();b.each(["log","error","warn",
14
- "info"],function(a,c){d[c]=function(a){if((F[c]&&!1!==d.debug||d.debug)&&window.console&&console.log)return console[console[c]?c:"log"](a)}});(function(){b.isDOMReady=b.isReady;if(b.isDOMReady)k("DOM",!0);else{var a=b.ready;b.ready=function(c){if(!0!==c&&!b.isDOMReady)document.body?(b.isDOMReady=!0,k("DOM",!0),b.ready=a):setTimeout(function(){b.ready(c)},13);return a.apply(this,arguments)};b.ready.promise=a.promise}b(function(){b.isDOMReady=!0;k("DOM",!0);setTimeout(function(){k("WINDOWLOAD",!0)},
15
- 9999)});b(window).load(function(){k("DOM",!0);k("WINDOWLOAD",!0)})})();(function(){var a=[];b.extend(d,{addReady:function(c){var b=function(a,b){d.ready("DOM",function(){c(a,b)})};a.push(b);b(document,D)},triggerDomUpdate:function(c){if(!c||!c.nodeType)c&&c.jquery&&c.each(function(){d.triggerDomUpdate(this)});else{var e=c.nodeType;if(!(1!=e&&9!=e)){var f=c!==document?b(c):D;b.each(a,function(a,b){b(c,f)})}}}});b.fn.htmlPolyfill=function(a){a=b.fn.html.call(this,a?d.fixHTML5(a):a);a===this&&b.isDOMReady&&
16
- this.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return a};b.each(["after","before","append","prepend","replaceWith"],function(a,e){b.fn[e+"Polyfill"]=function(a){a=b(d.fixHTML5(a));b.fn[e].call(this,a);b.isDOMReady&&a.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return this}});b.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(a,e){b.fn[e.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){b.fn[e].apply(this,arguments);d.triggerDomUpdate(this);
17
- return this}});b.fn.updatePolyfill=function(){d.triggerDomUpdate(this);return this};b.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(a,d){b.fn[d]=function(){return this}})})();(function(){var a=p.prototype.hasOwnProperty,c=["configurable","enumerable","writable"],e=function(a){for(var b=0;3>b;b++)if(void 0===a[c[b]]&&("writable"!==c[b]||void 0!==a.value))a[c[b]]=!0},f=function(b){if(b)for(var c in b)a.call(b,c)&&e(b[c])};if(p.create)d.objectCreate=function(a,c,d){f(c);
18
- a=p.create(a,c);if(d)a.options=b.extend(!0,{},a.options||{},d),d=a.options;a._create&&b.isFunction(a._create)&&a._create(d);return a};p.defineProperty&&(d.defineProperty=function(a,b,c){e(c);return p.defineProperty(a,b,c)});if(p.defineProperties)d.defineProperties=function(a,b){f(b);return p.defineProperties(a,b)};d.getOwnPropertyDescriptor=p.getOwnPropertyDescriptor;d.getPrototypeOf=p.getPrototypeOf})();z("jquery-ui",{src:y+"jquery-ui.min.js",test:function(){return!(!b.widget||!b.Widget)}});z("input-widgets",
19
- {src:"",test:function(){return!this.src||!(b.widget&&(!b.fn.datepicker||!b.fn.slider))}});z("swfobject",{src:u+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in window}});l("es5",{test:!(!g.ES5||!Function.prototype.bind),c:[10,1,22]});l("dom-extend",{f:"dom-support",noAutoCallback:!0,d:["es5"],c:[10,9,12,17,16,8,1,24,19,11,13]});"localstorage"in g&&l("json-storage",{test:g.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){t(["swfobject"])},noAutoCallback:!0,
20
- c:[14]});"geolocation"in g&&l("geolocation",{test:g.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]});(function(){if("canvas"in g){var a;l("canvas",{src:"excanvas",test:g.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var c=this.options.type;if(c&&-1!==c.indexOf("flash")&&(!window.swfobject||swfobject.hasFlashPlayerVersion("9.0.0")))window.FlashCanvasOptions=window.FlashCanvasOptions||{},a=FlashCanvasOptions,"flash"==c?(b.extend(a,{swfPath:j.basePath+"FlashCanvas/"}),
21
- this.src="FlashCanvas/flashcanvas"):(b.extend(a,{swfPath:j.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas")},afterLoad:function(){d.addReady(function(a,d){a==document&&window.G_vmlCanvasManager&&G_vmlCanvasManager.init_&&G_vmlCanvasManager.init_(document);b("canvas",a).add(d.filter("canvas")).each(function(){!this.getContext&&window.G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this)});a==document&&k("canvas",!0)})},methodNames:["getContext"],d:["dom-support"]})}})();var A=
22
- g.input,w=g.inputtypes;if(A&&w){var x,u=b('<select required="" name="a"><option disabled="" /></select>')[0];B("formvalidation",function(){return!(!A.required||!A.pattern)});if(g.formvalidation)d.bugs.bustedValidity=!(b('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||!("required"in u)||(u.validity||{}).valid;B("styleableinputrange",function(){if(!w.range)return!1;var a=document.createElement("input");a.setAttribute("type","range");return void 0!==a.style.WebkitAppearance});
23
- d.validationMessages=d.validityMessages=[];d.inputTypes={};l("form-core",{f:"forms",d:["es5"],test:function(){if(x.lightweightDatalist&&!this.datalistLoaded)this.datalistLoaded=!0,m["form-datalist"].f="forms",d.reTest(["form-datalist"]);return!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",availabeLangs:"ar,ch-ZN,el,es,fr,he,hi,hu,it,ja,nl,pt-PT,ru".split(",")},methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,16,5,4,24,19]});x=j.forms;g.formvalidation&&!d.bugs.bustedValidity?
24
- (l("form-extend",{f:"forms",src:"form-native-extend",test:function(a){return(m["form-number-date-api"].test()||-1==b.inArray("form-number-date-api",a||[]))&&!x.overrideMessages},d:["form-core","dom-support","form-message"],c:[18,7,59,5]}),v=v.concat([2,3,23,21])):(v=v.concat([18,7,4,59,5]),l("form-extend",{f:"forms",src:"form-shim-extend",test:function(){return!1},d:["form-core","dom-support"],c:[3,2,23,21]}));l("form-message",{f:"forms",test:function(a){return!(x.customMessages||!g.formvalidation||
25
- !m["form-extend"].test(a)||d.bugs.validationMessage)},d:["dom-support"],c:[3,2,23,21,59,17,5,4]});d.addPolyfill("form-output",{f:"forms",test:"value"in document.createElement("output"),d:["dom-support"],c:[3,2,23,21]});l("form-number-date-api",{f:"forms-ext",uiTest:function(){return w.range&&w.date&&w.number},test:function(){return this.uiTest()&&!d.bugs.valueAsNumberSet},d:["forms","dom-support"],c:[18,7,6]});l("form-number-date-ui",{f:"forms-ext",test:function(){return m["form-number-date-api"].test()&&
26
- !this.options.replaceUI},d:["forms","dom-support","form-number-date-api"],loadInit:function(){t(["jquery-ui"]);m["input-widgets"].src&&t(["input-widgets"])},options:{stepArrows:{number:1,time:1},calculateWidth:!0,slider:{},datepicker:{},langSrc:y+"i18n/jquery.ui.datepicker-",recalcWidth:!0},c:[18,7,6]});l("form-datalist",{f:"forms-ext",test:function(){return A.list&&!x.customDatalist},d:["form-core","dom-support"],c:[3,59,18,24,19,11]})}"details"in g||B("details",function(){return"open"in document.createElement("details")});
27
- l("details",{test:g.details,d:["dom-support"],options:{text:"Details"},c:[12,13,15]});if("audio"in g&&"video"in g)d.mediaelement={},l("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,d:["swfobject","dom-support"],c:[10,9,12,17,16,8,22,23,24,20]}),l("mediaelement-swf",{f:"mediaelement",options:{hasToPlay:"any",preferFlash:!1,jwVars:{},jwParams:{},jwAttrs:{},changeJW:b.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfobject","dom-support"],test:function(){if(!g.audio||
28
- !g.video)return!1;var a=this.options,b=a.hasToPlay;return!((!window.swfobject||window.swfobject.hasFlashPlayerVersion("9.0.115"))&&(a.preferFlash||"any"!=b&&!g.video[b]&&!g.audio[b]))},c:[10,9,22,20]});l("feature-dummy",{test:!0,loaded:!0,c:v});C.filter("[data-polyfill-cfg]").each(function(){try{d.setOptions(b(this).data("polyfillCfg"))}catch(a){d.warn("error parsing polyfill cfg: "+a)}}).end().filter("[data-polyfill]").each(function(){d.polyfill(b.trim(b(this).data("polyfill")||""))});r&&(r.cfg&&
29
- d.setOptions(r.cfg),r.lang&&d.activeLang(r.lang),"polyfill"in r&&d.polyfill(r.polyfill))});
1
+ (function(b){if(window.jQuery)b(jQuery),b=jQuery.noop;"function"===typeof define&&define.amd&&define.amd.jQuery&&define("polyfiller",["jquery"],b)})(function(b){var D=b(document.scripts||"script"),o=b.event.special,E=b([]),f=window.Modernizr,r=window.asyncWebshims,A=f.addTest,B=parseFloat(b.browser.version,10),p=window.Object,F=window.html5||{};f.genericDOM=!!b("<video><div></div></video>")[0].innerHTML;f.advancedObjectProperties=f.objectAccessor=f.ES5=!!("create"in p&&"seal"in p);if(b.browser.chrome)b.browser.webkit=
2
+ !0;var d={version:"1.9.1",cfg:{useImportantStyles:!0,waitReady:!0,extendNative:!0,loadStyles:!0,disableShivMethods:!0,basePath:function(){var a=D.filter('[src*="polyfiller.js"]'),a=a[0]||a.end()[a.end().length-1],a=(b.support.hrefNormalized?a.src:a.getAttribute("src",4)).split("?")[0];return a=a.slice(0,a.lastIndexOf("/")+1)+"shims/"}()},bugs:{},browserVersion:B,modules:{},features:{},featureList:[],setOptions:function(a,c){"string"==typeof a&&void 0!==c?j[a]=!b.isPlainObject(c)?c:b.extend(!0,j[a]||
3
+ {},c):"object"==typeof a&&b.extend(!0,j,a)},addPolyfill:function(a,c){var c=c||{},e=c.f||a;if(!n[e])n[e]=[],n[e].delayReady=0,d.featureList.push(e),j[e]={};n[e].push(a);c.options=b.extend(j[e],c.options);u(a,c);c.methodNames&&b.each(c.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){var a=function(c){var k=[],g;if(j.disableShivMethods&&f.genericDOM&&"html5Clone"in b.support)F.shivMethods=!1;var h=function(){b("html").removeClass("loading-polyfills long-loading-polyfills");b(window).unbind(".lP");
4
+ clearTimeout(g)};k.push("loading-polyfills");b(window).bind("load.lP error.lP",h);g=setTimeout(function(){b("html").addClass("long-loading-polyfills")},600);j.waitReady&&b.isReady&&d.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false.");q(c,h);j.useImportantStyles&&k.push("polyfill-important");k[0]&&b("html").addClass(k.join(" "));j.loadStyles&&t.loadCSS("styles/shim.css");a=b.noop},c;return function(e){var k=[],e=e||d.featureList;"string"==typeof e&&(e=e.split(" "));c||(c=-1!==
5
+ b.inArray("forms",e),!c&&-1!==b.inArray("forms-ext",e)&&(e.push("forms"),c=!0));j.waitReady&&(b.readyWait++,q(e,function(){b.ready(!0)}));b.each(e,function(a,b){n[b]?(b!==n[b][0]&&q(n[b],function(){l(b,!0)}),k=k.concat(n[b])):(d.warn("could not find webshims-feature (aborted): "+b),l(b,!0))});a(e);v(k)}}(),reTest:function(){var a,c,e=function(e,g){var h=m[g],d=g+"Ready",f;if(h&&!h.loaded&&!(h.test&&b.isFunction(h.test)?h.test([]):h.test)){o[d]&&delete o[d];if((f=n[h.f])&&!c)f.delayReady++,q(g,function(){f.delayReady--;
6
+ l(h.f,f.callReady)});a.push(g)}};return function(d,g){c=g;"string"==typeof d&&(d=d.split(" "));a=[];b.each(d,e);v(a)}}(),isReady:function(a,c){if(n[a]&&0<n[a].delayReady){if(c)n[a].callReady=!0;return!1}a+="Ready";if(c){if(o[a]&&o[a].add)return!0;o[a]=b.extend(o[a]||{},{add:function(b){b.handler.call(this,a)}});b.event.trigger(a)}return!(!o[a]||!o[a].add)||!1},ready:function(a,c,e){"string"==typeof a&&(a=a.split(" "));e||(a=b.map(b.grep(a,function(a){return!l(a)}),function(a){return a+"Ready"}));
7
+ a.length?(e=a.shift(),b(document).one(e,function(){q(a,c,!0)})):c(b,d,window,document)},capturingEvents:function(a,c){document.addEventListener&&("string"==typeof a&&(a=[a]),b.each(a,function(a,k){var g=function(a){a=b.event.fix(a);c&&d.capturingEventPrevented&&d.capturingEventPrevented(a);return b.event.handle.call(this,a)};o[k]=o[k]||{};!o[k].setup&&!o[k].teardown&&b.extend(o[k],{setup:function(){this.addEventListener(k,g,!0)},teardown:function(){this.removeEventListener(k,g,!0)}})}))},register:function(a,
8
+ c){var e=m[a];if(e){if(e.noAutoCallback){var k=function(){c(b,d,window,document,void 0,e.options);l(a,!0)};e.d?q(e.d,k):k()}}else d.warn("can't find module: "+a)},c:{},loader:{addModule:function(a,c){m[a]=c;c.name=c.name||a;if(!c.c)c.c=[];b.each(c.c,function(b,c){d.c[c]||(d.c[c]=[]);d.c[c].push(a)})},loadList:function(){var a=[],c=function(c,e){"string"==typeof e&&(e=[e]);b.merge(a,e);t.loadScript(c,!1,e)},e=function(c,e){if(l(c)||-1!=b.inArray(c,a))return!0;var d=m[c];if(d)if(d=d.test&&b.isFunction(d.test)?
9
+ d.test(e):d.test)l(c,!0);else return!1;return!0},k=function(a,c){if(a.d&&a.d.length){var d=function(a,d){!e(d,c)&&-1==b.inArray(d,c)&&c.push(d)};b.each(a.d,function(a,c){m[c]?d(a,c):n[c]&&(b.each(n[c],d),q(n[c],function(){l(c,!0)}))});if(!a.noAutoCallback)a.noAutoCallback=!0}};return function(g){var h,f=[],i,j,l=function(e,g){j=g;b.each(d.c[g],function(c,e){if(-1==b.inArray(e,f)||-1!=b.inArray(e,a))return j=!1});if(j)return c("combos/"+j,d.c[j]),!1};for(i=0;i<g.length;i++)h=m[g[i]],!h||e(h.name,g)?
10
+ h||d.warn("could not find: "+g[i]):(h.css&&t.loadCSS(h.css),h.loadInit&&h.loadInit(),h.loaded=!0,k(h,g),f.push(h.name));for(i=0,g=f.length;i<g;i++)j=!1,h=f[i],-1==b.inArray(h,a)&&("noCombo"!=d.debug&&b.each(m[h].c,l),j||c(m[h].src||h,h))}}(),makePath:function(a){if(-1!=a.indexOf("//")||0===a.indexOf("/"))return a;-1==a.indexOf(".")&&(a+=".js");j.addCacheBuster&&(a+=j.addCacheBuster);return j.basePath+a},loadCSS:function(){var a,c=[];return function(e){e=this.makePath(e);-1==b.inArray(e,c)&&(a=a||
11
+ b("link, style")[0]||b("script")[0],c.push(e),b('<link rel="stylesheet" />').insertBefore(a).attr({href:e}))}}(),loadScript:function(){var a=[];return function(c,e,d){c=t.makePath(c);if(-1==b.inArray(c,a)){var g=function(){g=null;e&&e();d&&("string"==typeof d&&(d=d.split(" ")),b.each(d,function(a,c){m[c]&&(m[c].afterLoad&&m[c].afterLoad(),l(!m[c].noAutoCallback?c:c+"FileLoaded",!0))}))};a.push(c);window.require?require([c],g):window.sssl?sssl(c,g):window.yepnope?yepnope.injectJs(c,g):window.steal&&
12
+ steal(c).then(g)}}}()}};b.webshims=d;var w=("https:"==location.protocol?"https://":"http://")+"ajax.googleapis.com/ajax/libs/",B=w+"jqueryui/1.8.23/",j=d.cfg,n=d.features,l=d.isReady,q=d.ready,i=d.addPolyfill,m=d.modules,t=d.loader,v=t.loadList,u=t.addModule,x=[],G={warn:1,error:1};d.addMethodName=function(a){var a=a.split(":"),c=a[1];1==a.length&&(c=a[0]);a=a[0];b.fn[a]=function(){return this.callProp(c,arguments)}};b.fn.callProp=function(a,c){var e;c||(c=[]);this.each(function(){var f=b.prop(this,
13
+ a);if(f&&f.apply){if(e=f.apply(this,c),void 0!==e)return!1}else d.warn(a+" is not a method of "+this)});return void 0!==e?e:this};d.activeLang=function(){var a=navigator.browserLanguage||navigator.language||"";q("webshimLocalization",function(){d.activeLang(a)});return function(c){if(c)if("string"==typeof c)a=c;else if("object"==typeof c){var b=arguments,f=this;q("webshimLocalization",function(){d.activeLang.apply(f,b)})}return a}}();b.each(["log","error","warn","info"],function(a,c){d[c]=function(a){if((G[c]&&
14
+ !1!==d.debug||d.debug)&&window.console&&console.log)return console[console[c]?c:"log"](a)}});(function(){b.isDOMReady=b.isReady;if(b.isDOMReady)l("DOM",!0);else{var a=b.ready;b.ready=function(c){if(!0!==c&&!b.isDOMReady)document.body?(b.isDOMReady=!0,l("DOM",!0),b.ready=a):setTimeout(function(){b.ready(c)},13);return a.apply(this,arguments)};b.ready.promise=a.promise}b(function(){b.isDOMReady=!0;l("DOM",!0);setTimeout(function(){l("WINDOWLOAD",!0)},9999)});b(window).load(function(){l("DOM",!0);l("WINDOWLOAD",
15
+ !0)})})();(function(){var a=[];b.extend(d,{addReady:function(c){var b=function(a,b){d.ready("DOM",function(){c(a,b)})};a.push(b);b(document,E)},triggerDomUpdate:function(c){if(!c||!c.nodeType)c&&c.jquery&&c.each(function(){d.triggerDomUpdate(this)});else{var e=c.nodeType;if(!(1!=e&&9!=e)){var f=c!==document?b(c):E;b.each(a,function(a,b){b(c,f)})}}}});b.fn.htmlPolyfill=function(a){a=b.fn.html.call(this,a);a===this&&b.isDOMReady&&this.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return a};
16
+ b.each(["after","before","append","prepend","replaceWith"],function(a,e){b.fn[e+"Polyfill"]=function(a){a=b(a);b.fn[e].call(this,a);b.isDOMReady&&a.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return this}});b.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(a,e){b.fn[e.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){b.fn[e].apply(this,arguments);b.isDOMReady&&d.triggerDomUpdate(this);return this}});b.fn.updatePolyfill=function(){b.isDOMReady&&
17
+ d.triggerDomUpdate(this);return this};b.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(a,d){b.fn[d]=function(){return this}})})();(function(){var a=p.prototype.hasOwnProperty,c=["configurable","enumerable","writable"],e=function(a){for(var b=0;3>b;b++)if(void 0===a[c[b]]&&("writable"!==c[b]||void 0!==a.value))a[c[b]]=!0},f=function(b){if(b)for(var c in b)a.call(b,c)&&e(b[c])};if(p.create)d.objectCreate=function(a,c,d){f(c);a=p.create(a,c);if(d)a.options=b.extend(!0,
18
+ {},a.options||{},d),d=a.options;a._create&&b.isFunction(a._create)&&a._create(d);return a};p.defineProperty&&(d.defineProperty=function(a,b,c){e(c);return p.defineProperty(a,b,c)});if(p.defineProperties)d.defineProperties=function(a,b){f(b);return p.defineProperties(a,b)};d.getOwnPropertyDescriptor=p.getOwnPropertyDescriptor;d.getPrototypeOf=p.getPrototypeOf})();u("jquery-ui",{src:B+"jquery-ui.min.js",test:function(){return!(!b.widget||!b.Widget)}});u("input-widgets",{src:"",test:function(){return!this.src||
19
+ !(b.widget&&(!b.fn.datepicker||!b.fn.slider))}});u("swfobject",{src:w+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in window}});i("es5",{test:!(!f.ES5||!Function.prototype.bind),c:[27,10,1,22]});i("dom-extend",{f:"dom-support",noAutoCallback:!0,d:["es5"],c:[27,10,9,12,17,26,16,25,8,1,24,19,11,13]});"localstorage"in f&&i("json-storage",{test:f.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){v(["swfobject"])},noAutoCallback:!0,c:[14]});"geolocation"in f&&
20
+ i("geolocation",{test:f.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]});(function(){if("canvas"in f){var a;i("canvas",{src:"excanvas",test:f.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var c=this.options.type;if(c&&-1!==c.indexOf("flash")&&(!window.swfobject||swfobject.hasFlashPlayerVersion("9.0.0")))window.FlashCanvasOptions=window.FlashCanvasOptions||{},a=FlashCanvasOptions,"flash"==c?(b.extend(a,{swfPath:j.basePath+"FlashCanvas/"}),this.src="FlashCanvas/flashcanvas"):
21
+ (b.extend(a,{swfPath:j.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas")},afterLoad:function(){d.addReady(function(a,d){a==document&&window.G_vmlCanvasManager&&G_vmlCanvasManager.init_&&G_vmlCanvasManager.init_(document);b("canvas",a).add(d.filter("canvas")).each(function(){!this.getContext&&window.G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this)});a==document&&l("canvas",!0)})},methodNames:["getContext"],d:["dom-support"]})}})();var C=f.input,y=f.inputtypes;if(C&&y){var z,
22
+ s=d.bugs,w=b('<select required="" name="a"><option disabled="" /></select>')[0];A("formvalidation",function(){return!(!C.required||!C.pattern)});A("fieldsetdisabled",function(){var a=b("<fieldset />")[0];return"elements"in a&&"disabled"in a});if(f.formvalidation)s.bustedValidity=!1===f.formattribute||!f.fieldsetdisabled||!("value"in document.createElement("output"))||!(b('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||!("required"in w)||(w.validity||{}).valid;A("styleableinputrange",
23
+ function(){if(!y.range)return!1;var a=document.createElement("input");a.setAttribute("type","range");return void 0!==a.style.WebkitAppearance});d.validationMessages=d.validityMessages=[];d.inputTypes={};i("form-core",{f:"forms",d:["es5"],test:function(){if(z.lightweightDatalist&&!this.datalistLoaded)this.datalistLoaded=!0,m["form-datalist"].f="forms",d.reTest(["form-datalist"]);return!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",lightweightDatalist:!0,availabeLangs:"ar,ch-ZN,el,es,fr,he,hi,hu,it,ja,nl,pt-PT,ru,sv".split(",")},
24
+ methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,26,16,5,4,24,19]});z=j.forms;f.formvalidation&&!s.bustedValidity?(i("form-extend",{f:"forms",src:"form-native-extend",test:function(a){return(m["form-number-date-api"].test()||-1==b.inArray("form-number-date-api",a||[]))&&!z.overrideMessages},d:["form-core","dom-support","form-message"],c:[18,7,59,5]}),x=x.concat([2,3,23,21])):(x=x.concat([18,7,4,59,5]),i("form-extend",{f:"forms",src:"form-shim-extend",test:function(){return!1},d:["form-core",
25
+ "dom-support"],c:[3,2,23,21]}));i("form-message",{f:"forms",test:function(a){return!(z.customMessages||!f.formvalidation||!m["form-extend"].test(a)||s.validationMessage||s.bustedValidity)},d:["dom-support"],c:[3,2,23,21,59,17,5,4]});i("form-number-date-api",{f:"forms-ext",uiTest:function(){return y.range&&y.date&&y.number},test:function(){return this.uiTest()&&!d.bugs.valueAsNumberSet},d:["forms","dom-support"],c:[18,7,6]});i("form-number-date-ui",{f:"forms-ext",test:function(){return m["form-number-date-api"].test()&&
26
+ !this.options.replaceUI},d:["forms","dom-support","form-number-date-api"],loadInit:function(){v(["jquery-ui"]);m["input-widgets"].src&&v(["input-widgets"])},options:{stepArrows:{number:1,time:1},calculateWidth:!0,slider:{},datepicker:{},langSrc:B+"i18n/jquery.ui.datepicker-",lazyDate:!0},c:[18,7,6]});i("form-datalist",{f:"forms-ext",test:function(){return C.list&&!z.customDatalist},d:["form-core","dom-support"],c:[3,59,18,24,19,11]})}"details"in f||A("details",function(){return"open"in document.createElement("details")});
27
+ i("details",{test:f.details,d:["dom-support"],options:{text:"Details"},c:[12,13,15]});if("audio"in f&&"video"in f&&"texttrackapi"in f)d.mediaelement={},i("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,d:["swfobject","dom-support"],c:[27,10,9,12,17,26,16,25,8,22,23,24,20]}),i("mediaelement-swf",{f:"mediaelement",options:{hasToPlay:"any",preferFlash:!1,jwVars:{},jwParams:{},jwAttrs:{},changeJW:b.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfobject","dom-support"],
28
+ test:function(){if(!f.audio||!f.video)return!1;var a=this.options,b=a.hasToPlay;return!((!window.swfobject||window.swfobject.hasFlashPlayerVersion("9.0.115"))&&(a.preferFlash||"any"!=b&&!f.video[b]&&!f.audio[b]))},c:[27,10,9,22,20]}),s.track=f.track&&(!f.texttrackapi||"string"!=typeof(document.createElement("track").track||{}).mode),i("track",{options:{positionDisplay:!0,override:s.track},test:function(){return f.track&&!this.options.override&&!s.track},d:["mediaelement","dom-support"],methodNames:["addTextTrack"],
29
+ c:[27,26,25]}),u("track-ui",{d:["track"]});i("feature-dummy",{test:!0,loaded:!0,c:x});D.filter("[data-polyfill-cfg]").each(function(){try{d.setOptions(b(this).data("polyfillCfg"))}catch(a){d.warn("error parsing polyfill cfg: "+a)}}).end().filter("[data-polyfill]").each(function(){d.polyfill(b.trim(b(this).data("polyfill")||""))});r&&(r.cfg&&d.setOptions(r.cfg),r.lang&&d.activeLang(r.lang),"polyfill"in r&&d.polyfill(r.polyfill))});
@@ -1,33 +1,37 @@
1
- (function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,m,f;if(!Function.prototype.bind)Function.prototype.bind=function(a){var f=this;if("function"!=typeof f)throw new TypeError;var k=h.call(arguments,1),l=function(){if(this instanceof l){var c=function(){};c.prototype=f.prototype;var c=new c,b=f.apply(c,k.concat(h.call(arguments)));return null!==b&&Object(b)===b?b:c}return f.apply(a,k.concat(h.call(arguments)))};return l};f=a.bind(b.toString);m=a.bind(b.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==f(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,c){var k=q(this),l=0,b=k.length>>>0;if("[object Function]"!=f(a))throw new TypeError;for(;l<b;)l in k&&a.call(c,k[l],l,k),l++};if(!Array.prototype.map)Array.prototype.map=function(a,c){var k=q(this),l=k.length>>>0,b=Array(l);if("[object Function]"!=f(a))throw new TypeError;for(var g=0;g<l;g++)g in k&&(b[g]=a.call(c,k[g],g,k));return b};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,c){var k=q(this),l=k.length>>>0,b=[];if("[object Function]"!=f(a))throw new TypeError;for(var g=0;g<l;g++)g in k&&a.call(c,k[g],g,k)&&b.push(k[g]);return b};if(!Array.prototype.every)Array.prototype.every=function(a,c){var k=q(this),l=k.length>>>0;if("[object Function]"!=f(a))throw new TypeError;for(var b=0;b<l;b++)if(b in k&&!a.call(c,k[b],b,k))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,c){var k=q(this),l=k.length>>>0;if("[object Function]"!=f(a))throw new TypeError;
4
- for(var b=0;b<l;b++)if(b in k&&a.call(c,k[b],b,k))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=q(this),k=b.length>>>0;if("[object Function]"!=f(a))throw new TypeError;if(!k&&1==arguments.length)throw new TypeError;var c=0,g;if(2<=arguments.length)g=arguments[1];else{do{if(c in b){g=b[c++];break}if(++c>=k)throw new TypeError;}while(1)}for(;c<k;c++)c in b&&(g=a.call(void 0,g,b[c],c,b));return g};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var c=
5
- q(this),b=c.length>>>0;if("[object Function]"!=f(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var g,b=b-1;if(2<=arguments.length)g=arguments[1];else{do{if(b in c){g=c[b--];break}if(0>--b)throw new TypeError;}while(1)}do b in this&&(g=a.call(void 0,g,c[b],b,c));while(b--);return g};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=q(this),c=b.length>>>0;if(!c)return-1;var f=0;1<arguments.length&&(f=r(arguments[1]));for(f=0<=f?f:c-Math.abs(f);f<c;f++)if(f in
6
- b&&b[f]===a)return f;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var b=q(this),c=b.length>>>0;if(!c)return-1;var f=c-1;1<arguments.length&&(f=r(arguments[1]));for(f=0<=f?f:c-Math.abs(f);0<=f;f--)if(f in b&&a===b[f])return f;return-1};if(!Object.keys){var g=!0,c="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),n=c.length,j;for(j in{toString:null})g=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
7
- typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],f;for(f in a)m(a,f)&&b.push(f);if(g)for(f=0;f<n;f++){var j=c[f];m(a,j)&&b.push(j)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,f,b;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(f=a.length;f--;)b=a[f],10>b&&(a[f]="0"+b);return a.slice(0,3).join("-")+"T"+
8
- a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||a.trim()){var a="["+a+"]",p=RegExp("^"+a+a+"*"),x=
9
- RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(p,"").replace(x,"")}}var r=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},u="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return u&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
- (function(a,b){var h=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);h&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});h=!!a.bar}catch(b){h=!1}a=null}();Modernizr.objectAccessor=!(!(h||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=h;
11
- if(!h||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var m=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,g,c,n){var j;j=function(){};j.prototype=a;j=new j;if(!n&&!("__proto__"in j)&&!Modernizr.objectAccessor)j.__proto__=a;g&&b.defineProperties(j,g);if(c)j.options=jQuery.extend(!0,{},j.options||{},c),c=j.options;j._create&&jQuery.isFunction(j._create)&&j._create(c);return j};b.defineProperties=function(a,
12
- g){for(var c in g)m(g,c)&&b.defineProperty(a,c,g[c]);return a};b.defineProperty=function(a,b,c){if("object"!=typeof c||null===c)return a;if(m(c,"value"))return a[b]=c.value,a;a.__defineGetter__&&("function"==typeof c.get&&a.__defineGetter__(b,c.get),"function"==typeof c.set&&a.__defineSetter__(b,c.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
13
- typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var c;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return c=Object.getOwnPropertyDescriptor(a,b)}catch(n){}c={configurable:!0,enumerable:!0,writable:!0,value:void 0};var j=a.__lookupGetter__&&a.__lookupGetter__(b),h=a.__lookupSetter__&&a.__lookupSetter__(b);if(!j&&!h){if(!m(a,b))return;c.value=a[b];return c}delete c.writable;delete c.value;c.get=c.set=void 0;if(j)c.get=
14
- j;if(h)c.set=h;return c}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,h,m,f=/<([\w:]+)/,g={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||g[(f.exec(a)||["",""])[1].toLowerCase()])return a;if(!m){h=b.body;if(!h)return a;m=b.createElement("div");m.style.display="none"}var n=m.cloneNode(!1);h.appendChild(n);n.innerHTML=a;h.removeChild(n);return n.childNodes}}})(jQuery);
15
- jQuery.webshims.register("dom-extend",function(a,b,h,m,f){var g=b.modules,c=/\s*,\s*/,n={},j={},p={},x={},r={},u=a.fn.val,q=function(i,d,e,b,c){return c?u.call(a(i)):u.call(a(i),e)};a.fn.val=function(i){var d=this[0];arguments.length&&null==i&&(i="");if(!arguments.length)return!d||1!==d.nodeType?u.call(this):a.prop(d,"value",i,"val",!0);if(a.isArray(i))return u.apply(this,arguments);var e=a.isFunction(i);return this.each(function(b){d=this;1===d.nodeType&&(e?(b=i.call(d,b,a.prop(d,"value",f,"val",
16
- !0)),null==b&&(b=""),a.prop(d,"value",b,"val")):a.prop(d,"value",i,"val"))})};var t="_webshimsLib"+Math.round(1E3*Math.random()),w=function(i,d,e){i=i.jquery?i[0]:i;if(!i)return e||{};var b=a.data(i,t);e!==f&&(b||(b=a.data(i,t,{})),d&&(b[d]=e));return d?b&&b[d]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){a.fn[b.name]=function(){return this.map(function(){var a=w(this,
17
- "shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(i){n[i]=a[i];a[i]=function(d,e,b,c,g){var y="val"==c,k=!y?n[i]:q;if(!d||!j[e]||1!==d.nodeType||!y&&c&&"attr"==i&&a.attrFn[e])return k(d,e,b,c,g);var z=(d.nodeName||"").toLowerCase(),s=p[z],v="attr"==i&&(!1===b||null===b)?"removeAttr":i,h,m,l;s||(s=p["*"]);s&&(s=s[e]);s&&(h=s[v]);if(h){if("value"==e)m=h.isVal,h.isVal=y;if("removeAttr"===v)return h.value.call(d);if(b===f)return h.get?h.get.call(d):h.value;h.set&&
18
- ("attr"==i&&!0===b&&(b=e),l=h.set.call(d,b));if("value"==e)h.isVal=m}else l=k(d,e,b,c,g);if((b!==f||"removeAttr"===v)&&r[z]&&r[z][e]){var o;o="removeAttr"==v?!1:"prop"==v?!!b:!0;r[z][e].forEach(function(a){if(!a.only||(a.only="prop"==i)||"attr"==a.only&&"prop"!=i)a.call(d,b,o,y?"val":v,i)})}return l};x[i]=function(d,e,c){p[d]||(p[d]={});p[d][e]||(p[d][e]={});var B=p[d][e][i],g=function(a,b,d){return b&&b[a]?b[a]:d&&d[a]?d[a]:"prop"==i&&"value"==e?function(a){return c.isVal?q(this,e,a,!1,0===arguments.length):
19
- n[i](this,e,a)}:"prop"==i&&"value"==a&&c.value.apply?function(a){var b=n[i](this,e);b&&b.apply&&(b=b.apply(this,arguments));return b}:function(a){return n[i](this,e,a)}};p[d][e][i]=c;if(c.value===f){if(!c.set)c.set=c.writeable?g("set",c,B):b.cfg.useStrict&&"prop"==e?function(){throw e+" is readonly on "+d;}:a.noop;if(!c.get)c.get=g("get",c,B)}["value","get","set"].forEach(function(a){c[a]&&(c["_sup"+a]=g(a,B))})}});var k=!a.browser.msie||8<parseInt(a.browser.version,10),l=function(){var a=b.getPrototypeOf(m.createElement("foobar")),
20
- d=Object.prototype.hasOwnProperty;return function(e,c,f){var g=m.createElement(e),h=b.getPrototypeOf(g);if(k&&h&&a!==h&&(!g[c]||!d.call(g,c))){var j=g[c];f._supvalue=function(){return j&&j.apply?j.apply(this,arguments):j};h[c]=f.value}else f._supvalue=function(){var a=w(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},o.extendValue(e,c,f.value);f.value._supvalue=f._supvalue}}(),o=function(){var i={};b.addReady(function(d,e){var c={},f=function(b){c[b]||(c[b]=a(d.getElementsByTagName(b)),
21
- e[0]&&a.nodeName(e[0],b)&&(c[b]=c[b].add(e)))};a.each(i,function(a,d){f(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(b){c[a].each(b)})});c=null});var d,e=a([]),c=function(b,e){i[b]?i[b].push(e):i[b]=[e];a.isDOMReady&&(d||a(m.getElementsByTagName(b))).each(e)};return{createTmpCache:function(b){a.isDOMReady&&(d=d||a(m.getElementsByTagName(b)));return d||e},flushTmpCache:function(){d=null},content:function(b,d){c(b,function(){var b=a.attr(this,d);null!=b&&a.attr(this,
22
- d,b)})},createElement:function(a,b){c(a,b)},extendValue:function(b,d,e){c(b,function(){a(this).each(function(){w(this,"propValue",{})[d]=this[d];this[d]=e})})}}}(),A=function(a,b){if(a.defaultValue===f)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var b=(new Date).getTime();return function(d){var d=a(d),e=d.attr("id");e||(b++,e="ID-"+b,d.attr("id",e));return e}}(),extendUNDEFProp:function(b,
23
- d){a.each(d,function(a,d){a in b||(b[a]=d)})},createPropDefault:A,data:w,moveToFirstEvent:function(){var b=a._data?"_data":"data";return function(d,e,c){if((d=(a[b](d,"events")||{})[e])&&1<d.length)e=d.pop(),c||(c="bind"),"bind"==c&&d.delegateCount?d.splice(d.delegateCount,0,e):d.unshift(e)}}(),addShadowDom:function(b,d,e){e=e||{};b.jquery&&(b=b[0]);d.jquery&&(d=d[0]);if(!e.shadowFocusElement)e.shadowFocusElement=d;var c=a.data(b,t)||a.data(b,t,{}),f=a.data(d,t)||a.data(d,t,{});c.hasShadow=d;f.nativeElement=
24
- b;f.shadowData=c.shadowData={nativeElement:b,shadowElement:d,shadowFocusElement:e.shadowFocusElement};e.shadowChilds&&e.shadowChilds.each(function(){w(this,"shadowData",f.shadowData)});if(e.data)c.shadowData.data=e.data,f.shadowData.data=e.data;e=null},propTypes:{standard:function(a){A(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){A(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
25
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,d){"string"==typeof d&&(d=d.split(c));d.forEach(function(d){b.defineNodeNamesProperty(f,d,{prop:{set:function(b){a.attr(this,d,b)},get:function(){return a.attr(this,d)||""}}})})},defineNodeNameProperty:function(c,d,e){j[d]=!0;if(e.reflect)b.propTypes[e.propType||"standard"](e);["prop","attr","removeAttr"].forEach(function(f){var g=e[f];g&&(g="prop"===f?a.extend({writeable:!0},g):a.extend({},
26
- g,{writeable:!0}),x[f](c,d,g),"*"!=c&&b.cfg.extendNative&&"prop"==f&&g.value&&a.isFunction(g.value)&&l(c,d,g),e[f]=g)});e.initAttr&&o.content(c,d);return e},defineNodeNameProperties:function(a,d,c,f){for(var g in d)!f&&d[g].initAttr&&o.createTmpCache(a),c&&(d[g][c]?b.log("override: "+a+"["+g+"] for "+c):(d[g][c]={},["value","set","get"].forEach(function(a){a in d[g]&&(d[g][c][a]=d[g][a],delete d[g][a])}))),d[g]=b.defineNodeNameProperty(a,g,d[g]);f||o.flushTmpCache();return d},createElement:function(c,
27
- d,e){var f;a.isFunction(d)&&(d={after:d});o.createTmpCache(c);d.before&&o.createElement(c,d.before);e&&(f=b.defineNodeNameProperties(c,e,!1,!0));d.after&&o.createElement(c,d.after);o.flushTmpCache();return f},onNodeNamesPropertyModify:function(b,d,e,f){"string"==typeof b&&(b=b.split(c));a.isFunction(e)&&(e={set:e});b.forEach(function(a){r[a]||(r[a]={});"string"==typeof d&&(d=d.split(c));e.initAttr&&o.createTmpCache(a);d.forEach(function(b){r[a][b]||(r[a][b]=[],j[b]=!0);if(e.set){if(f)e.set.only=f;
28
- r[a][b].push(e.set)}e.initAttr&&o.content(a,b)});o.flushTmpCache()})},defineNodeNamesBooleanProperty:function(c,d,e){e||(e={});if(a.isFunction(e))e.set=e;b.defineNodeNamesProperty(c,d,{attr:{set:function(a){this.setAttribute(d,a);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(d)?f:d}},removeAttr:{value:function(){this.removeAttribute(d);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(a,b,c){if(a.nodeName){if(c===
29
- f)return c=(a.attributes[b]||{}).value,null==c?f:c;"boolean"==typeof c?c?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,c)}},activeLang:function(){var c=[],d={},e,f,h=/:\/\/|^\.*\//,k=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,h.test(e)||(e=b.cfg.basePath+e),b.loader.loadScript(e+d+".js",function(){c.langObj[d]?(c.loading=!1,l(c,!0)):a(function(){c.langObj[d]&&l(c,!0);c.loading=!1})}),!0):!1},j=function(a){d[a]&&d[a].forEach(function(a){a.callback()})},
30
- l=function(a,b){if(a.activeLang!=e&&a.activeLang!==f){var c=g[a.module].options;if(a.langObj[e]||f&&a.langObj[f])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[f],e),j(a.module);else if(!b&&!k(a,e,c)&&!k(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),j(a.module)}};return function(b){if("string"==typeof b&&b!==e)e=b,f=e.split("-")[0],e==f&&(f=!1),a.each(c,function(a,b){l(b)});else if("object"==typeof b)if(b.register)d[b.register]||(d[b.register]=[]),d[b.register].push(b),
31
- b.callback();else{if(!b.activeLang)b.activeLang="";c.push(b);l(b)}return e}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,d){b[a]=function(a,f,g,i){"string"==typeof a&&(a=a.split(c));var h={};a.forEach(function(a){h[a]=b[d](a,f,g,i)});return h}});b.isReady("webshimLocalization",!0)});
32
- (function(a,b){var h=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<h)&&(!a.browser.msie||12>h&&7<h)){var m={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},f=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(g,c){a.each(m,function(b,h){for(var j=a(b,g).add(c.filter(b)),m=0,n=j.length;m<n;m++)f(j[m],h)});if(g===b){var h=b.getElementsByTagName("header")[0],j=b.getElementsByTagName("footer"),p=j.length;
33
- h&&!a(h).closest("section, article")[0]&&f(h,"banner");p&&(h=j[p-1],a(h).closest("section, article")[0]||f(h,"contentinfo"))}})}})(jQuery,document);
1
+ (function(){var a=Function.prototype.call,i=Object.prototype,l=Array.prototype.slice,j,m;if(!Function.prototype.bind)Function.prototype.bind=function(a){var f=this;if("function"!=typeof f)throw new TypeError;var e=l.call(arguments,1),c=function(){if(this instanceof c){var b=function(){};b.prototype=f.prototype;var b=new b,d=f.apply(b,e.concat(l.call(arguments)));return null!==d&&Object(d)===d?d:b}return f.apply(a,e.concat(l.call(arguments)))};return c};m=a.bind(i.toString);j=a.bind(i.hasOwnProperty);
2
+ if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==m(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,f){var e=s(this),c=0,b=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(;c<b;)c in e&&a.call(f,e[c],c,e),c++};if(!Array.prototype.map)Array.prototype.map=function(a,f){var e=s(this),c=e.length>>>0,b=Array(c);if("[object Function]"!=m(a))throw new TypeError;for(var d=0;d<c;d++)d in e&&(b[d]=a.call(f,e[d],d,e));return b};if(!Array.prototype.filter)Array.prototype.filter=
3
+ function(a,f){var e=s(this),c=e.length>>>0,b=[];if("[object Function]"!=m(a))throw new TypeError;for(var d=0;d<c;d++)d in e&&a.call(f,e[d],d,e)&&b.push(e[d]);return b};if(!Array.prototype.every)Array.prototype.every=function(a,f){var e=s(this),c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(var b=0;b<c;b++)if(b in e&&!a.call(f,e[b],b,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,f){var e=s(this),c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;
4
+ for(var b=0;b<c;b++)if(b in e&&a.call(f,e[b],b,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var f=s(this),e=f.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c=0,b;if(2<=arguments.length)b=arguments[1];else{do{if(c in f){b=f[c++];break}if(++c>=e)throw new TypeError;}while(1)}for(;c<e;c++)c in f&&(b=a.call(void 0,b,f[c],c,f));return b};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var f=
5
+ s(this),e=f.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c,e=e-1;if(2<=arguments.length)c=arguments[1];else{do{if(e in f){c=f[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(c=a.call(void 0,c,f[e],e,f));while(e--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var f=s(this),e=f.length>>>0;if(!e)return-1;var c=0;1<arguments.length&&(c=p(arguments[1]));for(c=0<=c?c:e-Math.abs(c);c<e;c++)if(c in
6
+ f&&f[c]===a)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var f=s(this),e=f.length>>>0;if(!e)return-1;var c=e-1;1<arguments.length&&(c=p(arguments[1]));for(c=0<=c?c:e-Math.abs(c);0<=c;c--)if(c in f&&a===f[c])return c;return-1};if(2!=[1,2].splice(0).length){var r=Array.prototype.splice;Array.prototype.splice=function(a,f){return!arguments.length?[]:r.apply(this,[void 0===a?0:a,void 0===f?this.length-a:f].concat(l.call(arguments,2)))}}if(!Object.keys){var h=
7
+ !0,q="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),k=q.length,n;for(n in{toString:null})h=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var f=[],e;for(e in a)j(a,e)&&f.push(e);if(h)for(e=0;e<k;e++){var c=q[e];j(a,c)&&f.push(c)}return f}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,f,e;if(!isFinite(this))throw new RangeError;
8
+ a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(f=a.length;f--;)e=a[f],10>e&&(a[f]="0"+e);return a.slice(0,3).join("-")+"T"+a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";
9
+ if(!String.prototype.trim||a.trim()){var a="["+a+"]",x=RegExp("^"+a+a+"*"),t=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(x,"").replace(t,"")}}if("0".split(void 0,0).length){var v=String.prototype.split;String.prototype.split=function(a,f){return void 0===a&&0===f?[]:v.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var y=String.prototype.substr;String.prototype.substr=function(a,f){return y.call(this,0>a?0>(a=this.length+a)?0:a:a,f)}}var p=function(a){a=+a;
10
+ a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},u="a"!="a"[0],s=function(a){if(null==a)throw new TypeError;return u&&"string"==typeof a&&a?a.split(""):Object(a)}})();
11
+ (function(a,i){var l=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);l&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});l=!!a.bar}catch(i){l=!1}a=null}();Modernizr.objectAccessor=!(!(l||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=i.browserVersion));Modernizr.advancedObjectProperties=l;
12
+ if(!l||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var j=Function.prototype.call.bind(Object.prototype.hasOwnProperty);i.objectCreate=function(a,r,h,j){var k;k=function(){};k.prototype=a;k=new k;if(!j&&!("__proto__"in k)&&!Modernizr.objectAccessor)k.__proto__=a;r&&i.defineProperties(k,r);if(h)k.options=jQuery.extend(!0,{},k.options||{},h),h=k.options;k._create&&jQuery.isFunction(k._create)&&k._create(h);return k};i.defineProperties=function(a,
13
+ r){for(var h in r)j(r,h)&&i.defineProperty(a,h,r[h]);return a};i.defineProperty=function(a,i,h){if("object"!=typeof h||null===h)return a;if(j(h,"value"))return a[i]=h.value,a;a.__defineGetter__&&("function"==typeof h.get&&a.__defineGetter__(i,h.get),"function"==typeof h.set&&a.__defineSetter__(i,h.set));return a};i.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};i.getOwnPropertyDescriptor=function(a,i){if("object"!==
14
+ typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var h;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return h=Object.getOwnPropertyDescriptor(a,i)}catch(l){}h={configurable:!0,enumerable:!0,writable:!0,value:void 0};var k=a.__lookupGetter__&&a.__lookupGetter__(i),n=a.__lookupSetter__&&a.__lookupSetter__(i);if(!k&&!n){if(!j(a,i))return;h.value=a[i];return h}delete h.writable;delete h.value;h.get=h.set=void 0;if(k)h.get=
15
+ k;if(n)h.set=n;return h}}})(jQuery,jQuery.webshims);
16
+ jQuery.webshims.register("dom-extend",function(a,i,l,j,m){var r=i.modules,h=/\s*,\s*/,q={},k={},n={},x={},t={},v=a.fn.val,y=function(c,b,d,g,o){return o?v.call(a(c)):v.call(a(c),d)};a.fn.val=function(c){var b=this[0];arguments.length&&null==c&&(c="");if(!arguments.length)return!b||1!==b.nodeType?v.call(this):a.prop(b,"value",c,"val",!0);if(a.isArray(c))return v.apply(this,arguments);var d=a.isFunction(c);return this.each(function(g){b=this;1===b.nodeType&&(d?(g=c.call(b,g,a.prop(b,"value",m,"val",
17
+ !0)),null==g&&(g=""),a.prop(b,"value",g,"val")):a.prop(b,"value",c,"val"))})};var p="_webshimsLib"+Math.round(1E3*Math.random()),u=function(c,b,d){c=c.jquery?c[0]:c;if(!c)return d||{};var g=a.data(c,p);d!==m&&(g||(g=a.data(c,p,{})),b&&(g[b]=d));return b?g&&g[b]:g};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(c){a.fn[c.name]=function(){return this.map(function(){var a=u(this,
18
+ "shadowData");return a&&a[c.prop]||this})}});["removeAttr","prop","attr"].forEach(function(c){q[c]=a[c];a[c]=function(b,d,g,o,e){var f="val"==o,i=!f?q[c]:y;if(!b||!k[d]||1!==b.nodeType||!f&&o&&"attr"==c&&a.attrFn[d])return i(b,d,g,o,e);var A=(b.nodeName||"").toLowerCase(),h=n[A],w="attr"==c&&(!1===g||null===g)?"removeAttr":c,j,l,r;h||(h=n["*"]);h&&(h=h[d]);h&&(j=h[w]);if(j){if("value"==d)l=j.isVal,j.isVal=f;if("removeAttr"===w)return j.value.call(b);if(g===m)return j.get?j.get.call(b):j.value;j.set&&
19
+ ("attr"==c&&!0===g&&(g=d),r=j.set.call(b,g));if("value"==d)j.isVal=l}else r=i(b,d,g,o,e);if((g!==m||"removeAttr"===w)&&t[A]&&t[A][d]){var p;p="removeAttr"==w?!1:"prop"==w?!!g:!0;t[A][d].forEach(function(a){if(!a.only||(a.only="prop"==c)||"attr"==a.only&&"prop"!=c)a.call(b,g,p,f?"val":w,c)})}return r};x[c]=function(b,d,g){n[b]||(n[b]={});n[b][d]||(n[b][d]={});var o=n[b][d][c],e=function(a,b,o){return b&&b[a]?b[a]:o&&o[a]?o[a]:"prop"==c&&"value"==d?function(a){return g.isVal?y(this,d,a,!1,0===arguments.length):
20
+ q[c](this,d,a)}:"prop"==c&&"value"==a&&g.value.apply?function(a){var b=q[c](this,d);b&&b.apply&&(b=b.apply(this,arguments));return b}:function(a){return q[c](this,d,a)}};n[b][d][c]=g;if(g.value===m){if(!g.set)g.set=g.writeable?e("set",g,o):i.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+b;}:a.noop;if(!g.get)g.get=e("get",g,o)}["value","get","set"].forEach(function(a){g[a]&&(g["_sup"+a]=e(a,o))})}});var s=!a.browser.msie||8<parseInt(a.browser.version,10),B=function(){var a=i.getPrototypeOf(j.createElement("foobar")),
21
+ b=Object.prototype.hasOwnProperty;return function(d,g,o){var e=j.createElement(d),h=i.getPrototypeOf(e);if(s&&h&&a!==h&&(!e[g]||!b.call(e,g))){var z=e[g];o._supvalue=function(){return z&&z.apply?z.apply(this,arguments):z};h[g]=o.value}else o._supvalue=function(){var a=u(this,"propValue");return a&&a[g]&&a[g].apply?a[g].apply(this,arguments):a&&a[g]},f.extendValue(d,g,o.value);o.value._supvalue=o._supvalue}}(),f=function(){var c={};i.addReady(function(b,d){var g={},e=function(c){g[c]||(g[c]=a(b.getElementsByTagName(c)),
22
+ d[0]&&a.nodeName(d[0],c)&&(g[c]=g[c].add(d)))};a.each(c,function(a,c){e(a);!c||!c.forEach?i.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){g[a].each(c)})});g=null});var b,d=a([]),g=function(d,g){c[d]?c[d].push(g):c[d]=[g];a.isDOMReady&&(b||a(j.getElementsByTagName(d))).each(g)};return{createTmpCache:function(c){a.isDOMReady&&(b=b||a(j.getElementsByTagName(c)));return b||d},flushTmpCache:function(){b=null},content:function(c,b){g(c,function(){var c=a.attr(this,b);null!=c&&a.attr(this,
23
+ b,c)})},createElement:function(a,c){g(a,c)},extendValue:function(c,b,d){g(c,function(){a(this).each(function(){u(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),e=function(a,b){if(a.defaultValue===m)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(i,{getID:function(){var c=(new Date).getTime();return function(b){var b=a(b),d=b.attr("id");d||(c++,d="ID-"+c,b.attr("id",d));
24
+ return d}}(),extendUNDEFProp:function(c,b){a.each(b,function(a,b){a in c||(c[a]=b)})},createPropDefault:e,data:u,moveToFirstEvent:function(){var c=a._data?"_data":"data";return function(b,d,g){if((b=(a[c](b,"events")||{})[d])&&1<b.length)d=b.pop(),g||(g="bind"),"bind"==g&&b.delegateCount?b.splice(b.delegateCount,0,d):b.unshift(d)}}(),addShadowDom:function(){var c,b,d,g,e={init:!1,start:function(){if(!this.init)this.init=!0,this.height=a(j).height(),this.width=a(j).width(),setInterval(function(){var c=
25
+ a(j).height(),b=a(j).width();if(c!=e.height||b!=e.width)e.height=c,e.width=b,g({type:"docresize"})},400)}};g=function(g){clearTimeout(c);c=setTimeout(function(){if("resize"==g.type){var c=a(l).width(),f=a(l).width();if(f==b&&c==d)return;b=f;d=c;e.height=a(j).height();e.width=a(j).width()}a.event.trigger("updateshadowdom")},40)};a(l).bind("resize",g);a.event.customEvent.updateshadowdom=!0;return function(c,b,d){d=d||{};c.jquery&&(c=c[0]);b.jquery&&(b=b[0]);var g=a.data(c,p)||a.data(c,p,{}),f=a.data(b,
26
+ p)||a.data(b,p,{}),h={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];h=a.data(d.shadowFocusElement,p)||a.data(d.shadowFocusElement,p,h)}}else d.shadowFocusElement=b;g.hasShadow=b;h.nativeElement=f.nativeElement=c;h.shadowData=f.shadowData=g.shadowData={nativeElement:c,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){u(this,"shadowData",f.shadowData)});if(d.data)h.shadowData.data=
27
+ f.shadowData.data=g.shadowData.data=d.data;d=null;e.start()}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},src:function(){var c=j.createElement("a");c.style.display="none";return function(b,d){e(b);if(!b.prop)b.prop=
28
+ {set:function(a){b.attr.set.call(this,a)},get:function(){var b=this.getAttribute(d),e;if(null==b)return"";c.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(c).insertAfter(this),e=c.getAttribute("href",4)}catch(f){e=c.getAttribute("href",4)}a(c).detach()}return e||c.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var b=(a.attr.get.call(this)||"").toLowerCase();if(!b||-1==a.limitedTo.indexOf(b))b=a.defaultValue;return b}}}},
29
+ reflectProperties:function(c,b){"string"==typeof b&&(b=b.split(h));b.forEach(function(b){i.defineNodeNamesProperty(c,b,{prop:{set:function(c){a.attr(this,b,c)},get:function(){return a.attr(this,b)||""}}})})},defineNodeNameProperty:function(c,b,d){k[b]=!0;if(d.reflect)i.propTypes[d.propType||"standard"](d,b);["prop","attr","removeAttr"].forEach(function(g){var e=d[g];e&&(e="prop"===g?a.extend({writeable:!0},e):a.extend({},e,{writeable:!0}),x[g](c,b,e),"*"!=c&&i.cfg.extendNative&&"prop"==g&&e.value&&
30
+ a.isFunction(e.value)&&B(c,b,e),d[g]=e)});d.initAttr&&f.content(c,b);return d},defineNodeNameProperties:function(a,b,d,g){for(var e in b)!g&&b[e].initAttr&&f.createTmpCache(a),d&&(b[e][d]?i.log("override: "+a+"["+e+"] for "+d):(b[e][d]={},["value","set","get"].forEach(function(a){a in b[e]&&(b[e][d][a]=b[e][a],delete b[e][a])}))),b[e]=i.defineNodeNameProperty(a,e,b[e]);g||f.flushTmpCache();return b},createElement:function(c,b,d){var e;a.isFunction(b)&&(b={after:b});f.createTmpCache(c);b.before&&f.createElement(c,
31
+ b.before);d&&(e=i.defineNodeNameProperties(c,d,!1,!0));b.after&&f.createElement(c,b.after);f.flushTmpCache();return e},onNodeNamesPropertyModify:function(c,b,d,e){"string"==typeof c&&(c=c.split(h));a.isFunction(d)&&(d={set:d});c.forEach(function(a){t[a]||(t[a]={});"string"==typeof b&&(b=b.split(h));d.initAttr&&f.createTmpCache(a);b.forEach(function(b){t[a][b]||(t[a][b]=[],k[b]=!0);if(d.set){if(e)d.set.only=e;t[a][b].push(d.set)}d.initAttr&&f.content(a,b)});f.flushTmpCache()})},defineNodeNamesBooleanProperty:function(c,
32
+ b,d){d||(d={});if(a.isFunction(d))d.set=d;i.defineNodeNamesProperty(c,b,{attr:{set:function(a){this.setAttribute(b,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(b)?m:b}},removeAttr:{value:function(){this.removeAttribute(b);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,b,d){if(a.nodeName){if(d===m)return a=a.attributes[b]||{},d=a.specified?a.value:null,null==d?m:d;"boolean"==typeof d?d?a.setAttribute(b,b):
33
+ a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var c=[],b={},d,e,f=/:\/\/|^\.*\//,h=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,f.test(d)||(d=i.cfg.basePath+d),i.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,k(b,!0)):a(function(){b.langObj[c]&&k(b,!0);b.loading=!1})}),!0):!1},j=function(a){b[a]&&b[a].forEach(function(a){a.callback()})},k=function(a,b){if(a.activeLang!=d&&a.activeLang!==e){var c=r[a.module].options;
34
+ if(a.langObj[d]||e&&a.langObj[e])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[e],d),j(a.module);else if(!b&&!h(a,d,c)&&!h(a,e,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),j(a.module)}};return function(f){if("string"==typeof f&&f!==d)d=f,e=d.split("-")[0],d==e&&(e=!1),a.each(c,function(a,b){k(b)});else if("object"==typeof f)if(f.register)b[f.register]||(b[f.register]=[]),b[f.register].push(f),f.callback();else{if(!f.activeLang)f.activeLang="";c.push(f);k(f)}return d}}()});
35
+ a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){i[a]=function(a,c,e,f){"string"==typeof a&&(a=a.split(h));var j={};a.forEach(function(a){j[a]=i[b](a,c,e,f)});return j}});i.isReady("webshimLocalization",!0)});
36
+ (function(a,i){var l=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<l)&&(!a.browser.msie||12>l&&7<l)){var j={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},m=function(a,h){a.getAttribute("role")||a.setAttribute("role",h)};a.webshims.addReady(function(l,h){a.each(j,function(i,j){for(var k=a(i,l).add(h.filter(i)),n=0,p=k.length;n<p;n++)m(k[n],j)});if(l===i){var q=i.getElementsByTagName("header")[0],k=i.getElementsByTagName("footer"),n=k.length;
37
+ q&&!a(q).closest("section, article")[0]&&m(q,"banner");n&&(q=k[n-1],a(q).closest("section, article")[0]||m(q,"contentinfo"))}})}})(jQuery,document);
@@ -1,76 +1,83 @@
1
- (function(){var a=Function.prototype.call,b=Object.prototype,k=Array.prototype.slice,h,i;if(!Function.prototype.bind)Function.prototype.bind=function(a){var d=this;if("function"!=typeof d)throw new TypeError;var b=k.call(arguments,1),m=function(){if(this instanceof m){var g=function(){};g.prototype=d.prototype;var g=new g,i=d.apply(g,b.concat(k.call(arguments)));return null!==i&&Object(i)===i?i:g}return d.apply(a,b.concat(k.call(arguments)))};return m};i=a.bind(b.toString);h=a.bind(b.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==i(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,d){var g=q(this),m=0,b=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(;m<b;)m in g&&a.call(d,g[m],m,g),m++};if(!Array.prototype.map)Array.prototype.map=function(a,g){var d=q(this),b=d.length>>>0,j=Array(b);if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in d&&(j[e]=a.call(g,d[e],e,d));return j};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,d){var g=q(this),b=g.length>>>0,j=[];if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in g&&a.call(d,g[e],e,g)&&j.push(g[e]);return j};if(!Array.prototype.every)Array.prototype.every=function(a,g){var d=q(this),b=d.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)if(e in d&&!a.call(g,d[e],e,d))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,d){var g=q(this),b=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;
4
- for(var e=0;e<b;e++)if(e in g&&a.call(d,g[e],e,g))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var g=q(this),d=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!d&&1==arguments.length)throw new TypeError;var b=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(b in g){e=g[b++];break}if(++b>=d)throw new TypeError;}while(1)}for(;b<d;b++)b in g&&(e=a.call(void 0,e,g[b],b,g));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var g=
5
- q(this),d=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!d&&1==arguments.length)throw new TypeError;var b,d=d-1;if(2<=arguments.length)b=arguments[1];else{do{if(d in g){b=g[d--];break}if(0>--d)throw new TypeError;}while(1)}do d in this&&(b=a.call(void 0,b,g[d],d,g));while(d--);return b};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var g=q(this),d=g.length>>>0;if(!d)return-1;var b=0;1<arguments.length&&(b=p(arguments[1]));for(b=0<=b?b:d-Math.abs(b);b<d;b++)if(b in
6
- g&&g[b]===a)return b;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var g=q(this),d=g.length>>>0;if(!d)return-1;var b=d-1;1<arguments.length&&(b=p(arguments[1]));for(b=0<=b?b:d-Math.abs(b);0<=b;b--)if(b in g&&a===g[b])return b;return-1};if(!Object.keys){var g=!0,d="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),u=d.length,e;for(e in{toString:null})g=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
7
- typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],i;for(i in a)h(a,i)&&b.push(i);if(g)for(i=0;i<u;i++){var e=d[i];h(a,e)&&b.push(e)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,b,g;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=a.length;b--;)g=a[b],10>g&&(a[b]="0"+g);return a.slice(0,3).join("-")+"T"+
8
- a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||a.trim()){var a="["+a+"]",o=RegExp("^"+a+a+"*"),j=
9
- RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(o,"").replace(j,"")}}var p=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},v="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return v&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
- (function(a,b){var k=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);k&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});k=!!a.bar}catch(b){k=!1}a=null}();Modernizr.objectAccessor=!(!(k||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=k;
11
- if(!k||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var h=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,g,d,h){var e;e=function(){};e.prototype=a;e=new e;if(!h&&!("__proto__"in e)&&!Modernizr.objectAccessor)e.__proto__=a;g&&b.defineProperties(e,g);if(d)e.options=jQuery.extend(!0,{},e.options||{},d),d=e.options;e._create&&jQuery.isFunction(e._create)&&e._create(d);return e};b.defineProperties=function(a,
12
- g){for(var d in g)h(g,d)&&b.defineProperty(a,d,g[d]);return a};b.defineProperty=function(a,b,d){if("object"!=typeof d||null===d)return a;if(h(d,"value"))return a[b]=d.value,a;a.__defineGetter__&&("function"==typeof d.get&&a.__defineGetter__(b,d.get),"function"==typeof d.set&&a.__defineSetter__(b,d.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
13
- typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var d;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return d=Object.getOwnPropertyDescriptor(a,b)}catch(k){}d={configurable:!0,enumerable:!0,writable:!0,value:void 0};var e=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!e&&!o){if(!h(a,b))return;d.value=a[b];return d}delete d.writable;delete d.value;d.get=d.set=void 0;if(e)d.get=
14
- e;if(o)d.set=o;return d}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,k,h,i=/<([\w:]+)/,g={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||g[(i.exec(a)||["",""])[1].toLowerCase()])return a;if(!h){k=b.body;if(!k)return a;h=b.createElement("div");h.style.display="none"}var u=h.cloneNode(!1);k.appendChild(u);u.innerHTML=a;k.removeChild(u);return u.childNodes}}})(jQuery);
15
- jQuery.webshims.register("dom-extend",function(a,b,k,h,i){var g=b.modules,d=/\s*,\s*/,u={},e={},o={},j={},p={},v=a.fn.val,q=function(f,c,l,b,d){return d?v.call(a(f)):v.call(a(f),l)};a.fn.val=function(f){var c=this[0];arguments.length&&null==f&&(f="");if(!arguments.length)return!c||1!==c.nodeType?v.call(this):a.prop(c,"value",f,"val",!0);if(a.isArray(f))return v.apply(this,arguments);var l=a.isFunction(f);return this.each(function(b){c=this;1===c.nodeType&&(l?(b=f.call(c,b,a.prop(c,"value",i,"val",
16
- !0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",f,"val"))})};var r="_webshimsLib"+Math.round(1E3*Math.random()),n=function(f,c,l){f=f.jquery?f[0]:f;if(!f)return l||{};var b=a.data(f,r);l!==i&&(b||(b=a.data(f,r,{})),c&&(b[c]=l));return c?b&&b[c]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(f){a.fn[f.name]=function(){return this.map(function(){var a=n(this,
17
- "shadowData");return a&&a[f.prop]||this})}});["removeAttr","prop","attr"].forEach(function(f){u[f]=a[f];a[f]=function(c,l,b,d,g){var j="val"==d,z=!j?u[f]:q;if(!c||!e[l]||1!==c.nodeType||!j&&d&&"attr"==f&&a.attrFn[l])return z(c,l,b,d,g);var A=(c.nodeName||"").toLowerCase(),x=o[A],h="attr"==f&&(!1===b||null===b)?"removeAttr":f,m,k,n;x||(x=o["*"]);x&&(x=x[l]);x&&(m=x[h]);if(m){if("value"==l)k=m.isVal,m.isVal=j;if("removeAttr"===h)return m.value.call(c);if(b===i)return m.get?m.get.call(c):m.value;m.set&&
18
- ("attr"==f&&!0===b&&(b=l),n=m.set.call(c,b));if("value"==l)m.isVal=k}else n=z(c,l,b,d,g);if((b!==i||"removeAttr"===h)&&p[A]&&p[A][l]){var s;s="removeAttr"==h?!1:"prop"==h?!!b:!0;p[A][l].forEach(function(a){if(!a.only||(a.only="prop"==f)||"attr"==a.only&&"prop"!=f)a.call(c,b,s,j?"val":h,f)})}return n};j[f]=function(c,l,d){o[c]||(o[c]={});o[c][l]||(o[c][l]={});var g=o[c][l][f],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==f&&"value"==l?function(a){return d.isVal?q(this,l,a,!1,0===arguments.length):
19
- u[f](this,l,a)}:"prop"==f&&"value"==a&&d.value.apply?function(a){var c=u[f](this,l);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return u[f](this,l,a)}};o[c][l][f]=d;if(d.value===i){if(!d.set)d.set=d.writeable?e("set",d,g):b.cfg.useStrict&&"prop"==l?function(){throw l+" is readonly on "+c;}:a.noop;if(!d.get)d.get=e("get",d,g)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=e(a,g))})}});var t=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=b.getPrototypeOf(h.createElement("foobar")),
20
- c=Object.prototype.hasOwnProperty;return function(l,d,g){var e=h.createElement(l),j=b.getPrototypeOf(e);if(t&&j&&a!==j&&(!e[d]||!c.call(e,d))){var i=e[d];g._supvalue=function(){return i&&i.apply?i.apply(this,arguments):i};j[d]=g.value}else g._supvalue=function(){var a=n(this,"propValue");return a&&a[d]&&a[d].apply?a[d].apply(this,arguments):a&&a[d]},s.extendValue(l,d,g.value);g.value._supvalue=g._supvalue}}(),s=function(){var f={};b.addReady(function(c,l){var d={},g=function(f){d[f]||(d[f]=a(c.getElementsByTagName(f)),
21
- l[0]&&a.nodeName(l[0],f)&&(d[f]=d[f].add(l)))};a.each(f,function(a,c){g(a);!c||!c.forEach?b.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){d[a].each(c)})});d=null});var c,l=a([]),d=function(b,l){f[b]?f[b].push(l):f[b]=[l];a.isDOMReady&&(c||a(h.getElementsByTagName(b))).each(l)};return{createTmpCache:function(f){a.isDOMReady&&(c=c||a(h.getElementsByTagName(f)));return c||l},flushTmpCache:function(){c=null},content:function(c,f){d(c,function(){var c=a.attr(this,f);null!=c&&a.attr(this,
22
- f,c)})},createElement:function(a,c){d(a,c)},extendValue:function(c,f,b){d(c,function(){a(this).each(function(){n(this,"propValue",{})[f]=this[f];this[f]=b})})}}}(),w=function(a,c){if(a.defaultValue===i)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var f=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(f++,b="ID-"+f,c.attr("id",b));return b}}(),extendUNDEFProp:function(f,
23
- c){a.each(c,function(a,c){a in f||(f[a]=c)})},createPropDefault:w,data:n,moveToFirstEvent:function(){var f=a._data?"_data":"data";return function(c,b,d){if((c=(a[f](c,"events")||{})[b])&&1<c.length)b=c.pop(),d||(d="bind"),"bind"==d&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(f,c,b){b=b||{};f.jquery&&(f=f[0]);c.jquery&&(c=c[0]);if(!b.shadowFocusElement)b.shadowFocusElement=c;var d=a.data(f,r)||a.data(f,r,{}),g=a.data(c,r)||a.data(c,r,{});d.hasShadow=c;g.nativeElement=
24
- f;g.shadowData=d.shadowData={nativeElement:f,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){n(this,"shadowData",g.shadowData)});if(b.data)d.shadowData.data=b.data,g.shadowData.data=b.data;b=null},propTypes:{standard:function(a){w(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){w(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
25
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,c){"string"==typeof c&&(c=c.split(d));c.forEach(function(c){b.defineNodeNamesProperty(f,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(f,c,d){e[c]=!0;if(d.reflect)b.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(g){var e=d[g];e&&(e="prop"===g?a.extend({writeable:!0},e):a.extend({},
26
- e,{writeable:!0}),j[g](f,c,e),"*"!=f&&b.cfg.extendNative&&"prop"==g&&e.value&&a.isFunction(e.value)&&m(f,c,e),d[g]=e)});d.initAttr&&s.content(f,c);return d},defineNodeNameProperties:function(a,c,d,g){for(var e in c)!g&&c[e].initAttr&&s.createTmpCache(a),d&&(c[e][d]?b.log("override: "+a+"["+e+"] for "+d):(c[e][d]={},["value","set","get"].forEach(function(a){a in c[e]&&(c[e][d][a]=c[e][a],delete c[e][a])}))),c[e]=b.defineNodeNameProperty(a,e,c[e]);g||s.flushTmpCache();return c},createElement:function(f,
27
- c,d){var g;a.isFunction(c)&&(c={after:c});s.createTmpCache(f);c.before&&s.createElement(f,c.before);d&&(g=b.defineNodeNameProperties(f,d,!1,!0));c.after&&s.createElement(f,c.after);s.flushTmpCache();return g},onNodeNamesPropertyModify:function(b,c,g,C){"string"==typeof b&&(b=b.split(d));a.isFunction(g)&&(g={set:g});b.forEach(function(a){p[a]||(p[a]={});"string"==typeof c&&(c=c.split(d));g.initAttr&&s.createTmpCache(a);c.forEach(function(c){p[a][c]||(p[a][c]=[],e[c]=!0);if(g.set){if(C)g.set.only=C;
28
- p[a][c].push(g.set)}g.initAttr&&s.content(a,c)});s.flushTmpCache()})},defineNodeNamesBooleanProperty:function(f,c,d){d||(d={});if(a.isFunction(d))d.set=d;b.defineNodeNamesProperty(f,c,{attr:{set:function(a){this.setAttribute(c,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?i:c}},removeAttr:{value:function(){this.removeAttribute(c);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===
29
- i)return b=(a.attributes[c]||{}).value,null==b?i:b;"boolean"==typeof b?b?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},l,e,j=/:\/\/|^\.*\//,i=function(c,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(c.loading=!0,f=f.langSrc,j.test(f)||(f=b.cfg.basePath+f),b.loader.loadScript(f+d+".js",function(){c.langObj[d]?(c.loading=!1,h(c,!0)):a(function(){c.langObj[d]&&h(c,!0);c.loading=!1})}),!0):!1},m=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
30
- h=function(a,c){if(a.activeLang!=l&&a.activeLang!==e){var b=g[a.module].options;if(a.langObj[l]||e&&a.langObj[e])a.activeLang=l,a.callback(a.langObj[l]||a.langObj[e],l),m(a.module);else if(!c&&!i(a,l,b)&&!i(a,e,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],l),m(a.module)}};return function(b){if("string"==typeof b&&b!==l)l=b,e=l.split("-")[0],l==e&&(e=!1),a.each(d,function(a,c){h(c)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),
31
- b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);h(b)}return l}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,f,g,e){"string"==typeof a&&(a=a.split(d));var j={};a.forEach(function(a){j[a]=b[c](a,f,g,e)});return j}});b.isReady("webshimLocalization",!0)});
32
- (function(a,b){var k=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<k)&&(!a.browser.msie||12>k&&7<k)){var h={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},i=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(g,d){a.each(h,function(b,e){for(var h=a(b,g).add(d.filter(b)),k=0,o=h.length;k<o;k++)i(h[k],e)});if(g===b){var k=b.getElementsByTagName("header")[0],e=b.getElementsByTagName("footer"),o=e.length;
33
- k&&!a(k).closest("section, article")[0]&&i(k,"banner");o&&(k=e[o-1],a(k).closest("section, article")[0]||i(k,"contentinfo"))}})}})(jQuery,document);
34
- (function(a,b,k){var h=b.audio&&b.video,i=!1;if(h)a=document.createElement("video"),b.videoBuffered="buffered"in a,i="loop"in a,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,k,e,o){var j=b.mediaelement,p=b.cfg.mediaelement,
35
- v=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=j.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},q=swfobject.hasFlashPlayerVersion("9.0.115"),r=function(){b.ready("mediaelement-swf",function(){if(!j.createSWF)b.modules["mediaelement-swf"].test=
36
- a.noop,b.reTest(["mediaelement-swf"],h)})};j.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf",
37
- "asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};j.mimeTypes.source=a.extend({},j.mimeTypes.audio,j.mimeTypes.video);j.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(j.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};j.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),
38
- a.isArray(c)||(c=[c]),c.forEach(function(a){var c=e.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var c=[],d=b[0].nodeName.toLowerCase(),j=v(b,d);j.src?c.push(j):a("source",b).each(function(){j=v(this,d);j.src&&c.push(j)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==o&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));j.srces(this,
39
- b);a(this).mediaLoad()})};j.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");j.canSwfPlaySrces=function(b,c){var d="";q&&(b=a(b),c=c||j.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&-1!=j.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var n={};j.canNativePlaySrces=function(b,
40
- c){var d="";if(h){var b=a(b),e=(b[0].nodeName||"").toLowerCase();if(!n[e])return d;c=c||j.srces(b);a.each(c,function(a,c){if(c.type&&n[e].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};j.setError=function(f,c){c||(c="can't play sources");a(f).pause().data("mediaerror",c);b.warn("mediaelementError: "+c);setTimeout(function(){a(f).data("mediaerror")&&a(f).trigger("mediaerror")},1)};var t=function(){var a;return function(c,e,g){b.ready("mediaelement-swf",function(){j.createSWF?j.createSWF(c,
41
- e,g):a||(a=!0,r(),t(c,e,g))})}}(),m=function(a,b,d,e,g){d||!1!==d&&b&&"flash"==b.isActive?(d=j.canSwfPlaySrces(a,e))?t(a,d,b):g?j.setError(a,!1):m(a,b,!1,e,!0):(d=j.canNativePlaySrces(a,e))?b&&"flash"==b.isActive&&j.setActive(a,"html5",b):g?(j.setError(a,!1),b&&"flash"==b.isActive&&j.setActive(a,"html5",b)):m(a,b,!0,e,!0)},s=/^(?:embed|object|datalist)$/i,w=function(f,c){var e=b.data(f,"mediaelementBase")||b.data(f,"mediaelementBase",{}),i=j.srces(f),h=f.parentNode;clearTimeout(e.loadTimer);a.data(f,
42
- "mediaerror",!1);if(i.length&&h&&!(1!=h.nodeType||s.test(h.nodeName||"")))c=c||b.data(f,"mediaelement"),m(f,c,p.preferFlash||o,i)};a(e).bind("ended",function(f){var c=b.data(f.target,"mediaelement");(!i||c&&"html5"!=c.isActive||a.prop(f.target,"loop"))&&setTimeout(function(){!a.prop(f.target,"paused")&&a.prop(f.target,"loop")&&a(f.target).prop("currentTime",0).play()},1)});i||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(f){var c=b.defineNodeNameProperty(f,
43
- "load",{prop:{value:function(){var a=b.data(this,"mediaelement");w(this,a);h&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});n[f]=b.defineNodeNameProperty(f,"canPlayType",{prop:{value:function(b){var c="";h&&n[f].prop._supvalue&&(c=n[f].prop._supvalue.call(this,b),"no"==c&&(c=""));!c&&q&&(b=a.trim((b||"").split(";")[0]),-1!=j.swfMimeTypes.indexOf(b)&&(c="maybe"));return c}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=
44
- this,c=b.data(a,"mediaelementBase")||b.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){w(a);a=null},9)}});k=function(){b.addReady(function(e,c){a("video, audio",e).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(h){var c,e,f=this,j=function(){var b=a.prop(f,
45
- "buffered");if(b){for(var c="",d=0,e=b.length;d<e;d++)c+=b.end(d);return c}},i=function(){var b=j();b!=e&&(e=b,a(f).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(e=j());clearTimeout(c);c=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(e=!1);clearTimeout(c)})}})})};h?(b.isReady("mediaelement-core",!0),k(),q&&b.ready("WINDOWLOAD mediaelement",r)):b.ready("mediaelement-swf",k)})})(jQuery,Modernizr,
46
- jQuery.webshims);
47
- jQuery.webshims.register("mediaelement-swf",function(a,b,k,h,i,g){var d=b.mediaelement,u=k.swfobject,e=Modernizr.audio&&Modernizr.video,o=u.hasFlashPlayerVersion("9.0.115"),j=0,k={paused:!0,ended:!1,currentSrc:"",duration:k.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},p=Object.keys(k),v={currentTime:0,volume:1,
48
- muted:!1};Object.keys(v);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:i},k,v),r=/^jwplayer-/,n=function(a){if(a=h.getElementById(a.replace(r,"")))return a=b.data(a,"mediaelement"),"flash"==a.isActive?a:null},t=function(a){return(a=b.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},m=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,i,b)},s=g.playerPath||b.cfg.basePath+
49
- "jwplayer/"+(g.playerName||"player.swf"),w=g.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(g.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(g.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(g.jwAttrs,{bgcolor:"#000000"});var f=function(b,c){var e=b.duration;if(!(e&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=e}catch(f){}b.duration&&
50
- b.duration!=b._lastDuration?(m(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&d.jwEvents.Model.META(a.extend({duration:b.duration},c),b),b._durationCalcs--):b._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,m(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,m(b._elem,"canplaythrough");b.readyState=a};d.jwEvents=
51
- {View:{PLAY:function(a){var b=n(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;m(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var d=n(b.id);if(d&&"percentage"in b&&d._bufferedEnd!=b.percentage){d.networkState=100==b.percentage?1:2;(isNaN(d.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&f(d,b);if(d.ended)d.ended=!1;if(d.duration){2<b.percentage&&20>b.percentage?c(3,d):20<b.percentage&&c(4,d);if(d._bufferedEnd&&
52
- d._bufferedEnd>b.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=b.percentage;d.buffered.length=1;if(100==b.percentage)d.networkState=1,c(4,d);a.event.trigger("progress",i,d._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:n(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=b.duration;if(a.duration)b.duration=a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=
53
- a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&m(b._elem,"durationchange");m(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=n(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&f(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;m(b._elem,"timeupdate")}},STATE:function(a){var b=n(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);m(b._elem,"waiting");
54
- break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||f(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;m(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,m(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,m(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=n(a.id);b&&d.setError(b._elem,a.message)},SEEK:function(a){var b=n(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=
55
- a.position)b.currentTime=a.position,m(b._elem,"timeupdate")}},VOLUME:function(a){var b=n(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,m(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=n(a.id);if(b&&b.muted!=a.state)b.muted=a.state,m(b._elem,"volumechange")}}}};var l=function(b){var c=!0;a.each(d.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},C=function(a){var b=
56
- a.actionQueue.length,c=0,d;if(b&&"flash"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},F=function(b){b&&(b._ppFlag===i&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===i||!b.paused))try{a(b._elem).play()}catch(c){}},1)},H=function(b){if(b&&"video"==b._elemNodeName){var c,d,e,f,g,j,i,l,h=function(h,k){if(k&&h&&!(1>k||1>h||"flash"!=b.isActive))if(c&&
57
- (c.remove(),c=!1),f=h,g=k,clearTimeout(i),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){j=j||a(b._elem).getShadowElement();var m;d&&!e?(m=j.height(),h*=m/k,k=m):!d&&e&&(m=j.width(),k*=m/h,h=m);l=!0;setTimeout(function(){l=!1},9);j.css({width:h,height:k})}},k=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),
58
- c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(i);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(h(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;h(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
59
- this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){h(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize updatemediaelementdimensions",function(){l||h(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");k();a.prop(b._elem,"readyState")&&h(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};
60
- d.playerResize=function(b){b&&(b=h.getElementById(b.replace(r,"")))&&a(b).triggerHandler("swfstageresize")};a(h).bind("emptied",function(a){a=t(a.target);F(a)});var D;d.jwPlayerReady=function(c){var d=n(c.id),e=0,f=function(){if(!(9<e))if(e++,l(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var g=parseFloat(c.version,10);(5.6>g||6<=g)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;C(d);F(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,
61
- 9*e),2<e&&9>d.tryedReframeing&&(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(D);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var z=a.noop;if(e){var A={play:1,playing:1},x="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
62
- G=x.map(function(a){return a+".webshimspolyfill"}).join(" "),I=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("flash"==d.activating)&&(c.stopImmediatePropagation(),A[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},z=function(c){a(c).unbind(G).bind(G,I);x.forEach(function(a){b.moveToFirstEvent(c,a)})};z(h)}d.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"flash"!=d&&b.warn("wrong type for mediaelement activating: "+
63
- d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).hide().getShadowElement().show()):(a(c).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var J=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;
64
- for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&m(d._elem,"emptied")}}}(),E=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||a(d).width(),height:d.style.height||a(d).height()})};d.createSWF=function(c,f,h){if(o){1>j?j=1:j++;var i=a.extend({},g.jwVars,{image:a.prop(c,"poster")||"",file:f.srcProp}),l=a(c).data("jwvars")||{};h||(h=b.data(c,"mediaelement"));
65
- if(h&&h.swfCreated)d.setActive(c,"flash",h),J(h),h.currentSrc=f.srcProp,a.extend(i,l),g.changeJW(i,c,f,h,"load"),B(c,"sendEvent",["LOAD",i]);else{var k=a.prop(c,"controls"),m="jwplayer-"+b.getID(c),n=a.extend({},g.jwParams,a(c).data("jwparams")),p=c.nodeName.toLowerCase(),t=a.extend({},g.jwAttrs,{name:m,id:m},a(c).data("jwattrs")),r=a('<div class="polyfill-'+p+' polyfill-mediaelement" id="wrapper-'+m+'"><div id="'+m+'"></div>').css({position:"relative",overflow:"hidden"}),h=b.data(c,"mediaelement",
66
- b.objectCreate(q,{actionQueue:{value:[]},shadowElem:{value:r},_elemNodeName:{value:p},_elem:{value:c},currentSrc:{value:f.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return(h.duration-h._bufferedStart)*h._bufferedEnd/100+h._bufferedStart},length:0}}}));E(h,k);r.insertBefore(c);e&&a.extend(h,{volume:a.prop(c,"volume"),muted:a.prop(c,
67
- "muted")});a.extend(i,{id:m,controlbar:k?g.jwVars.controlbar||("video"==p?"over":"bottom"):"video"==p?"none":"bottom",icons:""+(k&&"video"==p)},l,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+w):w;b.addShadowDom(c,r);z(c);d.setActive(c,"flash",h);g.changeJW(i,c,f,h,"embed");a(c).bind("updatemediaelementdimensions",function(){E(h,a.prop(c,"controls"))});H(h);u.embedSWF(s,m,"100%","100%","9.0.0",!1,i,n,t,function(d){if(d.success)h.jwapi=d.ref,k||a(d.ref).attr("tabindex",
68
- "-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&r[0].parentNode||"none"==d.ref.style.display)r.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),D||(clearTimeout(D),D=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
69
- (2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var B=function(a,b,c,d){return(d=d||t(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},f,g=function(a){"audio"==c&&
70
- ("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=t(this);return b?b[a]:e&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var c=t(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);B(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(c.volume==a||"flash"!=c.isActive))c.volume=
71
- a,m(c._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=t(this);if(b){if(a=!!a,B(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,m(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=t(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
72
- !0;b.stopPlayPause=!1},50);B(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,m(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=t(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),B(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
73
- !0,b.paused!=("play"!=a)))b.paused="play"!=a,m(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});p.forEach(g);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=t(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{B(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&E(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});f=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=
74
- a.cleanData,L=a.browser.msie&&9>b.browserVersion,M={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&j)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){j--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}if(!e){var y=h.createElement("a");y.style.display="none";["poster","src"].forEach(function(c){b.defineNodeNamesProperty("src"==c?["audio","video","source"]:["video"],
75
- c,{prop:{get:function(){var b=this.getAttribute(c),d;if(null==b)return"";y.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(y).appendTo(this),d=y.getAttribute("href",4)}catch(e){d=y.getAttribute("href",4)}a(y).detach()}return d||y.href},set:function(b){a.attr(this,c,b)}}})});["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)});b.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},
76
- HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop")}});
1
+ (function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,k,m;if(!Function.prototype.bind)Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var e=h.call(arguments,1),d=function(){if(this instanceof d){var c=function(){};c.prototype=b.prototype;var c=new c,g=b.apply(c,e.concat(h.call(arguments)));return null!==g&&Object(g)===g?g:c}return b.apply(a,e.concat(h.call(arguments)))};return d};m=a.bind(b.toString);k=a.bind(b.hasOwnProperty);
2
+ if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==m(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){var e=l(this),d=0,c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(;d<c;)d in e&&a.call(b,e[d],d,e),d++};if(!Array.prototype.map)Array.prototype.map=function(a,b){var e=l(this),d=e.length>>>0,c=Array(d);if("[object Function]"!=m(a))throw new TypeError;for(var g=0;g<d;g++)g in e&&(c[g]=a.call(b,e[g],g,e));return c};if(!Array.prototype.filter)Array.prototype.filter=
3
+ function(a,b){var e=l(this),d=e.length>>>0,c=[];if("[object Function]"!=m(a))throw new TypeError;for(var g=0;g<d;g++)g in e&&a.call(b,e[g],g,e)&&c.push(e[g]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,b){var e=l(this),d=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(var c=0;c<d;c++)if(c in e&&!a.call(b,e[c],c,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var e=l(this),d=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;
4
+ for(var c=0;c<d;c++)if(c in e&&a.call(b,e[c],c,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=l(this),e=b.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d=0,c;if(2<=arguments.length)c=arguments[1];else{do{if(d in b){c=b[d++];break}if(++d>=e)throw new TypeError;}while(1)}for(;d<e;d++)d in b&&(c=a.call(void 0,c,b[d],d,b));return c};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var b=
5
+ l(this),e=b.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d,e=e-1;if(2<=arguments.length)d=arguments[1];else{do{if(e in b){d=b[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(d=a.call(void 0,d,b[e],e,b));while(e--);return d};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=l(this),e=b.length>>>0;if(!e)return-1;var d=0;1<arguments.length&&(d=z(arguments[1]));for(d=0<=d?d:e-Math.abs(d);d<e;d++)if(d in
6
+ b&&b[d]===a)return d;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var b=l(this),e=b.length>>>0;if(!e)return-1;var d=e-1;1<arguments.length&&(d=z(arguments[1]));for(d=0<=d?d:e-Math.abs(d);0<=d;d--)if(d in b&&a===b[d])return d;return-1};if(2!=[1,2].splice(0).length){var s=Array.prototype.splice;Array.prototype.splice=function(a,b){return!arguments.length?[]:s.apply(this,[void 0===a?0:a,void 0===b?this.length-a:b].concat(h.call(arguments,2)))}}if(!Object.keys){var f=
7
+ !0,t="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),j=t.length,o;for(o in{toString:null})f=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],e;for(e in a)k(a,e)&&b.push(e);if(f)for(e=0;e<j;e++){var d=t[e];k(a,d)&&b.push(d)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,b,e;if(!isFinite(this))throw new RangeError;
8
+ a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=a.length;b--;)e=a[b],10>e&&(a[b]="0"+e);return a.slice(0,3).join("-")+"T"+a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";
9
+ if(!String.prototype.trim||a.trim()){var a="["+a+"]",w=RegExp("^"+a+a+"*"),y=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(w,"").replace(y,"")}}if("0".split(void 0,0).length){var A=String.prototype.split;String.prototype.split=function(a,b){return void 0===a&&0===b?[]:A.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var D=String.prototype.substr;String.prototype.substr=function(a,b){return D.call(this,0>a?0>(a=this.length+a)?0:a:a,b)}}var z=function(a){a=+a;
10
+ a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},q="a"!="a"[0],l=function(a){if(null==a)throw new TypeError;return q&&"string"==typeof a&&a?a.split(""):Object(a)}})();
11
+ (function(a,b){var h=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);h&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});h=!!a.bar}catch(b){h=!1}a=null}();Modernizr.objectAccessor=!(!(h||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=h;
12
+ if(!h||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,h,f,k){var j;j=function(){};j.prototype=a;j=new j;if(!k&&!("__proto__"in j)&&!Modernizr.objectAccessor)j.__proto__=a;h&&b.defineProperties(j,h);if(f)j.options=jQuery.extend(!0,{},j.options||{},f),f=j.options;j._create&&jQuery.isFunction(j._create)&&j._create(f);return j};b.defineProperties=function(a,
13
+ h){for(var f in h)k(h,f)&&b.defineProperty(a,f,h[f]);return a};b.defineProperty=function(a,b,f){if("object"!=typeof f||null===f)return a;if(k(f,"value"))return a[b]=f.value,a;a.__defineGetter__&&("function"==typeof f.get&&a.__defineGetter__(b,f.get),"function"==typeof f.set&&a.__defineSetter__(b,f.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
14
+ typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var f;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return f=Object.getOwnPropertyDescriptor(a,b)}catch(h){}f={configurable:!0,enumerable:!0,writable:!0,value:void 0};var j=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!j&&!o){if(!k(a,b))return;f.value=a[b];return f}delete f.writable;delete f.value;f.get=f.set=void 0;if(j)f.get=
15
+ j;if(o)f.set=o;return f}}})(jQuery,jQuery.webshims);
16
+ jQuery.webshims.register("dom-extend",function(a,b,h,k,m){var s=b.modules,f=/\s*,\s*/,t={},j={},o={},w={},y={},A=a.fn.val,D=function(d,c,g,b,p){return p?A.call(a(d)):A.call(a(d),g)};a.fn.val=function(d){var c=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!c||1!==c.nodeType?A.call(this):a.prop(c,"value",d,"val",!0);if(a.isArray(d))return A.apply(this,arguments);var g=a.isFunction(d);return this.each(function(b){c=this;1===c.nodeType&&(g?(b=d.call(c,b,a.prop(c,"value",m,"val",
17
+ !0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",d,"val"))})};var z="_webshimsLib"+Math.round(1E3*Math.random()),q=function(d,c,b){d=d.jquery?d[0]:d;if(!d)return b||{};var i=a.data(d,z);b!==m&&(i||(i=a.data(d,z,{})),c&&(i[c]=b));return c?i&&i[c]:i};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(d){a.fn[d.name]=function(){return this.map(function(){var a=q(this,
18
+ "shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){t[d]=a[d];a[d]=function(c,b,i,p,e){var r="val"==p,u=!r?t[d]:D;if(!c||!j[b]||1!==c.nodeType||!r&&p&&"attr"==d&&a.attrFn[b])return u(c,b,i,p,e);var E=(c.nodeName||"").toLowerCase(),B=o[E],C="attr"==d&&(!1===i||null===i)?"removeAttr":d,f,h,l;B||(B=o["*"]);B&&(B=B[b]);B&&(f=B[C]);if(f){if("value"==b)h=f.isVal,f.isVal=r;if("removeAttr"===C)return f.value.call(c);if(i===m)return f.get?f.get.call(c):f.value;f.set&&
19
+ ("attr"==d&&!0===i&&(i=b),l=f.set.call(c,i));if("value"==b)f.isVal=h}else l=u(c,b,i,p,e);if((i!==m||"removeAttr"===C)&&y[E]&&y[E][b]){var A;A="removeAttr"==C?!1:"prop"==C?!!i:!0;y[E][b].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(c,i,A,r?"val":C,d)})}return l};w[d]=function(c,g,i){o[c]||(o[c]={});o[c][g]||(o[c][g]={});var p=o[c][g][d],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==d&&"value"==g?function(a){return i.isVal?D(this,g,a,!1,0===arguments.length):
20
+ t[d](this,g,a)}:"prop"==d&&"value"==a&&i.value.apply?function(a){var c=t[d](this,g);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[d](this,g,a)}};o[c][g][d]=i;if(i.value===m){if(!i.set)i.set=i.writeable?e("set",i,p):b.cfg.useStrict&&"prop"==g?function(){throw g+" is readonly on "+c;}:a.noop;if(!i.get)i.get=e("get",i,p)}["value","get","set"].forEach(function(a){i[a]&&(i["_sup"+a]=e(a,p))})}});var l=!a.browser.msie||8<parseInt(a.browser.version,10),n=function(){var a=b.getPrototypeOf(k.createElement("foobar")),
21
+ c=Object.prototype.hasOwnProperty;return function(g,i,p){var e=k.createElement(g),r=b.getPrototypeOf(e);if(l&&r&&a!==r&&(!e[i]||!c.call(e,i))){var u=e[i];p._supvalue=function(){return u&&u.apply?u.apply(this,arguments):u};r[i]=p.value}else p._supvalue=function(){var a=q(this,"propValue");return a&&a[i]&&a[i].apply?a[i].apply(this,arguments):a&&a[i]},v.extendValue(g,i,p.value);p.value._supvalue=p._supvalue}}(),v=function(){var d={};b.addReady(function(c,g){var r={},u=function(d){r[d]||(r[d]=a(c.getElementsByTagName(d)),
22
+ g[0]&&a.nodeName(g[0],d)&&(r[d]=r[d].add(g)))};a.each(d,function(a,d){u(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){r[a].each(d)})});r=null});var c,g=a([]),i=function(b,g){d[b]?d[b].push(g):d[b]=[g];a.isDOMReady&&(c||a(k.getElementsByTagName(b))).each(g)};return{createTmpCache:function(d){a.isDOMReady&&(c=c||a(k.getElementsByTagName(d)));return c||g},flushTmpCache:function(){c=null},content:function(d,c){i(d,function(){var d=a.attr(this,c);null!=d&&a.attr(this,
23
+ c,d)})},createElement:function(a,d){i(a,d)},extendValue:function(d,c,b){i(d,function(){a(this).each(function(){q(this,"propValue",{})[c]=this[c];this[c]=b})})}}}(),e=function(a,c){if(a.defaultValue===m)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(b,{getID:function(){var d=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(d++,b="ID-"+d,c.attr("id",b));
24
+ return b}}(),extendUNDEFProp:function(d,c){a.each(c,function(a,c){a in d||(d[a]=c)})},createPropDefault:e,data:q,moveToFirstEvent:function(){var d=a._data?"_data":"data";return function(c,b,i){if((c=(a[d](c,"events")||{})[b])&&1<c.length)b=c.pop(),i||(i="bind"),"bind"==i&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(){var d,c,b,i,e={init:!1,start:function(){if(!this.init)this.init=!0,this.height=a(k).height(),this.width=a(k).width(),setInterval(function(){var d=
25
+ a(k).height(),c=a(k).width();if(d!=e.height||c!=e.width)e.height=d,e.width=c,i({type:"docresize"})},400)}};i=function(i){clearTimeout(d);d=setTimeout(function(){if("resize"==i.type){var d=a(h).width(),u=a(h).width();if(u==c&&d==b)return;c=u;b=d;e.height=a(k).height();e.width=a(k).width()}a.event.trigger("updateshadowdom")},40)};a(h).bind("resize",i);a.event.customEvent.updateshadowdom=!0;return function(d,c,b){b=b||{};d.jquery&&(d=d[0]);c.jquery&&(c=c[0]);var g=a.data(d,z)||a.data(d,z,{}),i=a.data(c,
26
+ z)||a.data(c,z,{}),f={};if(b.shadowFocusElement){if(b.shadowFocusElement){if(b.shadowFocusElement.jquery)b.shadowFocusElement=b.shadowFocusElement[0];f=a.data(b.shadowFocusElement,z)||a.data(b.shadowFocusElement,z,f)}}else b.shadowFocusElement=c;g.hasShadow=c;f.nativeElement=i.nativeElement=d;f.shadowData=i.shadowData=g.shadowData={nativeElement:d,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){q(this,"shadowData",i.shadowData)});if(b.data)f.shadowData.data=
27
+ i.shadowData.data=g.shadowData.data=b.data;b=null;e.start()}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},src:function(){var d=k.createElement("a");d.style.display="none";return function(c,b){e(c);if(!c.prop)c.prop=
28
+ {set:function(a){c.attr.set.call(this,a)},get:function(){var c=this.getAttribute(b),e;if(null==c)return"";d.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(d).insertAfter(this),e=d.getAttribute("href",4)}catch(f){e=d.getAttribute("href",4)}a(d).detach()}return e||d.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,c)},get:function(){var c=(a.attr.get.call(this)||"").toLowerCase();if(!c||-1==a.limitedTo.indexOf(c))c=a.defaultValue;return c}}}},
29
+ reflectProperties:function(d,c){"string"==typeof c&&(c=c.split(f));c.forEach(function(c){b.defineNodeNamesProperty(d,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(d,c,g){j[c]=!0;if(g.reflect)b.propTypes[g.propType||"standard"](g,c);["prop","attr","removeAttr"].forEach(function(e){var f=g[e];f&&(f="prop"===e?a.extend({writeable:!0},f):a.extend({},f,{writeable:!0}),w[e](d,c,f),"*"!=d&&b.cfg.extendNative&&"prop"==e&&f.value&&
30
+ a.isFunction(f.value)&&n(d,c,f),g[e]=f)});g.initAttr&&v.content(d,c);return g},defineNodeNameProperties:function(a,c,g,e){for(var f in c)!e&&c[f].initAttr&&v.createTmpCache(a),g&&(c[f][g]?b.log("override: "+a+"["+f+"] for "+g):(c[f][g]={},["value","set","get"].forEach(function(a){a in c[f]&&(c[f][g][a]=c[f][a],delete c[f][a])}))),c[f]=b.defineNodeNameProperty(a,f,c[f]);e||v.flushTmpCache();return c},createElement:function(d,c,g){var e;a.isFunction(c)&&(c={after:c});v.createTmpCache(d);c.before&&v.createElement(d,
31
+ c.before);g&&(e=b.defineNodeNameProperties(d,g,!1,!0));c.after&&v.createElement(d,c.after);v.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,c,g,e){"string"==typeof b&&(b=b.split(f));a.isFunction(g)&&(g={set:g});b.forEach(function(a){y[a]||(y[a]={});"string"==typeof c&&(c=c.split(f));g.initAttr&&v.createTmpCache(a);c.forEach(function(c){y[a][c]||(y[a][c]=[],j[c]=!0);if(g.set){if(e)g.set.only=e;y[a][c].push(g.set)}g.initAttr&&v.content(a,c)});v.flushTmpCache()})},defineNodeNamesBooleanProperty:function(d,
32
+ c,g){g||(g={});if(a.isFunction(g))g.set=g;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);g.set&&g.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?m:c}},removeAttr:{value:function(){this.removeAttribute(c);g.set&&g.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:g.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===m)return a=a.attributes[c]||{},b=a.specified?a.value:null,null==b?m:b;"boolean"==typeof b?b?a.setAttribute(c,c):
33
+ a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},e,f,y=/:\/\/|^\.*\//,h=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,y.test(e)||(e=b.cfg.basePath+e),b.loader.loadScript(e+d+".js",function(){c.langObj[d]?(c.loading=!1,u(c,!0)):a(function(){c.langObj[d]&&u(c,!0);c.loading=!1})}),!0):!1},r=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},u=function(a,c){if(a.activeLang!=e&&a.activeLang!==f){var b=s[a.module].options;
34
+ if(a.langObj[e]||f&&a.langObj[f])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[f],e),r(a.module);else if(!c&&!h(a,e,b)&&!h(a,f,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),r(a.module)}};return function(b){if("string"==typeof b&&b!==e)e=b,f=e.split("-")[0],e==f&&(f=!1),a.each(d,function(a,b){u(b)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);u(b)}return e}}()});
35
+ a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,e,y){"string"==typeof a&&(a=a.split(f));var r={};a.forEach(function(a){r[a]=b[c](a,d,e,y)});return r}});b.isReady("webshimLocalization",!0)});
36
+ (function(a,b){var h=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<h)&&(!a.browser.msie||12>h&&7<h)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},m=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(h,f){a.each(k,function(b,y){for(var A=a(b,h).add(f.filter(b)),j=0,k=A.length;j<k;j++)m(A[j],y)});if(h===b){var t=b.getElementsByTagName("header")[0],j=b.getElementsByTagName("footer"),o=j.length;
37
+ t&&!a(t).closest("section, article")[0]&&m(t,"banner");o&&(t=j[o-1],a(t).closest("section, article")[0]||m(t,"contentinfo"))}})}})(jQuery,document);
38
+ (function(a,b,h){var k=b.audio&&b.video,m=!1,s=h.cfg.mediaelement,f=h.bugs,t=function(){h.ready("mediaelement-swf",function(){if(!h.mediaelement.createSWF)h.modules["mediaelement-swf"].test=a.noop,h.reTest(["mediaelement-swf"],k)})},j;if(k){var o=document.createElement("video");b.videoBuffered="buffered"in o;m="loop"in o;h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));b.videoBuffered||(h.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
39
+ test:b.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"))}if(k&&!s.preferFlash){var w=function(b){var f=b.target.parentNode;!s.preferFlash&&(a(b.target).is("audio, video")||f&&a("source:last",f)[0]==b.target)&&h.ready("DOM mediaelement",function(){j&&t();h.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){j&&!s.preferFlash&&h.mediaelement.createSWF&&!a(b.target).closest("audio, video").is(".nonnative-api-active")?(s.preferFlash=!0,document.removeEventListener("error",
40
+ w,!0),a("audio, video").mediaLoad(),h.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+b.target.src)):j||document.removeEventListener("error",w,!0)},20)})})};document.addEventListener("error",w,!0);a("audio, video").each(function(){this.error&&w({target:this})})}f.track=!1;b.track&&function(){if(!f.track)f.track="number"!=typeof a("<track />")[0].readyState;if(!f.track)try{new TextTrackCue(2,3,"")}catch(b){f.track=!0}var j=h.cfg.track,k=function(b){a(b.target).filter("track").each(m)},
41
+ m=function(){if(f.track||!j.override&&3==a.prop(this,"readyState"))j.override=!0,h.reTest("track"),document.removeEventListener("error",k,!0),this&&a.nodeName(this,"track")?h.error("track support was overwritten. Please check your vtt including your vtt mime-type"):h.info("track support was overwritten. due to bad browser support")},q=function(){document.addEventListener("error",k,!0);f.track?m():a("track").each(m)};j.override||(h.isReady("track")?q():a(q))}();h.register("mediaelement-core",function(a,
42
+ h,o,z,q){j=swfobject.hasFlashPlayerVersion("9.0.115");var l=h.mediaelement,n=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},v=!j&&"postMessage"in o&&k,e=
43
+ function(){var b;return function(){!b&&v&&(b=!0,h.loader.loadScript("https://www.youtube.com/player_api"),a(function(){h.polyfill("mediaelement-yt")}))}}(),d=function(){j?t():e()};h.addPolyfill("mediaelement-yt",{test:!v,d:["dom-support"]});l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
44
+ "f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};l.mimeTypes.source=a.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||
45
+ -1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(l.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};l.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(c)||(c=[c]),c.forEach(function(a){var c=z.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});
46
+ else{var c=[],d=b[0].nodeName.toLowerCase(),e=n(b,d);e.src?c.push(e):a("source",b).each(function(){e=n(this,d);e.src&&c.push(e)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==q&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));l.srces(this,b);a(this).mediaLoad()})};l.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
47
+ l.canThirdPlaySrces=function(b,c){var d="";if(j||v)b=a(b),c=c||l.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(j&&-1!=l.swfMimeTypes.indexOf(b.container)||v&&"video/youtube"==b.container))return d=b,!1});return d};var c={};l.canNativePlaySrces=function(b,d){var e="";if(k){var b=a(b),f=(b[0].nodeName||"").toLowerCase();if(!c[f])return e;d=d||l.srces(b);a.each(d,function(a,d){if(d.type&&c[f].prop._supvalue.call(b[0],d.type))return e=d,!1})}return e};l.setError=function(b,c){c||(c="can't play sources");
48
+ a(b).pause().data("mediaerror",c);h.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var g=function(){var a;return function(b,c,f){h.ready(j?"mediaelement-swf":"mediaelement-yt",function(){l.createSWF?l.createSWF(b,c,f):a||(a=!0,d(),g(b,c,f))});!a&&v&&!l.createSWF&&e()}}(),i=function(a,b,c,d,e){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,d))?g(a,c,b):e?l.setError(a,!1):i(a,b,!1,d,!0):(c=l.canNativePlaySrces(a,d))?b&&"third"==
49
+ b.isActive&&l.setActive(a,"html5",b):e?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):i(a,b,!0,d,!0)},p=/^(?:embed|object|datalist)$/i,w=function(b,c){var d=h.data(b,"mediaelementBase")||h.data(b,"mediaelementBase",{}),e=l.srces(b),f=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||p.test(f.nodeName||"")))c=c||h.data(b,"mediaelement"),i(b,c,s.preferFlash||q,e)};a(z).bind("ended",function(b){var c=h.data(b.target,"mediaelement");
50
+ (!m||c&&"html5"!=c.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});m||h.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var d=h.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=h.data(this,"mediaelement");w(this,a);k&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});c[b]=h.defineNodeNameProperty(b,
51
+ "canPlayType",{prop:{value:function(d){var e="";k&&c[b].prop._supvalue&&(e=c[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&j&&(d=a.trim((d||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){w(a);a=null},9)}});o=function(){h.addReady(function(b,c){a("video, audio",
52
+ b).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<h.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(k){var b,c,d=this,e=function(){var b=a.prop(d,"buffered");if(b){for(var c="",e=0,f=b.length;e<f;e++)c+=b.end(e);return c}},f=function(){var b=e();b!=c&&(c=b,a(d).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==
53
+ a.type&&(c=e());clearTimeout(b);b=setTimeout(f,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(c=!1);clearTimeout(b)})}})})};b.track&&!f.track&&h.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(h.isReady("mediaelement-core",!0),o(),h.ready("WINDOWLOAD mediaelement",d)):h.ready("mediaelement-swf",o);a(function(){h.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
54
+ jQuery.webshims.register("mediaelement-swf",function(a,b,h,k,m,s){var f=b.mediaelement,t=h.swfobject,j=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),w=0,h={paused:!0,ended:!1,currentSrc:"",duration:h.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},y=Object.keys(h),A={currentTime:0,volume:1,
55
+ muted:!1};Object.keys(A);var D=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:m},h,A),z=/^jwplayer-/,q=function(a){if(a=k.getElementById(a.replace(z,"")))return a=b.data(a,"mediaelement"),"third"==a.isActive?a:null},l=function(a){return(a=b.data(a,"mediaelement"))&&"third"==a.isActive?a:null},n=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,m,b)},v=s.playerPath||b.cfg.basePath+
56
+ "jwplayer/"+(s.playerName||"player.swf"),e=s.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(s.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(s.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(s.jwAttrs,{bgcolor:"#000000"});var d=function(b,c){var d=b.duration;if(!(d&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=d}catch(e){}b.duration&&
57
+ b.duration!=b._lastDuration?(n(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&f.jwEvents.Model.META(a.extend({duration:b.duration},c),b),b._durationCalcs--):b._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,n(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,n(b._elem,"canplaythrough");b.readyState=a};a.extend(a.event.customEvent,
58
+ {updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});f.jwEvents={View:{PLAY:function(a){var b=q(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;n(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var x=q(b.id);if(x&&"percentage"in b&&x._bufferedEnd!=b.percentage){x.networkState=100==b.percentage?1:2;(isNaN(x.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&d(x,b);if(x.ended)x.ended=
59
+ !1;if(x.duration){2<b.percentage&&20>b.percentage?c(3,x):20<b.percentage&&c(4,x);if(x._bufferedEnd&&x._bufferedEnd>b.percentage)x._bufferedStart=x.currentTime||0;x._bufferedEnd=b.percentage;x.buffered.length=1;if(100==b.percentage)x.networkState=1,c(4,x);a.event.trigger("progress",m,x._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:q(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=b.duration;if(a.duration)b.duration=
60
+ a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&n(b._elem,"durationchange");n(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=q(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&d(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;n(b._elem,"timeupdate")}},STATE:function(a){var b=
61
+ q(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);n(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||d(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;n(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,n(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,n(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=q(a.id);b&&f.setError(b._elem,a.message)},SEEK:function(a){var b=
62
+ q(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=a.position)b.currentTime=a.position,n(b._elem,"timeupdate")}},VOLUME:function(a){var b=q(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,n(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=q(a.id);if(b&&b.muted!=a.state)b.muted=a.state,n(b._elem,"volumechange")}}}};var g=function(b){var c=!0;a.each(f.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,
63
+ "jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},i=function(a){var b=a.actionQueue.length,c=0,d;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},p=function(b){b&&(b._ppFlag===m&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===m||!b.paused))try{a(b._elem).play()}catch(c){}},1)},H=function(b){if(b&&
64
+ "video"==b._elemNodeName){var c,d,e,f,g,h,i,l,j=function(j,k){if(k&&j&&!(1>k||1>j||"third"!=b.isActive))if(c&&(c.remove(),c=!1),f=j,g=k,clearTimeout(i),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){h=h||a(b._elem).getShadowElement();var m;d&&!e?(m=h.height(),j*=m/k,k=m):!d&&e&&(m=h.width(),k*=m/j,j=m);l=!0;setTimeout(function(){l=!1},9);h.css({width:j,height:k})}},k=function(){if(!("third"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,
65
+ "poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(i);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(j(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;
66
+ j(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){j(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize updatemediaelementdimensions",function(){l||j(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");
67
+ k();a.prop(b._elem,"readyState")&&j(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};f.playerResize=function(b){b&&(b=k.getElementById(b.replace(z,"")))&&a(b).triggerHandler("swfstageresize")};a(k).bind("emptied",function(a){a=l(a.target);p(a)});var r;f.jwPlayerReady=function(c){var d=q(c.id),e=0,f=function(){if(!(9<e))if(e++,g(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var h=parseFloat(c.version,10);(5.1>h||6<=h)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=
68
+ !0;d.tryedReframeing=0;i(d);p(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,9*e),2<e&&9>d.tryedReframeing&&(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(r);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var u=a.noop;if(j){var E={play:1,playing:1},
69
+ B="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),C=B.map(function(a){return a+".webshimspolyfill"}).join(" "),I=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),E[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},u=function(c){a(c).unbind(C).bind(C,I);B.forEach(function(a){b.moveToFirstEvent(c,a)})};u(k)}f.setActive=function(c,d,
70
+ e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&b.warn("wrong type for mediaelement activating: "+d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(a(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);a(c).trigger("mediaelementapichange")}};
71
+ var J=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&n(d._elem,"emptied")}}}(),G=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||
72
+ a(d).width(),height:d.style.height||a(d).height()})};f.createSWF=function(c,d,g){if(o){1>w?w=1:w++;var h=a.extend({},s.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),i=a(c).data("jwvars")||{};g||(g=b.data(c,"mediaelement"));if(g&&g.swfCreated)f.setActive(c,"third",g),J(g),g.currentSrc=d.srcProp,a.extend(h,i),s.changeJW(h,c,d,g,"load"),F(c,"sendEvent",["LOAD",h]);else{var l=a.prop(c,"controls"),k="jwplayer-"+b.getID(c),m=a.extend({},s.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),
73
+ q=a.extend({},s.jwAttrs,{name:k,id:k},a(c).data("jwattrs")),p=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+k+'"><div id="'+k+'"></div>').css({position:"relative",overflow:"hidden"}),g=b.data(c,"mediaelement",b.objectCreate(D,{actionQueue:{value:[]},shadowElem:{value:p},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=
74
+ g.buffered.length)b.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));G(g,l);p.insertBefore(c);j&&a.extend(g,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(h,{id:k,controlbar:l?s.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(l&&"video"==n)},i,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});h.plugins=h.plugins?h.plugins+(","+e):e;b.addShadowDom(c,p);u(c);f.setActive(c,
75
+ "third",g);s.changeJW(h,c,d,g,"embed");a(c).bind("updatemediaelementdimensions updateshadowdom",function(){G(g,a.prop(c,"controls"))});H(g);t.embedSWF(v,k,"100%","100%","9.0.0",!1,h,m,q,function(d){if(d.success)g.jwapi=d.ref,l||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&p[0].parentNode||"none"==d.ref.style.display)p.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",
76
+ display:"block"})},9),r||(clearTimeout(r),r=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},
77
+ 1)};var F=function(a,b,c,d){return(d=d||l(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},e,f=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=l(this);return b?b[a]:j&&e[a].prop._supget?e[a].prop._supget.apply(this):D[a]},writeable:!1})},g=function(a,b){f(a);delete d[a].writeable;
78
+ d[a].set=b};g("volume",function(a){var c=l(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);F(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(c.volume==a||"third"!=c.isActive))c.volume=a,n(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=l(this);if(b){if(a=!!a,F(this,"sendEvent",["mute",""+a],b),!(b.muted==
79
+ a||"third"!=b.isActive))b.muted=a,n(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});g("currentTime",function(a){var b=l(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=!0;b.stopPlayPause=!1},50);F(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,n(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(e.currentTime.prop._supset)return e.currentTime.prop._supset.apply(this,
80
+ arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=l(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),F(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,n(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});y.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=l(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");
81
+ if(f){try{F(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&G(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});e=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=a.cleanData,L=a.browser.msie&&9>b.browserVersion,M={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&w)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){w--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&
82
+ (a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}j||(["poster","src"].forEach(function(a){b.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],a,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)}),b.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},
83
+ NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
@@ -1,42 +1,44 @@
1
- (function(a){if(!Modernizr.genericDOM){var g=document,n,q,p=/<([\w:]+)/,k={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||k[(p.exec(a)||["",""])[1].toLowerCase()])return a;if(!q){n=g.body;if(!n)return a;q=g.createElement("div");q.style.display="none"}var o=q.cloneNode(!1);n.appendChild(o);o.innerHTML=a;n.removeChild(o);return o.childNodes}}})(jQuery);
2
- jQuery.webshims.register("dom-extend",function(a,g,n,q,p){var k=g.modules,r=/\s*,\s*/,o={},w={},s={},v={},t={},u=a.fn.val,b=function(i,h,f,b,c){return c?u.call(a(i)):u.call(a(i),f)};a.fn.val=function(i){var h=this[0];arguments.length&&null==i&&(i="");if(!arguments.length)return!h||1!==h.nodeType?u.call(this):a.prop(h,"value",i,"val",!0);if(a.isArray(i))return u.apply(this,arguments);var f=a.isFunction(i);return this.each(function(b){h=this;1===h.nodeType&&(f?(b=i.call(h,b,a.prop(h,"value",p,"val",
3
- !0)),null==b&&(b=""),a.prop(h,"value",b,"val")):a.prop(h,"value",i,"val"))})};var c="_webshimsLib"+Math.round(1E3*Math.random()),d=function(i,h,f){i=i.jquery?i[0]:i;if(!i)return f||{};var b=a.data(i,c);f!==p&&(b||(b=a.data(i,c,{})),h&&(b[h]=f));return h?b&&b[h]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(i){a.fn[i.name]=function(){return this.map(function(){var a=d(this,
4
- "shadowData");return a&&a[i.prop]||this})}});["removeAttr","prop","attr"].forEach(function(i){o[i]=a[i];a[i]=function(h,f,c,x,d){var e="val"==x,l=!e?o[i]:b;if(!h||!w[f]||1!==h.nodeType||!e&&x&&"attr"==i&&a.attrFn[f])return l(h,f,c,x,d);var y=(h.nodeName||"").toLowerCase(),m=s[y],g="attr"==i&&(!1===c||null===c)?"removeAttr":i,j,k,r;m||(m=s["*"]);m&&(m=m[f]);m&&(j=m[g]);if(j){if("value"==f)k=j.isVal,j.isVal=e;if("removeAttr"===g)return j.value.call(h);if(c===p)return j.get?j.get.call(h):j.value;j.set&&
5
- ("attr"==i&&!0===c&&(c=f),r=j.set.call(h,c));if("value"==f)j.isVal=k}else r=l(h,f,c,x,d);if((c!==p||"removeAttr"===g)&&t[y]&&t[y][f]){var n;n="removeAttr"==g?!1:"prop"==g?!!c:!0;t[y][f].forEach(function(a){if(!a.only||(a.only="prop"==i)||"attr"==a.only&&"prop"!=i)a.call(h,c,n,e?"val":g,i)})}return r};v[i]=function(h,f,c){s[h]||(s[h]={});s[h][f]||(s[h][f]={});var d=s[h][f][i],e=function(a,h,d){return h&&h[a]?h[a]:d&&d[a]?d[a]:"prop"==i&&"value"==f?function(a){return c.isVal?b(this,f,a,!1,0===arguments.length):
6
- o[i](this,f,a)}:"prop"==i&&"value"==a&&c.value.apply?function(a){var h=o[i](this,f);h&&h.apply&&(h=h.apply(this,arguments));return h}:function(a){return o[i](this,f,a)}};s[h][f][i]=c;if(c.value===p){if(!c.set)c.set=c.writeable?e("set",c,d):g.cfg.useStrict&&"prop"==f?function(){throw f+" is readonly on "+h;}:a.noop;if(!c.get)c.get=e("get",c,d)}["value","get","set"].forEach(function(a){c[a]&&(c["_sup"+a]=e(a,d))})}});var e=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=g.getPrototypeOf(q.createElement("foobar")),
7
- h=Object.prototype.hasOwnProperty;return function(f,b,c){var m=q.createElement(f),j=g.getPrototypeOf(m);if(e&&j&&a!==j&&(!m[b]||!h.call(m,b))){var k=m[b];c._supvalue=function(){return k&&k.apply?k.apply(this,arguments):k};j[b]=c.value}else c._supvalue=function(){var a=d(this,"propValue");return a&&a[b]&&a[b].apply?a[b].apply(this,arguments):a&&a[b]},l.extendValue(f,b,c.value);c.value._supvalue=c._supvalue}}(),l=function(){var b={};g.addReady(function(h,f){var c={},d=function(b){c[b]||(c[b]=a(h.getElementsByTagName(b)),
8
- f[0]&&a.nodeName(f[0],b)&&(c[b]=c[b].add(f)))};a.each(b,function(a,b){d(a);!b||!b.forEach?g.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){c[a].each(b)})});c=null});var h,f=a([]),c=function(c,f){b[c]?b[c].push(f):b[c]=[f];a.isDOMReady&&(h||a(q.getElementsByTagName(c))).each(f)};return{createTmpCache:function(b){a.isDOMReady&&(h=h||a(q.getElementsByTagName(b)));return h||f},flushTmpCache:function(){h=null},content:function(b,h){c(b,function(){var b=a.attr(this,h);null!=b&&a.attr(this,
9
- h,b)})},createElement:function(a,b){c(a,b)},extendValue:function(b,h,f){c(b,function(){a(this).each(function(){d(this,"propValue",{})[h]=this[h];this[h]=f})})}}}(),j=function(a,b){if(a.defaultValue===p)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(g,{getID:function(){var b=(new Date).getTime();return function(h){var h=a(h),c=h.attr("id");c||(b++,c="ID-"+b,h.attr("id",c));return c}}(),extendUNDEFProp:function(b,
10
- h){a.each(h,function(a,h){a in b||(b[a]=h)})},createPropDefault:j,data:d,moveToFirstEvent:function(){var b=a._data?"_data":"data";return function(h,c,d){if((h=(a[b](h,"events")||{})[c])&&1<h.length)c=h.pop(),d||(d="bind"),"bind"==d&&h.delegateCount?h.splice(h.delegateCount,0,c):h.unshift(c)}}(),addShadowDom:function(b,h,f){f=f||{};b.jquery&&(b=b[0]);h.jquery&&(h=h[0]);if(!f.shadowFocusElement)f.shadowFocusElement=h;var e=a.data(b,c)||a.data(b,c,{}),m=a.data(h,c)||a.data(h,c,{});e.hasShadow=h;m.nativeElement=
11
- b;m.shadowData=e.shadowData={nativeElement:b,shadowElement:h,shadowFocusElement:f.shadowFocusElement};f.shadowChilds&&f.shadowChilds.each(function(){d(this,"shadowData",m.shadowData)});if(f.data)e.shadowData.data=f.data,m.shadowData.data=f.data;f=null},propTypes:{standard:function(a){j(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){j(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
12
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(b,c){"string"==typeof c&&(c=c.split(r));c.forEach(function(c){g.defineNodeNamesProperty(b,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(b,c,f){w[c]=!0;if(f.reflect)g.propTypes[f.propType||"standard"](f);["prop","attr","removeAttr"].forEach(function(d){var e=f[d];e&&(e="prop"===d?a.extend({writeable:!0},e):a.extend({},
13
- e,{writeable:!0}),v[d](b,c,e),"*"!=b&&g.cfg.extendNative&&"prop"==d&&e.value&&a.isFunction(e.value)&&m(b,c,e),f[d]=e)});f.initAttr&&l.content(b,c);return f},defineNodeNameProperties:function(a,b,c,d){for(var e in b)!d&&b[e].initAttr&&l.createTmpCache(a),c&&(b[e][c]?g.log("override: "+a+"["+e+"] for "+c):(b[e][c]={},["value","set","get"].forEach(function(a){a in b[e]&&(b[e][c][a]=b[e][a],delete b[e][a])}))),b[e]=g.defineNodeNameProperty(a,e,b[e]);d||l.flushTmpCache();return b},createElement:function(b,
14
- c,f){var d;a.isFunction(c)&&(c={after:c});l.createTmpCache(b);c.before&&l.createElement(b,c.before);f&&(d=g.defineNodeNameProperties(b,f,!1,!0));c.after&&l.createElement(b,c.after);l.flushTmpCache();return d},onNodeNamesPropertyModify:function(b,c,f,d){"string"==typeof b&&(b=b.split(r));a.isFunction(f)&&(f={set:f});b.forEach(function(a){t[a]||(t[a]={});"string"==typeof c&&(c=c.split(r));f.initAttr&&l.createTmpCache(a);c.forEach(function(b){t[a][b]||(t[a][b]=[],w[b]=!0);if(f.set){if(d)f.set.only=d;
15
- t[a][b].push(f.set)}f.initAttr&&l.content(a,b)});l.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,c,f){f||(f={});if(a.isFunction(f))f.set=f;g.defineNodeNamesProperty(b,c,{attr:{set:function(a){this.setAttribute(c,a);f.set&&f.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?p:c}},removeAttr:{value:function(){this.removeAttribute(c);f.set&&f.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:f.initAttr||!1})},contentAttr:function(a,b,c){if(a.nodeName){if(c===
16
- p)return c=(a.attributes[b]||{}).value,null==c?p:c;"boolean"==typeof c?c?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,c)}},activeLang:function(){var b=[],c={},f,d,e=/:\/\/|^\.*\//,m=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,e.test(d)||(d=g.cfg.basePath+d),g.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,j(b,!0)):a(function(){b.langObj[c]&&j(b,!0);b.loading=!1})}),!0):!1},l=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
17
- j=function(a,b){if(a.activeLang!=f&&a.activeLang!==d){var c=k[a.module].options;if(a.langObj[f]||d&&a.langObj[d])a.activeLang=f,a.callback(a.langObj[f]||a.langObj[d],f),l(a.module);else if(!b&&!m(a,f,c)&&!m(a,d,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],f),l(a.module)}};return function(e){if("string"==typeof e&&e!==f)f=e,d=f.split("-")[0],f==d&&(d=!1),a.each(b,function(a,b){j(b)});else if("object"==typeof e)if(e.register)c[e.register]||(c[e.register]=[]),c[e.register].push(e),
18
- e.callback();else{if(!e.activeLang)e.activeLang="";b.push(e);j(e)}return f}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){g[a]=function(a,c,d,e){"string"==typeof a&&(a=a.split(r));var m={};a.forEach(function(a){m[a]=g[b](a,c,d,e)});return m}});g.isReady("webshimLocalization",!0)});
19
- (function(a,g){var n=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<n)&&(!a.browser.msie||12>n&&7<n)){var q={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(a,g){a.getAttribute("role")||a.setAttribute("role",g)};a.webshims.addReady(function(k,r){a.each(q,function(g,n){for(var o=a(g,k).add(r.filter(g)),b=0,c=o.length;b<c;b++)p(o[b],n)});if(k===g){var o=g.getElementsByTagName("header")[0],n=g.getElementsByTagName("footer"),s=n.length;
20
- o&&!a(o).closest("section, article")[0]&&p(o,"banner");s&&(o=n[s-1],a(o).closest("section, article")[0]||p(o,"contentinfo"))}})}})(jQuery,document);
21
- jQuery.webshims.register("form-datalist",function(a,g,n,q,p){g.propTypes.element=function(k){g.createPropDefault(k,"attr");if(!k.prop)k.prop={get:function(){var g=k.attr.get.call(this);g&&(g=a("#"+g)[0])&&k.propNodeName&&!a.nodeName(g,k.propNodeName)&&(g=null);return g||null},writeable:!1}};(function(){var k=a.webshims.cfg.forms,r=Modernizr.input.list;if(!r||k.customDatalist){var o=0,w={submit:1,button:1,reset:1,hidden:1,range:1,date:1},s=a.browser.msie&&7>parseInt(a.browser.version,10),v={},t=function(a){if(!a)return[];
22
- if(v[a])return v[a];var c;try{c=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(d){}v[a]=c||[];return c||[]},u={_create:function(b){if(!w[a.prop(b.input,"type")]){var c=b.datalist,d=a.data(b.input,"datalistWidget");if(c&&d&&d.datalist!==c)d.datalist=c,d.id=b.id,d.shadowList.prop("className","datalist-polyfill "+(d.datalist.className||"")+" "+d.datalist.id+"-shadowdom"),k.positionDatalist?d.shadowList.insertAfter(b.input):d.shadowList.appendTo("body"),a(d.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",
23
- a.proxy(d,"_resetListCached")),d._resetListCached();else if(c){if(!(d&&d.datalist===c)){o++;var e=this;this.hideList=a.proxy(e,"hideList");this.timedHide=function(){clearTimeout(e.hideTimer);e.hideTimer=setTimeout(e.hideList,9)};this.datalist=c;this.id=b.id;this.hasViewableData=!0;this._autocomplete=a.attr(b.input,"autocomplete");a.data(b.input,"datalistWidget",this);this.shadowList=a('<div class="datalist-polyfill '+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom" />');k.positionDatalist?
24
- this.shadowList.insertAfter(b.input):this.shadowList.appendTo("body");this.index=-1;this.input=b.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",function(c){var d=a("li:not(.hidden-item)",e.shadowList),g="mousedown"==c.type||"click"==c.type;e.markItem(d.index(c.currentTarget),g,d);"click"==c.type&&(e.hideList(),a(b.input).trigger("datalistselect"));return"mousedown"!=c.type}).bind("focusout",this.timedHide);b.input.setAttribute("autocomplete",
25
- "off");a(b.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!e.triggeredByDatalist)e.changedValue=!1,e.showHideOptions()}).bind("keydown.datalistWidget",function(c){var d=c.keyCode,g;if(40==d&&!e.showList())return e.markItem(e.index+1,!0),!1;if(e.isListVisible){if(38==d)return e.markItem(e.index-1,!0),!1;if(!c.shiftKey&&(33==d||36==d))return e.markItem(0,!0),!1;if(!c.shiftKey&&(34==d||35==d))return c=a("li:not(.hidden-item)",e.shadowList),e.markItem(c.length-1,!0,c),
26
- !1;if(13==d||27==d)return 13==d&&(g=a("li.active-item:not(.hidden-item)",e.shadowList),e.changeValue(a("li.active-item:not(.hidden-item)",e.shadowList))),e.hideList(),g&&g[0]&&a(b.input).trigger("datalistselect"),!1}}).bind("focus.datalistWidget",function(){a(this).hasClass("list-focus")&&e.showList()}).bind("mousedown.datalistWidget",function(){a(this).is(":focus")&&e.showList()}).bind("blur.datalistWidget",this.timedHide);a(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",
27
- a.proxy(this,"_resetListCached"));this._resetListCached();b.input.form&&(b.input.name||b.input.id)&&a(b.input.form).bind("submit.datalistWidget"+b.input.id,function(){if(!a(b.input).hasClass("no-datalist-cache")){var c=a.prop(b.input,"value"),d=(b.input.name||b.input.id)+a.prop(b.input,"type");if(!e.storedOptions)e.storedOptions=t(d);if(c&&-1==e.storedOptions.indexOf(c)&&(e.storedOptions.push(c),c=e.storedOptions,d)){c=c||[];try{localStorage.setItem("storedDatalistOptions"+d,JSON.stringify(c))}catch(g){}}}});
28
- a(n).bind("unload.datalist"+this.id+" beforeunload.datalist"+this.id,function(){e.destroy()})}}else d&&d.destroy()}},destroy:function(){var b=a.attr(this.input,"autocomplete");a(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();a(q).unbind(".datalist"+this.id);a(n).unbind(".datalist"+this.id);this.input.form&&this.input.id&&a(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===p?this.input.removeAttribute("autocomplete"):
29
- a(this.input).attr("autocomplete",b)},_resetListCached:function(a){var c=this,d;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(n.QUnit||(d=a&&q.activeElement==c.input)?c.updateListOptions(d):g.ready("WINDOWLOAD",function(){c.updateTimer=setTimeout(function(){c.updateListOptions();c=null;o=1},200+100*o)}))},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:a.css(this.input,"fontSize"),
30
- fontFamily:a.css(this.input,"fontFamily")});this.searchStart=a(this.input).hasClass("search-start");var c=[],d=[],e=[],g,l,j,i;for(l=a.prop(this.datalist,"options"),j=0,i=l.length;j<i;j++){g=l[j];if(g.disabled)return;g={value:a(g).val()||"",text:a.trim(a.attr(g,"label")||g.textContent||g.innerText||a.text([g])||""),className:g.className||"",style:a.attr(g,"style")||""};g.text?g.text!=g.value&&(g.className+=" different-label-value"):g.text=g.value;d[j]=g.value;e[j]=g}if(!this.storedOptions)this.storedOptions=
31
- a(this.input).hasClass("no-datalist-cache")?[]:t((this.input.name||this.input.id)+a.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==d.indexOf(a)&&e.push({value:a,text:a,className:"stored-suggest",style:""})});for(j=0,i=e.length;j<i;j++)l=e[j],c[j]='<li class="'+l.className+'" style="'+l.style+'" tabindex="-1" role="listitem"><span class="option-label">'+l.text+'</span> <span class="option-value">'+l.value+"</span></li>";this.arrayOptions=e;this.shadowList.html('<div class="datalist-outer-box"><div class="datalist-box"><ul role="list">'+
32
- c.join("\n")+"</ul></div></div>");a.fn.bgIframe&&s&&this.shadowList.bgIframe();(b||this.isListVisible)&&this.showHideOptions()},showHideOptions:function(b){var c=a.prop(this.input,"value").toLowerCase();if(!(c===this.lastUpdatedValue||this.lastUnfoundValue&&0===c.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=c;var d=!1,e=this.searchStart,g=a("li",this.shadowList);c?this.arrayOptions.forEach(function(b,j){var i;if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.text.toLowerCase()+b.value.toLowerCase():
33
- b.text.toLowerCase();i=b.lowerText.indexOf(c);(i=e?!i:-1!==i)?(a(g[j]).removeClass("hidden-item"),d=!0):a(g[j]).addClass("hidden-item")}):g.length&&(g.removeClass("hidden-item"),d=!0);this.hasViewableData=d;!b&&d&&this.showList();if(!d)this.lastUnfoundValue=c,this.hideList()}},setPos:function(){this.shadowList.css({marginTop:0,marginLeft:0,marginRight:0,marginBottom:0});var b=k.positionDatalist?a(this.input).position():g.getRelOffset(this.shadowList,this.input);b.top+=a(this.input).outerHeight();
34
- b.width=a(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css({marginTop:"",marginLeft:"",marginRight:"",marginBottom:""}).css(b);return b},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var b=this,c;b.setPos();b.shadowList.addClass("datalist-visible").find("li.active-item").removeClass("active-item");
35
- a(q).unbind(".datalist"+b.id).bind("mousedown.datalist"+b.id+" focusin.datalist"+b.id,function(c){c.target===b.input||b.shadowList[0]===c.target||a.contains(b.shadowList[0],c.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},9)):b.timedHide()});a(n).unbind(".datalist"+b.id).bind("resize.datalist"+b.id+" orientationchange.datalist "+b.id+" emchange.datalist"+b.id,function(){clearTimeout(c);c=setTimeout(function(){b.setPos()},9)});clearTimeout(c);return!0},hideList:function(){if(!this.isListVisible)return!1;
36
- var b=this,c=function(){b.changedValue&&a(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active");b.index=-1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=!0;g.triggerInlineForm&&g.triggerInlineForm(b.input,"input");if(a(b.input).is(":focus"))a(b.input).one("blur",c);else c();b.triggeredByDatalist=!1}a(q).unbind(".datalist"+b.id);a(n).unbind(".datalist"+b.id).bind("resize.datalist"+b.id+" orientationchange.datalist "+b.id+" emchange.datalist"+
37
- b.id,function(){b.shadowList.css({top:0,left:0});a(n).unbind(".datalist"+b.id)});return!0},scrollIntoView:function(b){var c=a("ul",this.shadowList),d=a("div.datalist-box",this.shadowList),e=b.position();e.top-=(parseInt(c.css("paddingTop"),10)||0)+(parseInt(c.css("marginTop"),10)||0)+(parseInt(c.css("borderTopWidth"),10)||0);0>e.top?d.scrollTop(d.scrollTop()+e.top-2):(e.top+=b.outerHeight(),b=d.height(),e.top>b&&d.scrollTop(d.scrollTop()+(e.top-b)+2))},changeValue:function(b){if(b[0]){var b=a("span.option-value",
38
- b).text(),c=a.prop(this.input,"value");if(b!=c)a(this.input).prop("value",b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,c,d){d=d||a("li:not(.hidden-item)",this.shadowList);if(d.length)0>b?b=d.length-1:b>=d.length&&(b=0),d.removeClass("active-item"),this.shadowList.addClass("list-item-active"),d=d.filter(":eq("+b+")").addClass("active-item"),c&&(this.changeValue(d),this.scrollIntoView(d)),this.index=b}};(function(){r||g.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,
39
- get:function(){var b=a("select",this);b[0]?b=b[0].options:(b=a("option",this).get(),b.length&&g.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return b}}});var b={autocomplete:{attr:{get:function(){var b=a.data(this,"datalistWidget");return b?b._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(b){var d=a.data(this,"datalistWidget");d?(d._autocomplete=b,"off"==b&&d.hideList()):
40
- "autocomplete"in this?this.autocomplete=b:this.setAttribute("autocomplete",b)}}}};if(!r||!1 in a("<input />")[0])b.selectedOption={prop:{writeable:!1,get:function(){var b=a.prop(this,"list"),d=null,e;if(!b)return d;e=a.attr(this,"value");if(!e)return d;b=a.prop(b,"options");if(!b.length)return d;a.each(b,function(b,c){if(e==a.prop(c,"value"))return d=c,!1});return d}}};b.list=r?{attr:{get:function(){var b=g.contentAttr(this,"list");null!=b?this.removeAttribute("list"):b=a.data(this,"datalistListAttr");
41
- return null==b?p:b},set:function(b){a.data(this,"datalistListAttr",b);g.objectCreate(u,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}:{attr:{get:function(){var a=g.contentAttr(this,"list");return null==a?p:a},set:function(b){g.contentAttr(this,"list",b);g.objectCreate(u,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"};g.defineNodeNameProperties("input",b);if(a.event.customEvent)a.event.customEvent.updateDatalist=
42
- !0,a.event.customEvent.updateInput=!0,a.event.customEvent.datalistselect=!0;g.addReady(function(a,b){b.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
1
+ jQuery.webshims.register("dom-extend",function(a,h,o,l,p){var n=h.modules,r=/\s*,\s*/,q={},x={},s={},w={},t={},v=a.fn.val,b=function(g,d,k,b,c){return c?v.call(a(g)):v.call(a(g),k)};a.fn.val=function(g){var d=this[0];arguments.length&&null==g&&(g="");if(!arguments.length)return!d||1!==d.nodeType?v.call(this):a.prop(d,"value",g,"val",!0);if(a.isArray(g))return v.apply(this,arguments);var k=a.isFunction(g);return this.each(function(b){d=this;1===d.nodeType&&(k?(b=g.call(d,b,a.prop(d,"value",p,"val",
2
+ !0)),null==b&&(b=""),a.prop(d,"value",b,"val")):a.prop(d,"value",g,"val"))})};var c="_webshimsLib"+Math.round(1E3*Math.random()),f=function(g,d,k){g=g.jquery?g[0]:g;if(!g)return k||{};var b=a.data(g,c);k!==p&&(b||(b=a.data(g,c,{})),d&&(b[d]=k));return d?b&&b[d]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(g){a.fn[g.name]=function(){return this.map(function(){var a=f(this,
3
+ "shadowData");return a&&a[g.prop]||this})}});["removeAttr","prop","attr"].forEach(function(g){q[g]=a[g];a[g]=function(d,k,c,m,f){var e="val"==m,u=!e?q[g]:b;if(!d||!x[k]||1!==d.nodeType||!e&&m&&"attr"==g&&a.attrFn[k])return u(d,k,c,m,f);var z=(d.nodeName||"").toLowerCase(),i=s[z],h="attr"==g&&(!1===c||null===c)?"removeAttr":g,j,n,l;i||(i=s["*"]);i&&(i=i[k]);i&&(j=i[h]);if(j){if("value"==k)n=j.isVal,j.isVal=e;if("removeAttr"===h)return j.value.call(d);if(c===p)return j.get?j.get.call(d):j.value;j.set&&
4
+ ("attr"==g&&!0===c&&(c=k),l=j.set.call(d,c));if("value"==k)j.isVal=n}else l=u(d,k,c,m,f);if((c!==p||"removeAttr"===h)&&t[z]&&t[z][k]){var r;r="removeAttr"==h?!1:"prop"==h?!!c:!0;t[z][k].forEach(function(a){if(!a.only||(a.only="prop"==g)||"attr"==a.only&&"prop"!=g)a.call(d,c,r,e?"val":h,g)})}return l};w[g]=function(d,k,c){s[d]||(s[d]={});s[d][k]||(s[d][k]={});var m=s[d][k][g],f=function(a,d,m){return d&&d[a]?d[a]:m&&m[a]?m[a]:"prop"==g&&"value"==k?function(a){return c.isVal?b(this,k,a,!1,0===arguments.length):
5
+ q[g](this,k,a)}:"prop"==g&&"value"==a&&c.value.apply?function(a){var d=q[g](this,k);d&&d.apply&&(d=d.apply(this,arguments));return d}:function(a){return q[g](this,k,a)}};s[d][k][g]=c;if(c.value===p){if(!c.set)c.set=c.writeable?f("set",c,m):h.cfg.useStrict&&"prop"==k?function(){throw k+" is readonly on "+d;}:a.noop;if(!c.get)c.get=f("get",c,m)}["value","get","set"].forEach(function(a){c[a]&&(c["_sup"+a]=f(a,m))})}});var e=!a.browser.msie||8<parseInt(a.browser.version,10),u=function(){var a=h.getPrototypeOf(l.createElement("foobar")),
6
+ d=Object.prototype.hasOwnProperty;return function(b,c,m){var y=l.createElement(b),u=h.getPrototypeOf(y);if(e&&u&&a!==u&&(!y[c]||!d.call(y,c))){var j=y[c];m._supvalue=function(){return j&&j.apply?j.apply(this,arguments):j};u[c]=m.value}else m._supvalue=function(){var a=f(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},i.extendValue(b,c,m.value);m.value._supvalue=m._supvalue}}(),i=function(){var g={};h.addReady(function(d,c){var b={},k=function(g){b[g]||(b[g]=a(d.getElementsByTagName(g)),
7
+ c[0]&&a.nodeName(c[0],g)&&(b[g]=b[g].add(c)))};a.each(g,function(a,g){k(a);!g||!g.forEach?h.warn("Error: with "+a+"-property. methods: "+g):g.forEach(function(g){b[a].each(g)})});b=null});var d,b=a([]),c=function(b,c){g[b]?g[b].push(c):g[b]=[c];a.isDOMReady&&(d||a(l.getElementsByTagName(b))).each(c)};return{createTmpCache:function(g){a.isDOMReady&&(d=d||a(l.getElementsByTagName(g)));return d||b},flushTmpCache:function(){d=null},content:function(g,d){c(g,function(){var g=a.attr(this,d);null!=g&&a.attr(this,
8
+ d,g)})},createElement:function(a,g){c(a,g)},extendValue:function(g,d,b){c(g,function(){a(this).each(function(){f(this,"propValue",{})[d]=this[d];this[d]=b})})}}}(),j=function(a,d){if(a.defaultValue===p)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[d||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(h,{getID:function(){var g=(new Date).getTime();return function(d){var d=a(d),b=d.attr("id");b||(g++,b="ID-"+g,d.attr("id",b));
9
+ return b}}(),extendUNDEFProp:function(g,d){a.each(d,function(a,d){a in g||(g[a]=d)})},createPropDefault:j,data:f,moveToFirstEvent:function(){var g=a._data?"_data":"data";return function(d,b,c){if((d=(a[g](d,"events")||{})[b])&&1<d.length)b=d.pop(),c||(c="bind"),"bind"==c&&d.delegateCount?d.splice(d.delegateCount,0,b):d.unshift(b)}}(),addShadowDom:function(){var g,d,b,e,m={init:!1,start:function(){if(!this.init)this.init=!0,this.height=a(l).height(),this.width=a(l).width(),setInterval(function(){var g=
10
+ a(l).height(),d=a(l).width();if(g!=m.height||d!=m.width)m.height=g,m.width=d,e({type:"docresize"})},400)}};e=function(c){clearTimeout(g);g=setTimeout(function(){if("resize"==c.type){var g=a(o).width(),f=a(o).width();if(f==d&&g==b)return;d=f;b=g;m.height=a(l).height();m.width=a(l).width()}a.event.trigger("updateshadowdom")},40)};a(o).bind("resize",e);a.event.customEvent.updateshadowdom=!0;return function(g,d,b){b=b||{};g.jquery&&(g=g[0]);d.jquery&&(d=d[0]);var k=a.data(g,c)||a.data(g,c,{}),e=a.data(d,
11
+ c)||a.data(d,c,{}),i={};if(b.shadowFocusElement){if(b.shadowFocusElement){if(b.shadowFocusElement.jquery)b.shadowFocusElement=b.shadowFocusElement[0];i=a.data(b.shadowFocusElement,c)||a.data(b.shadowFocusElement,c,i)}}else b.shadowFocusElement=d;k.hasShadow=d;i.nativeElement=e.nativeElement=g;i.shadowData=e.shadowData=k.shadowData={nativeElement:g,shadowElement:d,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){f(this,"shadowData",e.shadowData)});if(b.data)i.shadowData.data=
12
+ e.shadowData.data=k.shadowData.data=b.data;b=null;m.start()}}(),propTypes:{standard:function(a){j(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){j(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},src:function(){var b=l.createElement("a");b.style.display="none";return function(d,c){j(d);if(!d.prop)d.prop=
13
+ {set:function(a){d.attr.set.call(this,a)},get:function(){var d=this.getAttribute(c),f;if(null==d)return"";b.setAttribute("href",d+"");if(!a.support.hrefNormalized){try{a(b).insertAfter(this),f=b.getAttribute("href",4)}catch(e){f=b.getAttribute("href",4)}a(b).detach()}return f||b.href}}}}(),enumarated:function(a){j(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var b=(a.attr.get.call(this)||"").toLowerCase();if(!b||-1==a.limitedTo.indexOf(b))b=a.defaultValue;return b}}}},
14
+ reflectProperties:function(b,d){"string"==typeof d&&(d=d.split(r));d.forEach(function(d){h.defineNodeNamesProperty(b,d,{prop:{set:function(b){a.attr(this,d,b)},get:function(){return a.attr(this,d)||""}}})})},defineNodeNameProperty:function(b,d,c){x[d]=!0;if(c.reflect)h.propTypes[c.propType||"standard"](c,d);["prop","attr","removeAttr"].forEach(function(f){var e=c[f];e&&(e="prop"===f?a.extend({writeable:!0},e):a.extend({},e,{writeable:!0}),w[f](b,d,e),"*"!=b&&h.cfg.extendNative&&"prop"==f&&e.value&&
15
+ a.isFunction(e.value)&&u(b,d,e),c[f]=e)});c.initAttr&&i.content(b,d);return c},defineNodeNameProperties:function(a,b,c,f){for(var e in b)!f&&b[e].initAttr&&i.createTmpCache(a),c&&(b[e][c]?h.log("override: "+a+"["+e+"] for "+c):(b[e][c]={},["value","set","get"].forEach(function(a){a in b[e]&&(b[e][c][a]=b[e][a],delete b[e][a])}))),b[e]=h.defineNodeNameProperty(a,e,b[e]);f||i.flushTmpCache();return b},createElement:function(b,c,e){var f;a.isFunction(c)&&(c={after:c});i.createTmpCache(b);c.before&&i.createElement(b,
16
+ c.before);e&&(f=h.defineNodeNameProperties(b,e,!1,!0));c.after&&i.createElement(b,c.after);i.flushTmpCache();return f},onNodeNamesPropertyModify:function(b,c,e,f){"string"==typeof b&&(b=b.split(r));a.isFunction(e)&&(e={set:e});b.forEach(function(a){t[a]||(t[a]={});"string"==typeof c&&(c=c.split(r));e.initAttr&&i.createTmpCache(a);c.forEach(function(b){t[a][b]||(t[a][b]=[],x[b]=!0);if(e.set){if(f)e.set.only=f;t[a][b].push(e.set)}e.initAttr&&i.content(a,b)});i.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,
17
+ c,e){e||(e={});if(a.isFunction(e))e.set=e;h.defineNodeNamesProperty(b,c,{attr:{set:function(a){this.setAttribute(c,a);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?p:c}},removeAttr:{value:function(){this.removeAttribute(c);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(a,b,c){if(a.nodeName){if(c===p)return a=a.attributes[b]||{},c=a.specified?a.value:null,null==c?p:c;"boolean"==typeof c?c?a.setAttribute(b,b):
18
+ a.removeAttribute(b):a.setAttribute(b,c)}},activeLang:function(){var b=[],c={},e,f,i=/:\/\/|^\.*\//,u=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,i.test(d)||(d=h.cfg.basePath+d),h.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,l(b,!0)):a(function(){b.langObj[c]&&l(b,!0);b.loading=!1})}),!0):!1},j=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},l=function(a,b){if(a.activeLang!=e&&a.activeLang!==f){var c=n[a.module].options;
19
+ if(a.langObj[e]||f&&a.langObj[f])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[f],e),j(a.module);else if(!b&&!u(a,e,c)&&!u(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),j(a.module)}};return function(i){if("string"==typeof i&&i!==e)e=i,f=e.split("-")[0],e==f&&(f=!1),a.each(b,function(a,b){l(b)});else if("object"==typeof i)if(i.register)c[i.register]||(c[i.register]=[]),c[i.register].push(i),i.callback();else{if(!i.activeLang)i.activeLang="";b.push(i);l(i)}return e}}()});
20
+ a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){h[a]=function(a,c,e,g){"string"==typeof a&&(a=a.split(r));var f={};a.forEach(function(a){f[a]=h[b](a,c,e,g)});return f}});h.isReady("webshimLocalization",!0)});
21
+ (function(a,h){var o=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<o)&&(!a.browser.msie||12>o&&7<o)){var l={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(a,h){a.getAttribute("role")||a.setAttribute("role",h)};a.webshims.addReady(function(n,r){a.each(l,function(h,l){for(var o=a(h,n).add(r.filter(h)),b=0,c=o.length;b<c;b++)p(o[b],l)});if(n===h){var q=h.getElementsByTagName("header")[0],o=h.getElementsByTagName("footer"),s=o.length;
22
+ q&&!a(q).closest("section, article")[0]&&p(q,"banner");s&&(q=o[s-1],a(q).closest("section, article")[0]||p(q,"contentinfo"))}})}})(jQuery,document);
23
+ jQuery.webshims.register("form-datalist",function(a,h,o,l,p){h.propTypes.element=function(n){h.createPropDefault(n,"attr");if(!n.prop)n.prop={get:function(){var h=n.attr.get.call(this);h&&(h=l.getElementById(h))&&n.propNodeName&&!a.nodeName(h,n.propNodeName)&&(h=null);return h||null},writeable:!1}};(function(){var n=a.webshims.cfg.forms,r=Modernizr.input.list;if(!r||n.customDatalist){var q=0,x={submit:1,button:1,reset:1,hidden:1,range:1,date:1},s=a.browser.msie&&7>parseInt(a.browser.version,10),w=
24
+ {},t=function(a){if(!a)return[];if(w[a])return w[a];var c;try{c=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(f){}w[a]=c||[];return c||[]},v={_create:function(b){if(!x[a.prop(b.input,"type")]){var c=b.datalist,f=a.data(b.input,"datalistWidget");if(c&&f&&f.datalist!==c)f.datalist=c,f.id=b.id,f.shadowList.prop("className","datalist-polyfill "+(f.datalist.className||"")+" "+f.datalist.id+"-shadowdom"),n.positionDatalist?f.shadowList.insertAfter(b.input):f.shadowList.appendTo("body"),
25
+ a(f.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(f,"_resetListCached")),f._resetListCached();else if(c){if(!(f&&f.datalist===c)){q++;var e=this;this.hideList=a.proxy(e,"hideList");this.timedHide=function(){clearTimeout(e.hideTimer);e.hideTimer=setTimeout(e.hideList,9)};this.datalist=c;this.id=b.id;this.hasViewableData=!0;this._autocomplete=a.attr(b.input,"autocomplete");a.data(b.input,"datalistWidget",this);this.shadowList=a('<div class="datalist-polyfill '+
26
+ (this.datalist.className||"")+" "+this.datalist.id+'-shadowdom" />');n.positionDatalist||a(b.input).hasClass("position-datalist")?this.shadowList.insertAfter(b.input):this.shadowList.appendTo("body");this.index=-1;this.input=b.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",function(c){var f=a("li:not(.hidden-item)",e.shadowList),h="mousedown"==c.type||"click"==c.type;e.markItem(f.index(c.currentTarget),h,f);"click"==
27
+ c.type&&(e.hideList(),n.customDatalist&&a(b.input).trigger("datalistselect"));return"mousedown"!=c.type}).bind("focusout",this.timedHide);b.input.setAttribute("autocomplete","off");a(b.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!e.triggeredByDatalist)e.changedValue=!1,e.showHideOptions()}).bind("keydown.datalistWidget",function(c){var f=c.keyCode,h;if(40==f&&!e.showList())return e.markItem(e.index+1,!0),!1;if(e.isListVisible){if(38==f)return e.markItem(e.index-
28
+ 1,!0),!1;if(!c.shiftKey&&(33==f||36==f))return e.markItem(0,!0),!1;if(!c.shiftKey&&(34==f||35==f))return c=a("li:not(.hidden-item)",e.shadowList),e.markItem(c.length-1,!0,c),!1;if(13==f||27==f)return 13==f&&(h=a("li.active-item:not(.hidden-item)",e.shadowList),e.changeValue(a("li.active-item:not(.hidden-item)",e.shadowList))),e.hideList(),n.customDatalist&&h&&h[0]&&a(b.input).trigger("datalistselect"),!1}}).bind("focus.datalistWidget",function(){a(this).hasClass("list-focus")&&e.showList()}).bind("mousedown.datalistWidget",
29
+ function(){a(this).is(":focus")&&e.showList()}).bind("blur.datalistWidget",this.timedHide);a(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(this,"_resetListCached"));this._resetListCached();b.input.form&&(b.input.name||b.input.id)&&a(b.input.form).bind("submit.datalistWidget"+b.input.id,function(){if(!a(b.input).hasClass("no-datalist-cache")&&"off"!=e._autocomplete){var c=a.prop(b.input,"value"),f=(b.input.name||b.input.id)+a.prop(b.input,"type");
30
+ if(!e.storedOptions)e.storedOptions=t(f);if(c&&-1==e.storedOptions.indexOf(c)&&(e.storedOptions.push(c),c=e.storedOptions,f)){c=c||[];try{localStorage.setItem("storedDatalistOptions"+f,JSON.stringify(c))}catch(h){}}}});a(o).bind("unload.datalist"+this.id+" beforeunload.datalist"+this.id,function(){e.destroy()})}}else f&&f.destroy()}},destroy:function(){var b=a.attr(this.input,"autocomplete");a(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();a(l).unbind(".datalist"+
31
+ this.id);a(o).unbind(".datalist"+this.id);this.input.form&&this.input.id&&a(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===p?this.input.removeAttribute("autocomplete"):a(this.input).attr("autocomplete",b)},_resetListCached:function(a){var c=this,f;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(o.QUnit||(f=a&&l.activeElement==c.input)?c.updateListOptions(f):h.ready("WINDOWLOAD",function(){c.updateTimer=
32
+ setTimeout(function(){c.updateListOptions();c=null;q=1},200+100*q)}))},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:a.css(this.input,"fontSize"),fontFamily:a.css(this.input,"fontFamily")});this.searchStart=n.customDatalist&&a(this.input).hasClass("search-start");var c=[],f=[],e=[],h,i,j,g;for(i=a.prop(this.datalist,"options"),j=0,g=i.length;j<g;j++){h=i[j];if(h.disabled)return;h={value:a(h).val()||"",text:a.trim(a.attr(h,
33
+ "label")||h.textContent||h.innerText||a.text([h])||""),className:h.className||"",style:a.attr(h,"style")||""};h.text?h.text!=h.value&&(h.className+=" different-label-value"):h.text=h.value;f[j]=h.value;e[j]=h}if(!this.storedOptions)this.storedOptions=a(this.input).hasClass("no-datalist-cache")||"off"==this._autocomplete?[]:t((this.input.name||this.input.id)+a.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==f.indexOf(a)&&e.push({value:a,text:a,className:"stored-suggest",style:""})});
34
+ for(j=0,g=e.length;j<g;j++)i=e[j],c[j]='<li class="'+i.className+'" style="'+i.style+'" tabindex="-1" role="listitem"><span class="option-label">'+i.text+'</span> <span class="option-value">'+i.value+"</span></li>";this.arrayOptions=e;this.shadowList.html('<div class="datalist-outer-box"><div class="datalist-box"><ul role="list">'+c.join("\n")+"</ul></div></div>");a.fn.bgIframe&&s&&this.shadowList.bgIframe();(b||this.isListVisible)&&this.showHideOptions()},showHideOptions:function(b){var c=a.prop(this.input,
35
+ "value").toLowerCase();if(!(c===this.lastUpdatedValue||this.lastUnfoundValue&&0===c.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=c;var f=!1,e=this.searchStart,h=a("li",this.shadowList);c?this.arrayOptions.forEach(function(b,j){var g;if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.value.toLowerCase()+b.text.toLowerCase():b.text.toLowerCase();g=b.lowerText.indexOf(c);(g=e?!g:-1!==g)?(a(h[j]).removeClass("hidden-item"),f=!0):a(h[j]).addClass("hidden-item")}):h.length&&(h.removeClass("hidden-item"),
36
+ f=!0);this.hasViewableData=f;!b&&f&&this.showList();if(!f)this.lastUnfoundValue=c,this.hideList()}},setPos:function(){this.shadowList.css({marginTop:0,marginLeft:0,marginRight:0,marginBottom:0});var b=n.positionDatalist?a(this.input).position():h.getRelOffset(this.shadowList,this.input);b.top+=a(this.input).outerHeight();b.width=a(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css({marginTop:"",
37
+ marginLeft:"",marginRight:"",marginBottom:""}).css(b);return b},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var b=this;b.setPos();b.shadowList.addClass("datalist-visible").find("li.active-item").removeClass("active-item");a(o).unbind(".datalist"+b.id);a(l).unbind(".datalist"+b.id).bind("mousedown.datalist"+b.id+" focusin.datalist"+b.id,function(c){c.target===b.input||
38
+ b.shadowList[0]===c.target||a.contains(b.shadowList[0],c.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},9)):b.timedHide()}).bind("updateshadowdom.datalist"+b.id,function(){b.setPos()});return!0},hideList:function(){if(!this.isListVisible)return!1;var b=this,c=function(){b.changedValue&&a(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active");b.index=-1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=
39
+ !0;h.triggerInlineForm&&h.triggerInlineForm(b.input,"input");if(a(b.input).is(":focus"))a(b.input).one("blur",c);else c();b.triggeredByDatalist=!1}a(l).unbind(".datalist"+b.id);a(o).unbind(".datalist"+b.id).one("resize.datalist"+b.id,function(){b.shadowList.css({top:0,left:0})});return!0},scrollIntoView:function(b){var c=a("ul",this.shadowList),f=a("div.datalist-box",this.shadowList),e=b.position();e.top-=(parseInt(c.css("paddingTop"),10)||0)+(parseInt(c.css("marginTop"),10)||0)+(parseInt(c.css("borderTopWidth"),
40
+ 10)||0);0>e.top?f.scrollTop(f.scrollTop()+e.top-2):(e.top+=b.outerHeight(),b=f.height(),e.top>b&&f.scrollTop(f.scrollTop()+(e.top-b)+2))},changeValue:function(b){if(b[0]){var b=a("span.option-value",b).text(),c=a.prop(this.input,"value");if(b!=c)a(this.input).prop("value",b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,c,f){f=f||a("li:not(.hidden-item)",this.shadowList);if(f.length)0>b?b=f.length-1:b>=f.length&&(b=0),f.removeClass("active-item"),this.shadowList.addClass("list-item-active"),
41
+ f=f.filter(":eq("+b+")").addClass("active-item"),c&&(this.changeValue(f),this.scrollIntoView(f)),this.index=b}};(function(){r||h.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=a("select",this);b[0]?b=b[0].options:(b=a("option",this).get(),b.length&&h.warn("you should wrap your option-elements for a datalist in a select element to support IE and other old browsers."));return b}}});var b={autocomplete:{attr:{get:function(){var b=a.data(this,"datalistWidget");return b?
42
+ b._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(b){var f=a.data(this,"datalistWidget");f?(f._autocomplete=b,"off"==b&&f.hideList()):"autocomplete"in this?this.autocomplete=b:this.setAttribute("autocomplete",b)}}}};r?((a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length||h.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var f=a("select",this);
43
+ if(f[0]&&f[0].options&&f[0].options.length)b=f[0].options}return b}}}),b.list={attr:{get:function(){var b=h.contentAttr(this,"list");null!=b?this.removeAttribute("list"):b=a.data(this,"datalistListAttr");return null==b?p:b},set:function(b){a.data(this,"datalistListAttr",b);h.objectCreate(v,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}):b.list={attr:{get:function(){var a=h.contentAttr(this,"list");return null==a?p:a},set:function(b){h.contentAttr(this,
44
+ "list",b);h.objectCreate(v,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"};h.defineNodeNameProperties("input",b);if(a.event.customEvent)a.event.customEvent.updateDatalist=!0,a.event.customEvent.updateInput=!0,a.event.customEvent.datalistselect=!0;h.addReady(function(a,b){b.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
@@ -1,38 +1,43 @@
1
- (function(c){if(!Modernizr.genericDOM){var g=document,j,i,l=/<([\w:]+)/,o={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};c.webshims.fixHTML5=function(c){if("string"!=typeof c||o[(l.exec(c)||["",""])[1].toLowerCase()])return c;if(!i){j=g.body;if(!j)return c;i=g.createElement("div");i.style.display="none"}var m=i.cloneNode(!1);j.appendChild(m);m.innerHTML=c;j.removeChild(m);return m.childNodes}}})(jQuery);
2
- jQuery.webshims.register("dom-extend",function(c,g,j,i,l){var o=g.modules,h=/\s*,\s*/,m={},u={},n={},f={},s={},t=c.fn.val,w=function(a,b,d,e,k){return k?t.call(c(a)):t.call(c(a),d)};c.fn.val=function(a){var b=this[0];arguments.length&&null==a&&(a="");if(!arguments.length)return!b||1!==b.nodeType?t.call(this):c.prop(b,"value",a,"val",!0);if(c.isArray(a))return t.apply(this,arguments);var d=c.isFunction(a);return this.each(function(e){b=this;1===b.nodeType&&(d?(e=a.call(b,e,c.prop(b,"value",l,"val",
3
- !0)),null==e&&(e=""),c.prop(b,"value",e,"val")):c.prop(b,"value",a,"val"))})};var p="_webshimsLib"+Math.round(1E3*Math.random()),r=function(a,b,d){a=a.jquery?a[0]:a;if(!a)return d||{};var e=c.data(a,p);d!==l&&(e||(e=c.data(a,p,{})),b&&(e[b]=d));return b?e&&e[b]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(a){c.fn[a.name]=function(){return this.map(function(){var b=r(this,
4
- "shadowData");return b&&b[a.prop]||this})}});["removeAttr","prop","attr"].forEach(function(a){m[a]=c[a];c[a]=function(b,d,e,k,A){var f="val"==k,o=!f?m[a]:w;if(!b||!u[d]||1!==b.nodeType||!f&&k&&"attr"==a&&c.attrFn[d])return o(b,d,e,k,A);var y=(b.nodeName||"").toLowerCase(),g=n[y],h="attr"==a&&(!1===e||null===e)?"removeAttr":a,i,t,p;g||(g=n["*"]);g&&(g=g[d]);g&&(i=g[h]);if(i){if("value"==d)t=i.isVal,i.isVal=f;if("removeAttr"===h)return i.value.call(b);if(e===l)return i.get?i.get.call(b):i.value;i.set&&
5
- ("attr"==a&&!0===e&&(e=d),p=i.set.call(b,e));if("value"==d)i.isVal=t}else p=o(b,d,e,k,A);if((e!==l||"removeAttr"===h)&&s[y]&&s[y][d]){var j;j="removeAttr"==h?!1:"prop"==h?!!e:!0;s[y][d].forEach(function(d){if(!d.only||(d.only="prop"==a)||"attr"==d.only&&"prop"!=a)d.call(b,e,j,f?"val":h,a)})}return p};f[a]=function(b,d,e){n[b]||(n[b]={});n[b][d]||(n[b][d]={});var k=n[b][d][a],f=function(b,c,k){return c&&c[b]?c[b]:k&&k[b]?k[b]:"prop"==a&&"value"==d?function(b){return e.isVal?w(this,d,b,!1,0===arguments.length):
6
- m[a](this,d,b)}:"prop"==a&&"value"==b&&e.value.apply?function(b){var e=m[a](this,d);e&&e.apply&&(e=e.apply(this,arguments));return e}:function(b){return m[a](this,d,b)}};n[b][d][a]=e;if(e.value===l){if(!e.set)e.set=e.writeable?f("set",e,k):g.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+b;}:c.noop;if(!e.get)e.get=f("get",e,k)}["value","get","set"].forEach(function(b){e[b]&&(e["_sup"+b]=f(b,k))})}});var z=!c.browser.msie||8<parseInt(c.browser.version,10),x=function(){var a=g.getPrototypeOf(i.createElement("foobar")),
7
- b=Object.prototype.hasOwnProperty;return function(d,e,c){var f=i.createElement(d),o=g.getPrototypeOf(f);if(z&&o&&a!==o&&(!f[e]||!b.call(f,e))){var h=f[e];c._supvalue=function(){return h&&h.apply?h.apply(this,arguments):h};o[e]=c.value}else c._supvalue=function(){var b=r(this,"propValue");return b&&b[e]&&b[e].apply?b[e].apply(this,arguments):b&&b[e]},q.extendValue(d,e,c.value);c.value._supvalue=c._supvalue}}(),q=function(){var a={};g.addReady(function(b,d){var e={},f=function(a){e[a]||(e[a]=c(b.getElementsByTagName(a)),
8
- d[0]&&c.nodeName(d[0],a)&&(e[a]=e[a].add(d)))};c.each(a,function(b,a){f(b);!a||!a.forEach?g.warn("Error: with "+b+"-property. methods: "+a):a.forEach(function(a){e[b].each(a)})});e=null});var b,d=c([]),e=function(d,e){a[d]?a[d].push(e):a[d]=[e];c.isDOMReady&&(b||c(i.getElementsByTagName(d))).each(e)};return{createTmpCache:function(a){c.isDOMReady&&(b=b||c(i.getElementsByTagName(a)));return b||d},flushTmpCache:function(){b=null},content:function(b,a){e(b,function(){var b=c.attr(this,a);null!=b&&c.attr(this,
9
- a,b)})},createElement:function(b,a){e(b,a)},extendValue:function(b,a,d){e(b,function(){c(this).each(function(){r(this,"propValue",{})[a]=this[a];this[a]=d})})}}}(),v=function(a,b){if(a.defaultValue===l)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};c.extend(g,{getID:function(){var a=(new Date).getTime();return function(b){var b=c(b),d=b.attr("id");d||(a++,d="ID-"+a,b.attr("id",d));return d}}(),extendUNDEFProp:function(a,
10
- b){c.each(b,function(b,e){b in a||(a[b]=e)})},createPropDefault:v,data:r,moveToFirstEvent:function(){var a=c._data?"_data":"data";return function(b,d,e){if((b=(c[a](b,"events")||{})[d])&&1<b.length)d=b.pop(),e||(e="bind"),"bind"==e&&b.delegateCount?b.splice(b.delegateCount,0,d):b.unshift(d)}}(),addShadowDom:function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);if(!d.shadowFocusElement)d.shadowFocusElement=b;var e=c.data(a,p)||c.data(a,p,{}),k=c.data(b,p)||c.data(b,p,{});e.hasShadow=b;k.nativeElement=
11
- a;k.shadowData=e.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){r(this,"shadowData",k.shadowData)});if(d.data)e.shadowData.data=d.data,k.shadowData.data=d.data;d=null},propTypes:{standard:function(a){v(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){v(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
12
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(a,b){"string"==typeof b&&(b=b.split(h));b.forEach(function(b){g.defineNodeNamesProperty(a,b,{prop:{set:function(a){c.attr(this,b,a)},get:function(){return c.attr(this,b)||""}}})})},defineNodeNameProperty:function(a,b,d){u[b]=!0;if(d.reflect)g.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(e){var k=d[e];k&&(k="prop"===e?c.extend({writeable:!0},k):c.extend({},
13
- k,{writeable:!0}),f[e](a,b,k),"*"!=a&&g.cfg.extendNative&&"prop"==e&&k.value&&c.isFunction(k.value)&&x(a,b,k),d[e]=k)});d.initAttr&&q.content(a,b);return d},defineNodeNameProperties:function(a,b,d,e){for(var c in b)!e&&b[c].initAttr&&q.createTmpCache(a),d&&(b[c][d]?g.log("override: "+a+"["+c+"] for "+d):(b[c][d]={},["value","set","get"].forEach(function(a){a in b[c]&&(b[c][d][a]=b[c][a],delete b[c][a])}))),b[c]=g.defineNodeNameProperty(a,c,b[c]);e||q.flushTmpCache();return b},createElement:function(a,
14
- b,d){var e;c.isFunction(b)&&(b={after:b});q.createTmpCache(a);b.before&&q.createElement(a,b.before);d&&(e=g.defineNodeNameProperties(a,d,!1,!0));b.after&&q.createElement(a,b.after);q.flushTmpCache();return e},onNodeNamesPropertyModify:function(a,b,d,e){"string"==typeof a&&(a=a.split(h));c.isFunction(d)&&(d={set:d});a.forEach(function(a){s[a]||(s[a]={});"string"==typeof b&&(b=b.split(h));d.initAttr&&q.createTmpCache(a);b.forEach(function(b){s[a][b]||(s[a][b]=[],u[b]=!0);if(d.set){if(e)d.set.only=e;
15
- s[a][b].push(d.set)}d.initAttr&&q.content(a,b)});q.flushTmpCache()})},defineNodeNamesBooleanProperty:function(a,b,d){d||(d={});if(c.isFunction(d))d.set=d;g.defineNodeNamesProperty(a,b,{attr:{set:function(a){this.setAttribute(b,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(b)?l:b}},removeAttr:{value:function(){this.removeAttribute(b);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,b,d){if(a.nodeName){if(d===
16
- l)return d=(a.attributes[b]||{}).value,null==d?l:d;"boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var a=[],b={},d,e,f=/:\/\/|^\.*\//,h=function(b,a,d){return a&&d&&-1!==c.inArray(a,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,f.test(d)||(d=g.cfg.basePath+d),g.loader.loadScript(d+a+".js",function(){b.langObj[a]?(b.loading=!1,i(b,!0)):c(function(){b.langObj[a]&&i(b,!0);b.loading=!1})}),!0):!1},n=function(a){b[a]&&b[a].forEach(function(a){a.callback()})},
17
- i=function(a,b){if(a.activeLang!=d&&a.activeLang!==e){var c=o[a.module].options;if(a.langObj[d]||e&&a.langObj[e])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[e],d),n(a.module);else if(!b&&!h(a,d,c)&&!h(a,e,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),n(a.module)}};return function(f){if("string"==typeof f&&f!==d)d=f,e=d.split("-")[0],d==e&&(e=!1),c.each(a,function(a,b){i(b)});else if("object"==typeof f)if(f.register)b[f.register]||(b[f.register]=[]),b[f.register].push(f),
18
- f.callback();else{if(!f.activeLang)f.activeLang="";a.push(f);i(f)}return d}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){g[a]=function(a,e,c,f){"string"==typeof a&&(a=a.split(h));var o={};a.forEach(function(a){o[a]=g[b](a,e,c,f)});return o}});g.isReady("webshimLocalization",!0)});
19
- (function(c,g){var j=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<j)&&(!c.browser.msie||12>j&&7<j)){var i={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},l=function(c,h){c.getAttribute("role")||c.setAttribute("role",h)};c.webshims.addReady(function(o,h){c.each(i,function(f,g){for(var n=c(f,o).add(h.filter(f)),i=0,m=n.length;i<m;i++)l(n[i],g)});if(o===g){var m=g.getElementsByTagName("header")[0],j=g.getElementsByTagName("footer"),n=j.length;
20
- m&&!c(m).closest("section, article")[0]&&l(m,"banner");n&&(m=j[n-1],c(m).closest("section, article")[0]||l(m,"contentinfo"))}})}})(jQuery,document);
21
- (function(c,g,j){var i=g.audio&&g.video,l=!1;if(i)c=document.createElement("video"),g.videoBuffered="buffered"in c,l="loop"in c,j.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),g.videoBuffered||(j.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:g.videoBuffered,d:["dom-support"]}),j.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(c,h,g,j,n){var f=h.mediaelement,s=h.cfg.mediaelement,
22
- t=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=f.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},w=swfobject.hasFlashPlayerVersion("9.0.115"),p=function(){h.ready("mediaelement-swf",function(){if(!f.createSWF)h.modules["mediaelement-swf"].test=
23
- c.noop,h.reTest(["mediaelement-swf"],i)})};f.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf",
24
- "asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};f.mimeTypes.source=c.extend({},f.mimeTypes.audio,f.mimeTypes.video);f.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(f.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};f.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),
25
- c.isArray(b)||(b=[b]),b.forEach(function(b){var d=j.createElement("source");"string"==typeof b&&(b={src:b});d.setAttribute("src",b.src);b.type&&d.setAttribute("type",b.type);b.media&&d.setAttribute("media",b.media);a.append(d)});else{var b=[],d=a[0].nodeName.toLowerCase(),e=t(a,d);e.src?b.push(e):c("source",a).each(function(){e=t(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==n&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));f.srces(this,
26
- a);c(this).mediaLoad()})};f.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");f.canSwfPlaySrces=function(a,b){var d="";w&&(a=c(a),b=b||f.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&-1!=f.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var r={};f.canNativePlaySrces=function(a,
27
- b){var d="";if(i){var a=c(a),e=(a[0].nodeName||"").toLowerCase();if(!r[e])return d;b=b||f.srces(a);c.each(b,function(b,c){if(c.type&&r[e].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};f.setError=function(a,b){b||(b="can't play sources");c(a).pause().data("mediaerror",b);h.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var z=function(){var a;return function(b,d,c){h.ready("mediaelement-swf",function(){f.createSWF?f.createSWF(b,
28
- d,c):a||(a=!0,p(),z(b,d,c))})}}(),x=function(a,b,d,c,g){d||!1!==d&&b&&"flash"==b.isActive?(d=f.canSwfPlaySrces(a,c))?z(a,d,b):g?f.setError(a,!1):x(a,b,!1,c,!0):(d=f.canNativePlaySrces(a,c))?b&&"flash"==b.isActive&&f.setActive(a,"html5",b):g?(f.setError(a,!1),b&&"flash"==b.isActive&&f.setActive(a,"html5",b)):x(a,b,!0,c,!0)},q=/^(?:embed|object|datalist)$/i,v=function(a,b){var d=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{}),e=f.srces(a),g=a.parentNode;clearTimeout(d.loadTimer);c.data(a,
29
- "mediaerror",!1);if(e.length&&g&&!(1!=g.nodeType||q.test(g.nodeName||"")))b=b||h.data(a,"mediaelement"),x(a,b,s.preferFlash||n,e)};c(j).bind("ended",function(a){var b=h.data(a.target,"mediaelement");(!l||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});l||h.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=h.defineNodeNameProperty(a,
30
- "load",{prop:{value:function(){var a=h.data(this,"mediaelement");v(this,a);i&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});r[a]=h.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var e="";i&&r[a].prop._supvalue&&(e=r[a].prop._supvalue.call(this,b),"no"==e&&(e=""));!e&&w&&(b=c.trim((b||"").split(";")[0]),-1!=f.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=
31
- this,b=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){v(a);a=null},9)}});g=function(){h.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<h.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():v(this);if(i){var a,b,f=this,g=function(){var a=c.prop(f,
32
- "buffered");if(a){for(var b="",d=0,e=a.length;d<e;d++)b+=a.end(d);return b}},n=function(){var a=g();a!=b&&(b=a,c(f).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=g());clearTimeout(a);a=setTimeout(n,999)}).bind("emptied stalled mediaerror abort suspend",function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};i?(h.isReady("mediaelement-core",!0),g(),w&&h.ready("WINDOWLOAD mediaelement",p)):h.ready("mediaelement-swf",g)})})(jQuery,Modernizr,
33
- jQuery.webshims);
34
- jQuery.webshims.register("details",function(c,g,j,i,l,o){var h=function(g){var f=c(g).parent("details");if(f[0]&&f.children(":first").get(0)===g)return f},m=function(g,f){var g=c(g),f=c(f),h=c.data(f[0],"summaryElement");c.data(g[0],"detailsElement",f);if(!h||g[0]!==h[0])h&&(h.hasClass("fallback-summary")?h.remove():h.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),c.data(f[0],
35
- "summaryElement",g),f.prop("open",f.prop("open"))};g.createElement("summary",function(){var i=h(this);if(i&&!c.data(this,"detailsElement")){var f,j,l=c.attr(this,"tabIndex")||"0";m(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill",
36
- function(g){var i=h(this);if(i){if(!j&&g.originalEvent)return j=!0,g.stopImmediatePropagation(),g.preventDefault(),c(this).trigger("click"),j=!1;clearTimeout(f);f=setTimeout(function(){g.isDefaultPrevented()||i.prop("open",!i.prop("open"))},0)}}).bind("keydown.summaryPolyfill",function(f){if((13==f.keyCode||32==f.keyCode)&&!f.isDefaultPrevented())j=!0,f.preventDefault(),c(this).trigger("click"),j=!1}).attr({tabindex:l,role:"button"}).prepend('<span class="details-open-indicator" />');g.moveToFirstEvent(this,
37
- "click")}});var u;g.defineNodeNamesBooleanProperty("details","open",function(g){var f=c(c.data(this,"summaryElement"));if(f){var h=g?"removeClass":"addClass",i=c(this);if(!u&&o.animate){i.stop().css({width:"",height:""});var j={width:i.width(),height:i.height()}}f.attr("aria-expanded",""+g);i[h]("closed-details-summary").children().not(f[0])[h]("closed-details-child");!u&&o.animate&&(g={width:i.width(),height:i.height()},i.css(j).animate(g,{complete:function(){c(this).css({width:"",height:""})}}))}});
38
- g.createElement("details",function(){u=!0;var g=c.data(this,"summaryElement");g||(g=c("> summary:first-child",this),g[0]?m(g,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+o.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));u=!1})});
1
+ jQuery.webshims.register("dom-extend",function(c,h,k,m,p){var w=h.modules,q=/\s*,\s*/,r={},n={},i={},u={},f={},g=c.fn.val,E=function(b,a,d,e,o){return o?g.call(c(b)):g.call(c(b),d)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?g.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return g.apply(this,arguments);var d=c.isFunction(b);return this.each(function(e){a=this;1===a.nodeType&&(d?(e=b.call(a,e,c.prop(a,"value",p,"val",
2
+ !0)),null==e&&(e=""),c.prop(a,"value",e,"val")):c.prop(a,"value",b,"val"))})};var x="_webshimsLib"+Math.round(1E3*Math.random()),C=function(b,a,d){b=b.jquery?b[0]:b;if(!b)return d||{};var e=c.data(b,x);d!==p&&(e||(e=c.data(b,x,{})),a&&(e[a]=d));return a?e&&e[a]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=C(this,
3
+ "shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){r[b]=c[b];c[b]=function(a,d,e,o,A){var j="val"==o,s=!j?r[b]:E;if(!a||!n[d]||1!==a.nodeType||!j&&o&&"attr"==b&&c.attrFn[d])return s(a,d,e,o,A);var v=(a.nodeName||"").toLowerCase(),z=i[v],B="attr"==b&&(!1===e||null===e)?"removeAttr":b,g,h,l;z||(z=i["*"]);z&&(z=z[d]);z&&(g=z[B]);if(g){if("value"==d)h=g.isVal,g.isVal=j;if("removeAttr"===B)return g.value.call(a);if(e===p)return g.get?g.get.call(a):g.value;g.set&&
4
+ ("attr"==b&&!0===e&&(e=d),l=g.set.call(a,e));if("value"==d)g.isVal=h}else l=s(a,d,e,o,A);if((e!==p||"removeAttr"===B)&&f[v]&&f[v][d]){var u;u="removeAttr"==B?!1:"prop"==B?!!e:!0;f[v][d].forEach(function(d){if(!d.only||(d.only="prop"==b)||"attr"==d.only&&"prop"!=b)d.call(a,e,u,j?"val":B,b)})}return l};u[b]=function(a,d,e){i[a]||(i[a]={});i[a][d]||(i[a][d]={});var o=i[a][d][b],f=function(a,c,v){return c&&c[a]?c[a]:v&&v[a]?v[a]:"prop"==b&&"value"==d?function(a){return e.isVal?E(this,d,a,!1,0===arguments.length):
5
+ r[b](this,d,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var j=r[b](this,d);j&&j.apply&&(j=j.apply(this,arguments));return j}:function(a){return r[b](this,d,a)}};i[a][d][b]=e;if(e.value===p){if(!e.set)e.set=e.writeable?f("set",e,o):h.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+a;}:c.noop;if(!e.get)e.get=f("get",e,o)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=f(a,o))})}});var l=!c.browser.msie||8<parseInt(c.browser.version,10),D=function(){var b=h.getPrototypeOf(m.createElement("foobar")),
6
+ a=Object.prototype.hasOwnProperty;return function(d,c,o){var f=m.createElement(d),j=h.getPrototypeOf(f);if(l&&j&&b!==j&&(!f[c]||!a.call(f,c))){var s=f[c];o._supvalue=function(){return s&&s.apply?s.apply(this,arguments):s};j[c]=o.value}else o._supvalue=function(){var a=C(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},t.extendValue(d,c,o.value);o.value._supvalue=o._supvalue}}(),t=function(){var b={};h.addReady(function(a,d){var j={},s=function(b){j[b]||(j[b]=c(a.getElementsByTagName(b)),
7
+ d[0]&&c.nodeName(d[0],b)&&(j[b]=j[b].add(d)))};c.each(b,function(a,b){s(a);!b||!b.forEach?h.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){j[a].each(b)})});j=null});var a,d=c([]),e=function(d,e){b[d]?b[d].push(e):b[d]=[e];c.isDOMReady&&(a||c(m.getElementsByTagName(d))).each(e)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(m.getElementsByTagName(b)));return a||d},flushTmpCache:function(){a=null},content:function(a,b){e(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
8
+ b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,d){e(a,function(){c(this).each(function(){C(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),y=function(b,a){if(b.defaultValue===p)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}};if(!b.attr)b.attr={}};c.extend(h,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),d=a.attr("id");d||(b++,d="ID-"+b,a.attr("id",d));
9
+ return d}}(),extendUNDEFProp:function(b,a){c.each(a,function(a,c){a in b||(b[a]=c)})},createPropDefault:y,data:C,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,d,e){if((a=(c[b](a,"events")||{})[d])&&1<a.length)d=a.pop(),e||(e="bind"),"bind"==e&&a.delegateCount?a.splice(a.delegateCount,0,d):a.unshift(d)}}(),addShadowDom:function(){var b,a,d,e,f={init:!1,start:function(){if(!this.init)this.init=!0,this.height=c(m).height(),this.width=c(m).width(),setInterval(function(){var a=
10
+ c(m).height(),b=c(m).width();if(a!=f.height||b!=f.width)f.height=a,f.width=b,e({type:"docresize"})},400)}};e=function(e){clearTimeout(b);b=setTimeout(function(){if("resize"==e.type){var b=c(k).width(),s=c(k).width();if(s==a&&b==d)return;a=s;d=b;f.height=c(m).height();f.width=c(m).width()}c.event.trigger("updateshadowdom")},40)};c(k).bind("resize",e);c.event.customEvent.updateshadowdom=!0;return function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var v=c.data(a,x)||c.data(a,x,{}),e=c.data(b,
11
+ x)||c.data(b,x,{}),g={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];g=c.data(d.shadowFocusElement,x)||c.data(d.shadowFocusElement,x,g)}}else d.shadowFocusElement=b;v.hasShadow=b;g.nativeElement=e.nativeElement=a;g.shadowData=e.shadowData=v.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){C(this,"shadowData",e.shadowData)});if(d.data)g.shadowData.data=
12
+ e.shadowData.data=v.shadowData.data=d.data;d=null;f.start()}}(),propTypes:{standard:function(b){y(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){y(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}},src:function(){var b=m.createElement("a");b.style.display="none";return function(a,d){y(a);if(!a.prop)a.prop=
13
+ {set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(d),f;if(null==a)return"";b.setAttribute("href",a+"");if(!c.support.hrefNormalized){try{c(b).insertAfter(this),f=b.getAttribute("href",4)}catch(g){f=b.getAttribute("href",4)}c(b).detach()}return f||b.href}}}}(),enumarated:function(b){y(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var a=(b.attr.get.call(this)||"").toLowerCase();if(!a||-1==b.limitedTo.indexOf(a))a=b.defaultValue;return a}}}},
14
+ reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(q));a.forEach(function(a){h.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,d){n[a]=!0;if(d.reflect)h.propTypes[d.propType||"standard"](d,a);["prop","attr","removeAttr"].forEach(function(e){var f=d[e];f&&(f="prop"===e?c.extend({writeable:!0},f):c.extend({},f,{writeable:!0}),u[e](b,a,f),"*"!=b&&h.cfg.extendNative&&"prop"==e&&f.value&&
15
+ c.isFunction(f.value)&&D(b,a,f),d[e]=f)});d.initAttr&&t.content(b,a);return d},defineNodeNameProperties:function(b,a,d,c){for(var f in a)!c&&a[f].initAttr&&t.createTmpCache(b),d&&(a[f][d]?h.log("override: "+b+"["+f+"] for "+d):(a[f][d]={},["value","set","get"].forEach(function(b){b in a[f]&&(a[f][d][b]=a[f][b],delete a[f][b])}))),a[f]=h.defineNodeNameProperty(b,f,a[f]);c||t.flushTmpCache();return a},createElement:function(b,a,d){var f;c.isFunction(a)&&(a={after:a});t.createTmpCache(b);a.before&&t.createElement(b,
16
+ a.before);d&&(f=h.defineNodeNameProperties(b,d,!1,!0));a.after&&t.createElement(b,a.after);t.flushTmpCache();return f},onNodeNamesPropertyModify:function(b,a,d,e){"string"==typeof b&&(b=b.split(q));c.isFunction(d)&&(d={set:d});b.forEach(function(b){f[b]||(f[b]={});"string"==typeof a&&(a=a.split(q));d.initAttr&&t.createTmpCache(b);a.forEach(function(a){f[b][a]||(f[b][a]=[],n[a]=!0);if(d.set){if(e)d.set.only=e;f[b][a].push(d.set)}d.initAttr&&t.content(b,a)});t.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,
17
+ a,d){d||(d={});if(c.isFunction(d))d.set=d;h.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?p:a}},removeAttr:{value:function(){this.removeAttribute(a);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(b,a,d){if(b.nodeName){if(d===p)return b=b.attributes[a]||{},d=b.specified?b.value:null,null==d?p:d;"boolean"==typeof d?d?b.setAttribute(a,a):
18
+ b.removeAttribute(a):b.setAttribute(a,d)}},activeLang:function(){var b=[],a={},d,f,g=/:\/\/|^\.*\//,i=function(a,b,d){return b&&d&&-1!==c.inArray(b,d.availabeLangs||[])?(a.loading=!0,d=d.langSrc,g.test(d)||(d=h.cfg.basePath+d),h.loader.loadScript(d+b+".js",function(){a.langObj[b]?(a.loading=!1,s(a,!0)):c(function(){a.langObj[b]&&s(a,!0);a.loading=!1})}),!0):!1},j=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},s=function(a,b){if(a.activeLang!=d&&a.activeLang!==f){var c=w[a.module].options;
19
+ if(a.langObj[d]||f&&a.langObj[f])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[f],d),j(a.module);else if(!b&&!i(a,d,c)&&!i(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),j(a.module)}};return function(j){if("string"==typeof j&&j!==d)d=j,f=d.split("-")[0],d==f&&(f=!1),c.each(b,function(a,b){s(b)});else if("object"==typeof j)if(j.register)a[j.register]||(a[j.register]=[]),a[j.register].push(j),j.callback();else{if(!j.activeLang)j.activeLang="";b.push(j);s(j)}return d}}()});
20
+ c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){h[b]=function(b,c,f,g){"string"==typeof b&&(b=b.split(q));var j={};b.forEach(function(b){j[b]=h[a](b,c,f,g)});return j}});h.isReady("webshimLocalization",!0)});
21
+ (function(c,h){var k=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<k)&&(!c.browser.msie||12>k&&7<k)){var m={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(c,h){c.getAttribute("role")||c.setAttribute("role",h)};c.webshims.addReady(function(k,q){c.each(m,function(h,f){for(var g=c(h,k).add(q.filter(h)),i=0,m=g.length;i<m;i++)p(g[i],f)});if(k===h){var r=h.getElementsByTagName("header")[0],n=h.getElementsByTagName("footer"),i=n.length;
22
+ r&&!c(r).closest("section, article")[0]&&p(r,"banner");i&&(r=n[i-1],c(r).closest("section, article")[0]||p(r,"contentinfo"))}})}})(jQuery,document);
23
+ (function(c,h,k){var m=h.audio&&h.video,p=!1,w=k.cfg.mediaelement,q=k.bugs,r=function(){k.ready("mediaelement-swf",function(){if(!k.mediaelement.createSWF)k.modules["mediaelement-swf"].test=c.noop,k.reTest(["mediaelement-swf"],m)})},n;if(m){var i=document.createElement("video");h.videoBuffered="buffered"in i;p="loop"in i;k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));h.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
24
+ test:h.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"))}if(m&&!w.preferFlash){var u=function(f){var g=f.target.parentNode;!w.preferFlash&&(c(f.target).is("audio, video")||g&&c("source:last",g)[0]==f.target)&&k.ready("DOM mediaelement",function(){n&&r();k.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){n&&!w.preferFlash&&k.mediaelement.createSWF&&!c(f.target).closest("audio, video").is(".nonnative-api-active")?(w.preferFlash=!0,document.removeEventListener("error",
25
+ u,!0),c("audio, video").mediaLoad(),k.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+f.target.src)):n||document.removeEventListener("error",u,!0)},20)})})};document.addEventListener("error",u,!0);c("audio, video").each(function(){this.error&&u({target:this})})}q.track=!1;h.track&&function(){if(!q.track)q.track="number"!=typeof c("<track />")[0].readyState;if(!q.track)try{new TextTrackCue(2,3,"")}catch(f){q.track=!0}var g=k.cfg.track,h=function(f){c(f.target).filter("track").each(i)},
26
+ i=function(){if(q.track||!g.override&&3==c.prop(this,"readyState"))g.override=!0,k.reTest("track"),document.removeEventListener("error",h,!0),this&&c.nodeName(this,"track")?k.error("track support was overwritten. Please check your vtt including your vtt mime-type"):k.info("track support was overwritten. due to bad browser support")},u=function(){document.addEventListener("error",h,!0);q.track?i():c("track").each(i)};g.override||(k.isReady("track")?u():c(u))}();k.register("mediaelement-core",function(c,
27
+ g,i,u,k){n=swfobject.hasFlashPlayerVersion("9.0.115");var l=g.mediaelement,D=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},t=!n&&"postMessage"in i&&m,y=
28
+ function(){var a;return function(){!a&&t&&(a=!0,g.loader.loadScript("https://www.youtube.com/player_api"),c(function(){g.polyfill("mediaelement-yt")}))}}(),b=function(){n?r():y()};g.addPolyfill("mediaelement-yt",{test:!t,d:["dom-support"]});l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
29
+ "f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};l.mimeTypes.source=c.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||
30
+ -1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(l.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};l.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(b)||(b=[b]),b.forEach(function(b){var c=u.createElement("source");"string"==typeof b&&(b={src:b});c.setAttribute("src",b.src);b.type&&c.setAttribute("type",b.type);b.media&&c.setAttribute("media",b.media);a.append(c)});
31
+ else{var b=[],d=a[0].nodeName.toLowerCase(),e=D(a,d);e.src?b.push(e):c("source",a).each(function(){e=D(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==k&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));l.srces(this,a);c(this).mediaLoad()})};l.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
32
+ l.canThirdPlaySrces=function(a,b){var d="";if(n||t)a=c(a),b=b||l.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(n&&-1!=l.swfMimeTypes.indexOf(b.container)||t&&"video/youtube"==b.container))return d=b,!1});return d};var a={};l.canNativePlaySrces=function(b,d){var e="";if(m){var b=c(b),g=(b[0].nodeName||"").toLowerCase();if(!a[g])return e;d=d||l.srces(b);c.each(d,function(c,d){if(d.type&&a[g].prop._supvalue.call(b[0],d.type))return e=d,!1})}return e};l.setError=function(a,b){b||(b="can't play sources");
33
+ c(a).pause().data("mediaerror",b);g.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var d=function(){var a;return function(c,e,f){g.ready(n?"mediaelement-swf":"mediaelement-yt",function(){l.createSWF?l.createSWF(c,e,f):a||(a=!0,b(),d(c,e,f))});!a&&t&&!l.createSWF&&y()}}(),e=function(a,b,c,f,g){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,f))?d(a,c,b):g?l.setError(a,!1):e(a,b,!1,f,!0):(c=l.canNativePlaySrces(a,f))?b&&"third"==
34
+ b.isActive&&l.setActive(a,"html5",b):g?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):e(a,b,!0,f,!0)},o=/^(?:embed|object|datalist)$/i,A=function(a,b){var d=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{}),i=l.srces(a),h=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(i.length&&h&&!(1!=h.nodeType||o.test(h.nodeName||"")))b=b||g.data(a,"mediaelement"),e(a,b,w.preferFlash||k,i)};c(u).bind("ended",function(a){var b=g.data(a.target,"mediaelement");
35
+ (!p||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});p||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var d=g.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");A(this,a);m&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});a[b]=g.defineNodeNameProperty(b,
36
+ "canPlayType",{prop:{value:function(d){var e="";m&&a[b].prop._supvalue&&(e=a[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&n&&(d=c.trim((d||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});g.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){A(a);a=null},9)}});i=function(){g.addReady(function(a,b){c("video, audio",
37
+ a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<g.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():A(this);if(m){var a,b,d=this,e=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,g=a.length;e<g;e++)b+=a.end(e);return b}},i=function(){var a=e();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==
38
+ c.type&&(b=e());clearTimeout(a);a=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};h.track&&!q.track&&g.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});m?(g.isReady("mediaelement-core",!0),i(),g.ready("WINDOWLOAD mediaelement",b)):g.ready("mediaelement-swf",i);c(function(){g.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
39
+ jQuery.webshims.register("details",function(c,h,k,m,p,w){var q=function(i){var h=c(i).parent("details");if(h[0]&&h.children(":first").get(0)===i)return h},r=function(i,h){var i=c(i),h=c(h),f=c.data(h[0],"summaryElement");c.data(i[0],"detailsElement",h);if(!f||i[0]!==f[0])f&&(f.hasClass("fallback-summary")?f.remove():f.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),
40
+ c.data(h[0],"summaryElement",i),h.prop("open",h.prop("open"))};h.createElement("summary",function(){var i=q(this);if(i&&!c.data(this,"detailsElement")){var k,f,g=c.attr(this,"tabIndex")||"0";r(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill",
41
+ function(g){var h=q(this);if(h){if(!f&&g.originalEvent)return f=!0,g.stopImmediatePropagation(),g.preventDefault(),c(this).trigger("click"),f=!1;clearTimeout(k);k=setTimeout(function(){g.isDefaultPrevented()||h.prop("open",!h.prop("open"))},0)}}).bind("keydown.summaryPolyfill",function(g){if((13==g.keyCode||32==g.keyCode)&&!g.isDefaultPrevented())f=!0,g.preventDefault(),c(this).trigger("click"),f=!1}).attr({tabindex:g,role:"button"}).prepend('<span class="details-open-indicator" />');h.moveToFirstEvent(this,
42
+ "click")}});var n;h.defineNodeNamesBooleanProperty("details","open",function(h){var k=c(c.data(this,"summaryElement"));if(k){var f=h?"removeClass":"addClass",g=c(this);if(!n&&w.animate){g.stop().css({width:"",height:""});var m={width:g.width(),height:g.height()}}k.attr("aria-expanded",""+h);g[f]("closed-details-summary").children().not(k[0])[f]("closed-details-child");!n&&w.animate&&(h={width:g.width(),height:g.height()},g.css(m).animate(h,{complete:function(){c(this).css({width:"",height:""})}}))}});
43
+ h.createElement("details",function(){n=!0;var h=c.data(this,"summaryElement");h||(h=c("> summary:first-child",this),h[0]?r(h,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+w.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));n=!1})});