webshims-rails 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. data/lib/webshims-rails/version.rb +2 -2
  2. data/vendor/assets/javascripts/webshims/extras/custom-validity.js +261 -261
  3. data/vendor/assets/javascripts/webshims/extras/modernizr-custom.js +534 -534
  4. data/vendor/assets/javascripts/webshims/extras/mousepress.js +60 -60
  5. data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +1 -1
  6. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +24 -24
  7. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/README +82 -82
  8. data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +35 -34
  9. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +79 -82
  10. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +45 -44
  11. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +43 -42
  12. data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +28 -27
  13. data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +4 -4
  14. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +57 -59
  15. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +64 -66
  16. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +53 -54
  17. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +64 -66
  18. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +72 -73
  19. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +42 -46
  20. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +52 -50
  21. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +55 -59
  22. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +66 -64
  23. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +80 -82
  24. data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +60 -59
  25. data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +79 -81
  26. data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +101 -104
  27. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +94 -95
  28. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +26 -29
  29. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +33 -36
  30. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +51 -54
  31. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +27 -28
  32. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +27 -28
  33. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +39 -38
  34. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +65 -68
  35. data/vendor/assets/javascripts/webshims/minified/shims/details.js +4 -4
  36. data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +23 -22
  37. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +19 -22
  38. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +14 -14
  39. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +9 -9
  40. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +18 -19
  41. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +45 -43
  42. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -33
  43. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -34
  44. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +12 -12
  45. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-jaris.js +23 -0
  46. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +1 -1
  47. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +26 -30
  48. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +3 -3
  49. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +689 -686
  50. data/vendor/assets/javascripts/webshims/minified/shims/swf/JarisFLVPlayer.swf +0 -0
  51. data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +9 -9
  52. data/vendor/assets/javascripts/webshims/minified/shims/track.js +21 -21
  53. data/vendor/assets/javascripts/webshims/polyfiller.js +1191 -1175
  54. data/vendor/assets/javascripts/webshims/shims/combos/1.js +1754 -1714
  55. data/vendor/assets/javascripts/webshims/shims/combos/10.js +3247 -3320
  56. data/vendor/assets/javascripts/webshims/shims/combos/11.js +1633 -1588
  57. data/vendor/assets/javascripts/webshims/shims/combos/12.js +1636 -1591
  58. data/vendor/assets/javascripts/webshims/shims/combos/13.js +1100 -1058
  59. data/vendor/assets/javascripts/webshims/shims/combos/14.js +476 -476
  60. data/vendor/assets/javascripts/webshims/shims/combos/15.js +316 -314
  61. data/vendor/assets/javascripts/webshims/shims/combos/16.js +2094 -2104
  62. data/vendor/assets/javascripts/webshims/shims/combos/17.js +2258 -2267
  63. data/vendor/assets/javascripts/webshims/shims/combos/18.js +1380 -1364
  64. data/vendor/assets/javascripts/webshims/shims/combos/19.js +2239 -2247
  65. data/vendor/assets/javascripts/webshims/shims/combos/2.js +2339 -2294
  66. data/vendor/assets/javascripts/webshims/shims/combos/20.js +1493 -1606
  67. data/vendor/assets/javascripts/webshims/shims/combos/21.js +1733 -1635
  68. data/vendor/assets/javascripts/webshims/shims/combos/22.js +2295 -2408
  69. data/vendor/assets/javascripts/webshims/shims/combos/23.js +2269 -2168
  70. data/vendor/assets/javascripts/webshims/shims/combos/24.js +2775 -2780
  71. data/vendor/assets/javascripts/webshims/shims/combos/25.js +1505 -1456
  72. data/vendor/assets/javascripts/webshims/shims/combos/26.js +2111 -2115
  73. data/vendor/assets/javascripts/webshims/shims/combos/27.js +3264 -3331
  74. data/vendor/assets/javascripts/webshims/shims/combos/3.js +3020 -2970
  75. data/vendor/assets/javascripts/webshims/shims/combos/4.js +770 -822
  76. data/vendor/assets/javascripts/webshims/shims/combos/5.js +1025 -1077
  77. data/vendor/assets/javascripts/webshims/shims/combos/59.js +1706 -1753
  78. data/vendor/assets/javascripts/webshims/shims/combos/6.js +444 -433
  79. data/vendor/assets/javascripts/webshims/shims/combos/7.js +699 -688
  80. data/vendor/assets/javascripts/webshims/shims/combos/8.js +1488 -1445
  81. data/vendor/assets/javascripts/webshims/shims/combos/9.js +2445 -2518
  82. data/vendor/assets/javascripts/webshims/shims/details.js +148 -146
  83. data/vendor/assets/javascripts/webshims/shims/dom-extend.js +952 -912
  84. data/vendor/assets/javascripts/webshims/shims/es5.js +802 -802
  85. data/vendor/assets/javascripts/webshims/shims/excanvas.js +924 -924
  86. data/vendor/assets/javascripts/webshims/shims/form-core.js +606 -659
  87. data/vendor/assets/javascripts/webshims/shims/form-datalist.js +681 -676
  88. data/vendor/assets/javascripts/webshims/shims/form-message.js +164 -163
  89. data/vendor/assets/javascripts/webshims/shims/form-native-extend.js +255 -255
  90. data/vendor/assets/javascripts/webshims/shims/form-number-date-api.js +383 -383
  91. data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +61 -50
  92. data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +1569 -1472
  93. data/vendor/assets/javascripts/webshims/shims/geolocation.js +168 -168
  94. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ar.js +32 -32
  95. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ch-ZN.js +32 -32
  96. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-de.txt +33 -33
  97. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-el.js +32 -32
  98. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-en.txt +34 -34
  99. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-es.js +31 -31
  100. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-fr.js +32 -32
  101. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-he.js +32 -32
  102. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hi.js +32 -32
  103. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hu.js +32 -32
  104. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-it.js +32 -32
  105. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ja.js +32 -32
  106. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-nl.js +32 -32
  107. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-pt-PT.js +32 -32
  108. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ru.js +31 -31
  109. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-sv.js +32 -32
  110. data/vendor/assets/javascripts/webshims/shims/json-storage.js +308 -308
  111. data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +536 -533
  112. data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +861 -0
  113. data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +98 -98
  114. data/vendor/assets/javascripts/webshims/shims/mediaelement-swf.js +957 -1073
  115. data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +543 -543
  116. data/vendor/assets/javascripts/webshims/shims/styles/shim.css +689 -686
  117. data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
  118. data/vendor/assets/javascripts/webshims/shims/track-ui.js +9 -8
  119. data/vendor/assets/javascripts/webshims/shims/track.js +17 -11
  120. metadata +6 -6
  121. data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +0 -7
  122. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/README +0 -62
  123. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/README +0 -82
  124. data/vendor/assets/javascripts/webshims/shims/form-native-fix.js +0 -261
@@ -1,44 +1,46 @@
1
- (!Modernizr.formvalidation||jQuery.webshims.bugs.bustedValidity)&&jQuery.webshims.register("form-extend",function(a,c,v,j){c.inputTypes=c.inputTypes||{};var w=c.cfg.forms,q,r=c.inputTypes,B={radio:1,checkbox:1};c.addInputType=function(a,d){r[a]=d};var x={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},s={valueMissing:function(b,d,f){if(!b.prop("required"))return!1;var h=!1;if(!("type"in f))f.type=(b[0].getAttribute("type")||
2
- b[0].type||"").toLowerCase();if("select"==f.nodeName){if(d=!d)if(!(d=0>b[0].selectedIndex))b=b[0],d="select-one"==b.type&&2>b.size?!!a("> option:first-child",b).prop("selected"):!1;b=d}else b=B[f.type]?"checkbox"==f.type?!b.is(":checked"):!c.modules["form-core"].getGroupElements(b).filter(":checked")[0]:!d;return b},tooLong:function(){return!1},typeMismatch:function(a,d,f){if(""===d||"select"==f.nodeName)return!1;var c=!1;if(!("type"in f))f.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();
3
- if(r[f.type]&&r[f.type].mismatch)c=r[f.type].mismatch(d,a);else if("validity"in a[0])c=a[0].validity.typeMismatch;return c},patternMismatch:function(a,d,f){if(""===d||"select"==f.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(h){c.error('invalid pattern value: "'+a+'" | '+h),a=!1}return!a?!1:!a.test(d)}};c.addValidityRule=function(a,d){s[a]=d};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var b=
4
- this.form||this;if(!a.data(b,"invalidEventShim")&&(a(b).data("invalidEventShim",!0).bind("submit",a.event.special.invalid.handler),c.moveToFirstEvent(b,"submit"),c.bugs.bustedValidity&&a.nodeName(b,"form"))){var d=b.getAttribute("novalidate");b.setAttribute("novalidate","novalidate");c.data(b,"bustedNoValidate",null==d?null:d)}},teardown:a.noop,handler:function(b){if(!("submit"!=b.type||b.testedValidity||!b.originalEvent||!a.nodeName(b.target,"form")||a.prop(b.target,"noValidate"))){q=!0;b.testedValidity=
5
- !0;if(!a(b.target).checkValidity())return b.stopImmediatePropagation(),q=!1;q=!1}}};var y=function(b){if(!a.support.submitBubbles&&b&&"object"==typeof b&&!b._submit_attached)a.event.add(b,"submit._submit",function(a){a._submit_bubble=!0}),b._submit_attached=!0};if(!a.support.submitBubbles&&a.event.special.submit)a.event.special.submit.setup=function(){if(a.nodeName(this,"form"))return!1;a.event.add(this,"click._submit keypress._submit",function(b){b=b.target;b=a.nodeName(b,"input")||a.nodeName(b,
6
- "button")?a.prop(b,"form"):void 0;y(b)})};a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var C=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,"form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return C.apply(this,arguments)}});a(v).bind("invalid",a.noop);c.addInputType("email",{mismatch:function(){var a=w.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(d){return!a.test(d)}}()});
1
+ (!Modernizr.formvalidation||jQuery.webshims.bugs.bustedValidity)&&jQuery.webshims.register("form-extend",function(a,c,v,i){c.inputTypes=c.inputTypes||{};var w=c.cfg.forms,p,r=c.inputTypes,A={radio:1,checkbox:1};c.addInputType=function(a,d){r[a]=d};var x={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},s={valueMissing:function(b,d,e){if(!b.prop("required"))return!1;var g=!1;if(!("type"in e))e.type=(b[0].getAttribute("type")||
2
+ b[0].type||"").toLowerCase();if("select"==e.nodeName){if(d=!d)if(!(d=0>b[0].selectedIndex))b=b[0],d="select-one"==b.type&&2>b.size?!!a("> option:first-child",b).prop("selected"):!1;b=d}else b=A[e.type]?"checkbox"==e.type?!b.is(":checked"):!c.modules["form-core"].getGroupElements(b).filter(":checked")[0]:!d;return b},tooLong:function(){return!1},typeMismatch:function(a,d,e){if(""===d||"select"==e.nodeName)return!1;var c=!1;if(!("type"in e))e.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();
3
+ if(r[e.type]&&r[e.type].mismatch)c=r[e.type].mismatch(d,a);else if("validity"in a[0])c=a[0].validity.typeMismatch;return c},patternMismatch:function(a,d,e){if(""===d||"select"==e.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(g){c.error('invalid pattern value: "'+a+'" | '+g),a=!1}return!a?!1:!a.test(d)}};c.addValidityRule=function(a,d){s[a]=d};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var b=
4
+ this.form||this;if(!a.data(b,"invalidEventShim")&&(a(b).data("invalidEventShim",!0).on("submit",a.event.special.invalid.handler),c.moveToFirstEvent(b,"submit"),c.bugs.bustedValidity&&a.nodeName(b,"form"))){var d=b.getAttribute("novalidate");b.setAttribute("novalidate","novalidate");c.data(b,"bustedNoValidate",null==d?null:d)}},teardown:a.noop,handler:function(b){if(!("submit"!=b.type||b.testedValidity||!b.originalEvent||!a.nodeName(b.target,"form")||a.prop(b.target,"noValidate"))){p=!0;b.testedValidity=
5
+ !0;if(!a(b.target).checkValidity())return b.stopImmediatePropagation(),p=!1;p=!1}}};var y=function(b){if(!a.support.submitBubbles&&b&&"object"==typeof b&&!b._submit_attached)a.event.add(b,"submit._submit",function(a){a._submit_bubble=!0}),b._submit_attached=!0};if(!a.support.submitBubbles&&a.event.special.submit)a.event.special.submit.setup=function(){if(a.nodeName(this,"form"))return!1;a.event.add(this,"click._submit keypress._submit",function(b){b=b.target;b=a.nodeName(b,"input")||a.nodeName(b,
6
+ "button")?a.prop(b,"form"):void 0;y(b)})};a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var B=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){if(a.nodeName(this,"form"))a(this).on("invalid",a.noop);else a("form",this).on("invalid",a.noop);return B.apply(this,arguments)}});a(v).on("invalid",a.noop);c.addInputType("email",{mismatch:function(){var a=w.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(d){return!a.test(d)}}()});
7
7
  c.addInputType("url",{mismatch:function(){var a=w.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
8
- return function(d){return!a.test(d)}}()});c.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return c.inputTypes[a]?a:this.type}}});c.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},x)}}},"prop");var o=function(b){var d,f=a.prop(b,"validity");if(f)a.data(b,"cachedValidity",
9
- f);else return!0;if(!f.valid){d=a.Event("invalid");var h=a(b).trigger(d);if(q&&!o.unhandledInvalids&&!d.isDefaultPrevented())c.validityAlert.showFor(h),o.unhandledInvalids=!0}a.removeData(b,"cachedValidity");return f.valid},D=/^(?:select|textarea|input)/i;c.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var b=!0,d=a(a.prop(this,"elements")).filter(function(){if(!D.test(this.nodeName))return!1;var a=c.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});
10
- o.unhandledInvalids=!1;for(var f=0,h=d.length;f<h;f++)o(d[f])||(b=!1);return b}}});c.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){o.unhandledInvalids=!1;return o(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(b){a.removeData(this,"cachedValidity");c.data(this,"customvalidationMessage",""+b)}},willValidate:{writeable:!1,get:function(){var b={button:1,reset:1,hidden:1,image:1};return function(){var d=a(this).getNativeElement()[0];return!(d.disabled||
11
- d.readOnly||b[d.type])}}()},validity:{writeable:!1,get:function(){var b=a(this).getNativeElement(),d=b[0],f=a.data(d,"cachedValidity");if(f)return f;f=a.extend({},x);if(!a.prop(d,"willValidate")||"submit"==d.type)return f;var h=b.val(),g={nodeName:d.nodeName.toLowerCase()};f.customError=!!c.data(d,"customvalidationMessage");if(f.customError)f.valid=!1;a.each(s,function(a,d){if(d(b,h,g))f[a]=!0,f.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",f.valid?"false":"true");d=b=null;return f}}},
12
- "prop");c.defineNodeNamesBooleanProperty(["input","textarea","select"],"required",{set:function(b){a(this).getShadowFocusElement().attr("aria-required",!!b+"")},initAttr:!a.browser.msie||7<c.browserVersion});c.reflectProperties(["input"],["pattern"]);if(!("maxLength"in j.createElement("textarea"))){var p=function(){var b,d=0,f=a([]),c=1E9,g=function(){var a=f.prop("value"),b=a.length;b>d&&b>c&&(b=Math.max(d,c),f.prop("value",a.substr(0,b)));d=b},i=function(){clearTimeout(b);f.unbind(".maxlengthconstraint")};
13
- return function(m,z){i();if(-1<z)c=z,d=a.prop(m,"value").length,f=a(m),f.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",function(){setTimeout(g,0)}),f.bind("keyup.maxlengthconstraint",g),f.bind("blur.maxlengthconstraint",i),b=setInterval(g,200)}}();p.update=function(b,d){a(b).is(":focus")&&(null==d&&(d=a.prop(b,"maxlength")),p(e.target,d))};a(j).bind("focusin",function(b){var d;"TEXTAREA"==b.target.nodeName&&-1<(d=a.prop(b.target,
14
- "maxlength"))&&p(b.target,d)});c.defineNodeNameProperty("textarea","maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);p.update(this)},get:function(){var a=this.getAttribute("maxlength");return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);p.update(this,a)}else this.setAttribute("maxlength","0"),p.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==
15
- typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});c.defineNodeNameProperty("textarea","maxLength",{prop:{set:function(b){a.prop(this,"maxlength",b)},get:function(){return a.prop(this,"maxlength")}}})}var E={submit:1,button:1,image:1},l={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},
16
- {name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(b){var d="form"+(b.propName||b.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),f="form"+b.name,c=b.name,g="click.webshimssubmittermutate"+c,i=function(){if("form"in this&&E[this.type]){var i=a.prop(this,"form");if(i){var g=a.attr(this,f);if(null!=g&&(!b.limitedTo||g.toLowerCase()===a.prop(this,d))){var k=a.attr(i,c);a.attr(i,c,g);setTimeout(function(){if(null!=k)a.attr(i,c,k);else try{a(i).removeAttr(c)}catch(b){i.removeAttribute(c)}},
17
- 9)}}}};switch(b.proptype){case "url":var m=j.createElement("form");l[d]={prop:{set:function(b){a.attr(this,f,b)},get:function(){var b=a.attr(this,f);if(null==b)return"";m.setAttribute("action",b);return m.action}}};break;case "boolean":l[d]={prop:{set:function(b){b?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":l[d]={prop:{set:function(b){a.attr(this,f,b)},get:function(){var d=a.attr(this,
18
- f);return!d||(d=d.toLowerCase())&&!b.limitedTo[d]?b.defaultProp:d}}};break;default:l[d]={prop:{set:function(b){a.attr(this,f,b)},get:function(){var b=a.attr(this,f);return null!=b?b:""}}}}l[f]||(l[f]={});l[f].attr={set:function(b){l[f].attr._supset.call(this,b);a(this).unbind(g).bind(g,i)},get:function(){return l[f].attr._supget.call(this)}};l[f].initAttr=!0;l[f].removeAttr={value:function(){a(this).unbind(g);l[f].removeAttr._supvalue.call(this)}}});c.defineNodeNamesProperties(["input","button"],
19
- l);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")?c.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}}):c.bugs.bustedValidity&&(c.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){c.data(this,"bustedNoValidate",""+a)},get:function(){var a=c.data(this,"bustedNoValidate");return null==a?void 0:a}},removeAttr:{value:function(){c.data(this,
20
- "bustedNoValidate",null)}}}),a.each(["rangeUnderflow","rangeOverflow","stepMismatch"],function(a,d){s[d]=function(a){return(a[0].validity||{})[d]||!1}}));c.defineNodeNameProperty("form","noValidate",{prop:{set:function(b){b?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});a.browser.webkit&&Modernizr.inputtypes.date&&function(){var b={updateInput:1,input:1},d={date:1,time:1,"datetime-local":1},f={focusout:1,blur:1},h=
21
- {updateInput:1,change:1},g=function(a){var d,c=!0,g=a.prop("value"),k=g,n=function(d){if(a){var f=a.prop("value");f!==g&&(g=f,(!d||!b[d.type])&&a.trigger("input"));d&&h[d.type]&&(k=f);!c&&f!==k&&a.trigger("change")}},A,u=function(b){clearInterval(d);setTimeout(function(){b&&f[b.type]&&(c=!1);a&&(a.unbind("focusout blur",u).unbind("input change updateInput",n),n());a=null},1)};clearInterval(d);d=setInterval(n,160);clearTimeout(A);A=setTimeout(n,9);a.unbind("focusout blur",u).unbind("input change updateInput",
22
- n);a.bind("focusout blur",u).bind("input updateInput change",n)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;(function(){var b=function(b){var d=1,f,c;if("date"==b.type&&(q||!a(b).is(":focus")))if((c=b.value)&&10>c.length&&(c=c.split("-"))&&3==c.length){for(;3>d;d++)if(1==c[d].length)c[d]="0"+c[d];else if(2!=c[d].length){f=!0;break}if(!f)return c=c.join("-"),a.prop(b,"value",c),c}},d,f,g,k;d=c.defineNodeNameProperty("input","checkValidity",{prop:{value:function(){b(this);return d.prop._supvalue.apply(this,
23
- arguments)}}});f=c.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){a("input",this).each(function(){b(this)});return f.prop._supvalue.apply(this,arguments)}}});g=c.defineNodeNameProperty("input","value",{prop:{set:function(){return g.prop._supset.apply(this,arguments)},get:function(){return b(this)||g.prop._supget.apply(this,arguments)}}});k=c.defineNodeNameProperty("input","validity",{prop:{writeable:!1,get:function(){b(this);return k.prop._supget.apply(this,arguments)}}});a(j).bind("change",
24
- function(a){isChangeSubmit=!0;b(a.target);isChangeSubmit=!1})})();a(j).bind("focusin",function(b){b.target&&d[b.target.type]&&!b.target.readOnly&&!b.target.disabled&&g(a(b.target))})}();c.addReady(function(b,d){var c;a("form",b).add(d.filter("form")).bind("invalid",a.noop);try{if(b==j&&!("form"in(j.activeElement||{})))(c=a("input[autofocus], select[autofocus], textarea[autofocus]",b).eq(0).getShadowFocusElement()[0])&&c.offsetHeight&&c.offsetWidth&&c.focus()}catch(h){}});(!Modernizr.formattribute||
25
- !Modernizr.fieldsetdisabled)&&function(){(function(b,d){a.prop=function(c,f,h){var k;if(c&&1==c.nodeType&&h===d&&a.nodeName(c,"form")&&c.id){k=j.getElementsByName(f);if(!k||!k.length)k=j.getElementById(f);if(k&&(k=a(k).filter(function(){return a.prop(this,"form")==c}).get(),k.length))return 1==k.length?k[0]:k}return b.apply(this,arguments)}})(a.prop,void 0);var b=function(b){var d=a.data(b,"webshimsAddedElements");d&&(d.remove(),a.removeData(b,"webshimsAddedElements"))},d=/\r?\n/g,f=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
26
- h=/^(?:select|textarea)/i;Modernizr.formattribute||(c.defineNodeNamesProperty(["input","textarea","select","button","fieldset"],"form",{prop:{get:function(){var b=c.contentAttr(this,"form");b&&(b=j.getElementById(b))&&!a.nodeName(b,"form")&&(b=null);return b||this.form},writeable:!1}}),c.defineNodeNamesProperty(["form"],"elements",{prop:{get:function(){var b=this.id,d=a.makeArray(this.elements);b&&(d=a(d).add('input[form="'+b+'"], select[form="'+b+'"], textarea[form="'+b+'"], button[form="'+b+'"], fieldset[form="'+
27
- b+'"]').not(".webshims-visual-hide > *").get());return d},writeable:!1}}),a(function(){var d=function(a){a.stopPropagation()};a(j).bind("submit",function(d){if(!d.isDefaultPrevented()){var c=d.target;if(d=c.id)b(c),d=a('input[form="'+d+'"], select[form="'+d+'"], textarea[form="'+d+'"]').filter(function(){return!this.disabled&&this.name&&this.form!=c}).clone(),d.length&&(a.data(c,"webshimsAddedElements",a('<div class="webshims-visual-hide" />').append(d).appendTo(c)),setTimeout(function(){b(c)},9)),
28
- d=null}});a(j).bind("click",function(b){if(!b.isDefaultPrevented()&&a(b.target).is('input[type="submit"][form], button[form], input[type="button"][form], input[type="image"][form], input[type="reset"][form]')){var c=a.prop(b.target,"form"),f=b.target.form,h;c&&c!=f&&(h=a(b.target).clone().removeAttr("form").addClass("webshims-visual-hide").bind("click",d).appendTo(c),f&&b.preventDefault(),y(c),h.trigger("click"),setTimeout(function(){h.remove();h=null},9))}})}));Modernizr.fieldsetdisabled||c.defineNodeNamesProperty(["fieldset"],
29
- "elements",{prop:{get:function(){return a("input, select, textarea, button, fieldset",this).get()||[]},writeable:!1}});a.fn.serializeArray=function(){return this.map(function(){var b=a.prop(this,"elements");return b?a.makeArray(b):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||h.test(this.nodeName)||f.test(this.type))}).map(function(b,c){var f=a(this).val();return null==f?null:a.isArray(f)?a.map(f,function(a){return{name:c.name,value:a.replace(d,"\r\n")}}):{name:c.name,
30
- value:f.replace(d,"\r\n")}}).get()}}();(function(){Modernizr.textareaPlaceholder=!!("placeholder"in a("<textarea />")[0]);var b=a.browser.webkit&&Modernizr.textareaPlaceholder&&535>c.browserVersion;if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder||b){var d="over"==c.cfg.forms.placeholderType,f=c.cfg.forms.responsivePlaceholder,h=["textarea"];Modernizr.input.placeholder||h.push("input");var g=function(a){try{if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a.createTextRange){var b=
31
- a.createTextRange();b.collapse(!0);b.moveEnd("character",0);b.moveStart("character",0);b.select();return!0}}catch(d){}},i=function(b,c,f,h){!1===f&&(f=a.prop(b,"value"));if(!d&&"password"!=b.type){if(!f&&h&&g(b)){var i=setTimeout(function(){g(b)},9);a(b).unbind(".placeholderremove").bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(d){if(!d||!(17==d.keyCode||16==d.keyCode))b.value=a.prop(b,"value"),c.box.removeClass("placeholder-visible"),
32
- clearTimeout(i),a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){g(b);clearTimeout(i);i=setTimeout(function(){g(b)},9)}).bind("blur.placeholderremove",function(){clearTimeout(i);a(b).unbind(".placeholderremove")});return}b.value=f}else if(!f&&h){a(b).unbind(".placeholderremove").bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(d){if(!d||!(17==d.keyCode||
33
- 16==d.keyCode))c.box.removeClass("placeholder-visible"),a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}c.box.removeClass("placeholder-visible")},m=function(b,c,f,g,h){if(!g&&(g=a.data(b,"placeHolder"),!g))return;a(b).unbind(".placeholderremove");if("focus"==h||!h&&a(b).is(":focus"))("password"==b.type||d||a(b).hasClass("placeholder-visible"))&&i(b,g,"",!0);else if(!1===c&&(c=a.prop(b,"value")),c)i(b,g,c);else if(!1===f&&(f=a.attr(b,
34
- "placeholder")||""),f&&!c){c=g;!1===f&&(f=a.prop(b,"placeholder"));if(!d&&"password"!=b.type)b.value=f;c.box.addClass("placeholder-visible")}else i(b,g,c)},j=function(b){var b=a(b),d=b.prop("id"),c=!(!b.prop("title")&&!b.attr("aria-labelledby"));!c&&d&&(c=!!a('label[for="'+d+'"]',b[0].form)[0]);c||(d||(d=a.webshims.getID(b)),c=!!a("label #"+d)[0]);return a(c?'<span class="placeholder-text"></span>':'<label for="'+d+'" class="placeholder-text"></label>')},t=function(){var b={text:1,search:1,url:1,
35
- email:1,password:1,tel:1};return{create:function(b){var c=a.data(b,"placeHolder"),g;if(c)return c;c=a.data(b,"placeHolder",{});a(b).bind("focus.placeholder blur.placeholder",function(a){m(this,!1,!1,c,a.type);c.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});(g=a.prop(b,"form"))&&a(g).bind("reset.placeholder",function(a){setTimeout(function(){m(b,!1,!1,c,a.type)},0)});if("password"==b.type||d)c.text=j(b),c.box=f||a(b).is(".responsive-width")||-1!=(b.currentStyle||{width:""}).width.indexOf("%")?
36
- c.text:a(b).wrap('<span class="placeholder-box placeholder-box-'+(b.nodeName||"").toLowerCase()+" placeholder-box-"+a.css(b,"float")+'" />').parent(),c.text.insertAfter(b).bind("mousedown.placeholder",function(){m(this,!1,!1,c,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1}),a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(d,f){var g=a.css(b,f);c.text.css(f)!=g&&c.text.css(f,g)}),a.each(["Left","Top"],function(d,f){var g=(parseInt(a.css(b,"padding"+f),10)||
37
- 0)+Math.max(parseInt(a.css(b,"margin"+f),10)||0,0)+(parseInt(a.css(b,"border"+f+"Width"),10)||0);c.text.css("padding"+f,g)}),a(b).bind("updateshadowdom",function(){var d,f;((f=b.offsetWidth)||(d=b.offsetHeight))&&c.text.css({width:f,height:d}).css(a(b).position())}).triggerHandler("updateshadowdom");else{var h=function(d){a(b).hasClass("placeholder-visible")&&(i(b,c,""),d&&"submit"==d.type&&setTimeout(function(){d.isDefaultPrevented()&&m(b,!1,!1,c)},9))};a(v).bind("beforeunload",h);c.box=a(b);g&&
38
- a(g).submit(h)}return c},update:function(d,f){var g=(a.attr(d,"type")||a.prop(d,"type")||"").toLowerCase();!b[g]&&!a.nodeName(d,"textarea")?(c.error('placeholder not allowed on input[type="'+g+'"]'),"date"==g&&c.error('but you can use data-placeholder for input[type="date"]')):(g=t.create(d),g.text&&g.text.text(f),m(d,!1,f,g))}}}();a.webshims.publicMethods={pHolder:t};h.forEach(function(a){c.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b?(c.data(this,"textareaPlaceholder",a),this.placeholder=
39
- ""):c.contentAttr(this,"placeholder",a);t.update(this,a)},get:function(){return(b?c.data(this,"textareaPlaceholder"):"")||c.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});h.forEach(function(d){var f={},g;["attr","prop"].forEach(function(d){f[d]={set:function(f){var h;b&&(h=c.data(this,"textareaPlaceholder"));h||(h=c.contentAttr(this,"placeholder"));a.removeData(this,"cachedValidity");var i=g[d]._supset.call(this,f);h&&"value"in this&&m(this,f,h);return i},get:function(){return a(this).hasClass("placeholder-visible")?
40
- "":g[d]._supget.call(this)}}});g=c.defineNodeNameProperty(d,"value",f)})}})();(function(){if(!("value"in j.createElement("output"))){c.defineNodeNameProperty("output","value",{prop:{set:function(d){var c=a.data(this,"outputShim");c||(c=b(this));c(d)},get:function(){return c.contentAttr(this,"value")||a(this).text()||""}}});c.onNodeNamesPropertyModify("input","value",function(b,c,h){"removeAttr"!=h&&(c=a.data(this,"outputShim"))&&c(b)});var b=function(b){if(!b.getAttribute("aria-live")){var b=a(b),
41
- f=(b.text()||"").trim(),h=b.attr("id"),g=b.attr("for"),i=a('<input class="output-shim" type="text" disabled name="'+(b.attr("name")||"")+'" value="'+f+'" style="display: none !important;" />').insertAfter(b),m=i[0].form||j,l=function(a){i[0].value=a;a=i[0].value;b.text(a);c.contentAttr(b[0],"value",a)};b[0].defaultValue=f;c.contentAttr(b[0],"value",f);b.attr({"aria-live":"polite"});h&&(i.attr("id",h),b.attr("aria-labelledby",c.getID(a('label[for="'+h+'"]',m))));g&&(h=c.getID(b),g.split(" ").forEach(function(a){(a=
42
- j.getElementById(a))&&a.setAttribute("aria-controls",h)}));b.data("outputShim",l);i.data("outputShim",l);return l}};c.addReady(function(c,f){a("output",c).add(f.filter("output")).each(function(){b(this)})});(function(){var b={updateInput:1,input:1},f={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},h=function(a){var f,h=a.prop("value"),j=function(f){if(a){var i=a.prop("value");i!==h&&(h=i,(!f||!b[f.type])&&c.triggerInlineForm&&c.triggerInlineForm(a[0],"input"))}},l,k=function(){clearTimeout(l);
43
- l=setTimeout(j,9)},n=function(){a.unbind("focusout",n).unbind("keyup keypress keydown paste cut",k).unbind("input change updateInput",j);clearInterval(f);setTimeout(function(){j();a=null},1)};clearInterval(f);f=setInterval(j,99);k();a.bind("keyup keypress keydown paste cut",k).bind("focusout",n).bind("input updateInput change",j)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(j).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
44
- "").toLowerCase()&&!f[b.target.type]&&h(a(b.target))})})()}})()});
8
+ return function(d){return!a.test(d)}}()});c.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return c.inputTypes[a]?a:this.type}}});c.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},x)}}},"prop");var n=function(b){var d,e=a.prop(b,"validity");if(e)a.data(b,"cachedValidity",
9
+ e);else return!0;if(!e.valid){d=a.Event("invalid");var g=a(b).trigger(d);if(p&&!n.unhandledInvalids&&!d.isDefaultPrevented())c.validityAlert.showFor(g),n.unhandledInvalids=!0}a.removeData(b,"cachedValidity");return e.valid},C=/^(?:select|textarea|input)/i;c.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var b=!0,d=a(a.prop(this,"elements")).filter(function(){if(!C.test(this.nodeName))return!1;var a=c.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});
10
+ n.unhandledInvalids=!1;for(var e=0,g=d.length;e<g;e++)n(d[e])||(b=!1);return b}}});c.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){n.unhandledInvalids=!1;return n(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(b){a.removeData(this,"cachedValidity");c.data(this,"customvalidationMessage",""+b)}},willValidate:{writeable:!1,get:function(){var b={button:1,reset:1,hidden:1,image:1};return function(){var d=a(this).getNativeElement()[0];return!(d.disabled||
11
+ d.readOnly||b[d.type])}}()},validity:{writeable:!1,get:function(){var b=a(this).getNativeElement(),d=b[0],e=a.data(d,"cachedValidity");if(e)return e;e=a.extend({},x);if(!a.prop(d,"willValidate")||"submit"==d.type)return e;var g=b.val(),f={nodeName:d.nodeName.toLowerCase()};e.customError=!!c.data(d,"customvalidationMessage");if(e.customError)e.valid=!1;a.each(s,function(a,d){if(d(b,g,f))e[a]=!0,e.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",e.valid?"false":"true");d=b=null;return e}}},
12
+ "prop");c.defineNodeNamesBooleanProperty(["input","textarea","select"],"required",{set:function(b){a(this).getShadowFocusElement().attr("aria-required",!!b+"")},initAttr:!a.browser.msie||7<c.browserVersion});c.reflectProperties(["input"],["pattern"]);if(!("maxLength"in i.createElement("textarea"))){var o=function(){var b,d=0,e=a([]),c=1E9,f=function(){var a=e.prop("value"),b=a.length;b>d&&b>c&&(b=Math.max(d,c),e.prop("value",a.substr(0,b)));d=b},h=function(){clearTimeout(b);e.unbind(".maxlengthconstraint")};
13
+ return function(q,m){h();if(-1<m)c=m,d=a.prop(q,"value").length,e=a(q),e.on({"keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint":function(){setTimeout(f,0)},"keyup.maxlengthconstraint":f,"blur.maxlengthconstraint":h}),b=setInterval(f,200)}}();o.update=function(b,d){a(b).is(":focus")&&(d||(d=a.prop(b,"maxlength")),o(b,d))};a(i).on("focusin",function(b){var d;"TEXTAREA"==b.target.nodeName&&-1<(d=a.prop(b.target,"maxlength"))&&o(b.target,d)});
14
+ c.defineNodeNameProperty("textarea","maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);o.update(this)},get:function(){var a=this.getAttribute("maxlength");return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);o.update(this,a)}else this.setAttribute("maxlength","0"),o.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&
15
+ 0<=a?parseInt(a,10):-1}}});c.defineNodeNameProperty("textarea","maxLength",{prop:{set:function(b){a.prop(this,"maxlength",b)},get:function(){return a.prop(this,"maxlength")}}})}var D={submit:1,button:1,image:1},k={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},
16
+ {name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(b){var d="form"+(b.propName||b.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),e="form"+b.name,c=b.name,f="click.webshimssubmittermutate"+c,h=function(){if("form"in this&&D[this.type]){var h=a.prop(this,"form");if(h){var f=a.attr(this,e);if(null!=f&&(!b.limitedTo||f.toLowerCase()===a.prop(this,d))){var j=a.attr(h,c);a.attr(h,c,f);setTimeout(function(){if(null!=j)a.attr(h,c,j);else try{a(h).removeAttr(c)}catch(b){h.removeAttribute(c)}},
17
+ 9)}}}};switch(b.proptype){case "url":var q=i.createElement("form");k[d]={prop:{set:function(b){a.attr(this,e,b)},get:function(){var b=a.attr(this,e);if(null==b)return"";q.setAttribute("action",b);return q.action}}};break;case "boolean":k[d]={prop:{set:function(b){b?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":k[d]={prop:{set:function(b){a.attr(this,e,b)},get:function(){var d=a.attr(this,
18
+ e);return!d||(d=d.toLowerCase())&&!b.limitedTo[d]?b.defaultProp:d}}};break;default:k[d]={prop:{set:function(b){a.attr(this,e,b)},get:function(){var b=a.attr(this,e);return null!=b?b:""}}}}k[e]||(k[e]={});k[e].attr={set:function(b){k[e].attr._supset.call(this,b);a(this).unbind(f).on(f,h)},get:function(){return k[e].attr._supget.call(this)}};k[e].initAttr=!0;k[e].removeAttr={value:function(){a(this).unbind(f);k[e].removeAttr._supvalue.call(this)}}});c.defineNodeNamesProperties(["input","button"],k);
19
+ !a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")?c.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}}):c.bugs.bustedValidity&&(c.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){c.data(this,"bustedNoValidate",""+a)},get:function(){var a=c.data(this,"bustedNoValidate");return null==a?void 0:a}},removeAttr:{value:function(){c.data(this,
20
+ "bustedNoValidate",null)}}}),a.each(["rangeUnderflow","rangeOverflow","stepMismatch"],function(a,d){s[d]=function(a){return(a[0].validity||{})[d]||!1}}));c.defineNodeNameProperty("form","noValidate",{prop:{set:function(b){b?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});a.browser.webkit&&Modernizr.inputtypes.date&&function(){var b={updateInput:1,input:1},d={date:1,time:1,"datetime-local":1},e={focusout:1,blur:1},g=
21
+ {updateInput:1,change:1},f=function(a){var d,c=!0,f=a.prop("value"),j=f,l=function(d){if(a){var e=a.prop("value");e!==f&&(f=e,(!d||!b[d.type])&&a.trigger("input"));d&&g[d.type]&&(j=e);!c&&e!==j&&a.trigger("change")}},z,u=function(b){clearInterval(d);setTimeout(function(){b&&e[b.type]&&(c=!1);a&&(a.unbind("focusout blur",u).unbind("input change updateInput",l),l());a=null},1)};clearInterval(d);d=setInterval(l,160);clearTimeout(z);z=setTimeout(l,9);a.off({"focusout blur":u,"input change updateInput":l}).on({"focusout blur":u,
22
+ "input updateInput change":l})};if(a.event.customEvent)a.event.customEvent.updateInput=!0;(function(){var b=function(b){var d=1,e,c;if("date"==b.type&&(p||!a(b).is(":focus")))if((c=b.value)&&10>c.length&&(c=c.split("-"))&&3==c.length){for(;3>d;d++)if(1==c[d].length)c[d]="0"+c[d];else if(2!=c[d].length){e=!0;break}if(!e)return c=c.join("-"),a.prop(b,"value",c),c}},d,e,f,j;d=c.defineNodeNameProperty("input","checkValidity",{prop:{value:function(){b(this);return d.prop._supvalue.apply(this,arguments)}}});
23
+ e=c.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){a("input",this).each(function(){b(this)});return e.prop._supvalue.apply(this,arguments)}}});f=c.defineNodeNameProperty("input","value",{prop:{set:function(){return f.prop._supset.apply(this,arguments)},get:function(){return b(this)||f.prop._supget.apply(this,arguments)}}});j=c.defineNodeNameProperty("input","validity",{prop:{writeable:!1,get:function(){b(this);return j.prop._supget.apply(this,arguments)}}});a(i).on("change",
24
+ function(a){isChangeSubmit=!0;b(a.target);isChangeSubmit=!1})})();a(i).on("focusin",function(b){b.target&&d[b.target.type]&&!b.target.readOnly&&!b.target.disabled&&f(a(b.target))})}();c.addReady(function(b,d){var c;a("form",b).add(d.filter("form")).bind("invalid",a.noop);try{if(b==i&&!("form"in(i.activeElement||{})))(c=a("input[autofocus], select[autofocus], textarea[autofocus]",b).eq(0).getShadowFocusElement()[0])&&c.offsetHeight&&c.offsetWidth&&c.focus()}catch(g){}});(!Modernizr.formattribute||
25
+ !Modernizr.fieldsetdisabled)&&function(){(function(b,d){a.prop=function(c,e,g){var j;if(c&&1==c.nodeType&&g===d&&a.nodeName(c,"form")&&c.id){j=i.getElementsByName(e);if(!j||!j.length)j=i.getElementById(e);if(j&&(j=a(j).filter(function(){return a.prop(this,"form")==c}).get(),j.length))return 1==j.length?j[0]:j}return b.apply(this,arguments)}})(a.prop,void 0);var b=function(b){var d=a.data(b,"webshimsAddedElements");d&&(d.remove(),a.removeData(b,"webshimsAddedElements"))},d=/\r?\n/g,e=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
26
+ g=/^(?:select|textarea)/i;Modernizr.formattribute||(c.defineNodeNamesProperty(["input","textarea","select","button","fieldset"],"form",{prop:{get:function(){var b=c.contentAttr(this,"form");b&&(b=i.getElementById(b))&&!a.nodeName(b,"form")&&(b=null);return b||this.form},writeable:!1}}),c.defineNodeNamesProperty(["form"],"elements",{prop:{get:function(){var b=this.id,d=a.makeArray(this.elements);b&&(d=a(d).add('input[form="'+b+'"], select[form="'+b+'"], textarea[form="'+b+'"], button[form="'+b+'"], fieldset[form="'+
27
+ b+'"]').not(".webshims-visual-hide > *").get());return d},writeable:!1}}),a(function(){var d=function(a){a.stopPropagation()};a(i).on("submit",function(d){if(!d.isDefaultPrevented()){var c=d.target;if(d=c.id)b(c),d=a('input[form="'+d+'"], select[form="'+d+'"], textarea[form="'+d+'"]').filter(function(){return!this.disabled&&this.name&&this.form!=c}).clone(),d.length&&(a.data(c,"webshimsAddedElements",a('<div class="webshims-visual-hide" />').append(d).appendTo(c)),setTimeout(function(){b(c)},9)),
28
+ d=null}});a(i).on("click",function(b){if(!b.isDefaultPrevented()&&a(b.target).is('input[type="submit"][form], button[form], input[type="button"][form], input[type="image"][form], input[type="reset"][form]')){var c=a.prop(b.target,"form"),e=b.target.form,g;c&&c!=e&&(g=a(b.target).clone().removeAttr("form").addClass("webshims-visual-hide").on("click",d).appendTo(c),e&&b.preventDefault(),y(c),g.trigger("click"),setTimeout(function(){g.remove();g=null},9))}})}));Modernizr.fieldsetdisabled||c.defineNodeNamesProperty(["fieldset"],
29
+ "elements",{prop:{get:function(){return a("input, select, textarea, button, fieldset",this).get()||[]},writeable:!1}});a.fn.serializeArray=function(){return this.map(function(){var b=a.prop(this,"elements");return b?a.makeArray(b):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||g.test(this.nodeName)||e.test(this.type))}).map(function(b,c){var e=a(this).val();return null==e?null:a.isArray(e)?a.map(e,function(a){return{name:c.name,value:a.replace(d,"\r\n")}}):{name:c.name,
30
+ value:e.replace(d,"\r\n")}}).get()}}();try{i.querySelector(":checked")}catch(E){(function(){var b={radio:1,checkbox:1},d=function(){var b=this.options||[],d,c,e;for(d=0,c=b.length;d<c;d++)e=a(b[d]),e[a.prop(b[d],"selected")?"addClass":"removeClass"]("prop-checked")},e=function(){var b=a.prop(this,"checked")?"addClass":"removeClass";if(-1==(this.className||"").indexOf("prop-checked")==("addClass"==b))if(a(this)[b]("prop-checked"),b=this.parentNode)b.className=b.className};c.onNodeNamesPropertyModify("select",
31
+ "value",d);c.onNodeNamesPropertyModify("select","selectedIndex",d);c.onNodeNamesPropertyModify("option","selected",function(){a(this).closest("select").each(d)});c.onNodeNamesPropertyModify("input","checked",function(d,f){var h=this.type;"radio"==h&&f?c.modules["form-core"].getGroupElements(this).each(e):b[h]&&a(this).each(e)});a(i).on("change",function(g){if(b[g.target.type])if("radio"==g.target.type)c.modules["form-core"].getGroupElements(g.target).each(e);else a(g.target)[a.prop(g.target,"checked")?
32
+ "addClass":"removeClass"]("prop-checked");else"select"==g.target.nodeName.toLowerCase()&&a(g.target).each(d)});c.addReady(function(d,c){a("option, input",d).add(c.filter("option, input")).each(function(){var d;b[this.type]?d="checked":"option"==this.nodeName.toLowerCase()&&(d="selected");if(d)a(this)[a.prop(this,d)?"addClass":"removeClass"]("prop-checked")})})})()}(function(){Modernizr.textareaPlaceholder=!!("placeholder"in a("<textarea />")[0]);var b=a.browser.webkit&&Modernizr.textareaPlaceholder&&
33
+ 535>c.browserVersion;if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder||b){var d="over"==c.cfg.forms.placeholderType,e=c.cfg.forms.responsivePlaceholder,g=["textarea"];Modernizr.input.placeholder||g.push("input");var f=function(a){try{if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a.createTextRange){var b=a.createTextRange();b.collapse(!0);b.moveEnd("character",0);b.moveStart("character",0);b.select();return!0}}catch(d){}},h=function(b,c,e,g){!1===e&&(e=a.prop(b,"value"));
34
+ if(!d&&"password"!=b.type){if(!e&&g&&f(b)){var h=setTimeout(function(){f(b)},9);a(b).off(".placeholderremove").on({"keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove":function(d){if(!d||!(17==d.keyCode||16==d.keyCode))b.value=a.prop(b,"value"),c.box.removeClass("placeholder-visible"),clearTimeout(h),a(b).unbind(".placeholderremove")},"mousedown.placeholderremove drag.placeholderremove select.placeholderremove":function(){f(b);clearTimeout(h);h=setTimeout(function(){f(b)},
35
+ 9)},"blur.placeholderremove":function(){clearTimeout(h);a(b).unbind(".placeholderremove")}});return}b.value=e}else if(!e&&g){a(b).off(".placeholderremove").on({"keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove":function(d){if(!d||!(17==d.keyCode||16==d.keyCode))c.box.removeClass("placeholder-visible"),a(b).unbind(".placeholderremove")},"blur.placeholderremove":function(){a(b).unbind(".placeholderremove")}});return}c.box.removeClass("placeholder-visible")},
36
+ i=function(b,c,e,f,g){if(!f&&(f=a.data(b,"placeHolder"),!f))return;a(b).unbind(".placeholderremove");if("focus"==g||!g&&a(b).is(":focus"))("password"==b.type||d||a(b).hasClass("placeholder-visible"))&&h(b,f,"",!0);else if(!1===c&&(c=a.prop(b,"value")),c)h(b,f,c);else if(!1===e&&(e=a.attr(b,"placeholder")||""),e&&!c){c=f;!1===e&&(e=a.prop(b,"placeholder"));if(!d&&"password"!=b.type)b.value=e;c.box.addClass("placeholder-visible")}else h(b,f,c)},m=function(b){var b=a(b),d=b.prop("id"),c=!(!b.prop("title")&&
37
+ !b.attr("aria-labelledby"));!c&&d&&(c=!!a('label[for="'+d+'"]',b[0].form)[0]);c||(d||(d=a.webshims.getID(b)),c=!!a("label #"+d)[0]);return a(c?'<span class="placeholder-text"></span>':'<label for="'+d+'" class="placeholder-text"></label>')},t=function(){var b={text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var c=a.data(b,"placeHolder"),f;if(c)return c;c=a.data(b,"placeHolder",{});a(b).on("focus.placeholder blur.placeholder",function(a){i(this,!1,!1,c,a.type);c.box["focus"==
38
+ a.type?"addClass":"removeClass"]("placeholder-focused")});if(f=a.prop(b,"form"))a(f).on("reset.placeholder",function(a){setTimeout(function(){i(b,!1,!1,c,a.type)},0)});if("password"==b.type||d)c.text=m(b),c.box=e||a(b).is(".responsive-width")||-1!=(b.currentStyle||{width:""}).width.indexOf("%")?c.text:a(b).wrap('<span class="placeholder-box placeholder-box-'+(b.nodeName||"").toLowerCase()+" placeholder-box-"+a.css(b,"float")+'" />').parent(),c.text.insertAfter(b).on("mousedown.placeholder",function(){i(this,
39
+ !1,!1,c,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1}),a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(d,e){var f=a.css(b,e);c.text.css(e)!=f&&c.text.css(e,f)}),a.each(["Left","Top"],function(d,e){var f=(parseInt(a.css(b,"padding"+e),10)||0)+Math.max(parseInt(a.css(b,"margin"+e),10)||0,0)+(parseInt(a.css(b,"border"+e+"Width"),10)||0);c.text.css("padding"+e,f)}),a(b).on("updateshadowdom",function(){var d,e;((e=b.offsetWidth)||(d=b.offsetHeight))&&c.text.css({width:e,
40
+ height:d}).css(a(b).position())}).triggerHandler("updateshadowdom");else{var g=function(d){a(b).hasClass("placeholder-visible")&&(h(b,c,""),d&&"submit"==d.type&&setTimeout(function(){d.isDefaultPrevented()&&i(b,!1,!1,c)},9))};a(v).on("beforeunload",g);c.box=a(b);f&&a(f).submit(g)}return c},update:function(d,e){var f=(a.attr(d,"type")||a.prop(d,"type")||"").toLowerCase();!b[f]&&!a.nodeName(d,"textarea")?(c.error('placeholder not allowed on input[type="'+f+'"]'),"date"==f&&c.error('but you can use data-placeholder for input[type="date"]')):
41
+ (f=t.create(d),f.text&&f.text.text(e),i(d,!1,e,f))}}}();a.webshims.publicMethods={pHolder:t};g.forEach(function(a){c.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b?(c.data(this,"textareaPlaceholder",a),this.placeholder=""):c.contentAttr(this,"placeholder",a);t.update(this,a)},get:function(){return(b?c.data(this,"textareaPlaceholder"):"")||c.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});g.forEach(function(d){var e={},f;["attr","prop"].forEach(function(d){e[d]={set:function(e){var g;
42
+ b&&(g=c.data(this,"textareaPlaceholder"));g||(g=c.contentAttr(this,"placeholder"));a.removeData(this,"cachedValidity");var h=f[d]._supset.call(this,e);g&&"value"in this&&i(this,e,g);return h},get:function(){return a(this).hasClass("placeholder-visible")?"":f[d]._supget.call(this)}}});f=c.defineNodeNameProperty(d,"value",e)})}})();(function(){if(!("value"in i.createElement("output"))){c.defineNodeNameProperty("output","value",{prop:{set:function(d){var c=a.data(this,"outputShim");c||(c=b(this));c(d)},
43
+ get:function(){return c.contentAttr(this,"value")||a(this).text()||""}}});c.onNodeNamesPropertyModify("input","value",function(b,c,g){"removeAttr"!=g&&(c=a.data(this,"outputShim"))&&c(b)});var b=function(b){if(!b.getAttribute("aria-live")){var b=a(b),e=(b.text()||"").trim(),g=b.attr("id"),f=b.attr("for"),h=a('<input class="output-shim" type="text" disabled name="'+(b.attr("name")||"")+'" value="'+e+'" style="display: none !important;" />').insertAfter(b),k=h[0].form||i,m=function(a){h[0].value=a;
44
+ a=h[0].value;b.text(a);c.contentAttr(b[0],"value",a)};b[0].defaultValue=e;c.contentAttr(b[0],"value",e);b.attr({"aria-live":"polite"});g&&(h.attr("id",g),b.attr("aria-labelledby",c.getID(a('label[for="'+g+'"]',k))));f&&(g=c.getID(b),f.split(" ").forEach(function(a){(a=i.getElementById(a))&&a.setAttribute("aria-controls",g)}));b.data("outputShim",m);h.data("outputShim",m);return m}};c.addReady(function(d,c){a("output",d).add(c.filter("output")).each(function(){b(this)})});(function(){var b={updateInput:1,
45
+ input:1},e={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},g=function(a){var e,g=a.prop("value"),i=function(e){if(a){var h=a.prop("value");h!==g&&(g=h,(!e||!b[e.type])&&c.triggerInlineForm&&c.triggerInlineForm(a[0],"input"))}},k,j=function(){clearTimeout(k);k=setTimeout(i,9)},l=function(){a.unbind("focusout",l).unbind("keyup keypress keydown paste cut",j).unbind("input change updateInput",i);clearInterval(e);setTimeout(function(){i();a=null},1)};clearInterval(e);e=setInterval(i,
46
+ 99);j();a.on({"keyup keypress keydown paste cut":j,focusout:l,"input updateInput change":i})};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(i).on("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||"").toLowerCase()&&!e[b.target.type]&&g(a(b.target))})})()}})()});
@@ -1,33 +1,33 @@
1
- //errormessages for de are already included in webshims core, this is only for information:
2
- jQuery.webshims.validityMessages.de = {
3
- "typeMismatch": {
4
- "email": "{%value} ist keine zulässige E-Mail-Adresse",
5
- "url": "{%value} ist keine zulässige Webadresse",
6
- "number": "{%value} ist keine Nummer!",
7
- "date": "{%value} ist kein Datum",
8
- "time": "{%value} ist keine Uhrzeit",
9
- "range": "{%value} ist keine Nummer!",
10
- "datetime-local": "{%value} ist kein Datum-Uhrzeit Format."
11
- },
12
- "tooLong": "Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",
13
- "patternMismatch": "{%value} hat für dieses Eingabefeld ein falsches Format! {%title}",
14
- "valueMissing": {
15
- "defaultMessage": "Bitte geben Sie einen Wert ein",
16
- "checkbox": "Bitte aktivieren Sie das Kästchen",
17
- "select": "Bitte wählen Sie eine Option aus",
18
- "radio": "Bitte wählen Sie eine Option aus"
19
- },
20
- "rangeUnderflow": {
21
- "defaultMessage": "{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen können.",
22
- "date": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können.",
23
- "time": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können.",
24
- "datetime-local": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können."
25
- },
26
- "rangeOverflow": {
27
- "defaultMessage": "{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen können.",
28
- "date": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können.",
29
- "time": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können.",
30
- "datetime-local": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können."
31
- },
32
- "stepMismatch": "Der Wert {%value} ist in diesem Feld nicht zulässig. Hier sind nur bestimmte Werte zulässig. {%title}"
33
- };
1
+ //errormessages for de are already included in webshims core, this is only for information:
2
+ jQuery.webshims.validityMessages.de = {
3
+ "typeMismatch": {
4
+ "email": "{%value} ist keine zulässige E-Mail-Adresse",
5
+ "url": "{%value} ist keine zulässige Webadresse",
6
+ "number": "{%value} ist keine Nummer!",
7
+ "date": "{%value} ist kein Datum",
8
+ "time": "{%value} ist keine Uhrzeit",
9
+ "range": "{%value} ist keine Nummer!",
10
+ "datetime-local": "{%value} ist kein Datum-Uhrzeit Format."
11
+ },
12
+ "tooLong": "Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",
13
+ "patternMismatch": "{%value} hat für dieses Eingabefeld ein falsches Format! {%title}",
14
+ "valueMissing": {
15
+ "defaultMessage": "Bitte geben Sie einen Wert ein",
16
+ "checkbox": "Bitte aktivieren Sie das Kästchen",
17
+ "select": "Bitte wählen Sie eine Option aus",
18
+ "radio": "Bitte wählen Sie eine Option aus"
19
+ },
20
+ "rangeUnderflow": {
21
+ "defaultMessage": "{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen können.",
22
+ "date": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können.",
23
+ "time": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können.",
24
+ "datetime-local": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können."
25
+ },
26
+ "rangeOverflow": {
27
+ "defaultMessage": "{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen können.",
28
+ "date": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können.",
29
+ "time": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können.",
30
+ "datetime-local": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können."
31
+ },
32
+ "stepMismatch": "Der Wert {%value} ist in diesem Feld nicht zulässig. Hier sind nur bestimmte Werte zulässig. {%title}"
33
+ };
@@ -1,34 +1,34 @@
1
- //errormessages for en are already included in webshims core, this is only for information (by default en is equal to jQuery.webshims.validityMessages[""]):
2
-
3
- jQuery.webshims.validityMessages.en = {
4
- "typeMismatch": {
5
- "email": "Please enter an email address.",
6
- "url": "Please enter a URL.",
7
- "number": "Please enter a number.",
8
- "date": "Please enter a date.",
9
- "time": "Please enter a time.",
10
- "range": "Invalid input.",
11
- "datetime-local": "Please enter a datetime."
12
- },
13
- "tooLong": "Please enter at most {%maxlength} character(s). You entered {%valueLen}.",
14
- "patternMismatch": "Invalid input. {%title}",
15
- "valueMissing": {
16
- "defaultMessage": "Please fill out this field.",
17
- "checkbox": "Please check this box if you want to proceed.",
18
- "select": "Please select an option.",
19
- "radio": "Please select an option."
20
- },
21
- "rangeUnderflow": {
22
- "defaultMessage": "Value must be greater than or equal to {%min}.",
23
- "date": "Value must be at or after {%min}.",
24
- "time": "Value must be at or after {%min}.",
25
- "datetime-local": "Value must be at or after {%min}."
26
- },
27
- "rangeOverflow": {
28
- "defaultMessage": "Value must be less than or equal to {%max}.",
29
- "date": "Value must be at or before {%max}.",
30
- "time": "Value must be at or before {%max}.",
31
- "datetime-local": "Value must be at or before {%max}."
32
- },
33
- "stepMismatch": "Invalid input."
34
- };
1
+ //errormessages for en are already included in webshims core, this is only for information (by default en is equal to jQuery.webshims.validityMessages[""]):
2
+
3
+ jQuery.webshims.validityMessages.en = {
4
+ "typeMismatch": {
5
+ "email": "Please enter an email address.",
6
+ "url": "Please enter a URL.",
7
+ "number": "Please enter a number.",
8
+ "date": "Please enter a date.",
9
+ "time": "Please enter a time.",
10
+ "range": "Invalid input.",
11
+ "datetime-local": "Please enter a datetime."
12
+ },
13
+ "tooLong": "Please enter at most {%maxlength} character(s). You entered {%valueLen}.",
14
+ "patternMismatch": "Invalid input. {%title}",
15
+ "valueMissing": {
16
+ "defaultMessage": "Please fill out this field.",
17
+ "checkbox": "Please check this box if you want to proceed.",
18
+ "select": "Please select an option.",
19
+ "radio": "Please select an option."
20
+ },
21
+ "rangeUnderflow": {
22
+ "defaultMessage": "Value must be greater than or equal to {%min}.",
23
+ "date": "Value must be at or after {%min}.",
24
+ "time": "Value must be at or after {%min}.",
25
+ "datetime-local": "Value must be at or after {%min}."
26
+ },
27
+ "rangeOverflow": {
28
+ "defaultMessage": "Value must be less than or equal to {%max}.",
29
+ "date": "Value must be at or before {%max}.",
30
+ "time": "Value must be at or before {%max}.",
31
+ "datetime-local": "Value must be at or before {%max}."
32
+ },
33
+ "stepMismatch": "Invalid input."
34
+ };
@@ -1,16 +1,16 @@
1
- (function(i,l,f){var j=l.audio&&l.video,s=!1,o=f.cfg.mediaelement,m=f.bugs,v=function(){f.ready("mediaelement-swf",function(){if(!f.mediaelement.createSWF)f.modules["mediaelement-swf"].test=i.noop,f.reTest(["mediaelement-swf"],j)})},k;if(j){var p=document.createElement("video");l.videoBuffered="buffered"in p;s="loop"in p;f.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));l.videoBuffered||(f.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
2
- test:l.videoBuffered,d:["dom-support"]}),f.reTest("mediaelement-native-fix"))}if(j&&!o.preferFlash){var n=function(c){var e=c.target.parentNode;!o.preferFlash&&(i(c.target).is("audio, video")||e&&i("source:last",e)[0]==c.target)&&f.ready("DOM mediaelement",function(){k&&v();f.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){k&&!o.preferFlash&&f.mediaelement.createSWF&&!i(c.target).closest("audio, video").is(".nonnative-api-active")?(o.preferFlash=!0,document.removeEventListener("error",
1
+ (function(i,l,f){var j=l.audio&&l.video,t=!1,o=f.cfg.mediaelement,m=f.bugs,p="jwplayer"==o.player?"mediaelement-swf":"mediaelement-jaris",w=function(){f.ready(p,function(){if(!f.mediaelement.createSWF)f.mediaelement.loadSwf=!0,f.reTest([p],j)})},k;if(j){var q=document.createElement("video");l.videoBuffered="buffered"in q;t="loop"in q;f.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));l.videoBuffered||(f.addPolyfill("mediaelement-native-fix",
2
+ {f:"mediaelement",test:l.videoBuffered,d:["dom-support"]}),f.reTest("mediaelement-native-fix"))}if(j&&!o.preferFlash){var n=function(c){var e=c.target.parentNode;!o.preferFlash&&(i(c.target).is("audio, video")||e&&i("source:last",e)[0]==c.target)&&f.ready("DOM mediaelement",function(){k&&w();f.ready("WINDOWLOAD "+p,function(){setTimeout(function(){k&&!o.preferFlash&&f.mediaelement.createSWF&&!i(c.target).closest("audio, video").is(".nonnative-api-active")?(o.preferFlash=!0,document.removeEventListener("error",
3
3
  n,!0),i("audio, video").mediaLoad(),f.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+c.target.src)):k||document.removeEventListener("error",n,!0)},20)})})};document.addEventListener("error",n,!0);i("audio, video").each(function(){this.error&&n({target:this})})}m.track=!1;l.track&&function(){if(!m.track)m.track="number"!=typeof i("<track />")[0].readyState;if(!m.track)try{new TextTrackCue(2,3,"")}catch(c){m.track=!0}var e=f.cfg.track,k=function(c){i(c.target).filter("track").each(j)},
4
4
  j=function(){if(m.track||!e.override&&3==i.prop(this,"readyState"))e.override=!0,f.reTest("track"),document.removeEventListener("error",k,!0),this&&i.nodeName(this,"track")?f.error("track support was overwritten. Please check your vtt including your vtt mime-type"):f.info("track support was overwritten. due to bad browser support")},l=function(){document.addEventListener("error",k,!0);m.track?j():i("track").each(j)};e.override||(f.isReady("track")?l():i(l))}();f.register("mediaelement-core",function(c,
5
- e,f,i,n){k=swfobject.hasFlashPlayerVersion("9.0.115");var g=e.mediaelement,p=function(a,b){var a=c(a),h={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!h.src)return h;var d=a.attr("type");if(d)h.type=d,h.container=c.trim(d.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),d=g.getTypeForSrc(h.src,b))h.type=d,h.container=d;if(d=a.attr("media"))h.media=d;return h},q=!k&&"postMessage"in f&&j,w=
6
- function(){var a;return function(){!a&&q&&(a=!0,e.loader.loadScript("https://www.youtube.com/player_api"),c(function(){e.polyfill("mediaelement-yt")}))}}(),x=function(){k?v():w()};e.addPolyfill("mediaelement-yt",{test:!q,d:["dom-support"]});g.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",
5
+ e,f,i,n){k=swfobject.hasFlashPlayerVersion("9.0.115");var g=e.mediaelement,q=function(a,b){var a=c(a),h={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!h.src)return h;var d=a.attr("type");if(d)h.type=d,h.container=c.trim(d.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),d=g.getTypeForSrc(h.src,b))h.type=d,h.container=d;if(d=a.attr("media"))h.media=d;return h},r=!k&&"postMessage"in f&&j,x=
6
+ function(){var a;return function(){!a&&r&&(a=!0,e.loader.loadScript("https://www.youtube.com/player_api"),c(function(){e.polyfill("mediaelement-yt")}))}}(),y=function(){k?w():x()};e.addPolyfill("mediaelement-yt",{test:!r,d:["dom-support"]});g.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",
7
7
  "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"]}};g.mimeTypes.source=c.extend({},g.mimeTypes.audio,g.mimeTypes.video);g.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||
8
8
  -1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],h;c.each(g.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return h=b,!1});return h};g.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=i.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)});
9
- else{var b=[],h=a[0].nodeName.toLowerCase(),d=p(a,h);d.src?b.push(d):c("source",a).each(function(){d=p(this,h);d.src&&b.push(d)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==n&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));g.srces(this,a);c(this).mediaLoad()})};g.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(",");
10
- g.canThirdPlaySrces=function(a,b){var h="";if(k||q)a=c(a),b=b||g.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(k&&-1!=g.swfMimeTypes.indexOf(b.container)||q&&"video/youtube"==b.container))return h=b,!1});return h};var r={};g.canNativePlaySrces=function(a,b){var h="";if(j){var a=c(a),d=(a[0].nodeName||"").toLowerCase();if(!r[d])return h;b=b||g.srces(a);c.each(b,function(b,c){if(c.type&&r[d].prop._supvalue.call(a[0],c.type))return h=c,!1})}return h};g.setError=function(a,b){b||(b="can't play sources");
11
- c(a).pause().data("mediaerror",b);e.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var y=function(){var a;return function(b,c,d){e.ready(k?"mediaelement-swf":"mediaelement-yt",function(){g.createSWF?g.createSWF(b,c,d):a||(a=!0,x(),y(b,c,d))});!a&&q&&!g.createSWF&&w()}}(),t=function(a,b,c,d,e){c||!1!==c&&b&&"third"==b.isActive?(c=g.canThirdPlaySrces(a,d))?y(a,c,b):e?g.setError(a,!1):t(a,b,!1,d,!0):(c=g.canNativePlaySrces(a,d))?b&&"third"==
12
- b.isActive&&g.setActive(a,"html5",b):e?(g.setError(a,!1),b&&"third"==b.isActive&&g.setActive(a,"html5",b)):t(a,b,!0,d,!0)},z=/^(?:embed|object|datalist)$/i,u=function(a,b){var h=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{}),d=g.srces(a),f=a.parentNode;clearTimeout(h.loadTimer);c.data(a,"mediaerror",!1);if(d.length&&f&&!(1!=f.nodeType||z.test(f.nodeName||"")))b=b||e.data(a,"mediaelement"),t(a,b,o.preferFlash||n,d)};c(i).bind("ended",function(a){var b=e.data(a.target,"mediaelement");
13
- (!s||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)});s||e.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=e.defineNodeNameProperty(a,"load",{prop:{value:function(){var a=e.data(this,"mediaelement");u(this,a);j&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});r[a]=e.defineNodeNameProperty(a,
14
- "canPlayType",{prop:{value:function(b){var d="";j&&r[a].prop._supvalue&&(d=r[a].prop._supvalue.call(this,b),"no"==d&&(d=""));!d&&k&&(b=c.trim((b||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(b)&&(d="maybe"));return d}}})});e.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){u(a);a=null},9)}});f=function(){e.addReady(function(a,b){c("video, audio",
15
- a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<e.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():u(this);if(j){var a,b,f=this,g=function(){var a=c.prop(f,"buffered");if(a){for(var b="",d=0,e=a.length;d<e;d++)b+=a.end(d);return b}},i=function(){var a=g();a!=b&&(b=a,c(f).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==
16
- c.type&&(b=g());clearTimeout(a);a=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};l.track&&!m.track&&e.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});j?(e.isReady("mediaelement-core",!0),f(),e.ready("WINDOWLOAD mediaelement",x)):e.ready("mediaelement-swf",f);c(function(){e.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
9
+ else{var b=[],h=a[0].nodeName.toLowerCase(),d=q(a,h);d.src?b.push(d):c("source",a).each(function(){d=q(this,h);d.src&&b.push(d)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==n&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));g.srces(this,a);c(this).mediaLoad()})};g.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(",");
10
+ g.canThirdPlaySrces=function(a,b){var h="";if(k||r)a=c(a),b=b||g.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(k&&-1!=g.swfMimeTypes.indexOf(b.container)||r&&"video/youtube"==b.container))return h=b,!1});return h};var s={};g.canNativePlaySrces=function(a,b){var h="";if(j){var a=c(a),d=(a[0].nodeName||"").toLowerCase();if(!s[d])return h;b=b||g.srces(a);c.each(b,function(b,c){if(c.type&&s[d].prop._supvalue.call(a[0],c.type))return h=c,!1})}return h};g.setError=function(a,b){b||(b="can't play sources");
11
+ c(a).pause().data("mediaerror",b);e.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var z=function(){var a;return function(b,c,d){e.ready(k?p:"mediaelement-yt",function(){g.createSWF?g.createSWF(b,c,d):a||(a=!0,y(),z(b,c,d))});!a&&r&&!g.createSWF&&x()}}(),u=function(a,b,c,d,e){c||!1!==c&&b&&"third"==b.isActive?(c=g.canThirdPlaySrces(a,d))?z(a,c,b):e?g.setError(a,!1):u(a,b,!1,d,!0):(c=g.canNativePlaySrces(a,d))?b&&"third"==b.isActive&&g.setActive(a,
12
+ "html5",b):e?(g.setError(a,!1),b&&"third"==b.isActive&&g.setActive(a,"html5",b)):u(a,b,!0,d,!0)},A=/^(?:embed|object|datalist)$/i,v=function(a,b){var h=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{}),d=g.srces(a),f=a.parentNode;clearTimeout(h.loadTimer);c.data(a,"mediaerror",!1);if(d.length&&f&&!(1!=f.nodeType||A.test(f.nodeName||"")))b=b||e.data(a,"mediaelement"),u(a,b,o.preferFlash||n,d)};c(i).on("ended",function(a){var b=e.data(a.target,"mediaelement");(!t||b&&"html5"!=b.isActive||
13
+ 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)});t||e.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=e.defineNodeNameProperty(a,"load",{prop:{value:function(){var a=e.data(this,"mediaelement");v(this,a);j&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});s[a]=e.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var d=
14
+ "";j&&s[a].prop._supvalue&&(d=s[a].prop._supvalue.call(this,b),"no"==d&&(d=""));!d&&k&&(b=c.trim((b||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(b)&&(d="maybe"));return d}}})});e.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){v(a);a=null},9)}});f=function(){e.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&
15
+ 8<e.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(j){var a,b,f=this,g=function(){var a=c.prop(f,"buffered");if(a){for(var b="",d=0,e=a.length;d<e;d++)b+=a.end(d);return b}},i=function(){var a=g();a!=b&&(b=a,c(f).triggerHandler("progress"))};c(this).on({"play loadstart progress":function(c){"progress"==c.type&&(b=g());clearTimeout(a);a=setTimeout(i,999)},"emptied stalled mediaerror abort suspend":function(c){"emptied"==
16
+ c.type&&(b=!1);clearTimeout(a)}})}})})};l.track&&!m.track&&e.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});j?(e.isReady("mediaelement-core",!0),f(),e.ready("WINDOWLOAD mediaelement",y)):e.ready(p,f);c(function(){e.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
@@ -0,0 +1,23 @@
1
+ jQuery.webshims.register("mediaelement-jaris",function(d,f,l,D,p,j){var m=f.mediaelement,x=l.swfobject,r=Modernizr.audio&&Modernizr.video,y=x.hasFlashPlayerVersion("9.0.115"),q=0,l={paused:!0,ended:!1,currentSrc:"",duration:l.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(b){if(b)f.error("buffered index size error");else return 0},end:function(b){if(b)f.error("buffered index size error");else return 0},length:0}},E=Object.keys(l),z={currentTime:0,volume:1,
2
+ muted:!1};Object.keys(z);var A=d.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,currentTime:0,_ppFlag:p,_calledMeta:!1,lastDuration:0},l,z),i=function(b){return(b=f.data(b,"mediaelement"))&&"third"==b.isActive?b:null},g=function(b,a){a=d.Event(a);a.preventDefault();d.event.trigger(a,p,b)},F=j.playerPath||f.cfg.basePath+"swf/"+(j.playerName||"JarisFLVPlayer.swf");f.extendUNDEFProp(j.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent",
3
+ allowNetworking:"all"});f.extendUNDEFProp(j.vars,{controltype:"1",jsapi:"1"});f.extendUNDEFProp(j.attrs,{bgcolor:"#000000"});var h=function(b,a){3>b&&clearTimeout(a._canplaythroughTimer);if(3<=b&&3>a.readyState)a.readyState=b,g(a._elem,"canplay"),a.paused||g(a._elem,"playing"),clearTimeout(a._canplaythroughTimer),a._canplaythroughTimer=setTimeout(function(){h(4,a)},4E3);if(4<=b&&4>a.readyState)a.readyState=b,g(a._elem,"canplaythrough");a.readyState=b};d.extend(d.event.customEvent,{updatemediaelementdimensions:!0,
4
+ flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});m.jarisEvent={};var s,n={onPlayPause:function(b,a,c){var e;if(null==c)try{e=a.api.api_get("isPlaying")}catch(d){}else e=c;if(e==a.paused)a.paused=!e,b=a.paused?"pause":"play",a._ppFlag=!0,g(a._elem,b),3>a.readyState&&h(3,a),a.paused||g(a._elem,"playing")},onNotBuffering:function(b,a){h(3,a)},onDataInitialized:function(b,a){var c=a.duration;a.duration=b.duration;if(!(c==a.duration||isNaN(a.duration)||a._calledMeta&&10>Math.abs(a.lastDuration-
5
+ a.duration))){a.lastDuration=a.duration;a.videoHeight=b.height;a.videoWidth=b.width;if(!a.networkState)a.networkState=2;1>a.readyState&&h(1,a);a.duration&&g(a._elem,"durationchange");a._calledMeta||g(a._elem,"loadedmetadata");a._calledMeta=!0}},onBuffering:function(b,a){if(a.ended)a.ended=!1;h(1,a);g(a._elem,"waiting")},onTimeUpdate:function(b,a){if(a.ended)a.ended=!1;3>a.readyState&&(h(3,a),g(a._elem,"playing"));g(a._elem,"timeupdate")},onProgress:function(b,a){if(a.ended)a.ended=!1;if(a.duration&&
6
+ !isNaN(a.duration)){var c=b.loaded/b.total;if(0.02<c&&0.2>c)h(3,a);else if(0.2<c){if(0.99<c)a.networkState=1;h(4,a)}if(a._bufferedEnd&&a._bufferedEnd>c)a._bufferedStart=a.currentTime||0;a._bufferedEnd=c;a.buffered.length=1;d.event.trigger("progress",p,a._elem,!0)}},onPlaybackFinished:function(b,a){4>a.readyState&&h(4,a);a.ended=!0;g(a._elem,"ended")},onVolumeChange:function(b,a){if(a.volume!=b.volume||a.muted!=b.mute)a.volume=b.volume,a.muted=b.mute,g(a._elem,"volumechange")},ready:function(){var b=
7
+ function(a){var b=!0;try{a.api.api_get("volume")}catch(e){b=!1}return b};return function(a,c){var e=0,g=function(){9<e?c.tryedReframeing=0:(e++,c.tryedReframeing++,b(c)?(c.wasSwfReady=!0,c.tryedReframeing=0,G(c),H(c)):6>c.tryedReframeing?3>c.tryedReframeing?(c.reframeTimer=setTimeout(g,9),c.shadowElem.css({overflow:"visible"}),setTimeout(function(){c.shadowElem.css({overflow:"hidden"})},1)):(c.shadowElem.css({overflow:"hidden"}),d(c._elem).mediaLoad()):(clearTimeout(c.reframeTimer),f.error("reframing error")))};
8
+ if(c&&c.api){if(!c.tryedReframeing)c.tryedReframeing=0;clearTimeout(s);clearTimeout(c.reframeTimer);c.shadowElem.removeClass("flashblocker-assumed");e?c.reframeTimer=setTimeout(g,9):g()}}}()};n.onMute=n.onVolumeChange;var G=function(b){var a=b.actionQueue.length,c=0,e;if(a&&"third"==b.isActive)for(;b.actionQueue.length&&a>c;){c++;e=b.actionQueue.shift();try{b.api[e.fn].apply(b.api,e.args)}catch(d){f.warn(d)}}if(b.actionQueue.length)b.actionQueue=[]},H=function(b){b&&(b._ppFlag===p&&d.prop(b._elem,
9
+ "autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===p||!b.paused))try{d(b._elem).play(),b._ppFlag=!0}catch(a){}},1)},u=d.noop;if(r){var I={play:1,playing:1},B="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),C=B.map(function(b){return b+".webshimspolyfill"}).join(" "),J=function(b){var a=f.data(b.target,"mediaelement");a&&(b.originalEvent&&b.originalEvent.type===b.type)==("third"==a.activating)&&(b.stopImmediatePropagation(),
10
+ I[b.type]&&a.isActive!=a.activating&&d(b.target).pause())},u=function(b){d(b).off(C).on(C,J);B.forEach(function(a){f.moveToFirstEvent(b,a)})};u(D)}m.setActive=function(b,a,c){c||(c=f.data(b,"mediaelement"));if(c&&c.isActive!=a){"html5"!=a&&"third"!=a&&f.warn("wrong type for mediaelement activating: "+a);var e=f.data(b,"shadowData");c.activating=a;d(b).pause();c.isActive=a;"third"==a?(e.shadowElement=e.shadowFocusElement=c.shadowElem[0],d(b).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):
11
+ (d(b).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),e.shadowElement=e.shadowFocusElement=!1);d(b).trigger("mediaelementapichange")}};var K=function(){var b="_calledMeta,lastDuration,_bufferedEnd,_bufferedStart,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth".split(","),a=b.length;return function(c){if(c){var e=a,d=c.networkState;for(h(0,c);-1<--e;)delete c[b[e]];c.actionQueue=[];c.buffered.length=0;d&&g(c._elem,"emptied")}}}(),
12
+ v=function(b,a){var c=b._elem,e=b.shadowElem;d(c)[a?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!a?e.css({width:0,height:0}):e.css({width:c.style.width||d(c).width(),height:c.style.height||d(c).height()})};m.createSWF=function(b,a,c){if(y){1>q?q=1:q++;var e=d.extend({},j.vars,{poster:d.prop(b,"poster")||"",source:a.srcProp}),g=d(b).data("vars")||{};c||(c=f.data(b,"mediaelement"));var w=d.prop(b,"controls"),k="jarisplayer-"+f.getID(b),h=d.extend({},j.params,d(b).data("params")),
13
+ i=b.nodeName.toLowerCase(),l=d.extend({},j.attrs,{name:k,id:k},d(b).data("attrs")),o;c&&c.swfCreated?(clearInterval(c.readyInterval),m.setActive(b,"third",c),c.currentSrc=a.srcProp,c.shadowElem.html('<div id="'+k+'">'),c.api=!1,c.actionQueue=[],o=c.shadowElem,K(c)):(o=d('<div class="polyfill-'+i+' polyfill-mediaelement" id="wrapper-'+k+'"><div id="'+k+'"></div>').css({position:"relative",overflow:"hidden"}),c=f.data(b,"mediaelement",f.objectCreate(A,{actionQueue:{value:[]},shadowElem:{value:o},_elemNodeName:{value:i},
14
+ _elem:{value:b},currentSrc:{value:a.srcProp},swfCreated:{value:!0},id:{value:k.replace(/-/g,"")},buffered:{value:{start:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return 0},end:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return(c.duration-c._bufferedStart)*c._bufferedEnd+c._bufferedStart},length:0}}})),v(c,w),o.insertBefore(b),r&&d.extend(c,{volume:d.prop(b,"volume"),muted:d.prop(b,"muted")}),f.addShadowDom(b,o),u(b),m.setActive(b,
15
+ "third",c),d(b).on("updatemediaelementdimensions updateshadowdom",function(){v(c,d.prop(b,"controls"))}));m.jarisEvent[c.id]||(m.jarisEvent[c.id]=function(a){if("ready"==a.type)n[a.type](a,c);else{c.currentTime=a.position;if(!c._calledMeta&&isNaN(a.duration)&&c.duration!=a.duration&&isNaN(c.duration))n.onDataInitialized(a,c);if(!c._ppFlag&&"onPlayPause"!=a.type)n.onPlayPause(a,c);if(n[a.type])n[a.type](a,c);c.duration=a.duration}});d(function(){clearInterval(c.readyInterval);clearInterval(c.flashBlock);
16
+ c.readyInterval=setTimeout(function(){d.extend(e,{id:k,evtId:c.id,controls:""+w,autostart:"false"},g);if("audio/mpeg"==a.type||"audio/mp3"==a.type)e.type="audio",e.streamtype="file";else if("video/youtube"==a.type)e.streamtype="youtube";j.changeSWF(e,b,a,c,"embed");x.embedSWF(F,k,"100%","100%","9.0.0",!1,e,h,l,function(a){if(a.success)c.api=a.ref,w||d(a.ref).attr("tabindex","-1").css("outline","none"),c.flashBlock=setTimeout(function(){if(!a.ref.parentNode&&o[0].parentNode||"none"==a.ref.style.display)o.addClass("flashblocker-assumed"),
17
+ d(b).trigger("flashblocker"),f.warn("flashblocker assumed");d(a.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),s||(clearTimeout(s),s=setTimeout(function(){var b=d(a.ref);1<b[0].offsetWidth&&1<b[0].offsetHeight&&0===location.protocol.indexOf("file:")?f.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>b[0].offsetWidth||2>b[0].offsetHeight)&&f.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},
18
+ 8E3))})},9)})}else setTimeout(function(){d(b).mediaLoad()},1)};var t=function(b,a,c,d){return(d=d||i(b))?(d.api&&d.api[a]?d.api[a].apply(d.api,c||[]):(d.actionQueue.push({fn:a,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(b){var a={},c,e=function(d){"audio"==b&&("videoHeight"==d||"videoWidth"==d)||(a[d]={get:function(){var a=i(this);return a?a[d]:r&&c[d].prop._supget?c[d].prop._supget.apply(this):
19
+ A[d]},writeable:!1})},h=function(b,c){e(b);delete a[b].writeable;a[b].set=c};h("volume",function(a){var b=i(this);if(b){if(a*=1,!isNaN(a)&&((0>a||1<a)&&f.error("volume greater or less than allowed "+a/100),t(this,"api_volume",[a],b),b.volume!=a))b.volume=a,g(b._elem,"volumechange")}else if(c.volume.prop._supset)return c.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=i(this);if(b){if(a=!!a,t(this,"api_volume",[a?0:b.volume||1],b),b.muted!=a)b.muted=a,g(b._elem,"volumechange")}else if(c.muted.prop._supset)return c.muted.prop._supset.apply(this,
20
+ arguments)});h("currentTime",function(a){var b=i(this);if(b)a*=1,isNaN(a)||t(this,"api_seek",[a],b);else if(c.currentTime.prop._supset)return c.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(b){a[b]={value:function(){var a=i(this);if(a){if(a.stopPlayPause&&clearTimeout(a.stopPlayPause),t(this,"play"==b?"api_play":"api_pause",[],a),a._ppFlag=!0,a.paused!=("play"!=b))a.paused="play"!=b,g(a._elem,b)}else if(c[b].prop._supvalue)return c[b].prop._supvalue.apply(this,
21
+ arguments)}}});E.forEach(e);f.onNodeNamesPropertyModify(b,"controls",function(a,c){var e=i(this);d(this)[c?"addClass":"removeClass"]("webshims-controls");e&&(f.warn("changing controls currently not fully supported with jaris player"),"audio"==b&&v(e,c),e.api&&d(this).mediaLoad())});c=f.defineNodeNameProperties(b,a,"prop")});if(y){var L=d.cleanData,M=d.browser.msie&&9>f.browserVersion,N={object:1,OBJECT:1};d.cleanData=function(b){var a,c,d;if(b&&(c=b.length)&&q)for(a=0;a<c;a++)if(N[b[a].nodeName]){if("api_pause"in
22
+ b[a]){q--;try{b[a].api_pause()}catch(f){}}if(M)try{for(d in b[a])"function"==typeof b[a][d]&&(b[a][d]=null)}catch(g){}}return L.apply(this,arguments)}}r||(["poster","src"].forEach(function(b){f.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],b,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(b){f.defineNodeNamesBooleanProperty(["audio","video"],b)}),f.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},
23
+ 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,3 +1,3 @@
1
1
  jQuery.webshims.register("mediaelement-native-fix",function(d,c,j,g){if(!Modernizr.videoBuffered){var e=function(a){var b=c.data(a,"mediaelementBuffered");b||(b={buffered:{start:function(a){if(a>=b.buffered.length)c.error("buffered index size error");else return 0},end:function(a){if(a>=b.buffered.length)c.error("buffered index size error");else return b.loaded},length:0},loaded:0},c.data(a,"mediaelementBuffered",b));return b},h=function(a){if((a=a.originalEvent)&&"lengthComputable"in a){var b=c.data(a.target,
2
2
  "mediaelement");if(!(b&&"html5"!=b.isActive)&&a.lengthComputable&&"loaded"in a){var b=a.target.duration,f=e(a.target);f.loaded=b?a.loaded/a.total*b:0;if(f.loaded)f.buffered.length=1;"load"==a.type&&d(a.target).triggerHandler("progress")}}},i=function(a){a=e(a.target);a.buffered.length=0;a.loaded=0};["audio","video"].forEach(function(a){var b=c.defineNodeNameProperty(a,"buffered",{prop:{get:function(){var a=c.data(this,"mediaelement");if(a&&"flash"==a.isActive&&b.prop._supget)b.prop._supget.apply(this);
3
- else return e(this).buffered}}})});(function(){var a=g.createElement("video");if(!("preload"in a)&&"autobuffer"in a){var b={metadata:1,none:1};c.onNodeNamesPropertyModify(["audio","video"],["preload"],{set:function(a,e,d){if(b[a]||"removeAttr"==d)this.autobuffer=!1;else if("html5"==!(c.data(this,"mediaelement")||{}).isActive)this.autobuffer=!0},initAttr:!0})}})();c.addReady(function(a,b){d("video, audio",a).add(b.filter("video, audio")).bind("load progress",h).bind("emptied",i)})}});
3
+ else return e(this).buffered}}})});(function(){var a=g.createElement("video");if(!("preload"in a)&&"autobuffer"in a){var b={metadata:1,none:1};c.onNodeNamesPropertyModify(["audio","video"],["preload"],{set:function(a,e,d){if(b[a]||"removeAttr"==d)this.autobuffer=!1;else if("html5"==!(c.data(this,"mediaelement")||{}).isActive)this.autobuffer=!0},initAttr:!0})}})();c.addReady(function(a,b){d("video, audio",a).add(b.filter("video, audio")).on("load progress",h).on("emptied",i)})}});
@@ -1,30 +1,26 @@
1
- jQuery.webshims.register("mediaelement-swf",function(c,f,m,u,s,j){var h=f.mediaelement,A=m.swfobject,v=Modernizr.audio&&Modernizr.video,B=A.hasFlashPlayerVersion("9.0.115"),t=0,m={paused:!0,ended:!1,currentSrc:"",duration:m.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)f.error("buffered index size error");else return 0},end:function(a){if(a)f.error("buffered index size error");else return 0},length:0}},J=Object.keys(m),C={currentTime:0,volume:1,
2
- muted:!1};Object.keys(C);var D=c.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:s},m,C),E=/^jwplayer-/,l=function(a){if(a=u.getElementById(a.replace(E,"")))return a=f.data(a,"mediaelement"),"third"==a.isActive?a:null},n=function(a){return(a=f.data(a,"mediaelement"))&&"third"==a.isActive?a:null},g=function(a,b){b=c.Event(b);b.preventDefault();c.event.trigger(b,s,a)},K=j.playerPath||f.cfg.basePath+
3
- "jwplayer/"+(j.playerName||"player.swf"),F=j.pluginPath||f.cfg.basePath+"swf/jwwebshims.swf";f.extendUNDEFProp(j.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});f.extendUNDEFProp(j.jwVars,{screencolor:"ffffffff"});f.extendUNDEFProp(j.jwAttrs,{bgcolor:"#000000"});var x=function(a,b){var d=a.duration;if(!(d&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=d}catch(e){}a.duration&&
4
- a.duration!=a._lastDuration?(g(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&h.jwEvents.Model.META(c.extend({duration:a.duration},b),a),a._durationCalcs--):a._durationCalcs++}},k=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,g(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){k(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,g(b._elem,"canplaythrough");b.readyState=a};c.extend(c.event.customEvent,
5
- {updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});h.jwEvents={View:{PLAY:function(a){var b=l(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;g(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(a){var b=l(a.id);if(b&&"percentage"in a&&b._bufferedEnd!=a.percentage){b.networkState=100==a.percentage?1:2;(isNaN(b.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&x(b,a);if(b.ended)b.ended=
6
- !1;if(b.duration){2<a.percentage&&20>a.percentage?k(3,b):20<a.percentage&&k(4,b);if(b._bufferedEnd&&b._bufferedEnd>a.percentage)b._bufferedStart=b.currentTime||0;b._bufferedEnd=a.percentage;b.buffered.length=1;if(100==a.percentage)b.networkState=1,k(4,b);c.event.trigger("progress",s,b._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:l(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=
7
- 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&&k(1,b);b.duration&&d!==b.duration&&g(b._elem,"durationchange");g(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=l(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&x(b,a);2>b.readyState&&k(2,b);if(b.ended)b.ended=!1;g(b._elem,"timeupdate")}},STATE:function(a){var b=
8
- l(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;k(1,b);g(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||x(b,a);3>b.readyState&&k(3,b);if(b.ended)b.ended=!1;g(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,g(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&k(4,b),b.ended=!0,g(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=l(a.id);b&&h.setError(b._elem,a.message)},SEEK:function(a){var b=
9
- l(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(d){}if(b.currentTime!=a.position)b.currentTime=a.position,g(b._elem,"timeupdate")}},VOLUME:function(a){var b=l(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,g(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=l(a.id);if(b&&b.muted!=a.state)b.muted=a.state,g(b._elem,"volumechange")}}}};var L=function(a){var b=!0;c.each(h.jwEvents,function(d,e){c.each(e,function(c){try{a.jwapi["add"+d+"Listener"](c,
10
- "jQuery.webshims.mediaelement.jwEvents."+d+"."+c)}catch(e){return b=!1}})});return b},M=function(a){var b=a.actionQueue.length,d=0,c;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>d;)d++,c=a.actionQueue.shift(),a.jwapi[c.fn].apply(a.jwapi,c.args);if(a.actionQueue.length)a.actionQueue=[]},G=function(a){a&&(a._ppFlag===s&&c.prop(a._elem,"autoplay")||!a.paused)&&setTimeout(function(){if("third"==a.isActive&&(a._ppFlag===s||!a.paused))try{c(a._elem).play()}catch(b){}},1)},N=function(a){if(a&&
11
- "video"==a._elemNodeName){var b,d,e,f,o,i,g,j,h=function(p,q){if(q&&p&&!(1>q||1>p||"third"!=a.isActive))if(b&&(b.remove(),b=!1),f=p,o=q,clearTimeout(g),d="auto"==a._elem.style.width,e="auto"==a._elem.style.height,d||e){i=i||c(a._elem).getShadowElement();var h;d&&!e?(h=i.height(),p*=h/q,q=h):!d&&e&&(h=i.width(),q*=h/p,p=h);j=!0;setTimeout(function(){j=!1},9);i.css({width:p,height:q})}},l=function(){if(!("third"!=a.isActive||c.prop(a._elem,"readyState")&&c.prop(this,"videoWidth"))){var i=c.prop(a._elem,
12
- "poster");if(i&&(d="auto"==a._elem.style.width,e="auto"==a._elem.style.height,d||e))b&&(b.remove(),b=!1),b=c('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),b.bind("load error alreadycomplete",function(){clearTimeout(g);var a=this,d=a.naturalWidth||a.width||a.offsetWidth,i=a.naturalHeight||a.height||a.offsetHeight;i&&d?(h(d,i),a=null):setTimeout(function(){d=a.naturalWidth||a.width||a.offsetWidth;i=a.naturalHeight||a.height||a.offsetHeight;
13
- h(d,i);b&&(b.remove(),b=!1);a=null},9);c(this).unbind()}).prop("src",i).appendTo("body").each(function(){this.complete||this.error?c(this).triggerHandler("alreadycomplete"):(clearTimeout(g),g=setTimeout(function(){c(a._elem).triggerHandler("error")},9999))})}};c(a._elem).bind("loadedmetadata",function(){h(c.prop(this,"videoWidth"),c.prop(this,"videoHeight"))}).bind("emptied",l).bind("swfstageresize updatemediaelementdimensions",function(){j||h(f,o)}).bind("emptied",function(){f=void 0;o=void 0}).triggerHandler("swfstageresize");
14
- l();c.prop(a._elem,"readyState")&&h(c.prop(a._elem,"videoWidth"),c.prop(a._elem,"videoHeight"))}};h.playerResize=function(a){a&&(a=u.getElementById(a.replace(E,"")))&&c(a).triggerHandler("swfstageresize")};c(u).bind("emptied",function(a){a=n(a.target);G(a)});var w;h.jwPlayerReady=function(a){var b=l(a.id),d=0,e=function(){if(!(9<d))if(d++,L(b)){if(b.wasSwfReady)c(b._elem).mediaLoad();else{var g=parseFloat(a.version,10);(5.1>g||6<=g)&&f.warn("mediaelement-swf is only testet with jwplayer 5.6+")}b.wasSwfReady=
15
- !0;b.tryedReframeing=0;M(b);G(b)}else clearTimeout(b.reframeTimer),b.reframeTimer=setTimeout(e,9*d),2<d&&9>b.tryedReframeing&&(b.tryedReframeing++,b.shadowElem.css({overflow:"visible"}),setTimeout(function(){b.shadowElem.css({overflow:"hidden"})},16))};if(b&&b.jwapi){if(!b.tryedReframeing)b.tryedReframeing=0;clearTimeout(w);b.jwData=a;b.shadowElem.removeClass("flashblocker-assumed");c.prop(b._elem,"volume",b.volume);c.prop(b._elem,"muted",b.muted);e()}};var y=c.noop;if(v){var O={play:1,playing:1},
16
- H="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),I=H.map(function(a){return a+".webshimspolyfill"}).join(" "),P=function(a){var b=f.data(a.target,"mediaelement");b&&(a.originalEvent&&a.originalEvent.type===a.type)==("third"==b.activating)&&(a.stopImmediatePropagation(),O[a.type]&&b.isActive!=b.activating&&c(a.target).pause())},y=function(a){c(a).unbind(I).bind(I,P);H.forEach(function(b){f.moveToFirstEvent(a,b)})};y(u)}h.setActive=function(a,b,
17
- d){d||(d=f.data(a,"mediaelement"));if(d&&d.isActive!=b){"html5"!=b&&"third"!=b&&f.warn("wrong type for mediaelement activating: "+b);var e=f.data(a,"shadowData");d.activating=b;c(a).pause();d.isActive=b;"third"==b?(e.shadowElement=e.shadowFocusElement=d.shadowElem[0],c(a).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(c(a).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),e.shadowElement=e.shadowFocusElement=!1);c(a).trigger("mediaelementapichange")}};
18
- var Q=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 c=b,f=d.networkState;for(k(0,d);--c;)delete d[a[c]];d.actionQueue=[];d.buffered.length=0;f&&g(d._elem,"emptied")}}}(),z=function(a,b){var d=a._elem,e=a.shadowElem;c(d)[b?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!b?e.css({width:0,height:0}):e.css({width:d.style.width||
19
- c(d).width(),height:d.style.height||c(d).height()})};h.createSWF=function(a,b,d){if(B){1>t?t=1:t++;var e=c.extend({},j.jwVars,{image:c.prop(a,"poster")||"",file:b.srcProp}),g=c(a).data("jwvars")||{};d||(d=f.data(a,"mediaelement"));if(d&&d.swfCreated)h.setActive(a,"third",d),Q(d),d.currentSrc=b.srcProp,c.extend(e,g),j.changeJW(e,a,b,d,"load"),r(a,"sendEvent",["LOAD",e]);else{var o=c.prop(a,"controls"),i="jwplayer-"+f.getID(a),l=c.extend({},j.jwParams,c(a).data("jwparams")),k=a.nodeName.toLowerCase(),
20
- n=c.extend({},j.jwAttrs,{name:i,id:i},c(a).data("jwattrs")),m=c('<div class="polyfill-'+k+' polyfill-mediaelement" id="wrapper-'+i+'"><div id="'+i+'"></div>').css({position:"relative",overflow:"hidden"}),d=f.data(a,"mediaelement",f.objectCreate(D,{actionQueue:{value:[]},shadowElem:{value:m},_elemNodeName:{value:k},_elem:{value:a},currentSrc:{value:b.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=d.buffered.length)f.error("buffered index size error");else return 0},end:function(a){if(a>=
21
- d.buffered.length)f.error("buffered index size error");else return(d.duration-d._bufferedStart)*d._bufferedEnd/100+d._bufferedStart},length:0}}}));z(d,o);m.insertBefore(a);v&&c.extend(d,{volume:c.prop(a,"volume"),muted:c.prop(a,"muted")});c.extend(e,{id:i,controlbar:o?j.jwVars.controlbar||("video"==k?"over":"bottom"):"video"==k?"none":"bottom",icons:""+(o&&"video"==k)},g,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});e.plugins=e.plugins?e.plugins+(","+F):F;f.addShadowDom(a,m);y(a);h.setActive(a,
22
- "third",d);j.changeJW(e,a,b,d,"embed");c(a).bind("updatemediaelementdimensions updateshadowdom",function(){z(d,c.prop(a,"controls"))});N(d);A.embedSWF(K,i,"100%","100%","9.0.0",!1,e,l,n,function(b){if(b.success)d.jwapi=b.ref,o||c(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&m[0].parentNode||"none"==b.ref.style.display)m.addClass("flashblocker-assumed"),c(a).trigger("flashblocker"),f.warn("flashblocker assumed");c(b.ref).css({minHeight:"2px",minWidth:"2px",
23
- display:"block"})},9),w||(clearTimeout(w),w=setTimeout(function(){var a=c(b.ref);1<a[0].offsetWidth&&1<a[0].offsetHeight&&0===location.protocol.indexOf("file:")?f.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>a[0].offsetWidth||2>a[0].offsetHeight)&&f.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){c(a).mediaLoad()},
24
- 1)};var r=function(a,b,d,c){return(c=c||n(a))?(c.jwapi&&c.jwapi[b]?c.jwapi[b].apply(c.jwapi,d||[]):(c.actionQueue.push({fn:b,args:d}),10<c.actionQueue.length&&setTimeout(function(){5<c.actionQueue.length&&c.actionQueue.shift()},99)),c):!1};["audio","video"].forEach(function(a){var b={},d,e=function(c){"audio"==a&&("videoHeight"==c||"videoWidth"==c)||(b[c]={get:function(){var a=n(this);return a?a[c]:v&&d[c].prop._supget?d[c].prop._supget.apply(this):D[c]},writeable:!1})},h=function(a,c){e(a);delete b[a].writeable;
25
- b[a].set=c};h("volume",function(a){var b=n(this);if(b){if(a*=100,!isNaN(a)){var c=b.muted;(0>a||100<a)&&f.error("volume greater or less than allowed "+a/100);r(this,"sendEvent",["VOLUME",a],b);if(c)try{b.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(b.volume==a||"third"!=b.isActive))b.volume=a,g(b._elem,"volumechange")}}else if(d.volume.prop._supset)return d.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=n(this);if(b){if(a=!!a,r(this,"sendEvent",["mute",""+a],b),!(b.muted==
26
- a||"third"!=b.isActive))b.muted=a,g(b._elem,"volumechange")}else if(d.muted.prop._supset)return d.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=n(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);r(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,g(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(d.currentTime.prop._supset)return d.currentTime.prop._supset.apply(this,
27
- arguments)});["play","pause"].forEach(function(a){b[a]={value:function(){var b=n(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),r(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,g(b._elem,a)},1);else if(d[a].prop._supvalue)return d[a].prop._supvalue.apply(this,arguments)}}});J.forEach(e);f.onNodeNamesPropertyModify(a,"controls",function(b,d){var e=n(this);c(this)[d?"addClass":"removeClass"]("webshims-controls");
28
- if(e){try{r(this,d?"showControls":"hideControls",[a],e)}catch(g){f.warn("you need to generate a crossdomain.xml")}"audio"==a&&z(e,d);c(e.jwapi).attr("tabindex",d?"0":"-1")}});d=f.defineNodeNameProperties(a,b,"prop")});if(B){var R=c.cleanData,S=c.browser.msie&&9>f.browserVersion,T={object:1,OBJECT:1};c.cleanData=function(a){var b,c,e;if(a&&(c=a.length)&&t)for(b=0;b<c;b++)if(T[a[b].nodeName]){if("sendEvent"in a[b]){t--;try{a[b].sendEvent("play",!1)}catch(f){}}if(S)try{for(e in a[b])"function"==typeof a[b][e]&&
29
- (a[b][e]=null)}catch(g){}}return R.apply(this,arguments)}}v||(["poster","src"].forEach(function(a){f.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],a,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(a){f.defineNodeNamesBooleanProperty(["audio","video"],a)}),f.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},
30
- NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
1
+ jQuery.webshims.register("mediaelement-swf",function(c,e,k,s,p,i){var l=e.mediaelement,y=k.swfobject,t=Modernizr.audio&&Modernizr.video,z=y.hasFlashPlayerVersion("9.0.115"),q=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)e.error("buffered index size error");else return 0},end:function(a){if(a)e.error("buffered index size error");else return 0},length:0}},H=Object.keys(k),A={currentTime:0,volume:1,
2
+ muted:!1};Object.keys(A);var B=c.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:p},k,A),C=/^jwplayer-/,j=function(a){if(a=s.getElementById(a.replace(C,"")))return a=e.data(a,"mediaelement"),"third"==a.isActive?a:null},m=function(a){return(a=e.data(a,"mediaelement"))&&"third"==a.isActive?a:null},g=function(a,b){b=c.Event(b);b.preventDefault();c.event.trigger(b,p,a)},I=i.playerPath||e.cfg.basePath+
3
+ "jwplayer/"+(i.playerName||"player.swf"),D=i.pluginPath||e.cfg.basePath+"swf/jwwebshims.swf";e.extendUNDEFProp(i.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});e.extendUNDEFProp(i.vars,{screencolor:"ffffffff"});e.extendUNDEFProp(i.attrs,{bgcolor:"#000000"});var v=function(a,b){var d=a.duration;if(!(d&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=d}catch(f){}a.duration&&
4
+ a.duration!=a._lastDuration?(g(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&l.jwEvents.Model.META(c.extend({duration:a.duration},b),a),a._durationCalcs--):a._durationCalcs++}},h=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,g(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){h(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,g(b._elem,"canplaythrough");b.readyState=a};c.extend(c.event.customEvent,
5
+ {updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});l.jwEvents={View:{PLAY:function(a){var b=j(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;g(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(a){var b=j(a.id);if(b&&"percentage"in a&&b._bufferedEnd!=a.percentage){b.networkState=100==a.percentage?1:2;(isNaN(b.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&v(b,a);if(b.ended)b.ended=
6
+ !1;if(b.duration){2<a.percentage&&20>a.percentage?h(3,b):20<a.percentage&&h(4,b);if(b._bufferedEnd&&b._bufferedEnd>a.percentage)b._bufferedStart=b.currentTime||0;b._bufferedEnd=a.percentage;b.buffered.length=1;if(100==a.percentage)b.networkState=1,h(4,b);c.event.trigger("progress",p,b._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:j(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=
7
+ 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&&h(1,b);b.duration&&d!==b.duration&&g(b._elem,"durationchange");g(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=j(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&v(b,a);2>b.readyState&&h(2,b);if(b.ended)b.ended=!1;g(b._elem,"timeupdate")}},STATE:function(a){var b=
8
+ j(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;h(1,b);g(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||v(b,a);3>b.readyState&&h(3,b);if(b.ended)b.ended=!1;g(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,g(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&h(4,b),b.ended=!0,g(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=j(a.id);b&&l.setError(b._elem,a.message)},SEEK:function(a){var b=
9
+ j(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(d){}if(b.currentTime!=a.position)b.currentTime=a.position,g(b._elem,"timeupdate")}},VOLUME:function(a){var b=j(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,g(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=j(a.id);if(b&&b.muted!=a.state)b.muted=a.state,g(b._elem,"volumechange")}}}};var J=function(a){var b=!0;c.each(l.jwEvents,function(d,f){c.each(f,function(c){try{a.jwapi["add"+d+"Listener"](c,
10
+ "jQuery.webshims.mediaelement.jwEvents."+d+"."+c)}catch(r){return b=!1}})});return b},K=function(a){var b=a.actionQueue.length,d=0,c;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>d;)d++,c=a.actionQueue.shift(),a.jwapi[c.fn].apply(a.jwapi,c.args);if(a.actionQueue.length)a.actionQueue=[]},E=function(a){a&&(a._ppFlag===p&&c.prop(a._elem,"autoplay")||!a.paused)&&setTimeout(function(){if("third"==a.isActive&&(a._ppFlag===p||!a.paused))try{c(a._elem).play()}catch(b){}},1)};l.playerResize=function(a){a&&
11
+ (a=s.getElementById(a.replace(C,"")))&&c(a).triggerHandler("swfstageresize")};c(s).on("emptied",function(a){a=m(a.target);E(a)});var u;l.jwPlayerReady=function(a){var b=j(a.id),d=0,f=function(){if(!(9<d))if(d++,J(b)){if(b.wasSwfReady)c(b._elem).mediaLoad();else{var g=parseFloat(a.version,10);(5.1>g||6<=g)&&e.warn("mediaelement-swf is only testet with jwplayer 5.6+")}b.wasSwfReady=!0;b.tryedReframeing=0;K(b);E(b)}else clearTimeout(b.reframeTimer),b.reframeTimer=setTimeout(f,9*d),2<d&&9>b.tryedReframeing&&
12
+ (b.tryedReframeing++,b.shadowElem.css({overflow:"visible"}),setTimeout(function(){b.shadowElem.css({overflow:"hidden"})},16))};if(b&&b.jwapi){if(!b.tryedReframeing)b.tryedReframeing=0;clearTimeout(u);b.jwData=a;b.shadowElem.removeClass("flashblocker-assumed");c.prop(b._elem,"volume",b.volume);c.prop(b._elem,"muted",b.muted);f()}};var w=c.noop;if(t){var L={play:1,playing:1},F="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),G=F.map(function(a){return a+
13
+ ".webshimspolyfill"}).join(" "),M=function(a){var b=e.data(a.target,"mediaelement");b&&(a.originalEvent&&a.originalEvent.type===a.type)==("third"==b.activating)&&(a.stopImmediatePropagation(),L[a.type]&&b.isActive!=b.activating&&c(a.target).pause())},w=function(a){c(a).off(G).on(G,M);F.forEach(function(b){e.moveToFirstEvent(a,b)})};w(s)}l.setActive=function(a,b,d){d||(d=e.data(a,"mediaelement"));if(d&&d.isActive!=b){"html5"!=b&&"third"!=b&&e.warn("wrong type for mediaelement activating: "+b);var f=
14
+ e.data(a,"shadowData");d.activating=b;c(a).pause();d.isActive=b;"third"==b?(f.shadowElement=f.shadowFocusElement=d.shadowElem[0],c(a).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(c(a).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);c(a).trigger("mediaelementapichange")}};var N=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),
15
+ b=a.length;return function(d){if(d){var c=b,e=d.networkState;for(h(0,d);--c;)delete d[a[c]];d.actionQueue=[];d.buffered.length=0;e&&g(d._elem,"emptied")}}}(),x=function(a,b){var d=a._elem,f=a.shadowElem;c(d)[b?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!b?f.css({width:0,height:0}):f.css({width:d.style.width||c(d).width(),height:d.style.height||c(d).height()})};l.createSWF=function(a,b,d){if(z){1>q?q=1:q++;var f=c.extend({},i.vars,{image:c.prop(a,"poster")||"",file:b.srcProp}),
16
+ g=c(a).data("vars")||{};d||(d=e.data(a,"mediaelement"));if(d&&d.swfCreated)l.setActive(a,"third",d),N(d),d.currentSrc=b.srcProp,c.extend(f,g),i.changeSWF(f,a,b,d,"load"),n(a,"sendEvent",["LOAD",f]);else{var r=c.prop(a,"controls"),o="jwplayer-"+e.getID(a),j=c.extend({},i.params,c(a).data("params")),h=a.nodeName.toLowerCase(),m=c.extend({},i.attrs,{name:o,id:o},c(a).data("attrs")),k=c('<div class="polyfill-'+h+' polyfill-mediaelement" id="wrapper-'+o+'"><div id="'+o+'"></div>').css({position:"relative",
17
+ overflow:"hidden"}),d=e.data(a,"mediaelement",e.objectCreate(B,{actionQueue:{value:[]},shadowElem:{value:k},_elemNodeName:{value:h},_elem:{value:a},currentSrc:{value:b.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=d.buffered.length)e.error("buffered index size error");else return 0},end:function(a){if(a>=d.buffered.length)e.error("buffered index size error");else return(d.duration-d._bufferedStart)*d._bufferedEnd/100+d._bufferedStart},length:0}}}));x(d,r);k.insertBefore(a);
18
+ t&&c.extend(d,{volume:c.prop(a,"volume"),muted:c.prop(a,"muted")});c.extend(f,{id:o,controlbar:r?i.vars.controlbar||("video"==h?"over":"bottom"):"video"==h?"none":"bottom",icons:""+(r&&"video"==h)},g,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});f.plugins=f.plugins?f.plugins+(","+D):D;e.addShadowDom(a,k);w(a);l.setActive(a,"third",d);i.changeSWF(f,a,b,d,"embed");c(a).on("updatemediaelementdimensions updateshadowdom",function(){x(d,c.prop(a,"controls"))});y.embedSWF(I,o,"100%","100%",
19
+ "9.0.0",!1,f,j,m,function(b){if(b.success)d.jwapi=b.ref,r||c(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&k[0].parentNode||"none"==b.ref.style.display)k.addClass("flashblocker-assumed"),c(a).trigger("flashblocker"),e.warn("flashblocker assumed");c(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),u||(clearTimeout(u),u=setTimeout(function(){var a=c(b.ref);1<a[0].offsetWidth&&1<a[0].offsetHeight&&0===location.protocol.indexOf("file:")?
20
+ e.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>a[0].offsetWidth||2>a[0].offsetHeight)&&e.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){c(a).mediaLoad()},1)};var n=function(a,b,d,c){return(c=c||m(a))?(c.jwapi&&c.jwapi[b]?c.jwapi[b].apply(c.jwapi,d||[]):(c.actionQueue.push({fn:b,args:d}),10<
21
+ c.actionQueue.length&&setTimeout(function(){5<c.actionQueue.length&&c.actionQueue.shift()},99)),c):!1};["audio","video"].forEach(function(a){var b={},d,f=function(c){"audio"==a&&("videoHeight"==c||"videoWidth"==c)||(b[c]={get:function(){var a=m(this);return a?a[c]:t&&d[c].prop._supget?d[c].prop._supget.apply(this):B[c]},writeable:!1})},h=function(a,c){f(a);delete b[a].writeable;b[a].set=c};h("volume",function(a){var b=m(this);if(b){if(a*=100,!isNaN(a)){var c=b.muted;(0>a||100<a)&&e.error("volume greater or less than allowed "+
22
+ a/100);n(this,"sendEvent",["VOLUME",a],b);if(c)try{b.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(b.volume==a||"third"!=b.isActive))b.volume=a,g(b._elem,"volumechange")}}else if(d.volume.prop._supset)return d.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=m(this);if(b){if(a=!!a,n(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"third"!=b.isActive))b.muted=a,g(b._elem,"volumechange")}else if(d.muted.prop._supset)return d.muted.prop._supset.apply(this,arguments)});h("currentTime",
23
+ function(a){var b=m(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);n(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,g(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(d.currentTime.prop._supset)return d.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){b[a]={value:function(){var b=m(this);if(b)b.stopPlayPause&&
24
+ clearTimeout(b.stopPlayPause),n(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,g(b._elem,a)},1);else if(d[a].prop._supvalue)return d[a].prop._supvalue.apply(this,arguments)}}});H.forEach(f);e.onNodeNamesPropertyModify(a,"controls",function(b,d){var f=m(this);c(this)[d?"addClass":"removeClass"]("webshims-controls");if(f){try{n(this,d?"showControls":"hideControls",[a],f)}catch(g){e.warn("you need to generate a crossdomain.xml")}"audio"==
25
+ a&&x(f,d);c(f.jwapi).attr("tabindex",d?"0":"-1")}});d=e.defineNodeNameProperties(a,b,"prop")});if(z){var O=c.cleanData,P=c.browser.msie&&9>e.browserVersion,Q={object:1,OBJECT:1};c.cleanData=function(a){var b,c,e;if(a&&(c=a.length)&&q)for(b=0;b<c;b++)if(Q[a[b].nodeName]){if("sendEvent"in a[b]){q--;try{a[b].sendEvent("play",!1)}catch(g){}}if(P)try{for(e in a[b])"function"==typeof a[b][e]&&(a[b][e]=null)}catch(h){}}return O.apply(this,arguments)}}t||(["poster","src"].forEach(function(a){e.defineNodeNamesProperty("src"==
26
+ a?["audio","video","source"]:["video"],a,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(a){e.defineNodeNamesBooleanProperty(["audio","video"],a)}),e.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},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
@@ -2,13 +2,13 @@ jQuery.webshims.register("mediaelement-yt",function(d,e,i,r,m){var n=e.mediaelem
2
2
  s={currentTime:0,volume:1,muted:!1};Object.keys(s);var w=d.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_metadata:!1,_callMeta:!1,currentTime:0,_buffered:0,_ppFlag:m},i,s),k=function(b,c){c=d.Event(c);c.preventDefault();d.event.trigger(c,m,b)},x=function(){var b="_buffered,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta".split(","),c=b.length;return function(a){if(a){var d=c,h=a.networkState;for(a.readyState=0;--d;)delete a[b[d]];
3
3
  a.buffered.length=0;clearInterval(a._timeInterval);h&&k(a._elem,"emptied")}}}(),t=function(b){var c=b._elem;b.shadowElem.css({width:c.style.width||d(c).width(),height:c.style.height||d(c).height()})},j=function(b){return(b=e.data(b,"mediaelement"))&&"third"==b.isActive?b:null},y=function(b){var c,b=b.split("?");-1!=b[0].indexOf("youtube.com/watch")&&b[1]?(b=b[1].split("&"),d.each(b,function(a,d){d=d.split("=");if("v"==d[0])return b=d[1],c=!0,!1})):-1!=b[0].indexOf("youtube.com/v/")&&(b=b[0].split("/"),
4
4
  d.each(b,function(a,d){if(c)return b=d,!1;"v"==d&&(c=!0)}));c||e.warn("no youtube id found: "+b);return b},u=function(b){b&&(b._ppFlag===m&&d.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===m||!b.paused))try{d(b._elem).play()}catch(c){}},1)},q=d.noop;(function(){var b={play:1,playing:1},c="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),a=c.map(function(a){return a+".webshimspolyfill"}).join(" "),
5
- g=function(a){var c=e.data(a.target,"mediaelement");c&&(a.originalEvent&&a.originalEvent.type===a.type)==("third"==c.activating)&&(a.stopImmediatePropagation(),b[a.type]&&c.isActive!=c.activating&&d(a.target).pause())};q=function(b){d(b).unbind(a).bind(a,g);c.forEach(function(a){e.moveToFirstEvent(b,a)})};q(r)})();d(r).bind("emptied",function(b){b=j(b.target);u(b)});n.setActive=function(b,c,a){a||(a=e.data(b,"mediaelement"));if(a&&a.isActive!=c){"html5"!=c&&"third"!=c&&e.warn("wrong type for mediaelement activating: "+
5
+ g=function(a){var c=e.data(a.target,"mediaelement");c&&(a.originalEvent&&a.originalEvent.type===a.type)==("third"==c.activating)&&(a.stopImmediatePropagation(),b[a.type]&&c.isActive!=c.activating&&d(a.target).pause())};q=function(b){d(b).off(a).on(a,g);c.forEach(function(a){e.moveToFirstEvent(b,a)})};q(r)})();d(r).on("emptied",function(b){b=j(b.target);u(b)});n.setActive=function(b,c,a){a||(a=e.data(b,"mediaelement"));if(a&&a.isActive!=c){"html5"!=c&&"third"!=c&&e.warn("wrong type for mediaelement activating: "+
6
6
  c);var g=e.data(b,"shadowData");a.activating=c;d(b).pause();a.isActive=c;"third"==c?(g.shadowElement=g.shadowFocusElement=a.shadowElem[0],d(b).addClass("yt-api-active nonnative-api-active").hide().getShadowElement().show()):(clearInterval(a._timeInterval),d(b).removeClass("yt-api-active nonnative-api-active").show().getShadowElement().hide(),g.shadowElement=g.shadowFocusElement=!1);d(b).trigger("mediaelementapichange")}};var o=function(b,c){c._ppFlag=!0;if("playing"==b){o("play",c);if(3>c.readyState)c.readyState=
7
7
  3,k(c._elem,"canplay");d(c._elem).trigger("playing")}if("play"==b&&c.paused)c.paused=!1,k(c._elem,"play");else if("pause"==b&&!c.paused)c.paused=!0,k(c._elem,"pause")},z=function(b,c,a,e){p.done(function(){var h=function(){var c,f;if(a._metadata&&a._ytAPI.getVideoLoadedFraction){f=a._ytAPI.getVideoLoadedFraction();c=f*a.duration;if(a._buffered!==c)a._buffered=c,a.buffered.length=1,d(b).trigger("progress");if(0.99<f)a.networkState=1;if(4>a.readyState&&a.currentTime&&(9<a._buffered-a.currentTime||0.9<
8
8
  f))a.readyState=4,k(a._elem,"canplaythrough")}},f=function(){if("third"==a.isActive&&a._ytAPI&&a._ytAPI.getVolume){var c=a._ytAPI.getVolume()/100,f=a._ytAPI.isMuted(),l;if(c!=a.volume)a.volume=c,l=!0;if(f!=a.muted)a.muted=f,l=!0;if(a._ytAPI&&a._ytAPI.getCurrentTime){c=a._ytAPI.getCurrentTime();if(a.currentTime!=c)a.currentTime=c,d(b).trigger("timeupdate");h()}h();l&&d(b).trigger("volumechange")}},l=function(){clearInterval(a._timeInterval);a._timeInterval=setInterval(function(){var c=a._ytAPI.getCurrentTime();
9
9
  if(a.currentTime!=c)a.currentTime=c,d(b).trigger("timeupdate")},350)};a._ytAPI=new YT.Player(c,{height:"100%",width:"100%",playerVars:{allowfullscreen:!0,fs:1,rel:0,showinfo:0,autohide:1,controls:d.prop(b,"controls")?1:0},videoId:e,events:{onReady:function(){u(a);setTimeout(f,9);setInterval(f,5E3)},onStateChange:function(c){if(c.target.getDuration){var e;if(!a._metadata){var g=c.target.getDuration();if(g){a._metadata=!0;a.duration=g;if(1>a.readyState)a.readyState=1;if(1>a.networkState)a.networkState=
10
- 2;e=!0}}e&&d(b).trigger("durationchange").trigger("loadedmetadata");setTimeout(f,9);if(1==c.data)o("playing",a),l();else if(2==c.data)clearInterval(a._timeInterval),o("pause",a);else if(3==c.data){if(2<a.readyState)a.readyState=2;a.networkState=2;d(b).trigger("waiting")}else if(0===c.data){if(4<a.readyState)a.readyState=4;a.networkState=1;clearInterval(a._timeInterval);d(b).trigger("ended")}}}}});d(b).bind("updateytdata",f)})};n.createSWF=function(b,c,a){a||(a=e.data(b,"mediaelement"));var g=y(c.src);
10
+ 2;e=!0}}e&&d(b).trigger("durationchange").trigger("loadedmetadata");setTimeout(f,9);if(1==c.data)o("playing",a),l();else if(2==c.data)clearInterval(a._timeInterval),o("pause",a);else if(3==c.data){if(2<a.readyState)a.readyState=2;a.networkState=2;d(b).trigger("waiting")}else if(0===c.data){if(4<a.readyState)a.readyState=4;a.networkState=1;clearInterval(a._timeInterval);d(b).trigger("ended")}}}}});d(b).on("updateytdata",f)})};n.createSWF=function(b,c,a){a||(a=e.data(b,"mediaelement"));var g=y(c.src);
11
11
  if(a)n.setActive(b,"third",a),x(a),a.currentSrc=c.srcProp,p.done(function(){a._ytAPI.loadVideoById&&a._ytAPI.loadVideoById(g)});else{d.prop(b,"controls");var h="yt-"+e.getID(b),f=d('<div class="polyfill-video polyfill-mediaelement" id="wrapper-'+h+'"><div id="'+h+'"></div>').css({position:"relative",overflow:"hidden"}),a=e.data(b,"mediaelement",e.objectCreate(w,{shadowElem:{value:f},_elem:{value:b},currentSrc:{value:c.srcProp},buffered:{value:{start:function(b){if(b>=a.buffered.length)e.error("buffered index size error");
12
- else return 0},end:function(b){if(b>=a.buffered.length)e.error("buffered index size error");else return a._buffered},length:0}}}));t(a);f.insertBefore(b);e.addShadowDom(b,f);n.setActive(b,"third",a);q(b);z(b,h,a,g);d(b).bind("updatemediaelementdimensions updateshadowdom",function(){t(a)})}};(function(){var b=function(a){clearTimeout(a.updateDataTimer);a.updateDataTimer=setTimeout(function(){d(a._elem).triggerHandler("updateytdata")},9)},c={},a,g=function(b){c[b]={get:function(){var c=j(this);return c?
12
+ else return 0},end:function(b){if(b>=a.buffered.length)e.error("buffered index size error");else return a._buffered},length:0}}}));t(a);f.insertBefore(b);e.addShadowDom(b,f);n.setActive(b,"third",a);q(b);z(b,h,a,g);d(b).on("updatemediaelementdimensions updateshadowdom",function(){t(a)})}};(function(){var b=function(a){clearTimeout(a.updateDataTimer);a.updateDataTimer=setTimeout(function(){d(a._elem).triggerHandler("updateytdata")},9)},c={},a,g=function(b){c[b]={get:function(){var c=j(this);return c?
13
13
  c[b]:a[b].prop._supget.apply(this)},writeable:!1}},h=function(a,b){g(a);delete c[a].writeable;c[a].set=b};v.forEach(g);h("currentTime",function(c){var d=j(this);if(d)c*=1,!isNaN(c)&&d._ytAPI&&d._ytAPI.seekTo&&(d._ytAPI.seekTo(c),b(d));else return a.currentTime.prop._supset.apply(this,arguments)});h("muted",function(c){var d=j(this);if(d)d._ytAPI&&d._ytAPI.mute&&(d._ytAPI[c?"mute":"unMute"](),b(d));else return a.muted.prop._supset.apply(this,arguments)});h("volume",function(c){var d=j(this);if(d)c*=
14
14
  100,!isNaN(c)&&d._ytAPI&&d._ytAPI.setVolume&&((0>c||100<c)&&e.error("volume greater or less than allowed "+c/100),d._ytAPI.setVolume(c),b(d));else return a.volume.prop._supset.apply(this,arguments)});d.each(["play","pause"],function(b,d){var e=d+"Video";c[d]={value:function(){var b=j(this);if(b)b._ytAPI&&b._ytAPI[e]&&(b._ytAPI[e](),o(d,b));else return a[d].prop._supvalue.apply(this,arguments)}}});a=e.defineNodeNameProperties("video",c,"prop")})()});
@@ -1,686 +1,689 @@
1
- article,aside,canvas,details,figcaption,figure,
2
- footer,header,hgroup,menu,nav,section,summary {
3
- display:block;
4
- }
5
- audio {
6
- display: none;
7
- height: 0;
8
- width: 0;
9
- }
10
- audio.webshims-controls,
11
- video {
12
- display: inline-block;
13
- min-height: 45px;
14
- min-width: 40px;
15
- }
16
- audio[controls] {
17
- display: inline-block;
18
- min-height: 45px;
19
- min-width: 40px;
20
- }
21
- video *,
22
- audio * {
23
- display: none !important;
24
- }
25
- .flashblocker-assumed {
26
- min-height: 20px;
27
- min-width: 20px;
28
- }
29
- .cue-display {
30
- position: absolute !important;
31
- margin: 0;
32
- padding: 0px !important;
33
- max-width: 100% !important;
34
- max-height: 100% !important;
35
- border: none !important;
36
- background: none !important;
37
- text-align: center;
38
- visibility: hidden;
39
- font-family: sans-serif;
40
- font-size: 12px;
41
- white-space: pre-wrap;
42
- overflow: hidden;
43
- }
44
- .cue-display b {
45
- font-weight: bold;
46
- }
47
- .cue-display i {
48
- font-style: italic;
49
- }
50
- .cue-display u {
51
- text-decoration: underline;
52
- }
53
- .cue-display span.cue-wrapper {
54
- position: absolute;
55
- left: 0;
56
- bottom: 0;
57
- right: 0;
58
- display: block;
59
- padding: 0;
60
- margin: 0;
61
- width: 100%;
62
- font-size: 160%;
63
- color: #fff;
64
- visibility: visible !important;
65
- }
66
- .cue-display span.cue {
67
- display: inline-block;
68
- padding: 3px 5px;
69
- background: #000;
70
- background: rgba(0,0,0,0.8);
71
- color: #fff;
72
- }
73
- .cue-display .description-cues {
74
- position: absolute;
75
- top: -99px;
76
- left: -99px;
77
- display: block;
78
- width: 5px;
79
- height: 5px;
80
- overflow: hidden;
81
- }
82
- mark {
83
- background-color: #ff9;
84
- color: #000;
85
- font-style: italic;
86
- font-weight: bold;
87
- }
88
-
89
- /* reset */
90
- .input-range .ui-slider-range,
91
- .placeholder-box,
92
- .placeholder-text,
93
- .input-datetime-local,
94
- .step-controls,
95
- .step-controls span,
96
- .input-range,
97
- .input-range .ui-slider-handle,
98
- .input-range .ui-slider-range,
99
- .details-open-indicator {
100
- margin: 0;
101
- padding: 0;
102
- border: none;
103
- width: auto;
104
- background: transparent none;
105
- }
106
- output {
107
- position: relative;
108
- }
109
-
110
- .webshims-visual-hide {
111
- position: absolute !important;
112
- top: 0 !important;
113
- left: 0 !important;
114
- visibility: hidden !important;
115
- width: 0 !important;
116
- height: 0 !important;
117
- overflow: hidden !important;
118
- }
119
-
120
- .webshims-visual-hide * {
121
- visibility: hidden !important;
122
- }
123
-
124
- /* placeholder */
125
- .placeholder-box {
126
- position: relative;
127
- display: inline-block;
128
- zoom: 1;
129
- }
130
- .polyfill-important .placeholder-box {
131
- position: relative !important;
132
- display: inline-block !important;
133
- margin: 0 !important;
134
- padding: 0 !important;
135
- width: auto !important;
136
- height: auto !important;
137
- }
138
- .placeholder-box-input {
139
- vertical-align: bottom;
140
- }
141
-
142
- .placeholder-box-left {
143
- float: left;
144
- }
145
- .placeholder-box-right {
146
- float: right;
147
- }
148
-
149
- .placeholder-text {
150
- position: absolute;
151
- display: none;
152
- top: 0;
153
- left: 0;
154
- overflow: hidden;
155
- color: #999;
156
- line-height: 1;
157
- cursor: text;
158
- }
159
- .polyfill-important .placeholder-text {
160
- margin: 0 !important;
161
- padding-right: 0 !important;
162
- padding-bottom: 0 !important;
163
- display: none !important;
164
- }
165
- .placeholder-box-input .placeholder-text {
166
- white-space: nowrap;
167
- }
168
- .placeholder-visible {
169
- color: #999;
170
- }
171
- .placeholder-visible .placeholder-text,
172
- .placeholder-text.placeholder-visible {
173
- display: inline-block;
174
- }
175
- .placeholder-focused.placeholder-visible {
176
- color: #ccc;
177
- }
178
- .polyfill-important .placeholder-visible .placeholder-text,
179
- .polyfill-important .placeholder-text.placeholder-visible {
180
- display: inline-block !important;
181
- }
182
-
183
- /* datetime-local */
184
- .input-datetime-local {
185
- display: inline-block;
186
- zoom: 1;
187
- vertical-align: middle;
188
- }
189
- .polyfill-important .input-datetime-local {
190
- display: inline-block !important;
191
- height: auto !important;
192
- padding: 0 !important;
193
- margin: 0 !important;
194
- border: none !important;
195
- }
196
- .polyfill-important .input-datetime-local input {
197
- display: inline !important;
198
- }
199
- .input-datetime-local-date {
200
- margin: 0 2px 0 0;
201
- }
202
- .polyfill-important .input-datetime-local-date {
203
- margin: 0 2px 0 0 !important;
204
- }
205
- .input-datetime-local-time {
206
- margin: 0 0 0 2px;
207
- }
208
- .polyfill-important .input-datetime-local-time {
209
- margin: 0 0 0 2px !important;
210
- }
211
- img.ui-datepicker-trigger {
212
- display: inline;
213
- display: inline-block;
214
- width: 16px;
215
- }
216
- /* spinner control for time, number (usable for date, datetime-local) */
217
- .has-step-controls {
218
- display: inline;
219
- }
220
- .polyfill-important .has-step-controls {
221
- display: inline !important;
222
- }
223
- .step-controls {
224
- position: relative;
225
- zoom: 1;
226
- overflow: hidden;
227
- display: inline-block;
228
- font-size: 0;
229
- vertical-align: middle;
230
- vertical-align: top;
231
- margin-left: -17px;
232
- height: 19px;
233
- width: 15px;
234
- }
235
- .polyfill-important .step-controls {
236
- display: inline-block !important;
237
- padding: 0 !important;
238
- vertical-align: top !important;
239
- }
240
- .step-controls span {
241
- position: absolute;
242
- display: inline-block;
243
- overflow: hidden;
244
- margin: 0 !important;
245
- padding: 0 !important;
246
- width: 15px;
247
- height: 9px;
248
- cursor: pointer;
249
- font-size: 0;
250
- line-height: 0;
251
- background: url(forms.png) no-repeat 0 0;
252
- }
253
- .polyfill-important .step-controls span {
254
- display: inline-block !important;
255
- margin: 0 !important;
256
- padding: 0 !important;
257
- font-size: 0 !important;
258
- }
259
-
260
- .step-controls span.step-up {
261
- top: 0;
262
- background-position: -80px 0;
263
- }
264
- .step-controls span.step-up:hover {
265
- background-position: -105px 0;
266
- }
267
- .step-controls > span.mousepress-ui.step-up {
268
- background-position: -105px -20px;
269
- }
270
- .step-controls span.step-down {
271
- bottom: 0;
272
- background-position: -155px 0;
273
- }
274
- .step-controls span.step-down:hover {
275
- background-position: -180px 0;
276
- }
277
- .step-controls > span.mousepress-ui.step-down {
278
- background-position: -180px -20px;
279
- }
280
- /* disabled or readonly */
281
- .step-controls.disabled-step-control span {
282
- opacity: 0.95;
283
- cursor: default;
284
- }
285
- .step-controls.disabled-step-control span.step-up {
286
- background-position: -130px 0;
287
- }
288
- .step-controls.disabled-step-control span.step-down {
289
- background-position: -205px 0;
290
- }
291
-
292
- /* range */
293
- .input-range {
294
- position: relative;
295
- display: inline-block;
296
- vertical-align: middle;
297
- margin: 5px 0;
298
- zoom: 1;
299
- border: none;
300
- height: 9px;
301
- width: 155px;
302
- border-radius: 1px;
303
- background: url(forms.png) 0 -43px no-repeat;
304
- cursor: pointer;
305
- font-size: 0;
306
- line-height: 0;
307
- }
308
- .polyfill-important .input-range {
309
- display: inline-block !important;
310
- padding: 0 !important;
311
- font-size: 0 !important;
312
- }
313
- .input-range .ui-slider-handle {
314
- top: 0;
315
- position: absolute;
316
- display: block;
317
- z-index: 4;
318
- overflow: hidden;
319
- margin: -5px 0 0 -8px;
320
- height: 22px;
321
- width: 17px;
322
- background: url(forms.png) 0 0 no-repeat;
323
- cursor: pointer;
324
- outline: none;
325
- font-size: 0;
326
- line-height: 0;
327
- }
328
- .input-range .ui-slider-handle:hover,
329
- .input-range .ui-slider-handle:focus {
330
- background-position: -17px 0;
331
- }
332
- .input-range .ui-slider-handle.ui-state-active {
333
- background-position: -34px 0;
334
- }
335
- .input-range.ui-slider-disabled {
336
- cursor: default;
337
- opacity: 0.95;
338
- }
339
- .input-range.ui-slider-disabled .ui-slider-handle {
340
- cursor: default;
341
- background-position: -51px 0;
342
- }
343
- .input-range .ui-slider-range {
344
- position: absolute;
345
- z-index: 1;
346
- overflow: hidden;
347
- display: block;
348
- background: #b6e2fb;
349
- }
350
- .input-range .input-range .ui-slider-range,
351
- .polyfill-important .input-range .ui-slider-handle {
352
- position: absolute !important;
353
- display: block !important;
354
- padding: 0 !important;
355
- }
356
- .input-range.ui-slider-horizontal .ui-slider-range {
357
- top: 4px;
358
- height: 1px;
359
- }
360
- .input-range.ui-slider-horizontal .ui-slider-range-min {
361
- left: 0;
362
- }
363
- .input-range.ui-slider-horizontal .ui-slider-range-max {
364
- right: 0;
365
- }
366
- .input-date-datepicker-control {
367
- position: absolute;
368
- zoom: 1;
369
- display: none;
370
- background-color: #fff;
371
- z-index: 100;
372
- overflow: visible;
373
- padding: 5px;
374
- font-family: "MS Shell Dlg", "Lucida Grande", "Calibri", sans-serif;
375
- font-size: 14px;
376
- border: 1px solid #333;
377
- }
378
- .polyfill-important .input-date-datepicker-control {
379
- z-index: 999999999 !important;
380
- }
381
- .input-date-datepicker-control .ui-datepicker-header {
382
- position: relative;
383
- margin: 0 0 3px;
384
- padding: 2px 0;
385
- }
386
- .input-date-datepicker-control .ui-datepicker-header select {
387
- border: 1px solid #333;
388
- padding: 1px 2px 2px;
389
- }
390
- .input-date-datepicker-control .ui-datepicker-header option {
391
- padding-right: 8px;
392
- }
393
- .input-date-datepicker-control .ui-datepicker-header .ui-icon {
394
- position: absolute;
395
- display: block;
396
- top: 0.2em;
397
- width: 15px;
398
- height: 18px;
399
- text-indent: -9999em;
400
- font-size: 10px;
401
- line-height: 0;
402
- background: url(forms.png) no-repeat;
403
- cursor: pointer;
404
- }
405
- .input-date-datepicker-control .ui-datepicker-header .ui-state-disabled .ui-icon {
406
- cursor: default;
407
- }
408
- .input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-w {
409
- left: 3px;
410
- background-position: -235px 3px;
411
- }
412
- .input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-w {
413
- background-position: -235px -17px;
414
- }
415
- .input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-e {
416
- right: 3px;
417
- background-position: -248px 3px;
418
- }
419
- .input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-e {
420
- background-position: -248px -17px;
421
- }
422
- .input-date-datepicker-control table {
423
- font-size: 100%;
424
- border-spacing: 1px;
425
- }
426
- .input-date-datepicker-control .ui-datepicker-title {
427
- margin: 0 20px;
428
- }
429
- .input-date-datepicker-control .ui-datepicker-title,
430
- .input-date-datepicker-control th {
431
- color: #069;
432
- text-align: center;
433
- font-weight: bold;
434
- }
435
-
436
- .input-date-datepicker-control td,
437
- .input-date-datepicker-control th {
438
- padding: 0 2px;
439
- text-align: center;
440
- font-weight: normal;
441
- }
442
-
443
- .input-date-datepicker-control td {
444
- padding: 0 4px;
445
- cursor: pointer;
446
- text-align: right;
447
- border: 1px solid #fff;
448
- border-radius: 2px;
449
- }
450
-
451
- .input-date-datepicker-control td.ui-datepicker-current-day {
452
- background-color: #adf;
453
- color: #000;
454
- border-color: #06c;
455
- }
456
- .input-date-datepicker-control td.ui-datepicker-today{
457
- border-color: #06c;
458
- }
459
- .input-date-datepicker-control td.ui-datepicker-current-day a {
460
- color: #000;
461
- }
462
- .input-date-datepicker-control td a {
463
- color: #000;
464
- text-decoration: none;
465
- }
466
-
467
- .input-date-datepicker-control td:hover {
468
- background-color: #bef;
469
- border-color: #06c;
470
- }
471
- .input-date-datepicker-control td.ui-state-disabled {
472
- cursor: default;
473
- border-color: #fff;
474
- color: #bbb;
475
- background-color: transparent;
476
- }
477
-
478
- .input-date-datepicker-control .ui-datepicker-buttonpane {
479
- margin: 4px 0 0;
480
- }
481
- .input-date-datepicker-control .ui-datepicker-cover {
482
- display: none; /*sorry for IE5*/
483
- display/**/: block; /*sorry for IE5*/
484
- position: absolute; /*must have*/
485
- z-index: -1; /*must have*/
486
- filter: mask(); /*must have*/
487
- top: -4px; /*must have*/
488
- left: -4px; /*must have*/
489
- width: 200px; /*must have*/
490
- height: 200px; /*must have*/
491
- }
492
-
493
- datalist {
494
- display: none;
495
- }
496
- .datalist-polyfill {
497
- position: absolute !important;
498
- font-family: "Lucida Grande", "MS Shell Dlg", "Calibri", sans-serif;
499
- font-size: 100%;
500
- top: 0;
501
- left: 0;
502
- margin: 0;
503
- padding: 0;
504
- display: none;
505
- z-index: 999999999;
506
- }
507
- .datalist-polyfill.datalist-visible{
508
- display: block;
509
- }
510
- .datalist-polyfill div {
511
- margin: 0;
512
- padding: 0;
513
- }
514
- .datalist-polyfill .datalist-box {
515
- border: 1px solid #333;
516
- max-height: 200px;
517
- overflow: hidden;
518
- overflow-x: hidden !important;
519
- overflow-y: auto;
520
- }
521
- .datalist-polyfill ul,
522
- .datalist-polyfill li {
523
- font-size: 100%;
524
- list-style: none !important;
525
- }
526
- .datalist-polyfill ul {
527
- position: static !important;
528
- overflow: hidden;
529
- margin: 0;
530
- padding: 2px 0;
531
- height: auto !important;
532
- background-color: #fff;
533
- color: #000;
534
-
535
- }
536
- .datalist-polyfill li {
537
- margin: 1px 1px 1px 0;
538
- padding: 2px 2px 2px 5px;
539
- overflow: hidden;
540
- white-space: nowrap;
541
- cursor: default;
542
- zoom: 1;
543
- overflow: hidden;
544
- }
545
- .datalist-polyfill .option-label {
546
- display: inline-block;
547
- float: left;
548
- max-width: 100%;
549
- text-overflow: ellipsis;
550
- }
551
- .datalist-polyfill .option-value {
552
- display: none;
553
- float: right;
554
- text-overflow: ellipsis;
555
- }
556
- .datalist-polyfill .hidden-item {
557
- display: none !important;
558
- }
559
- .datalist-polyfill .active-item {
560
- background-color: #39f;
561
- color: #fff;
562
- cursor: default;
563
- }
564
-
565
- .validity-alert-wrapper {
566
- position: absolute !important;
567
- overflow: hidden;
568
- padding: 0 6px 6px 0;
569
- font: 12px/140% sans-serif;
570
- z-index: 1000000000;
571
-
572
- }
573
- .validity-alert {
574
- display: inline-block;
575
- padding: 8px 0 0;
576
- }
577
- .validity-alert .va-box {
578
- display: inline-block !important;
579
- background: #fafafa;
580
- color: #000;
581
- border: 1px solid #ccc;
582
- padding: 5px;
583
- border-radius: 5px;
584
- box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
585
- zoom: 1 !important;
586
- min-width: 60px;
587
- }
588
-
589
- .validity-alert .va-arrow {
590
- position: absolute;
591
- top: 1px;
592
- left: 20px;
593
- display: block;
594
- width: 0;
595
- height: 0;
596
- border-left: 9px solid transparent;
597
- border-right: 9px solid transparent;
598
-
599
- border-bottom: 7px solid #ccc;
600
- border-top: none;
601
- zoom: 1;
602
- font-size: 0;
603
- }
604
- html .validity-alert span.va-arrow,
605
- html .validity-alert .va-arrow .va-arrow-box{
606
- border-left-color: transparent;
607
- border-right-color: transparent;
608
- }
609
- .polyfill-important .validity-alert span.va-arrow,
610
- .polyfill-important .validity-alert .va-arrow .va-arrow-box {
611
- border-left-color: transparent !important;
612
- border-right-color: transparent !important;
613
- }
614
- * html .validity-alert .va-arrow {display: none;}
615
- .validity-alert .va-arrow .va-arrow-box {
616
- position: relative;
617
- top: 1px;
618
- left: -9px;
619
- display: block;
620
- width: 0;
621
- height: 0;
622
- border-left: 9px solid transparent;
623
- border-right: 9px solid transparent;
624
- border-bottom: 7px solid #fafafa;
625
- border-top: none;
626
- }
627
-
628
- /* localStorage */
629
- #swflocalstorageshim-wrapper {
630
- position: absolute;
631
- top: -999px;
632
- left: -9999px;
633
- overflow: hidden;
634
- width: 215px;
635
- min-width: 215px !important;
636
- z-index: 2147483647;
637
- }
638
- #swflocalstorageshim-wrapper .polyfill-exceeded-message {
639
- margin: 0 0 5px;
640
- padding: 5px;
641
- background: #ffd;
642
- color: #000;
643
- font-size: 13px;
644
- }
645
- #swflocalstorageshim-wrapper object {
646
- min-height: 138px !important;
647
- min-width: 215px !important;
648
- }
649
- details {
650
- overflow: hidden;
651
- }
652
- summary {
653
- position: relative;
654
- }
655
- .closed-details-child {
656
- display: none !important;
657
- }
658
-
659
- .details-open-indicator {
660
- margin: -1px 0 0;
661
- display: inline-block;
662
- width: 16px;
663
- height: 11px;
664
- background: url(details-arrows.png) no-repeat 0 0;
665
- vertical-align: middle;
666
- }
667
- .closed-details-summary .details-open-indicator {
668
- background-position: 0 -20px;
669
- }
670
- .polyfill-important .details-open-indicator {
671
- margin: -1px 0 0 !important;
672
- padding: 0 !important;
673
- border: 0 !important;
674
- display: inline-block !important;
675
- width: 16px !important;
676
- height: 11px !important;
677
- background: url(details-arrows.png) no-repeat 0 0 !important;
678
- vertical-align: middle !important;
679
- }
680
- .polyfill-important .closed-details-summary .details-open-indicator {
681
- background-position: 0 -20px !important;
682
- }
683
- summary.summary-has-focus {
684
- outline: 1px dotted #aaa;
685
- outline-offset: -1px;
686
- }
1
+ article,aside,canvas,details,figcaption,figure,
2
+ footer,header,hgroup,menu,nav,section,summary {
3
+ display:block;
4
+ }
5
+ audio {
6
+ display: none;
7
+ height: 0;
8
+ width: 0;
9
+ }
10
+ audio.webshims-controls,
11
+ video {
12
+ display: inline-block;
13
+ min-height: 45px;
14
+ min-width: 40px;
15
+ }
16
+ audio[controls] {
17
+ display: inline-block;
18
+ min-height: 45px;
19
+ min-width: 40px;
20
+ }
21
+ video *,
22
+ audio * {
23
+ display: none !important;
24
+ }
25
+ .flashblocker-assumed {
26
+ min-height: 20px;
27
+ min-width: 20px;
28
+ }
29
+ .cue-display {
30
+ position: absolute !important;
31
+ margin: 0;
32
+ padding: 0px !important;
33
+ max-width: 100% !important;
34
+ max-height: 100% !important;
35
+ border: none !important;
36
+ background: none !important;
37
+ text-align: center;
38
+ visibility: hidden;
39
+ font-family: sans-serif;
40
+ font-size: 12px;
41
+ white-space: pre-wrap;
42
+ overflow: hidden;
43
+ }
44
+ .cue-display b {
45
+ font-weight: bold;
46
+ }
47
+ .cue-display i {
48
+ font-style: italic;
49
+ }
50
+ .cue-display u {
51
+ text-decoration: underline;
52
+ }
53
+ .cue-display span.cue-wrapper {
54
+ position: absolute;
55
+ left: 0;
56
+ bottom: 0;
57
+ right: 0;
58
+ display: block;
59
+ padding: 0;
60
+ margin: 0;
61
+ width: 100%;
62
+ font-size: 160%;
63
+ color: #fff;
64
+ visibility: visible !important;
65
+ }
66
+ .cue-display .cue-line {
67
+ display: block;
68
+ }
69
+ .cue-display span.cue {
70
+ display: inline-block;
71
+ padding: 3px 5px;
72
+ background: #000;
73
+ background: rgba(0,0,0,0.8);
74
+ color: #fff;
75
+ }
76
+ .cue-display .description-cues {
77
+ position: absolute;
78
+ top: -99px;
79
+ left: -99px;
80
+ display: block;
81
+ width: 5px;
82
+ height: 5px;
83
+ overflow: hidden;
84
+ }
85
+ mark {
86
+ background-color: #ff9;
87
+ color: #000;
88
+ font-style: italic;
89
+ font-weight: bold;
90
+ }
91
+
92
+ /* reset */
93
+ .input-range .ui-slider-range,
94
+ .placeholder-box,
95
+ .placeholder-text,
96
+ .input-datetime-local,
97
+ .step-controls,
98
+ .step-controls span,
99
+ .input-range,
100
+ .input-range .ui-slider-handle,
101
+ .input-range .ui-slider-range,
102
+ .details-open-indicator {
103
+ margin: 0;
104
+ padding: 0;
105
+ border: none;
106
+ width: auto;
107
+ background: transparent none;
108
+ }
109
+ output {
110
+ position: relative;
111
+ }
112
+
113
+ .webshims-visual-hide {
114
+ position: absolute !important;
115
+ top: 0 !important;
116
+ left: 0 !important;
117
+ visibility: hidden !important;
118
+ width: 0 !important;
119
+ height: 0 !important;
120
+ overflow: hidden !important;
121
+ }
122
+
123
+ .webshims-visual-hide * {
124
+ visibility: hidden !important;
125
+ }
126
+
127
+ /* placeholder */
128
+ .placeholder-box {
129
+ position: relative;
130
+ display: inline-block;
131
+ zoom: 1;
132
+ }
133
+ .polyfill-important .placeholder-box {
134
+ position: relative !important;
135
+ display: inline-block !important;
136
+ margin: 0 !important;
137
+ padding: 0 !important;
138
+ width: auto !important;
139
+ height: auto !important;
140
+ }
141
+ .placeholder-box-input {
142
+ vertical-align: bottom;
143
+ }
144
+
145
+ .placeholder-box-left {
146
+ float: left;
147
+ }
148
+ .placeholder-box-right {
149
+ float: right;
150
+ }
151
+
152
+ .placeholder-text {
153
+ position: absolute;
154
+ display: none;
155
+ top: 0;
156
+ left: 0;
157
+ overflow: hidden;
158
+ color: #999;
159
+ line-height: 1;
160
+ cursor: text;
161
+ }
162
+ .polyfill-important .placeholder-text {
163
+ margin: 0 !important;
164
+ padding-right: 0 !important;
165
+ padding-bottom: 0 !important;
166
+ display: none !important;
167
+ }
168
+ .placeholder-box-input .placeholder-text {
169
+ white-space: nowrap;
170
+ }
171
+ .placeholder-visible {
172
+ color: #999;
173
+ }
174
+ .placeholder-visible .placeholder-text,
175
+ .placeholder-text.placeholder-visible {
176
+ display: inline-block;
177
+ }
178
+ .placeholder-focused.placeholder-visible {
179
+ color: #ccc;
180
+ }
181
+ .polyfill-important .placeholder-visible .placeholder-text,
182
+ .polyfill-important .placeholder-text.placeholder-visible {
183
+ display: inline-block !important;
184
+ }
185
+
186
+ /* datetime-local */
187
+ .input-datetime-local {
188
+ display: inline-block;
189
+ zoom: 1;
190
+ vertical-align: middle;
191
+ }
192
+ .polyfill-important .input-datetime-local {
193
+ display: inline-block !important;
194
+ height: auto !important;
195
+ padding: 0 !important;
196
+ margin: 0 !important;
197
+ border: none !important;
198
+ }
199
+ .polyfill-important .input-datetime-local input {
200
+ display: inline !important;
201
+ }
202
+ .input-datetime-local-date {
203
+ margin: 0 2px 0 0;
204
+ }
205
+ .polyfill-important .input-datetime-local-date {
206
+ margin: 0 2px 0 0 !important;
207
+ }
208
+ .input-datetime-local-time {
209
+ margin: 0 0 0 2px;
210
+ }
211
+ .polyfill-important .input-datetime-local-time {
212
+ margin: 0 0 0 2px !important;
213
+ }
214
+ img.ui-datepicker-trigger {
215
+ display: inline;
216
+ display: inline-block;
217
+ width: 16px;
218
+ }
219
+ /* spinner control for time, number (usable for date, datetime-local) */
220
+ .has-step-controls {
221
+ display: inline;
222
+ }
223
+ .polyfill-important .has-step-controls {
224
+ display: inline !important;
225
+ }
226
+ .step-controls {
227
+ position: relative;
228
+ zoom: 1;
229
+ overflow: hidden;
230
+ display: inline-block;
231
+ font-size: 0;
232
+ vertical-align: middle;
233
+ vertical-align: top;
234
+ margin-left: -17px;
235
+ height: 19px;
236
+ width: 15px;
237
+ }
238
+ .polyfill-important .step-controls {
239
+ display: inline-block !important;
240
+ padding: 0 !important;
241
+ vertical-align: top !important;
242
+ }
243
+ .step-controls span {
244
+ position: absolute;
245
+ display: inline-block;
246
+ overflow: hidden;
247
+ margin: 0 !important;
248
+ padding: 0 !important;
249
+ width: 15px;
250
+ height: 9px;
251
+ cursor: pointer;
252
+ font-size: 0;
253
+ line-height: 0;
254
+ background: url(forms.png) no-repeat 0 0;
255
+ }
256
+ .polyfill-important .step-controls span {
257
+ display: inline-block !important;
258
+ margin: 0 !important;
259
+ padding: 0 !important;
260
+ font-size: 0 !important;
261
+ }
262
+
263
+ .step-controls span.step-up {
264
+ top: 0;
265
+ background-position: -80px 0;
266
+ }
267
+ .step-controls span.step-up:hover {
268
+ background-position: -105px 0;
269
+ }
270
+ .step-controls > span.mousepress-ui.step-up {
271
+ background-position: -105px -20px;
272
+ }
273
+ .step-controls span.step-down {
274
+ bottom: 0;
275
+ background-position: -155px 0;
276
+ }
277
+ .step-controls span.step-down:hover {
278
+ background-position: -180px 0;
279
+ }
280
+ .step-controls > span.mousepress-ui.step-down {
281
+ background-position: -180px -20px;
282
+ }
283
+ /* disabled or readonly */
284
+ .step-controls.disabled-step-control span {
285
+ opacity: 0.95;
286
+ cursor: default;
287
+ }
288
+ .step-controls.disabled-step-control span.step-up {
289
+ background-position: -130px 0;
290
+ }
291
+ .step-controls.disabled-step-control span.step-down {
292
+ background-position: -205px 0;
293
+ }
294
+
295
+ /* range */
296
+ .input-range {
297
+ position: relative;
298
+ display: inline-block;
299
+ vertical-align: middle;
300
+ margin: 5px 0;
301
+ zoom: 1;
302
+ border: none;
303
+ height: 9px;
304
+ width: 155px;
305
+ border-radius: 1px;
306
+ background: url(forms.png) 0 -43px no-repeat;
307
+ cursor: pointer;
308
+ font-size: 0;
309
+ line-height: 0;
310
+ }
311
+ .polyfill-important .input-range {
312
+ display: inline-block !important;
313
+ padding: 0 !important;
314
+ font-size: 0 !important;
315
+ }
316
+ .input-range .ui-slider-handle {
317
+ top: 0;
318
+ position: absolute;
319
+ display: block;
320
+ z-index: 4;
321
+ overflow: hidden;
322
+ margin: -5px 0 0 -8px;
323
+ height: 22px;
324
+ width: 17px;
325
+ background: url(forms.png) 0 0 no-repeat;
326
+ cursor: pointer;
327
+ outline: none;
328
+ font-size: 0;
329
+ line-height: 0;
330
+ }
331
+ .input-range .ui-slider-handle:hover,
332
+ .input-range .ui-slider-handle:focus {
333
+ background-position: -17px 0;
334
+ }
335
+ .input-range .ui-slider-handle.ui-state-active {
336
+ background-position: -34px 0;
337
+ }
338
+ .input-range.ui-slider-disabled {
339
+ cursor: default;
340
+ opacity: 0.95;
341
+ }
342
+ .input-range.ui-slider-disabled .ui-slider-handle {
343
+ cursor: default;
344
+ background-position: -51px 0;
345
+ }
346
+ .input-range .ui-slider-range {
347
+ position: absolute;
348
+ z-index: 1;
349
+ overflow: hidden;
350
+ display: block;
351
+ background: #b6e2fb;
352
+ }
353
+ .input-range .input-range .ui-slider-range,
354
+ .polyfill-important .input-range .ui-slider-handle {
355
+ position: absolute !important;
356
+ display: block !important;
357
+ padding: 0 !important;
358
+ }
359
+ .input-range.ui-slider-horizontal .ui-slider-range {
360
+ top: 4px;
361
+ height: 1px;
362
+ }
363
+ .input-range.ui-slider-horizontal .ui-slider-range-min {
364
+ left: 0;
365
+ }
366
+ .input-range.ui-slider-horizontal .ui-slider-range-max {
367
+ right: 0;
368
+ }
369
+ .input-date-datepicker-control {
370
+ position: absolute;
371
+ zoom: 1;
372
+ display: none;
373
+ background-color: #fff;
374
+ z-index: 100;
375
+ overflow: visible;
376
+ padding: 5px;
377
+ font-family: "MS Shell Dlg", "Lucida Grande", "Calibri", sans-serif;
378
+ font-size: 14px;
379
+ border: 1px solid #333;
380
+ }
381
+ .polyfill-important .input-date-datepicker-control {
382
+ z-index: 999999999 !important;
383
+ }
384
+ .input-date-datepicker-control .ui-datepicker-header {
385
+ position: relative;
386
+ margin: 0 0 3px;
387
+ padding: 2px 0;
388
+ }
389
+ .input-date-datepicker-control .ui-datepicker-header select {
390
+ border: 1px solid #333;
391
+ padding: 1px 2px 2px;
392
+ }
393
+ .input-date-datepicker-control .ui-datepicker-header option {
394
+ padding-right: 8px;
395
+ }
396
+ .input-date-datepicker-control .ui-datepicker-header .ui-icon {
397
+ position: absolute;
398
+ display: block;
399
+ top: 0.2em;
400
+ width: 15px;
401
+ height: 18px;
402
+ text-indent: -9999em;
403
+ font-size: 10px;
404
+ line-height: 0;
405
+ background: url(forms.png) no-repeat;
406
+ cursor: pointer;
407
+ }
408
+ .input-date-datepicker-control .ui-datepicker-header .ui-state-disabled .ui-icon {
409
+ cursor: default;
410
+ }
411
+ .input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-w {
412
+ left: 3px;
413
+ background-position: -235px 3px;
414
+ }
415
+ .input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-w {
416
+ background-position: -235px -17px;
417
+ }
418
+ .input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-e {
419
+ right: 3px;
420
+ background-position: -248px 3px;
421
+ }
422
+ .input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-e {
423
+ background-position: -248px -17px;
424
+ }
425
+ .input-date-datepicker-control table {
426
+ font-size: 100%;
427
+ border-spacing: 1px;
428
+ }
429
+ .input-date-datepicker-control .ui-datepicker-title {
430
+ margin: 0 20px;
431
+ }
432
+ .input-date-datepicker-control .ui-datepicker-title,
433
+ .input-date-datepicker-control th {
434
+ color: #069;
435
+ text-align: center;
436
+ font-weight: bold;
437
+ }
438
+
439
+ .input-date-datepicker-control td,
440
+ .input-date-datepicker-control th {
441
+ padding: 0 2px;
442
+ text-align: center;
443
+ font-weight: normal;
444
+ }
445
+
446
+ .input-date-datepicker-control td {
447
+ padding: 0 4px;
448
+ cursor: pointer;
449
+ text-align: right;
450
+ border: 1px solid #fff;
451
+ border-radius: 2px;
452
+ }
453
+
454
+ .input-date-datepicker-control td.ui-datepicker-current-day {
455
+ background-color: #adf;
456
+ color: #000;
457
+ border-color: #06c;
458
+ }
459
+ .input-date-datepicker-control td.ui-datepicker-today{
460
+ border-color: #06c;
461
+ }
462
+ .input-date-datepicker-control td.ui-datepicker-current-day a {
463
+ color: #000;
464
+ }
465
+ .input-date-datepicker-control td a {
466
+ color: #000;
467
+ text-decoration: none;
468
+ }
469
+
470
+ .input-date-datepicker-control td:hover {
471
+ background-color: #bef;
472
+ border-color: #06c;
473
+ }
474
+ .input-date-datepicker-control td.ui-state-disabled {
475
+ cursor: default;
476
+ border-color: #fff;
477
+ color: #bbb;
478
+ background-color: transparent;
479
+ }
480
+
481
+ .input-date-datepicker-control .ui-datepicker-buttonpane {
482
+ margin: 4px 0 0;
483
+ }
484
+ .input-date-datepicker-control .ui-datepicker-cover {
485
+ display: none; /*sorry for IE5*/
486
+ display/**/: block; /*sorry for IE5*/
487
+ position: absolute; /*must have*/
488
+ z-index: -1; /*must have*/
489
+ filter: mask(); /*must have*/
490
+ top: -4px; /*must have*/
491
+ left: -4px; /*must have*/
492
+ width: 200px; /*must have*/
493
+ height: 200px; /*must have*/
494
+ }
495
+
496
+ datalist {
497
+ display: none;
498
+ }
499
+ .datalist-polyfill {
500
+ position: absolute !important;
501
+ font-family: "Lucida Grande", "MS Shell Dlg", "Calibri", sans-serif;
502
+ font-size: 100%;
503
+ top: 0;
504
+ left: 0;
505
+ margin: 0;
506
+ padding: 0;
507
+ display: none;
508
+ z-index: 999999999;
509
+ }
510
+ .datalist-polyfill.datalist-visible{
511
+ display: block;
512
+ }
513
+ .datalist-polyfill div {
514
+ margin: 0;
515
+ padding: 0;
516
+ }
517
+ .datalist-polyfill .datalist-box {
518
+ border: 1px solid #333;
519
+ max-height: 200px;
520
+ overflow: hidden;
521
+ overflow-x: hidden !important;
522
+ overflow-y: auto;
523
+ }
524
+ .datalist-polyfill ul,
525
+ .datalist-polyfill li {
526
+ font-size: 100%;
527
+ list-style: none !important;
528
+ }
529
+ .datalist-polyfill ul {
530
+ position: static !important;
531
+ overflow: hidden;
532
+ margin: 0;
533
+ padding: 2px 0;
534
+ height: auto !important;
535
+ background-color: #fff;
536
+ color: #000;
537
+
538
+ }
539
+ .datalist-polyfill li {
540
+ margin: 1px 1px 1px 0;
541
+ padding: 2px 2px 2px 5px;
542
+ overflow: hidden;
543
+ white-space: nowrap;
544
+ cursor: default;
545
+ zoom: 1;
546
+ overflow: hidden;
547
+ }
548
+ .datalist-polyfill .option-label {
549
+ display: inline-block;
550
+ float: left;
551
+ max-width: 100%;
552
+ text-overflow: ellipsis;
553
+ }
554
+ .datalist-polyfill .option-value {
555
+ display: none;
556
+ float: right;
557
+ text-overflow: ellipsis;
558
+ }
559
+ .datalist-polyfill .hidden-item {
560
+ display: none !important;
561
+ }
562
+ .datalist-polyfill .active-item {
563
+ background-color: #39f;
564
+ color: #fff;
565
+ cursor: default;
566
+ }
567
+
568
+ .validity-alert-wrapper {
569
+ position: absolute !important;
570
+ overflow: hidden;
571
+ padding: 0 6px 6px 0;
572
+ font: 12px/140% sans-serif;
573
+ z-index: 1000000000;
574
+
575
+ }
576
+ .validity-alert {
577
+ display: inline-block;
578
+ padding: 8px 0 0;
579
+ }
580
+ .validity-alert .va-box {
581
+ display: inline-block !important;
582
+ background: #fafafa;
583
+ color: #000;
584
+ border: 1px solid #ccc;
585
+ padding: 5px;
586
+ border-radius: 5px;
587
+ box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
588
+ zoom: 1 !important;
589
+ min-width: 60px;
590
+ }
591
+
592
+ .validity-alert .va-arrow {
593
+ position: absolute;
594
+ top: 1px;
595
+ left: 20px;
596
+ display: block;
597
+ width: 0;
598
+ height: 0;
599
+ border-left: 9px solid transparent;
600
+ border-right: 9px solid transparent;
601
+
602
+ border-bottom: 7px solid #ccc;
603
+ border-top: none;
604
+ zoom: 1;
605
+ font-size: 0;
606
+ }
607
+ html .validity-alert span.va-arrow,
608
+ html .validity-alert .va-arrow .va-arrow-box{
609
+ border-left-color: transparent;
610
+ border-right-color: transparent;
611
+ }
612
+ .polyfill-important .validity-alert span.va-arrow,
613
+ .polyfill-important .validity-alert .va-arrow .va-arrow-box {
614
+ border-left-color: transparent !important;
615
+ border-right-color: transparent !important;
616
+ }
617
+ * html .validity-alert .va-arrow {display: none;}
618
+ .validity-alert .va-arrow .va-arrow-box {
619
+ position: relative;
620
+ top: 1px;
621
+ left: -9px;
622
+ display: block;
623
+ width: 0;
624
+ height: 0;
625
+ border-left: 9px solid transparent;
626
+ border-right: 9px solid transparent;
627
+ border-bottom: 7px solid #fafafa;
628
+ border-top: none;
629
+ }
630
+
631
+ /* localStorage */
632
+ #swflocalstorageshim-wrapper {
633
+ position: absolute;
634
+ top: -999px;
635
+ left: -9999px;
636
+ overflow: hidden;
637
+ width: 215px;
638
+ min-width: 215px !important;
639
+ z-index: 2147483647;
640
+ }
641
+ #swflocalstorageshim-wrapper .polyfill-exceeded-message {
642
+ margin: 0 0 5px;
643
+ padding: 5px;
644
+ background: #ffd;
645
+ color: #000;
646
+ font-size: 13px;
647
+ }
648
+ #swflocalstorageshim-wrapper object {
649
+ min-height: 138px !important;
650
+ min-width: 215px !important;
651
+ }
652
+ details {
653
+ overflow: hidden;
654
+ }
655
+ summary {
656
+ position: relative;
657
+ }
658
+ .closed-details-child {
659
+ display: none !important;
660
+ }
661
+
662
+ .details-open-indicator {
663
+ margin: -1px 0 0;
664
+ display: inline-block;
665
+ width: 16px;
666
+ height: 11px;
667
+ background: url(details-arrows.png) no-repeat 0 0;
668
+ vertical-align: middle;
669
+ }
670
+ .closed-details-summary .details-open-indicator {
671
+ background-position: 0 -20px;
672
+ }
673
+ .polyfill-important .details-open-indicator {
674
+ margin: -1px 0 0 !important;
675
+ padding: 0 !important;
676
+ border: 0 !important;
677
+ display: inline-block !important;
678
+ width: 16px !important;
679
+ height: 11px !important;
680
+ background: url(details-arrows.png) no-repeat 0 0 !important;
681
+ vertical-align: middle !important;
682
+ }
683
+ .polyfill-important .closed-details-summary .details-open-indicator {
684
+ background-position: 0 -20px !important;
685
+ }
686
+ summary.summary-has-focus {
687
+ outline: 1px dotted #aaa;
688
+ outline-offset: -1px;
689
+ }