webshims-rails 0.4.4 → 0.4.5
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 +253 -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 -10
- data/vendor/assets/javascripts/webshims/minified/extras/modernizr-custom.js +1 -20
- data/vendor/assets/javascripts/webshims/minified/extras/mousepress.js +1 -2
- data/vendor/assets/javascripts/webshims/minified/polyfiller.js +1 -30
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/canvas2png.js +1 -42
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/flashcanvas.js +1 -28
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/flashcanvas.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/proxy.php +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/save.php +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/canvas2png.js +1 -42
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flash10canvas.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flash9canvas.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flashcanvas.js +1 -31
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/proxy.php +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/save.php +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +1 -38
- data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +1 -80
- data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +1 -45
- data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +1 -44
- data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +1 -28
- data/vendor/assets/javascripts/webshims/minified/shims/combos/14.js +1 -19
- data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +1 -10
- data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +1 -58
- data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +1 -66
- data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +1 -62
- data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +1 -64
- data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +1 -73
- data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +1 -42
- data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +1 -54
- data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +1 -57
- data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +1 -70
- data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +1 -80
- data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +1 -60
- data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +1 -79
- data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +1 -101
- data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +1 -95
- data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +1 -27
- data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +1 -34
- data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +1 -56
- data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +1 -33
- data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +1 -40
- data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +1 -39
- data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +1 -65
- data/vendor/assets/javascripts/webshims/minified/shims/details.js +1 -5
- data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +1 -23
- data/vendor/assets/javascripts/webshims/minified/shims/es5.js +1 -15
- data/vendor/assets/javascripts/webshims/minified/shims/excanvas.js +1 -21
- data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +1 -19
- data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +1 -22
- data/vendor/assets/javascripts/webshims/minified/shims/form-message.js +1 -8
- data/vendor/assets/javascripts/webshims/minified/shims/form-native-extend.js +1 -7
- data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +1 -10
- data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +1 -23
- data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +1 -46
- data/vendor/assets/javascripts/webshims/minified/shims/geolocation.js +1 -5
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ar.js +1 -7
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ch-ZN.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -33
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-el.js +1 -7
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -34
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-es.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-fr.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-he.js +1 -6
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-hi.js +1 -6
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-hu.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-it.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ja.js +1 -4
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-nl.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-pt-PT.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ru.js +1 -8
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-sv.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/json-storage.js +1 -14
- data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/license.txt +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/player.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/readme.html +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +1 -16
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-jaris.js +1 -23
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +1 -3
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +1 -26
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +1 -14
- data/vendor/assets/javascripts/webshims/minified/shims/range-ui.js +1 -0
- data/vendor/assets/javascripts/webshims/minified/shims/styles/details-arrows.png +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/styles/forms.png +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/styles/polyfill-loader.gif +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +1 -689
- data/vendor/assets/javascripts/webshims/minified/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/swf/jwwebshims.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/swf/localStorage.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +1 -9
- data/vendor/assets/javascripts/webshims/minified/shims/track.js +1 -21
- data/vendor/assets/javascripts/webshims/polyfiller.js +1188 -1191
- data/vendor/assets/javascripts/webshims/{minified/shims → shims}/FlashCanvas/README +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/canvas2png.js +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/flashcanvas.js +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/flashcanvas.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/proxy.php +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/save.php +0 -0
- data/vendor/assets/javascripts/webshims/{minified/shims → shims}/FlashCanvasPro/README +82 -82
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/canvas2png.js +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/flash10canvas.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/flash9canvas.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/flashcanvas.js +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/proxy.php +0 -0
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/save.php +0 -0
- data/vendor/assets/javascripts/webshims/shims/combos/1.js +1752 -1754
- data/vendor/assets/javascripts/webshims/shims/combos/10.js +3311 -3247
- data/vendor/assets/javascripts/webshims/shims/combos/11.js +1631 -1633
- data/vendor/assets/javascripts/webshims/shims/combos/12.js +1697 -1636
- data/vendor/assets/javascripts/webshims/shims/combos/13.js +1098 -1100
- data/vendor/assets/javascripts/webshims/shims/combos/14.js +477 -476
- data/vendor/assets/javascripts/webshims/shims/combos/15.js +317 -316
- data/vendor/assets/javascripts/webshims/shims/combos/16.js +2155 -2095
- data/vendor/assets/javascripts/webshims/shims/combos/17.js +2320 -2259
- data/vendor/assets/javascripts/webshims/shims/combos/18.js +1326 -1322
- data/vendor/assets/javascripts/webshims/shims/combos/19.js +2238 -2239
- data/vendor/assets/javascripts/webshims/shims/combos/2.js +2341 -2339
- data/vendor/assets/javascripts/webshims/shims/combos/20.js +1558 -1493
- data/vendor/assets/javascripts/webshims/shims/combos/21.js +1734 -1733
- data/vendor/assets/javascripts/webshims/shims/combos/22.js +2361 -2295
- data/vendor/assets/javascripts/webshims/shims/combos/23.js +2332 -2269
- data/vendor/assets/javascripts/webshims/shims/combos/24.js +2836 -2775
- data/vendor/assets/javascripts/webshims/shims/combos/25.js +1549 -1489
- data/vendor/assets/javascripts/webshims/shims/combos/26.js +2156 -2095
- data/vendor/assets/javascripts/webshims/shims/combos/27.js +3313 -3248
- data/vendor/assets/javascripts/webshims/shims/combos/3.js +3022 -3020
- data/vendor/assets/javascripts/webshims/shims/combos/4.js +771 -770
- data/vendor/assets/javascripts/webshims/shims/combos/5.js +1027 -1025
- data/vendor/assets/javascripts/webshims/shims/combos/59.js +1709 -1706
- data/vendor/assets/javascripts/webshims/shims/combos/6.js +387 -386
- data/vendor/assets/javascripts/webshims/shims/combos/7.js +643 -641
- data/vendor/assets/javascripts/webshims/shims/combos/8.js +1547 -1488
- data/vendor/assets/javascripts/webshims/shims/combos/9.js +2508 -2445
- data/vendor/assets/javascripts/webshims/shims/details.js +148 -148
- data/vendor/assets/javascripts/webshims/shims/dom-extend.js +949 -952
- 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 -606
- data/vendor/assets/javascripts/webshims/shims/form-datalist.js +681 -681
- data/vendor/assets/javascripts/webshims/shims/form-message.js +164 -164
- 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 +2 -2
- data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +1568 -1569
- 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/jwplayer/license.txt +0 -0
- data/vendor/assets/javascripts/webshims/shims/jwplayer/player.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/jwplayer/readme.html +0 -0
- data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +597 -536
- data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +891 -860
- data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +98 -98
- data/vendor/assets/javascripts/webshims/shims/mediaelement-swf.js +960 -957
- data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +543 -543
- data/vendor/assets/javascripts/webshims/shims/range-ui.js +66 -0
- data/vendor/assets/javascripts/webshims/shims/styles/details-arrows.png +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/forms.png +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/polyfill-loader.gif +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/shim.css +697 -689
- data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/swf/jwwebshims.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/swf/localStorage.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/track-ui.js +0 -0
- data/vendor/assets/javascripts/webshims/shims/track.js +0 -0
- metadata +6 -4
@@ -1,4 +1 @@
|
|
1
|
-
jQuery.webshims.validityMessages.ja={typeMismatch:{email:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",url:"URL \u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",number:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",date:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",time:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",range:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002","datetime-local":"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002"},tooLong:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",
|
2
|
-
patternMismatch:"\u5165\u529b\u3055\u308c\u305f\u5024\u304c\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u6307\u5b9a\u3055\u308c\u305f\u66f8\u5f0f\u3068\u7570\u306a\u308a\u307e\u3059: {%title}",valueMissing:{defaultMessage:"\u3053\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u5165\u529b\u5fc5\u9808\u3067\u3059\u3002",checkbox:"\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002",select:"\u30ea\u30b9\u30c8\u304b\u3089\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002",
|
3
|
-
radio:"\u3044\u305a\u308c\u304b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"},rangeUnderflow:{defaultMessage:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",date:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",time:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","datetime-local":"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002"},
|
4
|
-
rangeOverflow:{defaultMessage:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",date:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",time:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","datetime-local":"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002"},stepMismatch:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002"};
|
1
|
+
jQuery.webshims.validityMessages.ja={typeMismatch:{email:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",url:"URL \u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",number:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",date:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",time:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",range:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002","datetime-local":"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002"},tooLong:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",patternMismatch:"\u5165\u529b\u3055\u308c\u305f\u5024\u304c\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u6307\u5b9a\u3055\u308c\u305f\u66f8\u5f0f\u3068\u7570\u306a\u308a\u307e\u3059: {%title}",valueMissing:{defaultMessage:"\u3053\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u5165\u529b\u5fc5\u9808\u3067\u3059\u3002",checkbox:"\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002",select:"\u30ea\u30b9\u30c8\u304b\u3089\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002",radio:"\u3044\u305a\u308c\u304b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"},rangeUnderflow:{defaultMessage:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",date:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",time:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","datetime-local":"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002"},rangeOverflow:{defaultMessage:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",date:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",time:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","datetime-local":"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002"},stepMismatch:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002"};
|
@@ -1,3 +1 @@
|
|
1
|
-
jQuery.webshims.validityMessages.nl={typeMismatch:{email:"Voer een e-mailadres in.",url:"Voer een URL in.",number:"Ongeldige waarde.",date:"Ongeldige waarde.",time:"Ongeldige waarde.",range:"Ongeldige waarde.","datetime-local":"Ongeldige waarde."},tooLong:"Ongeldige waarde.",patternMismatch:"Gebruik de verzochte opmaak: {%title}.",valueMissing:{defaultMessage:"Vul dit veld in.",checkbox:"Vink dit vakje aan als u wilt doorgaan.",select:"Selecteer een item in de lijst.",radio:"Selecteer een van deze opties."},
|
2
|
-
rangeUnderflow:{defaultMessage:"Waarde moet groter dan of gelijk zijn aan {%min}.",date:"Waarde moet groter dan of gelijk zijn aan {%min}.",time:"Waarde moet groter dan of gelijk zijn aan {%min}.","datetime-local":"Waarde moet groter dan of gelijk zijn aan {%min}."},rangeOverflow:{defaultMessage:"Waarde moet kleiner dan of gelijk zijn aan {%max}.",date:"Waarde moet kleiner dan of gelijk zijn aan {%max}.",time:"Waarde moet kleiner dan of gelijk zijn aan {%max}.","datetime-local":"Waarde moet kleiner dan of gelijk zijn aan {%max}."},
|
3
|
-
stepMismatch:"Ongeldige waarde."};
|
1
|
+
jQuery.webshims.validityMessages.nl={typeMismatch:{email:"Voer een e-mailadres in.",url:"Voer een URL in.",number:"Ongeldige waarde.",date:"Ongeldige waarde.",time:"Ongeldige waarde.",range:"Ongeldige waarde.","datetime-local":"Ongeldige waarde."},tooLong:"Ongeldige waarde.",patternMismatch:"Gebruik de verzochte opmaak: {%title}.",valueMissing:{defaultMessage:"Vul dit veld in.",checkbox:"Vink dit vakje aan als u wilt doorgaan.",select:"Selecteer een item in de lijst.",radio:"Selecteer een van deze opties."},rangeUnderflow:{defaultMessage:"Waarde moet groter dan of gelijk zijn aan {%min}.",date:"Waarde moet groter dan of gelijk zijn aan {%min}.",time:"Waarde moet groter dan of gelijk zijn aan {%min}.","datetime-local":"Waarde moet groter dan of gelijk zijn aan {%min}."},rangeOverflow:{defaultMessage:"Waarde moet kleiner dan of gelijk zijn aan {%max}.",date:"Waarde moet kleiner dan of gelijk zijn aan {%max}.",time:"Waarde moet kleiner dan of gelijk zijn aan {%max}.","datetime-local":"Waarde moet kleiner dan of gelijk zijn aan {%max}."},stepMismatch:"Ongeldige waarde."};
|
@@ -1,3 +1 @@
|
|
1
|
-
jQuery.webshims.validityMessages["pt-PT"]={typeMismatch:{email:"Por favor escreva um endere\u00e7o de correio.",url:"Por favor escreva o URL.",number:"Valor inv\u00e1lido.",date:"Valor inv\u00e1lido.",time:"Valor inv\u00e1lido.",range:"Valor inv\u00e1lido.","datetime-local":"Valor inv\u00e1lido."},tooLong:"Valor inv\u00e1lido.",patternMismatch:"Por favor corresponda ao formato pedido: {%title}.",valueMissing:{defaultMessage:"Por favor preencha este campo.",checkbox:"Por favor seleccione esta caixa se deseja continuar.",
|
2
|
-
select:"Por favor seleccione um item da lista.",radio:"Por favor seleccione uma destas op\u00e7\u00f5es."},rangeUnderflow:{defaultMessage:"O valor tem de ser superior ou igual a {%min}.",date:"O valor tem de ser superior ou igual a {%min}.",time:"O valor tem de ser superior ou igual a {%min}.","datetime-local":"O valor tem de ser superior ou igual a {%min}."},rangeOverflow:{defaultMessage:"O valor tem de ser inferior ou igual a {%max}.",date:"O valor tem de ser inferior ou igual a {%max}.",time:"O valor tem de ser inferior ou igual a {%max}.",
|
3
|
-
"datetime-local":"O valor tem de ser inferior ou igual a {%max}."},stepMismatch:"Valor inv\u00e1lido."};
|
1
|
+
jQuery.webshims.validityMessages["pt-PT"]={typeMismatch:{email:"Por favor escreva um endere\u00e7o de correio.",url:"Por favor escreva o URL.",number:"Valor inv\u00e1lido.",date:"Valor inv\u00e1lido.",time:"Valor inv\u00e1lido.",range:"Valor inv\u00e1lido.","datetime-local":"Valor inv\u00e1lido."},tooLong:"Valor inv\u00e1lido.",patternMismatch:"Por favor corresponda ao formato pedido: {%title}.",valueMissing:{defaultMessage:"Por favor preencha este campo.",checkbox:"Por favor seleccione esta caixa se deseja continuar.",select:"Por favor seleccione um item da lista.",radio:"Por favor seleccione uma destas op\u00e7\u00f5es."},rangeUnderflow:{defaultMessage:"O valor tem de ser superior ou igual a {%min}.",date:"O valor tem de ser superior ou igual a {%min}.",time:"O valor tem de ser superior ou igual a {%min}.","datetime-local":"O valor tem de ser superior ou igual a {%min}."},rangeOverflow:{defaultMessage:"O valor tem de ser inferior ou igual a {%max}.",date:"O valor tem de ser inferior ou igual a {%max}.",time:"O valor tem de ser inferior ou igual a {%max}.","datetime-local":"O valor tem de ser inferior ou igual a {%max}."},stepMismatch:"Valor inv\u00e1lido."};
|
@@ -1,8 +1 @@
|
|
1
|
-
jQuery.webshims.validityMessages.ru={typeMismatch:{email:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 e-mail.",url:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b (URL).",number:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043b\u043e.",
|
2
|
-
date:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443.",time:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f.",range:"\u0412\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.","datetime-local":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f."},
|
3
|
-
tooLong:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 {%maxlength} \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432(\u0430). \u0412\u044b \u0432\u0432\u0435\u043b\u0438 {%valueLen}.",patternMismatch:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. {%title}",valueMissing:{defaultMessage:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435.",
|
4
|
-
checkbox:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c.",select:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.",
|
5
|
-
radio:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435."},rangeUnderflow:{defaultMessage:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e {%min}.",date:"\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u044f\u044f.",
|
6
|
-
time:"\u0412\u0440\u0435\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0435.","datetime-local":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0435."},rangeOverflow:{defaultMessage:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e {%max}.",
|
7
|
-
date:"\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u044f\u044f.",time:"\u0412\u0435\u0440\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u0435.","datetime-local":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u0435."},
|
8
|
-
stepMismatch:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435."};
|
1
|
+
jQuery.webshims.validityMessages.ru={typeMismatch:{email:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 e-mail.",url:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b (URL).",number:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043b\u043e.",date:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443.",time:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f.",range:"\u0412\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.","datetime-local":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f."},tooLong:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 {%maxlength} \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432(\u0430). \u0412\u044b \u0432\u0432\u0435\u043b\u0438 {%valueLen}.",patternMismatch:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. {%title}",valueMissing:{defaultMessage:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435.",checkbox:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c.",select:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.",radio:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435."},rangeUnderflow:{defaultMessage:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e {%min}.",date:"\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u044f\u044f.",time:"\u0412\u0440\u0435\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0435.","datetime-local":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0435."},rangeOverflow:{defaultMessage:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e {%max}.",date:"\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u044f\u044f.",time:"\u0412\u0435\u0440\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u0435.","datetime-local":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u0435."},stepMismatch:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435."};
|
@@ -1,3 +1 @@
|
|
1
|
-
jQuery.webshims.validityMessages.sv={typeMismatch:{email:"Fyll i en e-postadress.",url:"Fyll i en URL.",number:"Fyll i ett nummer.",date:"Fyll i ett datum.",time:"Fyll i en tid.",range:"Felaktig inmatning.","datetime-local":"Fyll i datum och tid."},tooLong:"Fyll i max {%maxlength} tecken. Du fyllde i {%valueLen} tecken.",patternMismatch:"Felaktig inmatning. {%title}",valueMissing:{defaultMessage:"Fyll i detta f\u00e4lt.",checkbox:"Bocka dennaa ruta f\u00f6r att g\u00e5 vidare.",select:"V\u00e4lj n\u00e5got ur listan.",
|
2
|
-
radio:"V\u00e4lj ett av valen."},rangeUnderflow:{defaultMessage:"V\u00e4rdet m\u00e5ste vara st\u00f6rre eller lika med {%min}.",date:"Datumet m\u00e5ste vara efter eller lika med {%min}.",time:"Tiden m\u00e5ste vara efter eller lika med {%min}.","datetime-local":"V\u00e4rdet m\u00e5ste vara efter eller lika med {%min}."},rangeOverflow:{defaultMessage:"V\u00e4rdet m\u00e5ste vara mindre eller lika med {%max}.",date:"Datumet m\u00e5ste vara f\u00f6re eller lika med {%max}.",time:"Tiden m\u00e5ste vara f\u00f6re eller lika med {%max}.",
|
3
|
-
"datetime-local":"V\u00e4rdet m\u00e5ste vara f\u00f6re eller lika med {%max}."},stepMismatch:"Felaktig inmatning."};
|
1
|
+
jQuery.webshims.validityMessages.sv={typeMismatch:{email:"Fyll i en e-postadress.",url:"Fyll i en URL.",number:"Fyll i ett nummer.",date:"Fyll i ett datum.",time:"Fyll i en tid.",range:"Felaktig inmatning.","datetime-local":"Fyll i datum och tid."},tooLong:"Fyll i max {%maxlength} tecken. Du fyllde i {%valueLen} tecken.",patternMismatch:"Felaktig inmatning. {%title}",valueMissing:{defaultMessage:"Fyll i detta f\u00e4lt.",checkbox:"Bocka dennaa ruta f\u00f6r att g\u00e5 vidare.",select:"V\u00e4lj n\u00e5got ur listan.",radio:"V\u00e4lj ett av valen."},rangeUnderflow:{defaultMessage:"V\u00e4rdet m\u00e5ste vara st\u00f6rre eller lika med {%min}.",date:"Datumet m\u00e5ste vara efter eller lika med {%min}.",time:"Tiden m\u00e5ste vara efter eller lika med {%min}.","datetime-local":"V\u00e4rdet m\u00e5ste vara efter eller lika med {%min}."},rangeOverflow:{defaultMessage:"V\u00e4rdet m\u00e5ste vara mindre eller lika med {%max}.",date:"Datumet m\u00e5ste vara f\u00f6re eller lika med {%max}.",time:"Tiden m\u00e5ste vara f\u00f6re eller lika med {%max}.","datetime-local":"V\u00e4rdet m\u00e5ste vara f\u00f6re eller lika med {%max}."},stepMismatch:"Felaktig inmatning."};
|
@@ -1,14 +1 @@
|
|
1
|
-
(function(){if(
|
2
|
-
case "number":return isFinite(e)?""+e:"null";case "boolean":case "null":return""+e;case "object":if(!e)return"null";f+=l;k=[];if("[object Array]"===Object.prototype.toString.apply(e)){b=e.length;for(g=0;g<b;g+=1)k[g]=i(g,e)||"null";m=0===k.length?"[]":f?"[\n"+f+k.join(",\n"+f)+"\n"+q+"]":"["+k.join(",")+"]";f=q;return m}if(c&&"object"===typeof c){b=c.length;for(g=0;g<b;g+=1)h=c[g],"string"===typeof h&&(m=i(h,e))&&k.push(o(h)+(f?": ":":")+m)}else for(h in e)Object.hasOwnProperty.call(e,h)&&(m=i(h,
|
3
|
-
e))&&k.push(o(h)+(f?": ":":")+m);m=0===k.length?"{}":f?"{\n"+f+k.join(",\n"+f)+"\n"+q+"}":"{"+k.join(",")+"}";f=q;return m}}if("function"!==typeof Date.prototype.toJSON)Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};
|
4
|
-
var j=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f,l,r={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},c;if("function"!==typeof JSON.stringify)JSON.stringify=function(d,a,g){var h;l=f="";if("number"===typeof g)for(h=0;h<g;h+=1)l+=" ";else"string"===typeof g&&(l=g);if((c=a)&&
|
5
|
-
"function"!==typeof a&&("object"!==typeof a||"number"!==typeof a.length))throw Error("JSON.stringify");return i("",{"":d})};if("function"!==typeof JSON.parse)JSON.parse=function(d,a){function g(h,d){var c,b,e=h[d];if(e&&"object"===typeof e)for(c in e)Object.hasOwnProperty.call(e,c)&&(b=g(e,c),void 0!==b?e[c]=b:delete e[c]);return a.call(h,d,e)}var h,d=""+d;j.lastIndex=0;j.test(d)&&(d=d.replace(j,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(d.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
|
6
|
-
"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return h=eval("("+d+")"),"function"===typeof a?g({"":h},""):h;throw new SyntaxError("JSON.parse");}})()}})();
|
7
|
-
(function(){var b=jQuery;if("localStorage"in window&&"sessionStorage"in window)b.webshims.isReady("json-storage",!0);else{var o=function(l){l&&l.indexOf&&-1!=l.indexOf(";")&&setTimeout(function(){b.webshims.warn("Bad key for localStorage: ; in localStorage. name was: "+l)},0)},i,j=!1;b.each(["opener","top","parent"],function(b,f){try{if((i=window[f])&&"name"in i)return!1;i=!1}catch(c){i=!1}});i||(i=window,j=!0);var p=function(b){if(!j)try{window.name=b}catch(f){}try{i.name=b}catch(c){i=window,j=!0}},
|
8
|
-
f=function(b){function f(a,b,c){var d;c?(d=new Date,d.setTime(d.getTime()+864E5*c),c="; expires="+d.toGMTString()):c="";document.cookie=a+"="+b+c+"; path=/"}function c(a){a=JSON.stringify(a);"session"==b?p(a):f("localStorage",a,365)}var d=function(){var a;if("session"==b){if(!j)try{a=window.name}catch(c){}if(!a)try{a=i.name}catch(d){i=window,j=!0}}else a:{a=document.cookie.split(";");var f,n;for(f=0;f<a.length;f++){for(n=a[f];" "==n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf("localStorage=")){a=
|
9
|
-
n.substring(13,n.length);break a}}a=null}if(a)try{a=JSON.parse(a)}catch(o){a={}}return a||{}}();return{clear:function(){d={};"session"==b?p(""):f("localStorage","",365)},getItem:function(a){return a in d?d[a]:null},key:function(a){var c=0,b;for(b in d){if(c==a)return b;c++}return null},removeItem:function(a){delete d[a];c(d)},setItem:function(a,b){o(a);d[a]=b+"";c(d)}}};if(!("sessionStorage"in window))window.sessionStorage=new f("session");(function(){var i,j,c,d=function(a){clearTimeout(i);if(!window.localStorage||
|
10
|
-
!("swf"!=a||c&&c.key)){if("swf"===a){c=document.getElementById("swflocalstorageshim");if(!c||"undefined"==typeof c.GetVariable)c=document.swflocalstorageshim;if(!c||"undefined"==typeof c.GetVariable)c=window.localstorageshim;if(c&&"undefined"!==typeof c.GetVariable)window.localStorage={},window.localStorage.clear=function(){c.clear&&c.clear()},window.localStorage.key=function(a){c.key&&c.key(a)},window.localStorage.removeItem=function(a){c.removeItem&&c.removeItem(a)},window.localStorage.setItem=
|
11
|
-
function(a,b){o(a);(b+="")||(b="(empty string)+1287520303738");c.setItem&&c.setItem(a,b)},window.localStorage.getItem=function(a){if(!c.getItem)return null;var b=c.getItem(a,b);"(empty string)+1287520303738"==b&&(b="");return b},b.webshims.log("flash-localStorage was implemented")}if(!("localStorage"in window))window.localStorage=new f("local"),b.webshims.warn("implement cookie-localStorage")}b.webshims.isReady("json-storage",!0)},a=b.webshims.cfg["json-storage"];b.webshims.swfLocalStorage={show:function(){a.exceededMessage&&
|
12
|
-
b("#swflocalstorageshim-wrapper").prepend('<div class="polyfill-exceeded-message">'+a.exceededMessage+"</div>");b("#swflocalstorageshim-wrapper").css({top:b(window).scrollTop()+20,left:b(window).width()/2-b("#swflocalstorageshim-wrapper").outerWidth()/2})},hide:function(a){b("#swflocalstorageshim-wrapper").css({top:"",left:""}).find("div.polyfill-exceeded-message").remove();if(!a)throw a=Error("DOMException: QUOTA_EXCEEDED_ERR"),a.code=22,a.name="DOMException",a;},isReady:d};b.webshims.ready("DOM swfobject",
|
13
|
-
function(){j||"localStorage"in window&&document.getElementById("swflocalstorageshim")||(j=!0,window.swfobject&&swfobject.hasFlashPlayerVersion("8.0.0")?(b("body")[b.browser.mozilla?"after":"append"]('<div id="swflocalstorageshim-wrapper"><div id="swflocalstorageshim" /></div>'),swfobject.embedSWF(b.webshims.cfg.basePath+"swf/localStorage.swf"+(b.webshims.cfg.addCacheBuster||""),"swflocalstorageshim","295","198","8.0.0","",{allowscriptaccess:"always"},{name:"swflocalstorageshim"},function(a){!a.success&&
|
14
|
-
!window.localStorage&&d()}),clearTimeout(i),i=setTimeout(function(){"localStorage"in window||b.webshims.warn("Add your development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html");d()},0===location.protocol.indexOf("file")?500:9999)):d())})})()}})();
|
1
|
+
(function(){if("JSON"in window&&JSON.stringify&&JSON.parse)return;this.JSON||(this.JSON={}),function(){function f(e){return e<10?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return typeof t=="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,s,o=gap,u,a=t[e];a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(e)),typeof rep=="function"&&(a=rep.call(t,e,a));switch(typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";gap+=indent,u=[];if(Object.prototype.toString.apply(a)==="[object Array]"){s=a.length;for(n=0;n<s;n+=1)u[n]=str(n,a)||"null";return i=u.length===0?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+o+"]":"["+u.join(",")+"]",gap=o,i}if(rep&&typeof rep=="object"){s=rep.length;for(n=0;n<s;n+=1)r=rep[n],typeof r=="string"&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i))}else for(r in a)Object.hasOwnProperty.call(a,r)&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i));return i=u.length===0?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+o+"}":"{"+u.join(",")+"}",gap=o,i}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(e,t,n){var r;gap="",indent="";if(typeof n=="number")for(r=0;r<n;r+=1)indent+=" ";else typeof n=="string"&&(indent=n);rep=t;if(!t||typeof t=="function"||typeof t=="object"&&typeof t.length=="number")return str("",{"":e});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&typeof i=="object")for(n in i)Object.hasOwnProperty.call(i,n)&&(r=walk(i,n),r!==undefined?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()})(),function(){var e=jQuery;if("localStorage"in window&&"sessionStorage"in window){e.webshims.isReady("json-storage",!0);return}var t=function(t){t&&t.indexOf&&t.indexOf(";")!=-1&&setTimeout(function(){e.webshims.warn("Bad key for localStorage: ; in localStorage. name was: "+t)},0)},n,r=!1;e.each(["opener","top","parent"],function(e,t){try{n=window[t];if(n&&"name"in n){var r=n.name;return!1}n=!1}catch(i){n=!1}}),n||(n=window,r=!0);var i=function(e){if(!r)try{window.name=e}catch(t){}try{n.name=e}catch(t){n=window,r=!0}},s=function(){var e;if(!r)try{e=window.name}catch(t){}if(!e)try{e=n.name}catch(t){n=window,r=!0}return e},o=function(e){function n(e,t,n){var r,i;n?(r=new Date,r.setTime(r.getTime()+n*24*60*60*1e3),i="; expires="+r.toGMTString()):i="",document.cookie=e+"="+t+i+"; path=/"}function r(e){var t=e+"=",n=document.cookie.split(";"),r,i;for(r=0;r<n.length;r++){i=n[r];while(i.charAt(0)==" ")i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null}function o(t){t=JSON.stringify(t),e=="session"?i(t):n("localStorage",t,365)}function u(){e=="session"?i(""):n("localStorage","",365)}function a(){var t;e=="session"?t=s():t=r("localStorage");if(t)try{t=JSON.parse(t)}catch(n){t={}}return t||{}}var f=a();return{clear:function(){f={},u()},getItem:function(e){return e in f?f[e]:null},key:function(e){var t=0;for(var n in f){if(t==e)return n;t++}return null},removeItem:function(e){delete f[e],o(f)},setItem:function(e,n){t(e),f[e]=n+"",o(f)}}};"sessionStorage"in window||(window.sessionStorage=new o("session")),function(){var n,r="(empty string)+1287520303738",i,s,u=function(i){clearTimeout(n);if(window.localStorage&&(i!="swf"||s&&s.key)){e.webshims.isReady("json-storage",!0);return}if(i==="swf"){s=document.getElementById("swflocalstorageshim");if(!s||typeof s.GetVariable=="undefined")s=document.swflocalstorageshim;if(!s||typeof s.GetVariable=="undefined")s=window.localstorageshim;s&&typeof s.GetVariable!="undefined"&&(window.localStorage={},window.localStorage.clear=function(){s.clear&&s.clear()},window.localStorage.key=function(e){s.key&&s.key(e)},window.localStorage.removeItem=function(e){s.removeItem&&s.removeItem(e)},window.localStorage.setItem=function(e,n){t(e),n+="",n||(n=r),s.setItem&&s.setItem(e,n)},window.localStorage.getItem=function(e){if(!s.getItem)return null;var t=s.getItem(e,t);return t==r&&(t=""),t},e.webshims.log("flash-localStorage was implemented"))}"localStorage"in window||(window.localStorage=new o("local"),e.webshims.warn("implement cookie-localStorage")),e.webshims.isReady("json-storage",!0)},a=e.webshims.cfg["json-storage"];e.webshims.swfLocalStorage={show:function(){a.exceededMessage&&e("#swflocalstorageshim-wrapper").prepend('<div class="polyfill-exceeded-message">'+a.exceededMessage+"</div>"),e("#swflocalstorageshim-wrapper").css({top:e(window).scrollTop()+20,left:e(window).width()/2-e("#swflocalstorageshim-wrapper").outerWidth()/2})},hide:function(t){e("#swflocalstorageshim-wrapper").css({top:"",left:""}).find("div.polyfill-exceeded-message").remove();if(!t){var n=new Error("DOMException: QUOTA_EXCEEDED_ERR");throw n.code=22,n.name="DOMException",n}},isReady:u},e.webshims.ready("DOM swfobject",function(){if(i||"localStorage"in window&&document.getElementById("swflocalstorageshim"))return;i=!0,window.swfobject&&swfobject.hasFlashPlayerVersion("8.0.0")?(e("body")[e.browser.mozilla?"after":"append"]('<div id="swflocalstorageshim-wrapper"><div id="swflocalstorageshim" /></div>'),swfobject.embedSWF(e.webshims.cfg.basePath+"swf/localStorage.swf"+(e.webshims.cfg.addCacheBuster||""),"swflocalstorageshim","295","198","8.0.0","",{allowscriptaccess:"always"},{name:"swflocalstorageshim"},function(e){!e.success&&!window.localStorage&&u()}),clearTimeout(n),n=setTimeout(function(){"localStorage"in window||e.webshims.warn("Add your development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"),u()},location.protocol.indexOf("file")===0?500:9999)):u()})}()}();
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,16 +1 @@
|
|
1
|
-
(function(
|
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
|
-
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
|
-
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,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
|
-
"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
|
-
-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=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);
|
1
|
+
(function(e,t,n){"use strict";var r=t.audio&&t.video,i=!1,s=n.bugs,o=function(){n.ready(a,function(){n.mediaelement.createSWF||(n.mediaelement.loadSwf=!0,n.reTest([a],r))})},u=n.cfg.mediaelement,a=u&&u.player=="jwplayer"?"mediaelement-swf":"mediaelement-jaris",f;if(!u){n.error("mediaelement wasn't implemented but loaded");return}if(r){var l=document.createElement("video");t.videoBuffered="buffered"in l,i="loop"in l,n.capturingEvents(["play","playing","waiting","paused","ended","durationchange","loadedmetadata","canplay","volumechange"]),t.videoBuffered||(n.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:t.videoBuffered,d:["dom-support"]}),n.reTest("mediaelement-native-fix"))}if(r&&!u.preferFlash){var c=function(t){var r=t.target.parentNode;!u.preferFlash&&(e(t.target).is("audio, video")||r&&e("source:last",r)[0]==t.target)&&n.ready("DOM mediaelement",function(){f&&o(),n.ready("WINDOWLOAD "+a,function(){setTimeout(function(){f&&!u.preferFlash&&n.mediaelement.createSWF&&!e(t.target).closest("audio, video").is(".nonnative-api-active")?(u.preferFlash=!0,document.removeEventListener("error",c,!0),e("audio, video").mediaLoad(),n.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+t.target.src)):f||document.removeEventListener("error",c,!0)},20)})})};document.addEventListener("error",c,!0),e("audio, video").each(function(){this.error&&c({target:this})})}t.track&&!s.track&&function(){s.track||(s.track=typeof e("<track />")[0].readyState!="number");if(!s.track)try{new TextTrackCue(2,3,"")}catch(t){s.track=!0}var r=n.cfg.track,i=function(t){e(t.target).filter("track").each(o)},o=function(){if(s.track||!r.override&&e.prop(this,"readyState")==3)r.override=!0,n.reTest("track"),document.removeEventListener("error",i,!0),this&&e.nodeName(this,"track")?n.error("track support was overwritten. Please check your vtt including your vtt mime-type"):n.info("track support was overwritten. due to bad browser support")},u=function(){document.addEventListener("error",i,!0),s.track?o():e("track").each(o)};r.override||(n.isReady("track")?u():e(u))}(),n.register("mediaelement-core",function(e,n,l,c,h){f=swfobject.hasFlashPlayerVersion("9.0.115"),e("html").addClass(f?"swf":"no-swf");var p=n.mediaelement;p.parseRtmp=function(e){var t=e.src.split("://"),r=t[1].split("/"),i,s,o;e.server=t[0]+"://"+r[0]+"/",e.streamId=[];for(i=1,s=r.length;i<s;i++)!o&&r[i].indexOf(":")!==-1&&(r[i]=r[i].split(":")[1],o=!0),o?e.streamId.push(r[i]):e.server+=r[i]+"/";e.streamId.length||n.error("Could not parse rtmp url"),e.streamId=e.streamId.join("/"),console.log(e)};var d=function(t,n){t=e(t);var r={src:t.attr("src")||"",elem:t,srcProp:t.prop("src")},i;if(!r.src)return r;i=t.attr("data-server"),i!=null&&(r.server=i),i=t.attr("type"),i?(r.type=i,r.container=e.trim(i.split(";")[0])):(n||(n=t[0].nodeName.toLowerCase(),n=="source"&&(n=(t.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),r.server?(r.type=n+"/rtmp",r.container=n+"/rtmp"):(i=p.getTypeForSrc(r.src,n,r),i&&(r.type=i,r.container=i))),i=t.attr("media"),i&&(r.media=i);if(r.type=="audio/rtmp"||r.type=="video/rtmp")r.server?r.streamId=r.src:p.parseRtmp(r);return r},v=!f&&"postMessage"in l&&r,m=function(){if(m.loaded)return;m.loaded=!0,e(function(){n.loader.loadList(["track-ui"])})},g=function(){var t;return function(){if(t||!v)return;t=!0,n.loader.loadScript("https://www.youtube.com/player_api"),e(function(){n.polyfill("mediaelement-yt")})}}(),y=function(){f?o():g()};n.addPolyfill("mediaelement-yt",{test:!v,d:["dom-support"]}),p.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"],"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}},p.mimeTypes.source=e.extend({},p.mimeTypes.audio,p.mimeTypes.video),p.getTypeForSrc=function(t,n,r){if(t.indexOf("youtube.com/watch?")!=-1||t.indexOf("youtube.com/v/")!=-1)return"video/youtube";if(t.indexOf("rtmp")===0)return n+"/rtmp";t=t.split("?")[0].split("."),t=t[t.length-1];var i;return e.each(p.mimeTypes[n],function(e,n){if(n.indexOf(t)!==-1)return i=e,!1}),i},p.srces=function(t,n){t=e(t);if(!n){n=[];var r=t[0].nodeName.toLowerCase(),i=d(t,r);return i.src?n.push(i):e("source",t).each(function(){i=d(this,r),i.src&&n.push(i)}),n}t.removeAttr("src").removeAttr("type").find("source").remove(),e.isArray(n)||(n=[n]),n.forEach(function(e){var n=c.createElement("source");typeof e=="string"&&(e={src:e}),n.setAttribute("src",e.src),e.type&&n.setAttribute("type",e.type),e.media&&n.setAttribute("media",e.media),t.append(n)})},e.fn.loadMediaSrc=function(t,n){return this.each(function(){n!==h&&(e(this).removeAttr("poster"),n&&e.attr(this,"poster",n)),p.srces(this,t),e(this).mediaLoad()})},p.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","video/rtmp","audio/rtmp"],p.canThirdPlaySrces=function(t,n){var r="";if(f||v)t=e(t),n=n||p.srces(t),e.each(n,function(e,t){if(t.container&&t.src&&(f&&p.swfMimeTypes.indexOf(t.container)!=-1||v&&t.container=="video/youtube"))return r=t,!1});return r};var b={};p.canNativePlaySrces=function(t,n){var i="";if(r){t=e(t);var s=(t[0].nodeName||"").toLowerCase();if(!b[s])return i;n=n||p.srces(t),e.each(n,function(e,n){if(n.type&&b[s].prop._supvalue.call(t[0],n.type))return i=n,!1})}return i},p.setError=function(t,r){r||(r="can't play sources"),e(t).pause().data("mediaerror",r),n.warn("mediaelementError: "+r),setTimeout(function(){e(t).data("mediaerror")&&e(t).trigger("mediaerror")},1)};var w=function(){var e;return function(t,r,i){e||m(),n.ready(f?a:"mediaelement-yt",function(){p.createSWF?p.createSWF(t,r,i):e||(e=!0,y(),w(t,r,i))}),!e&&v&&!p.createSWF&&g()}}(),E=function(e,t,n,r,i){var s;n||n!==!1&&t&&t.isActive=="third"?(s=p.canThirdPlaySrces(e,r),s?w(e,s,t):i?p.setError(e,!1):E(e,t,!1,r,!0)):(s=p.canNativePlaySrces(e,r),s?t&&t.isActive=="third"&&p.setActive(e,"html5",t):i?(p.setError(e,!1),t&&t.isActive=="third"&&p.setActive(e,"html5",t)):E(e,t,!0,r,!0))},S=/^(?:embed|object|datalist)$/i,x=function(t,r){var i=n.data(t,"mediaelementBase")||n.data(t,"mediaelementBase",{}),s=p.srces(t),o=t.parentNode;clearTimeout(i.loadTimer),e.data(t,"mediaerror",!1);if(!s.length||!o||o.nodeType!=1||S.test(o.nodeName||""))return;r=r||n.data(t,"mediaelement"),E(t,r,u.preferFlash||h,s)};e(c).on("ended",function(t){var r=n.data(t.target,"mediaelement");if(i&&(!r||r.isActive=="html5")&&!e.prop(t.target,"loop"))return;setTimeout(function(){if(e.prop(t.target,"paused")||!e.prop(t.target,"loop"))return;e(t.target).prop("currentTime",0).play()},1)}),i||n.defineNodeNamesBooleanProperty(["audio","video"],"loop"),["audio","video"].forEach(function(t){var i=n.defineNodeNameProperty(t,"load",{prop:{value:function(){var e=n.data(this,"mediaelement");x(this,e),r&&(!e||e.isActive=="html5")&&i.prop._supvalue&&i.prop._supvalue.apply(this,arguments)}}});b[t]=n.defineNodeNameProperty(t,"canPlayType",{prop:{value:function(n){var i="";return r&&b[t].prop._supvalue&&(i=b[t].prop._supvalue.call(this,n),i=="no"&&(i="")),!i&&f&&(n=e.trim((n||"").split(";")[0]),p.swfMimeTypes.indexOf(n)!=-1&&(i="maybe")),i}}})}),n.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var e=this,t=n.data(e,"mediaelementBase")||n.data(e,"mediaelementBase",{});clearTimeout(t.loadTimer),t.loadTimer=setTimeout(function(){x(e),e=null},9)}});var T=function(){n.addReady(function(t,i){var s=e("video, audio",t).add(i.filter("video, audio")).each(function(){e.browser.msie&&n.browserVersion>8&&e.prop(this,"paused")&&!e.prop(this,"readyState")&&e(this).is('audio[preload="none"][controls]:not([autoplay])')?e(this).prop("preload","metadata").mediaLoad():x(this);if(r){var t,i,s=this,o=function(){var t=e.prop(s,"buffered");if(!t)return;var n="";for(var r=0,i=t.length;r<i;r++)n+=t.end(r);return n},u=function(){var t=o();t!=i&&(i=t,e(s).triggerHandler("progress"))};e(this).on({"play loadstart progress":function(e){e.type=="progress"&&(i=o()),clearTimeout(t),t=setTimeout(u,999)},"emptied stalled mediaerror abort suspend":function(e){e.type=="emptied"&&(i=!1),clearTimeout(t)}})}});!m.loaded&&e("track",s).length&&m(),s=null})};t.track&&!s.track&&n.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}}),r?(n.isReady("mediaelement-core",!0),T(),n.ready("WINDOWLOAD mediaelement",y)):n.ready(a,T),n.ready("WINDOWLOAD mediaelement",m)})})(jQuery,Modernizr,jQuery.webshims);
|
@@ -1,23 +1 @@
|
|
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
|
+
jQuery.webshims.register("mediaelement-jaris",function(e,t,n,r,i,s){"use strict";var o=t.mediaelement,u=n.swfobject,a=Modernizr.audio&&Modernizr.video,f=u.hasFlashPlayerVersion("9.0.115"),l=0,c={paused:!0,ended:!1,currentSrc:"",duration:n.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(e){if(e){t.error("buffered index size error");return}return 0},end:function(e){if(e){t.error("buffered index size error");return}return 0},length:0}},h=Object.keys(c),p={currentTime:0,volume:1,muted:!1},d=Object.keys(p),v=e.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,currentTime:0,_ppFlag:i,_calledMeta:!1,lastDuration:0},c,p),m=/^jarisplayer-/,g=function(e){var n=r.getElementById(e.replace(m,""));if(!n)return;var i=t.data(n,"mediaelement");return i.isActive=="third"?i:null},y=function(e){try{e.nodeName}catch(n){return null}var r=t.data(e,"mediaelement");return r&&r.isActive=="third"?r:null},b=function(t,n){n=e.Event(n),n.preventDefault(),e.event.trigger(n,i,t)},w=s.playerPath||t.cfg.basePath+"swf/"+(s.playerName||"JarisFLVPlayer.swf");t.extendUNDEFProp(s.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent",allowNetworking:"all"}),t.extendUNDEFProp(s.vars,{controltype:"1",jsapi:"1"}),t.extendUNDEFProp(s.attrs,{bgcolor:"#000000"});var E=function(e,t){e<3&&clearTimeout(t._canplaythroughTimer),e>=3&&t.readyState<3&&(t.readyState=e,b(t._elem,"canplay"),t.paused||b(t._elem,"playing"),clearTimeout(t._canplaythroughTimer),t._canplaythroughTimer=setTimeout(function(){E(4,t)},4e3)),e>=4&&t.readyState<4&&(t.readyState=e,b(t._elem,"canplaythrough")),t.readyState=e};e.extend(e.event.customEvent,{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0}),o.jarisEvent={};var S,x={onPlayPause:function(e,t,n){var r,i;if(n==null)try{r=t.api.api_get("isPlaying")}catch(s){}else r=n;r==t.paused&&(t.paused=!r,i=t.paused?"pause":"play",t._ppFlag=!0,b(t._elem,i),t.readyState<3&&E(3,t),t.paused||b(t._elem,"playing"))},onNotBuffering:function(e,t){E(3,t)},onDataInitialized:function(e,t){var n=t.duration,r;t.duration=e.duration;if(n==t.duration||isNaN(t.duration))return;if(t._calledMeta&&(r=Math.abs(t.lastDuration-t.duration))<2)return;t.videoHeight=e.height,t.videoWidth=e.width,t.networkState||(t.networkState=2),t.readyState<1&&E(1,t),clearTimeout(t._durationChangeTimer),t._calledMeta&&t.duration?t._durationChangeTimer=setTimeout(function(){t.lastDuration=t.duration,b(t._elem,"durationchange")},r>50?0:r>9?9:99):(t.lastDuration=t.duration,t.duration&&b(t._elem,"durationchange"),t._calledMeta||b(t._elem,"loadedmetadata")),t._calledMeta=!0},onBuffering:function(e,t){t.ended&&(t.ended=!1),E(1,t),b(t._elem,"waiting")},onTimeUpdate:function(e,t){t.ended&&(t.ended=!1),t.readyState<3&&(E(3,t),b(t._elem,"playing")),b(t._elem,"timeupdate")},onProgress:function(t,n){n.ended&&(n.ended=!1);if(!n.duration||isNaN(n.duration))return;var r=t.loaded/t.total;r>.02&&r<.2?E(3,n):r>.2&&(r>.99&&(n.networkState=1),E(4,n)),n._bufferedEnd&&n._bufferedEnd>r&&(n._bufferedStart=n.currentTime||0),n._bufferedEnd=r,n.buffered.length=1,e.event.trigger("progress",i,n._elem,!0)},onPlaybackFinished:function(e,t){t.readyState<4&&E(4,t),t.ended=!0,b(t._elem,"ended")},onVolumeChange:function(e,t){if(t.volume!=e.volume||t.muted!=e.mute)t.volume=e.volume,t.muted=e.mute,b(t._elem,"volumechange")},ready:function(){var n=function(e){var t=!0;try{e.api.api_get("volume")}catch(n){t=!1}return t};return function(r,i){var s=0,o=function(){if(s>9){i.tryedReframeing=0;return}s++,i.tryedReframeing++,n(i)?(i.wasSwfReady=!0,i.tryedReframeing=0,N(i),T(i)):i.tryedReframeing<6?i.tryedReframeing<3?(i.reframeTimer=setTimeout(o,9),i.shadowElem.css({overflow:"visible"}),setTimeout(function(){i.shadowElem.css({overflow:"hidden"})},1)):(i.shadowElem.css({overflow:"hidden"}),e(i._elem).mediaLoad()):(clearTimeout(i.reframeTimer),t.error("reframing error"))};if(!i||!i.api)return;i.tryedReframeing||(i.tryedReframeing=0),clearTimeout(S),clearTimeout(i.reframeTimer),i.shadowElem.removeClass("flashblocker-assumed"),s?i.reframeTimer=setTimeout(o,9):o()}}()};x.onMute=x.onVolumeChange;var T=function(e){var n=e.actionQueue.length,r=0,i;if(n&&e.isActive=="third")while(e.actionQueue.length&&n>r){r++,i=e.actionQueue.shift();try{e.api[i.fn].apply(e.api,i.args)}catch(s){t.warn(s)}}e.actionQueue.length&&(e.actionQueue=[])},N=function(t){if(!t)return;(t._ppFlag===i&&e.prop(t._elem,"autoplay")||!t.paused)&&setTimeout(function(){if(t.isActive=="third"&&(t._ppFlag===i||!t.paused))try{e(t._elem).play(),t._ppFlag=!0}catch(n){}},1),t.muted&&e.prop(t._elem,"muted",!0),t.volume!=1&&e.prop(t._elem,"volume",t.volume)},C=e.noop;if(a){var k={play:1,playing:1},L=["play","pause","playing","canplay","progress","waiting","ended","loadedmetadata","durationchange","emptied"],A=L.map(function(e){return e+".webshimspolyfill"}).join(" "),O=function(n){var r=t.data(n.target,"mediaelement");if(!r)return;var i=n.originalEvent&&n.originalEvent.type===n.type;i==(r.activating=="third")&&(n.stopImmediatePropagation(),k[n.type]&&r.isActive!=r.activating&&e(n.target).pause())};C=function(n){e(n).off(A).on(A,O),L.forEach(function(e){t.moveToFirstEvent(n,e)})},C(r)}o.setActive=function(n,r,i){i||(i=t.data(n,"mediaelement"));if(!i||i.isActive==r)return;r!="html5"&&r!="third"&&t.warn("wrong type for mediaelement activating: "+r);var s=t.data(n,"shadowData");i.activating=r,e(n).pause(),i.isActive=r,r=="third"?(s.shadowElement=s.shadowFocusElement=i.shadowElem[0],e(n).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(e(n).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),s.shadowElement=s.shadowFocusElement=!1),e(n).trigger("mediaelementapichange")};var M=function(){var e=["_calledMeta","lastDuration","_bufferedEnd","_bufferedStart","_ppFlag","currentSrc","currentTime","duration","ended","networkState","paused","videoHeight","videoWidth"],t=e.length;return function(n){if(!n)return;var r=t,i=n.networkState;E(0,n),clearTimeout(n._durationChangeTimer);while(--r>-1)delete n[e[r]];n.actionQueue=[],n.buffered.length=0,i&&b(n._elem,"emptied")}}(),_=function(t,n){var r=t._elem,i=t.shadowElem;e(r)[n?"addClass":"removeClass"]("webshims-controls"),t._elemNodeName=="audio"&&!n?i.css({width:0,height:0}):i.css({width:r.style.width||e(r).width(),height:r.style.height||e(r).height()})};o.createSWF=function(n,r,i){if(!f){setTimeout(function(){e(n).mediaLoad()},1);return}l<1?l=1:l++;var c=r.type=="audio/rtmp"||r.type=="video/rtmp",h=e.extend({},s.vars,{poster:e.prop(n,"poster")||"",source:r.streamId||r.srcProp,server:r.server||""}),p=e(n).data("vars")||{};i||(i=t.data(n,"mediaelement"));var d=e.prop(n,"controls"),m="jarisplayer-"+t.getID(n),g=e.extend({},s.params,e(n).data("params")),y=n.nodeName.toLowerCase(),b=e.extend({},s.attrs,{name:m,id:m},e(n).data("attrs")),E;i&&i.swfCreated?(o.setActive(n,"third",i),i.currentSrc=r.srcProp,i.shadowElem.html('<div id="'+m+'">'),i.api=!1,i.actionQueue=[],E=i.shadowElem,M(i)):(E=e('<div class="polyfill-'+y+' polyfill-mediaelement" id="wrapper-'+m+'"><div id="'+m+'"></div>').css({position:"relative",overflow:"hidden"}),i=t.data(n,"mediaelement",t.objectCreate(v,{actionQueue:{value:[]},shadowElem:{value:E},_elemNodeName:{value:y},_elem:{value:n},currentSrc:{value:r.srcProp},swfCreated:{value:!0},id:{value:m.replace(/-/g,"")},buffered:{value:{start:function(e){if(e>=i.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=i.buffered.length){t.error("buffered index size error");return}return(i.duration-i._bufferedStart)*i._bufferedEnd+i._bufferedStart},length:0}}})),_(i,d),E.insertBefore(n),a&&e.extend(i,{volume:e.prop(n,"volume"),muted:e.prop(n,"muted"),paused:e.prop(n,"paused")}),t.addShadowDom(n,E),C(n),o.setActive(n,"third",i),e(n).on("updatemediaelementdimensions updateshadowdom",function(){_(i,e.prop(n,"controls"))})),o.jarisEvent[i.id]||(o.jarisEvent[i.id]=function(e){e.type=="ready"?i.api?x[e.type](e,i):setTimeout(function(){x[e.type](e,i)},9):(i.currentTime=e.position,i.api&&(!i._calledMeta&&isNaN(e.duration)&&i.duration!=e.duration&&isNaN(i.duration)&&x.onDataInitialized(e,i),!i._ppFlag&&e.type!="onPlayPause"&&x.onPlayPause(e,i),x[e.type]&&x[e.type](e,i)),i.duration=e.duration)}),e.extend(h,{id:m,evtId:i.id,controls:""+d,autostart:"false",nodename:y},p),c?h.streamtype="rtmp":r.type=="audio/mpeg"||r.type=="audio/mp3"?(h.type="audio",h.streamtype="file"):r.type=="video/youtube"&&(h.streamtype="youtube"),s.changeSWF(h,n,r,i,"embed"),clearTimeout(i.flashBlock),u.embedSWF(w,m,"100%","100%","9.0.0",!1,h,g,b,function(r){r.success&&(i.api=r.ref,d||e(r.ref).attr("tabindex","-1").css("outline","none"),i.flashBlock=setTimeout(function(){if(!r.ref.parentNode&&E[0].parentNode||r.ref.style.display=="none")E.addClass("flashblocker-assumed"),e(n).trigger("flashblocker"),t.warn("flashblocker assumed");e(r.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),S||(clearTimeout(S),S=setTimeout(function(){var n=e(r.ref);n[0].offsetWidth>1&&n[0].offsetHeight>1&&location.protocol.indexOf("file:")===0?t.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(n[0].offsetWidth<2||n[0].offsetHeight<2)&&t.warn("JS-SWF connection can't be established on hidden or unconnected flash objects"),n=null},8e3)))})};var D=function(e,t,n,r){return r=r||y(e),r?(r.api&&r.api[t]?r.api[t].apply(r.api,n||[]):(r.actionQueue.push({fn:t,args:n}),r.actionQueue.length>10&&setTimeout(function(){r.actionQueue.length>5&&r.actionQueue.shift()},99)),r):!1};["audio","video"].forEach(function(n){var r={},i,s=function(e){if(n=="audio"&&(e=="videoHeight"||e=="videoWidth"))return;r[e]={get:function(){var t=y(this);return t?t[e]:a&&i[e].prop._supget?i[e].prop._supget.apply(this):v[e]},writeable:!1}},o=function(e,t){s(e),delete r[e].writeable,r[e].set=t};o("volume",function(e){var n=y(this);if(n)e*=1,isNaN(e)||((e<0||e>1)&&t.error("volume greater or less than allowed "+e/100),D(this,"api_volume",[e],n),n.volume!=e&&(n.volume=e,b(n._elem,"volumechange")),n=null);else if(i.volume.prop._supset)return i.volume.prop._supset.apply(this,arguments)}),o("muted",function(e){var t=y(this);if(t)e=!!e,D(this,"api_muted",[e],t),t.muted!=e&&(t.muted=e,b(t._elem,"volumechange")),t=null;else if(i.muted.prop._supset)return i.muted.prop._supset.apply(this,arguments)}),o("currentTime",function(e){var t=y(this);if(t)e*=1,isNaN(e)||D(this,"api_seek",[e],t);else if(i.currentTime.prop._supset)return i.currentTime.prop._supset.apply(this,arguments)}),["play","pause"].forEach(function(e){r[e]={value:function(){var t=y(this);if(t)t.stopPlayPause&&clearTimeout(t.stopPlayPause),D(this,e=="play"?"api_play":"api_pause",[],t),t._ppFlag=!0,t.paused!=(e!="play")&&(t.paused=e!="play",b(t._elem,e));else if(i[e].prop._supvalue)return i[e].prop._supvalue.apply(this,arguments)}}}),h.forEach(s),t.onNodeNamesPropertyModify(n,"controls",function(r,i){var s=y(this);e(this)[i?"addClass":"removeClass"]("webshims-controls"),s&&(t.warn("changing controls currently not fully supported with jaris player"),n=="audio"&&_(s,i),D(this,"api_controls",[i],s))}),i=t.defineNodeNameProperties(n,r,"prop")});if(f){var P=e.cleanData,H=e.browser.msie&&t.browserVersion<9,B={object:1,OBJECT:1};e.cleanData=function(e){var t,n,r;if(e&&(n=e.length)&&l)for(t=0;t<n;t++)if(B[e[t].nodeName]){if("api_pause"in e[t]){l--;try{e[t].api_pause()}catch(i){}}if(H)try{for(r in e[t])typeof e[t][r]=="function"&&(e[t][r]=null)}catch(i){}}return P.apply(this,arguments)}}a||(["poster","src"].forEach(function(e){t.defineNodeNamesProperty(e=="src"?["audio","video","source"]:["video"],e,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(e){t.defineNodeNamesBooleanProperty(["audio","video"],e)}),t.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"))});
|
@@ -1,3 +1 @@
|
|
1
|
-
jQuery.webshims.register("mediaelement-native-fix",function(
|
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")).on("load progress",h).on("emptied",i)})}});
|
1
|
+
jQuery.webshims.register("mediaelement-native-fix",function(e,t,n,r,i){if(Modernizr.videoBuffered)return;var s=function(e){var n=t.data(e,"mediaelementBuffered");return n||(n={buffered:{start:function(e){if(e>=n.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=n.buffered.length){t.error("buffered index size error");return}return n.loaded},length:0},loaded:0},t.data(e,"mediaelementBuffered",n)),n},o=function(n){n=n.originalEvent;if(!n||!("lengthComputable"in n))return;var r=t.data(n.target,"mediaelement");if(r&&r.isActive!="html5")return;if(n.lengthComputable&&"loaded"in n){var i=n.target.duration,o=s(n.target);o.loaded=i?n.loaded/n.total*i:0,o.loaded&&(o.buffered.length=1),n.type=="load"&&e(n.target).triggerHandler("progress")}},u=function(e){var t=s(e.target);t.buffered.length=0,t.loaded=0};["audio","video"].forEach(function(e){var n=t.defineNodeNameProperty(e,"buffered",{prop:{get:function(){var e=t.data(this,"mediaelement");if(!e||e.isActive!="flash"||!n.prop._supget)return s(this).buffered;n.prop._supget.apply(this)}}})}),function(){var e=r.createElement("video");if(!("preload"in e)&&"autobuffer"in e){var n={metadata:1,none:1};t.onNodeNamesPropertyModify(["audio","video"],["preload"],{set:function(e,r,i){n[e]||i=="removeAttr"?this.autobuffer=!1:!(t.data(this,"mediaelement")||{}).isActive=="html5"&&(this.autobuffer=!0)},initAttr:!0})}}(),t.addReady(function(t,n){e("video, audio",t).add(n.filter("video, audio")).on("load progress",o).on("emptied",u)})});
|
@@ -1,26 +1 @@
|
|
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"))});
|
1
|
+
jQuery.webshims.register("mediaelement-swf",function(e,t,n,r,i,s){"use strict";var o="sendEvent",u=t.mediaelement,a=n.swfobject,f=Modernizr.audio&&Modernizr.video,l=a.hasFlashPlayerVersion("9.0.115"),c=0,h={paused:!0,ended:!1,currentSrc:"",duration:n.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(e){if(e){t.error("buffered index size error");return}return 0},end:function(e){if(e){t.error("buffered index size error");return}return 0},length:0}},p=Object.keys(h),d={currentTime:0,volume:1,muted:!1},v=Object.keys(d),m=e.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:i},h,d),g=/^jwplayer-/,y=function(e){var n=r.getElementById(e.replace(g,""));if(!n)return;var i=t.data(n,"mediaelement");return i.isActive=="third"?i:null},b=function(e){try{e.nodeName}catch(n){return null}var r=t.data(e,"mediaelement");return r&&r.isActive=="third"?r:null},w=function(t,n){n=e.Event(n),n.preventDefault(),e.event.trigger(n,i,t)},E=s.playerPath||t.cfg.basePath+"jwplayer/"+(s.playerName||"player.swf"),S=s.pluginPath||t.cfg.basePath+"swf/jwwebshims.swf";t.extendUNDEFProp(s.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"}),t.extendUNDEFProp(s.vars,{screencolor:"ffffffff"}),t.extendUNDEFProp(s.attrs,{bgcolor:"#000000"});var x=function(t,n){var r=t.duration;if(r&&t._durationCalcs>0)return;try{t.duration=t.jwapi.getPlaylist()[0].duration;if(!t.duration||t.duration<=0||t.duration===t._lastDuration)t.duration=r}catch(i){}t.duration&&t.duration!=t._lastDuration?(w(t._elem,"durationchange"),(t._elemNodeName=="audio"||t._callMeta)&&u.jwEvents.Model.META(e.extend({duration:t.duration},n),t),t._durationCalcs--):t._durationCalcs++},T=function(e,t){e<3&&clearTimeout(t._canplaythroughTimer),e>=3&&t.readyState<3&&(t.readyState=e,w(t._elem,"canplay"),clearTimeout(t._canplaythroughTimer),t._canplaythroughTimer=setTimeout(function(){T(4,t)},4e3)),e>=4&&t.readyState<4&&(t.readyState=e,w(t._elem,"canplaythrough")),t.readyState=e};e.extend(e.event.customEvent,{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0}),u.jwEvents={View:{PLAY:function(e){var t=y(e.id);if(!t||t.stopPlayPause)return;t._ppFlag=!0,t.paused==e.state&&(t.paused=!e.state,t.ended&&(t.ended=!1),w(t._elem,e.state?"play":"pause"))}},Model:{BUFFER:function(t){var n=y(t.id);if(!n||!("percentage"in t)||n._bufferedEnd==t.percentage)return;n.networkState=t.percentage==100?1:2,(isNaN(n.duration)||t.percentage>5&&t.percentage<25||t.percentage===100)&&x(n,t),n.ended&&(n.ended=!1);if(!n.duration)return;t.percentage>2&&t.percentage<20?T(3,n):t.percentage>20&&T(4,n),n._bufferedEnd&&n._bufferedEnd>t.percentage&&(n._bufferedStart=n.currentTime||0),n._bufferedEnd=t.percentage,n.buffered.length=1,t.percentage==100&&(n.networkState=1,T(4,n)),e.event.trigger("progress",i,n._elem,!0)},META:function(e,t){t=t&&t.networkState?t:y(e.id);if(!t)return;if(!("duration"in e)){t._callMeta=!0;return}if(t._metadata&&(!e.height||t.videoHeight==e.height)&&e.duration===t.duration)return;t._metadata=!0;var n=t.duration;e.duration&&(t.duration=e.duration),t._lastDuration=t.duration;if(e.height||e.width)t.videoHeight=e.height||0,t.videoWidth=e.width||0;t.networkState||(t.networkState=2),t.readyState<1&&T(1,t),t.duration&&n!==t.duration&&w(t._elem,"durationchange"),w(t._elem,"loadedmetadata")},TIME:function(e){var t=y(e.id);if(!t||t.currentTime===e.position)return;t.currentTime=e.position,t.duration&&t.duration<t.currentTime&&x(t,e),t.readyState<2&&T(2,t),t.ended&&(t.ended=!1),w(t._elem,"timeupdate")},STATE:function(e){var t=y(e.id);if(!t)return;switch(e.newstate){case"BUFFERING":t.ended&&(t.ended=!1),T(1,t),w(t._elem,"waiting");break;case"PLAYING":t.paused=!1,t._ppFlag=!0,t.duration||x(t,e),t.readyState<3&&T(3,t),t.ended&&(t.ended=!1),w(t._elem,"playing");break;case"PAUSED":!t.paused&&!t.stopPlayPause&&(t.paused=!0,t._ppFlag=!0,w(t._elem,"pause"));break;case"COMPLETED":t.readyState<4&&T(4,t),t.ended=!0,w(t._elem,"ended")}}},Controller:{ERROR:function(e){var t=y(e.id);if(!t)return;u.setError(t._elem,e.message)},SEEK:function(e){var t=y(e.id);if(!t)return;t.ended&&(t.ended=!1);if(t.paused)try{t.jwapi[o]("play","false")}catch(n){}t.currentTime!=e.position&&(t.currentTime=e.position,w(t._elem,"timeupdate"))},VOLUME:function(e){var t=y(e.id);if(!t)return;var n=e.percentage/100;if(t.volume==n)return;t.volume=n,w(t._elem,"volumechange")},MUTE:function(e){if(e.state)return;var t=y(e.id);if(!t)return;if(t.muted==e.state)return;t.muted=e.state,w(t._elem,"volumechange")}}};var N=function(t){var n=!0;return e.each(u.jwEvents,function(r,i){e.each(i,function(e){try{t.jwapi["add"+r+"Listener"](e,"jQuery.webshims.mediaelement.jwEvents."+r+"."+e)}catch(i){return n=!1,!1}})}),n},C=function(e){var t=e.actionQueue.length,n=0,r;if(t&&e.isActive=="third")while(e.actionQueue.length&&t>n)n++,r=e.actionQueue.shift(),e.jwapi[r.fn].apply(e.jwapi,r.args);e.actionQueue.length&&(e.actionQueue=[])},k=function(t){if(!t)return;(t._ppFlag===i&&e.prop(t._elem,"autoplay")||!t.paused)&&setTimeout(function(){if(t.isActive=="third"&&(t._ppFlag===i||!t.paused))try{e(t._elem).play()}catch(n){}},1)};u.playerResize=function(t){if(!t)return;var n=r.getElementById(t.replace(g,""));n&&e(n).triggerHandler("swfstageresize"),n=null},e(r).on("emptied",function(e){var t=b(e.target);k(t)});var L;u.jwPlayerReady=function(n){var r=y(n.id),i=!0,s=0,o=function(){if(s>9)return;s++;if(N(r)){if(!r.wasSwfReady){var i=parseFloat(n.version,10);(i<5.1||i>=6)&&t.warn("mediaelement-swf is only testet with jwplayer 5.6+")}else e(r._elem).mediaLoad();r.wasSwfReady=!0,r.tryedReframeing=0,C(r),k(r)}else clearTimeout(r.reframeTimer),r.reframeTimer=setTimeout(o,9*s),s>2&&r.tryedReframeing<9&&(r.tryedReframeing++,r.shadowElem.css({overflow:"visible"}),setTimeout(function(){r.shadowElem.css({overflow:"hidden"})},16))};if(!r||!r.jwapi)return;r.tryedReframeing||(r.tryedReframeing=0),clearTimeout(L),r.jwData=n,r.shadowElem.removeClass("flashblocker-assumed"),e.prop(r._elem,"volume",r.volume),e.prop(r._elem,"muted",r.muted),o()};var A=e.noop;if(f){var O={play:1,playing:1},M=["play","pause","playing","canplay","progress","waiting","ended","loadedmetadata","durationchange","emptied"],_=M.map(function(e){return e+".webshimspolyfill"}).join(" "),D=function(n){var r=t.data(n.target,"mediaelement");if(!r)return;var i=n.originalEvent&&n.originalEvent.type===n.type;i==(r.activating=="third")&&(n.stopImmediatePropagation(),O[n.type]&&r.isActive!=r.activating&&e(n.target).pause())};A=function(n){e(n).off(_).on(_,D),M.forEach(function(e){t.moveToFirstEvent(n,e)})},A(r)}u.setActive=function(n,r,i){i||(i=t.data(n,"mediaelement"));if(!i||i.isActive==r)return;r!="html5"&&r!="third"&&t.warn("wrong type for mediaelement activating: "+r);var s=t.data(n,"shadowData");i.activating=r,e(n).pause(),i.isActive=r,r=="third"?(s.shadowElement=s.shadowFocusElement=i.shadowElem[0],e(n).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(e(n).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),s.shadowElement=s.shadowFocusElement=!1),e(n).trigger("mediaelementapichange")};var P=function(){var e=["_bufferedEnd","_bufferedStart","_metadata","_ppFlag","currentSrc","currentTime","duration","ended","networkState","paused","videoHeight","videoWidth","_callMeta","_durationCalcs"],t=e.length;return function(n){if(!n)return;var r=t,i=n.networkState;T(0,n);while(--r)delete n[e[r]];n.actionQueue=[],n.buffered.length=0,i&&w(n._elem,"emptied")}}(),H=function(t,n){var r=t._elem,i=t.shadowElem;e(r)[n?"addClass":"removeClass"]("webshims-controls"),t._elemNodeName=="audio"&&!n?i.css({width:0,height:0}):i.css({width:r.style.width||e(r).width(),height:r.style.height||e(r).height()})};u.createSWF=function(n,r,i){if(!l){setTimeout(function(){e(n).mediaLoad()},1);return}c<1?c=1:c++;var h=e.extend({},s.vars,{image:e.prop(n,"poster")||"",file:r.streamId||r.srcProp}),p=e(n).data("vars")||{};r.server&&(h.streamer=r.server),i||(i=t.data(n,"mediaelement"));if(i&&i.swfCreated){u.setActive(n,"third",i),P(i),i.currentSrc=r.srcProp,e.extend(h,p),s.changeSWF(h,n,r,i,"load"),B(n,o,["LOAD",h]);return}var d=e.prop(n,"controls"),v="jwplayer-"+t.getID(n),g=e.extend({},s.params,e(n).data("params")),y=n.nodeName.toLowerCase(),b=e.extend({},s.attrs,{name:v,id:v},e(n).data("attrs")),w=e('<div class="polyfill-'+y+' polyfill-mediaelement" id="wrapper-'+v+'"><div id="'+v+'"></div>').css({position:"relative",overflow:"hidden"});i=t.data(n,"mediaelement",t.objectCreate(m,{actionQueue:{value:[]},shadowElem:{value:w},_elemNodeName:{value:y},_elem:{value:n},currentSrc:{value:r.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(e){if(e>=i.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=i.buffered.length){t.error("buffered index size error");return}return(i.duration-i._bufferedStart)*i._bufferedEnd/100+i._bufferedStart},length:0}}})),H(i,d),w.insertBefore(n),f&&e.extend(i,{volume:e.prop(n,"volume"),muted:e.prop(n,"muted")}),e.extend(h,{id:v,controlbar:d?s.vars.controlbar||(y=="video"?"over":"bottom"):y=="video"?"none":"bottom",icons:""+(d&&y=="video")},p,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"}),h.plugins?h.plugins+=","+S:h.plugins=S,t.addShadowDom(n,w),A(n),u.setActive(n,"third",i),s.changeSWF(h,n,r,i,"embed"),e(n).on("updatemediaelementdimensions updateshadowdom",function(){H(i,e.prop(n,"controls"))}),a.embedSWF(E,v,"100%","100%","9.0.0",!1,h,g,b,function(r){r.success&&(i.jwapi=r.ref,d||e(r.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!r.ref.parentNode&&w[0].parentNode||r.ref.style.display=="none")w.addClass("flashblocker-assumed"),e(n).trigger("flashblocker"),t.warn("flashblocker assumed");e(r.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),L||(clearTimeout(L),L=setTimeout(function(){var n=e(r.ref);n[0].offsetWidth>1&&n[0].offsetHeight>1&&location.protocol.indexOf("file:")===0?t.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(n[0].offsetWidth<2||n[0].offsetHeight<2)&&t.warn("JS-SWF connection can't be established on hidden or unconnected flash objects"),n=null},8e3)))})};var B=function(e,t,n,r){return r=r||b(e),r?(r.jwapi&&r.jwapi[t]?r.jwapi[t].apply(r.jwapi,n||[]):(r.actionQueue.push({fn:t,args:n}),r.actionQueue.length>10&&setTimeout(function(){r.actionQueue.length>5&&r.actionQueue.shift()},99)),r):!1};["audio","video"].forEach(function(n){var r={},i,s=function(e){if(n=="audio"&&(e=="videoHeight"||e=="videoWidth"))return;r[e]={get:function(){var t=b(this);return t?t[e]:f&&i[e].prop._supget?i[e].prop._supget.apply(this):m[e]},writeable:!1}},u=function(e,t){s(e),delete r[e].writeable,r[e].set=t};u("volume",function(e){var n=b(this);if(n){e*=100;if(!isNaN(e)){var r=n.muted;(e<0||e>100)&&t.error("volume greater or less than allowed "+e/100),B(this,o,["VOLUME",e],n);if(r)try{n.jwapi.sendEvent("mute","true")}catch(s){}e/=100;if(n.volume==e||n.isActive!="third")return;n.volume=e,w(n._elem,"volumechange"),n=null}}else if(i.volume.prop._supset)return i.volume.prop._supset.apply(this,arguments)}),u("muted",function(e){var t=b(this);if(t){e=!!e,B(this,o,["mute",""+e],t);if(t.muted==e||t.isActive!="third")return;t.muted=e,w(t._elem,"volumechange"),t=null}else if(i.muted.prop._supset)return i.muted.prop._supset.apply(this,arguments)}),u("currentTime",function(e){var t=b(this);if(t){e*=1;if(!isNaN(e)){t.paused&&(clearTimeout(t.stopPlayPause),t.stopPlayPause=setTimeout(function(){t.paused=!0,t.stopPlayPause=!1},50)),B(this,o,["SEEK",""+e],t);if(t.paused){t.readyState>0&&(t.currentTime=e,w(t._elem,"timeupdate"));try{t.jwapi[o]("play","false")}catch(n){}}}}else if(i.currentTime.prop._supset)return i.currentTime.prop._supset.apply(this,arguments)}),["play","pause"].forEach(function(e){r[e]={value:function(){var t=b(this);if(t)t.stopPlayPause&&clearTimeout(t.stopPlayPause),B(this,o,["play",e=="play"],t),setTimeout(function(){t.isActive=="third"&&(t._ppFlag=!0,t.paused!=(e!="play")&&(t.paused=e!="play",w(t._elem,e)))},1);else if(i[e].prop._supvalue)return i[e].prop._supvalue.apply(this,arguments)}}}),p.forEach(s),t.onNodeNamesPropertyModify(n,"controls",function(r,i){var s=b(this);e(this)[i?"addClass":"removeClass"]("webshims-controls");if(s){try{B(this,i?"showControls":"hideControls",[n],s)}catch(o){t.warn("you need to generate a crossdomain.xml")}n=="audio"&&H(s,i),e(s.jwapi).attr("tabindex",i?"0":"-1")}}),i=t.defineNodeNameProperties(n,r,"prop")});if(l){var j=e.cleanData,F=e.browser.msie&&t.browserVersion<9,I={object:1,OBJECT:1};e.cleanData=function(e){var t,n,r;if(e&&(n=e.length)&&c)for(t=0;t<n;t++)if(I[e[t].nodeName]){if(o in e[t]){c--;try{e[t][o]("play",!1)}catch(i){}}if(F)try{for(r in e[t])typeof e[t][r]=="function"&&(e[t][r]=null)}catch(i){}}return j.apply(this,arguments)}}f||(["poster","src"].forEach(function(e){t.defineNodeNamesProperty(e=="src"?["audio","video","source"]:["video"],e,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(e){t.defineNodeNamesBooleanProperty(["audio","video"],e)}),t.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"))});
|
@@ -1,14 +1 @@
|
|
1
|
-
jQuery.webshims.register("mediaelement-yt",function(
|
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
|
-
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
|
-
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).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
|
-
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
|
-
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
|
-
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
|
-
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).on("updateytdata",f)})};n.createSWF=function(b,c,a){a||(a=e.data(b,"mediaelement"));var g=y(c.src);
|
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).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
|
-
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
|
-
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
|
+
jQuery.webshims.register("mediaelement-yt",function(e,t,n,r,i,s){"use strict";var o=t.mediaelement,u=jQuery.Deferred();n.onYouTubePlayerAPIReady=function(){u.resolve()},n.YT&&YT.Player&&n.onYouTubePlayerAPIReady();var a={paused:!0,ended:!1,currentSrc:"",duration:n.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(e){if(e){t.error("buffered index size error");return}return 0},end:function(e){if(e){t.error("buffered index size error");return}return 0},length:0}},f=Object.keys(a),l={currentTime:0,volume:1,muted:!1},c=Object.keys(l),h=e.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_metadata:!1,_callMeta:!1,currentTime:0,_buffered:0,_ppFlag:i},a,l),p=function(t,n){n=e.Event(n),n.preventDefault(),e.event.trigger(n,i,t)},d=function(){var e=["_buffered","_metadata","_ppFlag","currentSrc","currentTime","duration","ended","networkState","paused","videoHeight","videoWidth","_callMeta"],t=e.length;return function(n){if(!n)return;var r=t,i=n.networkState;n.readyState=0;while(--r)delete n[e[r]];n.buffered.length=0,clearInterval(n._timeInterval),i&&p(n._elem,"emptied")}}(),v=function(t){var n=t._elem,r=t.shadowElem;r.css({width:n.style.width||e(n).width(),height:n.style.height||e(n).height()})},m=function(e){try{e.nodeName}catch(n){return null}var r=t.data(e,"mediaelement");return r&&r.isActive=="third"?r:null},g=function(n){var r;return n=n.split("?"),n[0].indexOf("youtube.com/watch")!=-1&&n[1]?(n=n[1].split("&"),e.each(n,function(e,t){t=t.split("=");if(t[0]=="v")return n=t[1],r=!0,!1})):n[0].indexOf("youtube.com/v/")!=-1&&(n=n[0].split("/"),e.each(n,function(e,t){if(r)return n=t,!1;t=="v"&&(r=!0)})),r||t.warn("no youtube id found: "+n),n},y=function(t){if(!t)return;(t._ppFlag===i&&e.prop(t._elem,"autoplay")||!t.paused)&&setTimeout(function(){if(t.isActive=="third"&&(t._ppFlag===i||!t.paused))try{e(t._elem).play()}catch(n){}},1)},b=e.noop;(function(){var n={play:1,playing:1},i=["play","pause","playing","canplay","progress","waiting","ended","loadedmetadata","durationchange","emptied"],s=i.map(function(e){return e+".webshimspolyfill"}).join(" "),o=function(r){var i=t.data(r.target,"mediaelement");if(!i)return;var s=r.originalEvent&&r.originalEvent.type===r.type;s==(i.activating=="third")&&(r.stopImmediatePropagation(),n[r.type]&&i.isActive!=i.activating&&e(r.target).pause())};b=function(n){e(n).off(s).on(s,o),i.forEach(function(e){t.moveToFirstEvent(n,e)})},b(r)})(),e(r).on("emptied",function(e){var t=m(e.target);y(t)}),o.setActive=function(n,r,i){i||(i=t.data(n,"mediaelement"));if(!i||i.isActive==r)return;r!="html5"&&r!="third"&&t.warn("wrong type for mediaelement activating: "+r);var s=t.data(n,"shadowData");i.activating=r,e(n).pause(),i.isActive=r,r=="third"?(s.shadowElement=s.shadowFocusElement=i.shadowElem[0],e(n).addClass("yt-api-active nonnative-api-active").hide().getShadowElement().show()):(clearInterval(i._timeInterval),e(n).removeClass("yt-api-active nonnative-api-active").show().getShadowElement().hide(),s.shadowElement=s.shadowFocusElement=!1),e(n).trigger("mediaelementapichange")};var w=function(t,n){n._ppFlag=!0,t=="playing"&&(w("play",n),n.readyState<3&&(n.readyState=3,p(n._elem,"canplay")),e(n._elem).trigger("playing")),t=="play"&&n.paused?(n.paused=!1,p(n._elem,"play")):t=="pause"&&!n.paused&&(n.paused=!0,p(n._elem,"pause"))},E=function(t,n,r,i){u.done(function(){var s=function(){var n,i;r._metadata&&r._ytAPI.getVideoLoadedFraction&&(i=r._ytAPI.getVideoLoadedFraction(),n=i*r.duration,r._buffered!==n&&(r._buffered=n,r.buffered.length=1,e(t).trigger("progress")),i>.99&&(r.networkState=1),r.readyState<4&&r.currentTime&&(r._buffered-r.currentTime>9||i>.9)&&(r.readyState=4,p(r._elem,"canplaythrough")))},o=function(){if(r._ytAPI&&r._ytAPI.getCurrentTime){var n=r._ytAPI.getCurrentTime();r.currentTime!=n&&(r.currentTime=n,e(t).trigger("timeupdate")),s()}},u=function(){if(r.isActive=="third"&&r._ytAPI&&r._ytAPI.getVolume){var n=r._ytAPI.getVolume()/100,i=r._ytAPI.isMuted(),u;n!=r.volume&&(r.volume=n,u=!0),i!=r.muted&&(r.muted=i,u=!0),o(),s(),u&&e(t).trigger("volumechange")}},a=function(){clearInterval(r._timeInterval),r._timeInterval=setInterval(function(){var n=r._ytAPI.getCurrentTime();r.currentTime!=n&&(r.currentTime=n,e(t).trigger("timeupdate"))},350)};r._ytAPI=new YT.Player(n,{height:"100%",width:"100%",playerVars:{allowfullscreen:!0,fs:1,rel:0,showinfo:0,autohide:1,controls:e.prop(t,"controls")?1:0},videoId:i,events:{onReady:function(e){y(r),setTimeout(u,9),setInterval(u,5e3)},onStateChange:function(n){if(!n.target.getDuration)return;var i;if(!r._metadata){var s=n.target.getDuration();s&&(r._metadata=!0,r.duration=s,r.readyState<1&&(r.readyState=1),r.networkState<1&&(r.networkState=2),i=!0)}i&&e(t).trigger("durationchange").trigger("loadedmetadata"),setTimeout(u,9),n.data==1?(w("playing",r),a()):n.data==2?(clearInterval(r._timeInterval),w("pause",r)):n.data==3?(r.readyState>2&&(r.readyState=2),r.networkState=2,e(t).trigger("waiting")):n.data===0&&(r.readyState>4&&(r.readyState=4),r.networkState=1,clearInterval(r._timeInterval),e(t).trigger("ended"))}}}),e(t).on("updateytdata",u)})};o.createSWF=function(n,r,i){i||(i=t.data(n,"mediaelement"));var s=g(r.src);if(i){o.setActive(n,"third",i),d(i),i.currentSrc=r.srcProp,u.done(function(){i._ytAPI.loadVideoById&&i._ytAPI.loadVideoById(s)});return}var a=e.prop(n,"controls"),f="yt-"+t.getID(n),l=e('<div class="polyfill-video polyfill-mediaelement" id="wrapper-'+f+'"><div id="'+f+'"></div>').css({position:"relative",overflow:"hidden"});i=t.data(n,"mediaelement",t.objectCreate(h,{shadowElem:{value:l},_elem:{value:n},currentSrc:{value:r.srcProp},buffered:{value:{start:function(e){if(e>=i.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=i.buffered.length){t.error("buffered index size error");return}return i._buffered},length:0}}})),v(i),l.insertBefore(n),t.addShadowDom(n,l),o.setActive(n,"third",i),b(n),E(n,f,i,s),e(n).on("updatemediaelementdimensions updateshadowdom",function(){v(i)})},function(){var n=function(t){clearTimeout(t.updateDataTimer),t.updateDataTimer=setTimeout(function(){e(t._elem).triggerHandler("updateytdata")},9)},r={},i,s=function(e){r[e]={get:function(){var t=m(this);return t?t[e]:i[e].prop._supget.apply(this)},writeable:!1}},o=function(e,t){s(e),delete r[e].writeable,r[e].set=t};f.forEach(s),o("currentTime",function(e){var t=m(this);if(!t)return i.currentTime.prop._supset.apply(this,arguments);e*=1,!isNaN(e)&&t._ytAPI&&t._ytAPI.seekTo&&(t._ytAPI.seekTo(e),n(t))}),o("muted",function(e){var t=m(this);if(!t)return i.muted.prop._supset.apply(this,arguments);t._ytAPI&&t._ytAPI.mute&&(t._ytAPI[e?"mute":"unMute"](),n(t))}),o("volume",function(e){var r=m(this);if(!r)return i.volume.prop._supset.apply(this,arguments);e*=100,!isNaN(e)&&r._ytAPI&&r._ytAPI.setVolume&&((e<0||e>100)&&t.error("volume greater or less than allowed "+e/100),r._ytAPI.setVolume(e),n(r))}),e.each(["play","pause"],function(e,t){var n=t+"Video";r[t]={value:function(){var e=m(this);if(!e)return i[t].prop._supvalue.apply(this,arguments);e._ytAPI&&e._ytAPI[n]&&(e._ytAPI[n](),w(t,e))}}}),i=t.defineNodeNameProperties("video",r,"prop")}()});
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(e){"use strict";var t=0,n={_create:function(){t++,this.id="range"+t,this.thumb=e('<span class="ws-range-thumb" />'),this.element.addClass("ws-range").html(this.thumb),this.updateMetrics(),this.addDrag()},addDrag:function(){var t=this,n=this.options,r=function(){e(document).off("mousemove",i)},i=function(e){var n=o+e.pageX-s;n<0&&o>0?n=0:n>t.maxLeft&&o<t.maxLeft&&(n=t.maxLeft),n>=0&&n<=t.maxLeft&&(s=e.pageX,o=n,t.thumb.css({left:o}))},s,o;this.thumb.on({mousedown:function(u){!n.readOnly&&!n.disabled&&(s=u.pageX,o=parseFloat(t.thumb.css("left"),10),e(document).on({mouseup:r,mousemove:i}))}})},updateMetrics:function(){this.rangeWidth=this.element.innerWidth(),this.thumbWidth=this.thumb.outerWidth(),this.maxLeft=this.rangeWidth-this.thumbWidth}};e.fn.rangeUI=function(t){return this.each(function(){e.webshims.objectCreate(n,{element:{value:e(this)}},t||{})})},console.log("range-ui")})(jQuery);
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,689 +1 @@
|
|
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
|
-
}
|
1
|
+
article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}audio{display:none;height:0;width:0}audio,video{overflow:hidden}audio.webshims-controls,video{display:inline-block;min-height:45px;min-width:40px}audio[controls]{display:inline-block;min-height:45px;min-width:40px}video > *,audio > *{visibility:hidden}.no-swf video > *,.no-swf audio > *{visibility:inherit}.flashblocker-assumed{min-height:20px;min-width:20px}.cue-display{position:absolute!important;margin:0;padding:0!important;max-width:100%!important;max-height:100%!important;border:none!important;background:none!important;text-align:center;visibility:hidden;font-family:sans-serif;font-size:12px;white-space:pre-wrap;overflow:hidden}.cue-display b{font-weight:bold}.cue-display i{font-style:italic}.cue-display u{text-decoration:underline}.cue-display span.cue-wrapper{position:absolute;left:0;bottom:0;right:0;display:block;padding:0;margin:0;width:100%;font-size:160%;color:#fff;visibility:visible!important}.cue-display .cue-line{display:block}.cue-display span.cue{display:inline-block;padding:3px 5px;background:#000;background:rgba(0,0,0,0.8);color:#fff}.cue-display .description-cues{position:absolute;top:-99px;left:-99px;display:block;width:5px;height:5px;overflow:hidden}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}.input-range .ui-slider-range,.placeholder-box,.placeholder-text,.input-datetime-local,.step-controls,.step-controls span,.input-range,.input-range .ui-slider-handle,.input-range .ui-slider-range,.details-open-indicator{margin:0;padding:0;border:none;width:auto;background:transparent none}output{position:relative}.webshims-visual-hide{position:absolute!important;top:0!important;left:0!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important}.webshims-visual-hide *{visibility:hidden!important}.placeholder-box{position:relative;display:inline-block;zoom:1}.polyfill-important .placeholder-box{position:relative!important;display:inline-block!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important}.placeholder-box-input{vertical-align:bottom}.placeholder-box-left{float:left}.placeholder-box-right{float:right}.placeholder-text{position:absolute;display:none;top:0;left:0;overflow:hidden;color:#999;line-height:1;cursor:text}.polyfill-important .placeholder-text{margin:0!important;padding-right:0!important;padding-bottom:0!important;display:none!important}.placeholder-box-input .placeholder-text{white-space:nowrap}.placeholder-visible{color:#999}.placeholder-visible .placeholder-text,.placeholder-text.placeholder-visible{display:inline-block}.placeholder-focused.placeholder-visible{color:#ccc}.polyfill-important .placeholder-visible .placeholder-text,.polyfill-important .placeholder-text.placeholder-visible{display:inline-block!important}.input-datetime-local{display:inline-block;zoom:1;vertical-align:middle}.polyfill-important .input-datetime-local{display:inline-block!important;height:auto!important;padding:0!important;margin:0!important;border:none!important}.polyfill-important .input-datetime-local input{display:inline!important}.input-datetime-local-date{margin:0 2px 0 0}.polyfill-important .input-datetime-local-date{margin:0 2px 0 0!important}.input-datetime-local-time{margin:0 0 0 2px}.polyfill-important .input-datetime-local-time{margin:0 0 0 2px!important}img.ui-datepicker-trigger{display:inline;display:inline-block;width:16px}.has-step-controls{display:inline}.polyfill-important .has-step-controls{display:inline!important}.step-controls{position:relative;zoom:1;overflow:hidden;display:inline-block;font-size:0;vertical-align:middle;vertical-align:top;margin-left:-17px;height:19px;width:15px}.polyfill-important .step-controls{display:inline-block!important;padding:0!important;vertical-align:top!important}.step-controls span{position:absolute;display:inline-block;overflow:hidden;margin:0!important;padding:0!important;width:15px;height:9px;cursor:pointer;font-size:0;line-height:0;background:url(forms.png) no-repeat 0 0}.polyfill-important .step-controls span{display:inline-block!important;margin:0!important;padding:0!important;font-size:0!important}.step-controls span.step-up{top:0;background-position:-80px 0}.step-controls span.step-up:hover{background-position:-105px 0}.step-controls > span.mousepress-ui.step-up{background-position:-105px -20px}.step-controls span.step-down{bottom:0;background-position:-155px 0}.step-controls span.step-down:hover{background-position:-180px 0}.step-controls > span.mousepress-ui.step-down{background-position:-180px -20px}.step-controls.disabled-step-control span{opacity:0.95;cursor:default}.step-controls.disabled-step-control span.step-up{background-position:-130px 0}.step-controls.disabled-step-control span.step-down{background-position:-205px 0}.input-range{position:relative;display:inline-block;vertical-align:middle;margin:5px 0;zoom:1;border:none;height:9px;width:155px;border-radius:1px;background:url(forms.png) 0 -43px no-repeat;cursor:pointer;font-size:0;line-height:0}.polyfill-important .input-range{display:inline-block!important;padding:0!important;font-size:0!important}.input-range .ui-slider-handle{top:0;position:absolute;display:block;z-index:4;overflow:hidden;margin:-5px 0 0 -8px;height:22px;width:17px;background:url(forms.png) 0 0 no-repeat;cursor:pointer;outline:none;font-size:0;line-height:0}.input-range .ui-slider-handle:hover,.input-range .ui-slider-handle:focus{background-position:-17px 0}.input-range .ui-slider-handle.ui-state-active{background-position:-34px 0}.input-range.ui-slider-disabled{cursor:default;opacity:0.95}.input-range.ui-slider-disabled .ui-slider-handle{cursor:default;background-position:-51px 0}.input-range .ui-slider-range{position:absolute;z-index:1;overflow:hidden;display:block;background:#b6e2fb}.input-range .input-range .ui-slider-range,.polyfill-important .input-range .ui-slider-handle{position:absolute!important;display:block!important;padding:0!important}.input-range.ui-slider-horizontal .ui-slider-range{top:4px;height:1px}.input-range.ui-slider-horizontal .ui-slider-range-min{left:0}.input-range.ui-slider-horizontal .ui-slider-range-max{right:0}.input-date-datepicker-control{position:absolute;zoom:1;display:none;background-color:#fff;z-index:100;overflow:visible;padding:5px;font-family:"MS Shell Dlg","Lucida Grande","Calibri",sans-serif;font-size:14px;border:1px solid #333}.polyfill-important .input-date-datepicker-control{z-index:999999999!important}.input-date-datepicker-control .ui-datepicker-header{position:relative;margin:0 0 3px;padding:2px 0}.input-date-datepicker-control .ui-datepicker-header select{border:1px solid #333;padding:1px 2px 2px}.input-date-datepicker-control .ui-datepicker-header option{padding-right:8px}.input-date-datepicker-control .ui-datepicker-header .ui-icon{position:absolute;display:block;top:0.2em;width:15px;height:18px;text-indent:-9999em;font-size:10px;line-height:0;background:url(forms.png) no-repeat;cursor:pointer}.input-date-datepicker-control .ui-datepicker-header .ui-state-disabled .ui-icon{cursor:default}.input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-w{left:3px;background-position:-235px 3px}.input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-w{background-position:-235px -17px}.input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-e{right:3px;background-position:-248px 3px}.input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-e{background-position:-248px -17px}.input-date-datepicker-control table{font-size:100%;border-spacing:1px}.input-date-datepicker-control .ui-datepicker-title{margin:0 20px}.input-date-datepicker-control .ui-datepicker-title,.input-date-datepicker-control th{color:#069;text-align:center;font-weight:bold}.input-date-datepicker-control td,.input-date-datepicker-control th{padding:0 2px;text-align:center;font-weight:normal}.input-date-datepicker-control td{padding:0 4px;cursor:pointer;text-align:right;border:1px solid #fff;border-radius:2px}.input-date-datepicker-control td.ui-datepicker-current-day{background-color:#adf;color:#000;border-color:#06c}.input-date-datepicker-control td.ui-datepicker-today{border-color:#06c}.input-date-datepicker-control td.ui-datepicker-current-day a{color:#000}.input-date-datepicker-control td a{color:#000;text-decoration:none}.input-date-datepicker-control td:hover{background-color:#bef;border-color:#06c}.input-date-datepicker-control td.ui-state-disabled{cursor:default;border-color:#fff;color:#bbb;background-color:transparent}.input-date-datepicker-control .ui-datepicker-buttonpane{margin:4px 0 0}.input-date-datepicker-control .ui-datepicker-cover{display:none;display position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}datalist{display:none}.datalist-polyfill{position:absolute!important;font-family:"Lucida Grande","MS Shell Dlg","Calibri",sans-serif;font-size:100%;top:0;left:0;margin:0;padding:0;display:none;z-index:999999999}.datalist-polyfill.datalist-visible{display:block}.datalist-polyfill div{margin:0;padding:0}.datalist-polyfill .datalist-box{border:1px solid #333;max-height:200px;overflow:hidden;overflow-x:hidden!important;overflow-y:auto}.datalist-polyfill ul,.datalist-polyfill li{font-size:100%;list-style:none!important}.datalist-polyfill ul{position:static!important;overflow:hidden;margin:0;padding:2px 0;height:auto!important;background-color:#fff;color:#000}.datalist-polyfill li{margin:1px 1px 1px 0;padding:2px 2px 2px 5px;overflow:hidden;white-space:nowrap;cursor:default;zoom:1;overflow:hidden}.datalist-polyfill .option-label{display:inline-block;float:left;max-width:100%;text-overflow:ellipsis}.datalist-polyfill .option-value{display:none;float:right;text-overflow:ellipsis}.datalist-polyfill .hidden-item{display:none!important}.datalist-polyfill .active-item{background-color:#39f;color:#fff;cursor:default}.validity-alert-wrapper{position:absolute!important;overflow:hidden;padding:0 6px 6px 0;font:12px/140% sans-serif;z-index:1000000000}.validity-alert{display:inline-block;padding:8px 0 0}.validity-alert .va-box{display:inline-block!important;background:#fafafa;color:#000;border:1px solid #ccc;padding:5px;border-radius:5px;box-shadow:2px 2px 5px rgba(0,0,0,0.5);zoom:1!important;min-width:60px}.validity-alert .va-arrow{position:absolute;top:1px;left:20px;display:block;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:7px solid #ccc;border-top:none;zoom:1;font-size:0}html .validity-alert span.va-arrow,html .validity-alert .va-arrow .va-arrow-box{border-left-color:transparent;border-right-color:transparent}.polyfill-important .validity-alert span.va-arrow,.polyfill-important .validity-alert .va-arrow .va-arrow-box{border-left-color:transparent!important;border-right-color:transparent!important}* html .validity-alert .va-arrow{display:none}.validity-alert .va-arrow .va-arrow-box{position:relative;top:1px;left:-9px;display:block;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:7px solid #fafafa;border-top:none}#swflocalstorageshim-wrapper{position:absolute;top:-999px;left:-9999px;overflow:hidden;width:215px;min-width:215px!important;z-index:2147483647}#swflocalstorageshim-wrapper .polyfill-exceeded-message{margin:0 0 5px;padding:5px;background:#ffd;color:#000;font-size:13px}#swflocalstorageshim-wrapper object{min-height:138px!important;min-width:215px!important}details{overflow:hidden}summary{position:relative}.closed-details-child{display:none!important}.details-open-indicator{margin:-1px 0 0;display:inline-block;width:16px;height:11px;background:url(details-arrows.png) no-repeat 0 0;vertical-align:middle}.closed-details-summary .details-open-indicator{background-position:0 -20px}.polyfill-important .details-open-indicator{margin:-1px 0 0!important;padding:0!important;border:0!important;display:inline-block!important;width:16px!important;height:11px!important;background:url(details-arrows.png) no-repeat 0 0!important;vertical-align:middle!important}.polyfill-important .closed-details-summary .details-open-indicator{background-position:0 -20px!important}summary.summary-has-focus{outline:1px dotted #aaa;outline-offset:-1px}
|