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.
- data/lib/webshims-rails/version.rb +2 -2
- data/vendor/assets/javascripts/webshims/extras/custom-validity.js +261 -261
- data/vendor/assets/javascripts/webshims/extras/modernizr-custom.js +534 -534
- data/vendor/assets/javascripts/webshims/extras/mousepress.js +60 -60
- data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +1 -1
- data/vendor/assets/javascripts/webshims/minified/polyfiller.js +24 -24
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/README +82 -82
- data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +35 -34
- data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +79 -82
- data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +45 -44
- data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +43 -42
- data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +28 -27
- data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +4 -4
- data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +57 -59
- data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +64 -66
- data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +53 -54
- data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +64 -66
- data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +72 -73
- data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +42 -46
- data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +52 -50
- data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +55 -59
- data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +66 -64
- data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +80 -82
- data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +60 -59
- data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +79 -81
- data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +101 -104
- data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +94 -95
- data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +26 -29
- data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +33 -36
- data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +51 -54
- data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +27 -28
- data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +27 -28
- data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +39 -38
- data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +65 -68
- data/vendor/assets/javascripts/webshims/minified/shims/details.js +4 -4
- data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +23 -22
- data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +19 -22
- data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +14 -14
- data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +9 -9
- data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +18 -19
- data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +45 -43
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -33
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -34
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +12 -12
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-jaris.js +23 -0
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +1 -1
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +26 -30
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +3 -3
- data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +689 -686
- data/vendor/assets/javascripts/webshims/minified/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +9 -9
- data/vendor/assets/javascripts/webshims/minified/shims/track.js +21 -21
- data/vendor/assets/javascripts/webshims/polyfiller.js +1191 -1175
- data/vendor/assets/javascripts/webshims/shims/combos/1.js +1754 -1714
- data/vendor/assets/javascripts/webshims/shims/combos/10.js +3247 -3320
- data/vendor/assets/javascripts/webshims/shims/combos/11.js +1633 -1588
- data/vendor/assets/javascripts/webshims/shims/combos/12.js +1636 -1591
- data/vendor/assets/javascripts/webshims/shims/combos/13.js +1100 -1058
- data/vendor/assets/javascripts/webshims/shims/combos/14.js +476 -476
- data/vendor/assets/javascripts/webshims/shims/combos/15.js +316 -314
- data/vendor/assets/javascripts/webshims/shims/combos/16.js +2094 -2104
- data/vendor/assets/javascripts/webshims/shims/combos/17.js +2258 -2267
- data/vendor/assets/javascripts/webshims/shims/combos/18.js +1380 -1364
- data/vendor/assets/javascripts/webshims/shims/combos/19.js +2239 -2247
- data/vendor/assets/javascripts/webshims/shims/combos/2.js +2339 -2294
- data/vendor/assets/javascripts/webshims/shims/combos/20.js +1493 -1606
- data/vendor/assets/javascripts/webshims/shims/combos/21.js +1733 -1635
- data/vendor/assets/javascripts/webshims/shims/combos/22.js +2295 -2408
- data/vendor/assets/javascripts/webshims/shims/combos/23.js +2269 -2168
- data/vendor/assets/javascripts/webshims/shims/combos/24.js +2775 -2780
- data/vendor/assets/javascripts/webshims/shims/combos/25.js +1505 -1456
- data/vendor/assets/javascripts/webshims/shims/combos/26.js +2111 -2115
- data/vendor/assets/javascripts/webshims/shims/combos/27.js +3264 -3331
- data/vendor/assets/javascripts/webshims/shims/combos/3.js +3020 -2970
- data/vendor/assets/javascripts/webshims/shims/combos/4.js +770 -822
- data/vendor/assets/javascripts/webshims/shims/combos/5.js +1025 -1077
- data/vendor/assets/javascripts/webshims/shims/combos/59.js +1706 -1753
- data/vendor/assets/javascripts/webshims/shims/combos/6.js +444 -433
- data/vendor/assets/javascripts/webshims/shims/combos/7.js +699 -688
- data/vendor/assets/javascripts/webshims/shims/combos/8.js +1488 -1445
- data/vendor/assets/javascripts/webshims/shims/combos/9.js +2445 -2518
- data/vendor/assets/javascripts/webshims/shims/details.js +148 -146
- data/vendor/assets/javascripts/webshims/shims/dom-extend.js +952 -912
- data/vendor/assets/javascripts/webshims/shims/es5.js +802 -802
- data/vendor/assets/javascripts/webshims/shims/excanvas.js +924 -924
- data/vendor/assets/javascripts/webshims/shims/form-core.js +606 -659
- data/vendor/assets/javascripts/webshims/shims/form-datalist.js +681 -676
- data/vendor/assets/javascripts/webshims/shims/form-message.js +164 -163
- data/vendor/assets/javascripts/webshims/shims/form-native-extend.js +255 -255
- data/vendor/assets/javascripts/webshims/shims/form-number-date-api.js +383 -383
- data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +61 -50
- data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +1569 -1472
- data/vendor/assets/javascripts/webshims/shims/geolocation.js +168 -168
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ar.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ch-ZN.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-de.txt +33 -33
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-el.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-en.txt +34 -34
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-es.js +31 -31
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-fr.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-he.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hi.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hu.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-it.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ja.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-nl.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-pt-PT.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ru.js +31 -31
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-sv.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/json-storage.js +308 -308
- data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +536 -533
- data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +861 -0
- data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +98 -98
- data/vendor/assets/javascripts/webshims/shims/mediaelement-swf.js +957 -1073
- data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +543 -543
- data/vendor/assets/javascripts/webshims/shims/styles/shim.css +689 -686
- data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/track-ui.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/track.js +17 -11
- metadata +6 -6
- data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +0 -7
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/README +0 -62
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/README +0 -82
- 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,
|
2
|
-
b[0].type||"").toLowerCase();if("select"==
|
3
|
-
if(r[
|
4
|
-
this.form||this;if(!a.data(b,"invalidEventShim")&&(a(b).data("invalidEventShim",!0).
|
5
|
-
!0;if(!a(b.target).checkValidity())return b.stopImmediatePropagation(),
|
6
|
-
"button")?a.prop(b,"form"):void 0;y(b)})};a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var
|
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
|
9
|
-
|
10
|
-
|
11
|
-
d.readOnly||b[d.type])}}()},validity:{writeable:!1,get:function(){var b=a(this).getNativeElement(),d=b[0],
|
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
|
13
|
-
return function(m
|
14
|
-
|
15
|
-
|
16
|
-
{name:"
|
17
|
-
9)}}}};switch(b.proptype){case "url":var
|
18
|
-
|
19
|
-
|
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},
|
21
|
-
{updateInput:1,change:1},
|
22
|
-
|
23
|
-
|
24
|
-
function(a){isChangeSubmit=!0;b(a.target);isChangeSubmit=!1})})();a(
|
25
|
-
!Modernizr.fieldsetdisabled)&&function(){(function(b,d){a.prop=function(c,
|
26
|
-
|
27
|
-
b+'"]').not(".webshims-visual-hide > *").get());return d},writeable:!1}}),a(function(){var d=function(a){a.stopPropagation()};a(
|
28
|
-
d=null}});a(
|
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||
|
30
|
-
value:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
c.
|
37
|
-
|
38
|
-
a(
|
39
|
-
|
40
|
-
|
41
|
-
f=
|
42
|
-
|
43
|
-
|
44
|
-
"").
|
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,
|
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&&
|
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,
|
6
|
-
function(){var a;return function(){!a&&
|
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=
|
10
|
-
g.canThirdPlaySrces=function(a,b){var h="";if(k||
|
11
|
-
c(a).pause().data("mediaerror",b);e.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var
|
12
|
-
|
13
|
-
|
14
|
-
"
|
15
|
-
|
16
|
-
c.type&&(b
|
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")).
|
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,
|
2
|
-
muted:!1};Object.keys(
|
3
|
-
"jwplayer/"+(
|
4
|
-
a.duration!=a._lastDuration?(g(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&
|
5
|
-
{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});
|
6
|
-
!1;if(b.duration){2<a.percentage&&20>a.percentage?
|
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&&
|
8
|
-
|
9
|
-
|
10
|
-
"jQuery.webshims.mediaelement.jwEvents."+d+"."+c)}catch(
|
11
|
-
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
a
|
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).
|
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).
|
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).
|
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
|
67
|
-
display:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
.input-
|
94
|
-
.
|
95
|
-
.
|
96
|
-
.input-
|
97
|
-
.
|
98
|
-
.
|
99
|
-
.
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
}
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
}
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
.placeholder-box-
|
146
|
-
float:
|
147
|
-
}
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
}
|
168
|
-
.placeholder-
|
169
|
-
|
170
|
-
}
|
171
|
-
.placeholder-visible
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
.placeholder-
|
176
|
-
|
177
|
-
}
|
178
|
-
.
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
}
|
199
|
-
.input-datetime-local
|
200
|
-
|
201
|
-
}
|
202
|
-
.
|
203
|
-
margin: 0 2px 0 0
|
204
|
-
}
|
205
|
-
.input-datetime-local-
|
206
|
-
margin: 0 0 0
|
207
|
-
}
|
208
|
-
.
|
209
|
-
margin: 0 0 0 2px
|
210
|
-
}
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
.
|
221
|
-
display: inline
|
222
|
-
}
|
223
|
-
.step-controls {
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
background-position: -
|
266
|
-
}
|
267
|
-
.step-controls
|
268
|
-
background-position: -105px
|
269
|
-
}
|
270
|
-
.step-controls span.step-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
background-position: -
|
276
|
-
}
|
277
|
-
.step-controls
|
278
|
-
background-position: -180px
|
279
|
-
}
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
}
|
288
|
-
.step-controls.disabled-step-control span.step-
|
289
|
-
background-position: -
|
290
|
-
}
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
border
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
.input-range .ui-slider-handle
|
333
|
-
background-position: -
|
334
|
-
}
|
335
|
-
.input-range.ui-slider-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
position:
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
}
|
363
|
-
.input-range.ui-slider-horizontal .ui-slider-range-
|
364
|
-
|
365
|
-
}
|
366
|
-
.input-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
}
|
381
|
-
.input-date-datepicker-control
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
}
|
393
|
-
.input-date-datepicker-control .ui-datepicker-header
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
cursor:
|
407
|
-
}
|
408
|
-
.input-date-datepicker-control .ui-datepicker-header .ui-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
background-position: -235px
|
414
|
-
}
|
415
|
-
.input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
background-position: -248px
|
421
|
-
}
|
422
|
-
.input-date-datepicker-control
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
}
|
429
|
-
.input-date-datepicker-control .ui-datepicker-title
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
border-color: #06c;
|
458
|
-
}
|
459
|
-
.input-date-datepicker-control td.ui-datepicker-
|
460
|
-
color: #
|
461
|
-
}
|
462
|
-
.input-date-datepicker-control td a {
|
463
|
-
color: #000;
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
.input-date-datepicker-control .ui-datepicker-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
}
|
510
|
-
.datalist-polyfill
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
}
|
559
|
-
.datalist-polyfill .
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
border-
|
600
|
-
border-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
border-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
#
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
}
|
652
|
-
|
653
|
-
|
654
|
-
}
|
655
|
-
|
656
|
-
|
657
|
-
}
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
}
|
670
|
-
.
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
}
|
683
|
-
summary.
|
684
|
-
|
685
|
-
|
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
|
+
}
|