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.
Files changed (184) hide show
  1. data/lib/webshims-rails/version.rb +2 -2
  2. data/vendor/assets/javascripts/webshims/extras/custom-validity.js +253 -261
  3. data/vendor/assets/javascripts/webshims/extras/modernizr-custom.js +534 -534
  4. data/vendor/assets/javascripts/webshims/extras/mousepress.js +60 -60
  5. data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +1 -10
  6. data/vendor/assets/javascripts/webshims/minified/extras/modernizr-custom.js +1 -20
  7. data/vendor/assets/javascripts/webshims/minified/extras/mousepress.js +1 -2
  8. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +1 -30
  9. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/canvas2png.js +1 -42
  10. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/flashcanvas.js +1 -28
  11. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/flashcanvas.swf +0 -0
  12. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/proxy.php +0 -0
  13. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/save.php +0 -0
  14. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/canvas2png.js +1 -42
  15. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flash10canvas.swf +0 -0
  16. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flash9canvas.swf +0 -0
  17. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flashcanvas.js +1 -31
  18. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/proxy.php +0 -0
  19. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/save.php +0 -0
  20. data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +1 -38
  21. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +1 -80
  22. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +1 -45
  23. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +1 -44
  24. data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +1 -28
  25. data/vendor/assets/javascripts/webshims/minified/shims/combos/14.js +1 -19
  26. data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +1 -10
  27. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +1 -58
  28. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +1 -66
  29. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +1 -62
  30. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +1 -64
  31. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +1 -73
  32. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +1 -42
  33. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +1 -54
  34. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +1 -57
  35. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +1 -70
  36. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +1 -80
  37. data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +1 -60
  38. data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +1 -79
  39. data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +1 -101
  40. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +1 -95
  41. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +1 -27
  42. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +1 -34
  43. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +1 -56
  44. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +1 -33
  45. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +1 -40
  46. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +1 -39
  47. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +1 -65
  48. data/vendor/assets/javascripts/webshims/minified/shims/details.js +1 -5
  49. data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +1 -23
  50. data/vendor/assets/javascripts/webshims/minified/shims/es5.js +1 -15
  51. data/vendor/assets/javascripts/webshims/minified/shims/excanvas.js +1 -21
  52. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +1 -19
  53. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +1 -22
  54. data/vendor/assets/javascripts/webshims/minified/shims/form-message.js +1 -8
  55. data/vendor/assets/javascripts/webshims/minified/shims/form-native-extend.js +1 -7
  56. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +1 -10
  57. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +1 -23
  58. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +1 -46
  59. data/vendor/assets/javascripts/webshims/minified/shims/geolocation.js +1 -5
  60. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ar.js +1 -7
  61. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ch-ZN.js +1 -3
  62. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -33
  63. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-el.js +1 -7
  64. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -34
  65. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-es.js +1 -3
  66. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-fr.js +1 -3
  67. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-he.js +1 -6
  68. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-hi.js +1 -6
  69. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-hu.js +1 -3
  70. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-it.js +1 -3
  71. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ja.js +1 -4
  72. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-nl.js +1 -3
  73. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-pt-PT.js +1 -3
  74. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ru.js +1 -8
  75. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-sv.js +1 -3
  76. data/vendor/assets/javascripts/webshims/minified/shims/json-storage.js +1 -14
  77. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/license.txt +0 -0
  78. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/player.swf +0 -0
  79. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/readme.html +0 -0
  80. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +1 -16
  81. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-jaris.js +1 -23
  82. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +1 -3
  83. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +1 -26
  84. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +1 -14
  85. data/vendor/assets/javascripts/webshims/minified/shims/range-ui.js +1 -0
  86. data/vendor/assets/javascripts/webshims/minified/shims/styles/details-arrows.png +0 -0
  87. data/vendor/assets/javascripts/webshims/minified/shims/styles/forms.png +0 -0
  88. data/vendor/assets/javascripts/webshims/minified/shims/styles/polyfill-loader.gif +0 -0
  89. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +1 -689
  90. data/vendor/assets/javascripts/webshims/minified/shims/swf/JarisFLVPlayer.swf +0 -0
  91. data/vendor/assets/javascripts/webshims/minified/shims/swf/jwwebshims.swf +0 -0
  92. data/vendor/assets/javascripts/webshims/minified/shims/swf/localStorage.swf +0 -0
  93. data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +1 -9
  94. data/vendor/assets/javascripts/webshims/minified/shims/track.js +1 -21
  95. data/vendor/assets/javascripts/webshims/polyfiller.js +1188 -1191
  96. data/vendor/assets/javascripts/webshims/{minified/shims → shims}/FlashCanvas/README +0 -0
  97. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/canvas2png.js +0 -0
  98. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/flashcanvas.js +0 -0
  99. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/flashcanvas.swf +0 -0
  100. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/proxy.php +0 -0
  101. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/save.php +0 -0
  102. data/vendor/assets/javascripts/webshims/{minified/shims → shims}/FlashCanvasPro/README +82 -82
  103. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/canvas2png.js +0 -0
  104. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/flash10canvas.swf +0 -0
  105. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/flash9canvas.swf +0 -0
  106. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/flashcanvas.js +0 -0
  107. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/proxy.php +0 -0
  108. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/save.php +0 -0
  109. data/vendor/assets/javascripts/webshims/shims/combos/1.js +1752 -1754
  110. data/vendor/assets/javascripts/webshims/shims/combos/10.js +3311 -3247
  111. data/vendor/assets/javascripts/webshims/shims/combos/11.js +1631 -1633
  112. data/vendor/assets/javascripts/webshims/shims/combos/12.js +1697 -1636
  113. data/vendor/assets/javascripts/webshims/shims/combos/13.js +1098 -1100
  114. data/vendor/assets/javascripts/webshims/shims/combos/14.js +477 -476
  115. data/vendor/assets/javascripts/webshims/shims/combos/15.js +317 -316
  116. data/vendor/assets/javascripts/webshims/shims/combos/16.js +2155 -2095
  117. data/vendor/assets/javascripts/webshims/shims/combos/17.js +2320 -2259
  118. data/vendor/assets/javascripts/webshims/shims/combos/18.js +1326 -1322
  119. data/vendor/assets/javascripts/webshims/shims/combos/19.js +2238 -2239
  120. data/vendor/assets/javascripts/webshims/shims/combos/2.js +2341 -2339
  121. data/vendor/assets/javascripts/webshims/shims/combos/20.js +1558 -1493
  122. data/vendor/assets/javascripts/webshims/shims/combos/21.js +1734 -1733
  123. data/vendor/assets/javascripts/webshims/shims/combos/22.js +2361 -2295
  124. data/vendor/assets/javascripts/webshims/shims/combos/23.js +2332 -2269
  125. data/vendor/assets/javascripts/webshims/shims/combos/24.js +2836 -2775
  126. data/vendor/assets/javascripts/webshims/shims/combos/25.js +1549 -1489
  127. data/vendor/assets/javascripts/webshims/shims/combos/26.js +2156 -2095
  128. data/vendor/assets/javascripts/webshims/shims/combos/27.js +3313 -3248
  129. data/vendor/assets/javascripts/webshims/shims/combos/3.js +3022 -3020
  130. data/vendor/assets/javascripts/webshims/shims/combos/4.js +771 -770
  131. data/vendor/assets/javascripts/webshims/shims/combos/5.js +1027 -1025
  132. data/vendor/assets/javascripts/webshims/shims/combos/59.js +1709 -1706
  133. data/vendor/assets/javascripts/webshims/shims/combos/6.js +387 -386
  134. data/vendor/assets/javascripts/webshims/shims/combos/7.js +643 -641
  135. data/vendor/assets/javascripts/webshims/shims/combos/8.js +1547 -1488
  136. data/vendor/assets/javascripts/webshims/shims/combos/9.js +2508 -2445
  137. data/vendor/assets/javascripts/webshims/shims/details.js +148 -148
  138. data/vendor/assets/javascripts/webshims/shims/dom-extend.js +949 -952
  139. data/vendor/assets/javascripts/webshims/shims/es5.js +802 -802
  140. data/vendor/assets/javascripts/webshims/shims/excanvas.js +924 -924
  141. data/vendor/assets/javascripts/webshims/shims/form-core.js +606 -606
  142. data/vendor/assets/javascripts/webshims/shims/form-datalist.js +681 -681
  143. data/vendor/assets/javascripts/webshims/shims/form-message.js +164 -164
  144. data/vendor/assets/javascripts/webshims/shims/form-native-extend.js +255 -255
  145. data/vendor/assets/javascripts/webshims/shims/form-number-date-api.js +383 -383
  146. data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +2 -2
  147. data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +1568 -1569
  148. data/vendor/assets/javascripts/webshims/shims/geolocation.js +168 -168
  149. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ar.js +32 -32
  150. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ch-ZN.js +32 -32
  151. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-de.txt +33 -33
  152. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-el.js +32 -32
  153. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-en.txt +34 -34
  154. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-es.js +31 -31
  155. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-fr.js +32 -32
  156. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-he.js +32 -32
  157. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hi.js +32 -32
  158. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hu.js +32 -32
  159. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-it.js +32 -32
  160. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ja.js +32 -32
  161. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-nl.js +32 -32
  162. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-pt-PT.js +32 -32
  163. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ru.js +31 -31
  164. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-sv.js +32 -32
  165. data/vendor/assets/javascripts/webshims/shims/json-storage.js +308 -308
  166. data/vendor/assets/javascripts/webshims/shims/jwplayer/license.txt +0 -0
  167. data/vendor/assets/javascripts/webshims/shims/jwplayer/player.swf +0 -0
  168. data/vendor/assets/javascripts/webshims/shims/jwplayer/readme.html +0 -0
  169. data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +597 -536
  170. data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +891 -860
  171. data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +98 -98
  172. data/vendor/assets/javascripts/webshims/shims/mediaelement-swf.js +960 -957
  173. data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +543 -543
  174. data/vendor/assets/javascripts/webshims/shims/range-ui.js +66 -0
  175. data/vendor/assets/javascripts/webshims/shims/styles/details-arrows.png +0 -0
  176. data/vendor/assets/javascripts/webshims/shims/styles/forms.png +0 -0
  177. data/vendor/assets/javascripts/webshims/shims/styles/polyfill-loader.gif +0 -0
  178. data/vendor/assets/javascripts/webshims/shims/styles/shim.css +697 -689
  179. data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
  180. data/vendor/assets/javascripts/webshims/shims/swf/jwwebshims.swf +0 -0
  181. data/vendor/assets/javascripts/webshims/shims/swf/localStorage.swf +0 -0
  182. data/vendor/assets/javascripts/webshims/shims/track-ui.js +0 -0
  183. data/vendor/assets/javascripts/webshims/shims/track.js +0 -0
  184. metadata +6 -4
@@ -1,60 +1,60 @@
1
- /*
2
- * simple helper for a mousepress event
3
- * used by webshims improving spinbutton controls for input[type=time], input[type=number]...
4
- *
5
- * $(element).bind('mousepress', function(){
6
- * //repeatedly called after mousedown, till mouseleave/mouseup
7
- * });
8
- */
9
- (function($){
10
- var removeTimer = function(elem, full){
11
- var timer = elem.data('mousepresstimer');
12
- if(timer){
13
- clearTimeout(timer);
14
- }
15
- if(full){
16
- elem.unbind('mouseup.mousepressext mouseleave.mousepressext');
17
- }
18
- elem = null;
19
- };
20
- $.event.special.mousepress = {
21
- setup: function(){
22
- var timer;
23
- $(this).bind('mousedown.mousepressext', function(e){
24
- var elem = $(this);
25
-
26
- var startIntervall = function(delay){
27
- var steps = 0;
28
- removeTimer(elem);
29
- elem.data('mousepresstimer', setInterval(function(){
30
- $.event.special.mousepress.handler(elem[0], e);
31
- steps++;
32
- if(steps > 3 && delay > 45){
33
- startIntervall(delay - 40);
34
- }
35
- }, delay));
36
- };
37
- var target = $(e.target).trigger('mousepressstart', [e]);
38
-
39
- removeTimer(elem);
40
- elem.data('mousepresstimer', setTimeout(function(){
41
- startIntervall(180);
42
- }, 200));
43
-
44
- elem.bind('mouseup.mousepressext mouseleave.mousepressext', function(e){
45
- removeTimer(elem, true);
46
- target.trigger('mousepressend', [e]);
47
- elem = null;
48
- target = null;
49
- });
50
- });
51
- },
52
- teardown: function(){
53
- removeTimer($(this).unbind('.mousepressext'), true);
54
- },
55
- handler: function(elem, e){
56
- return $.event.handle.call(elem, {type: 'mousepress', target: e.target, pageX: e.pageX, pageY: e.pageY});
57
- }
58
- };
59
-
60
- })(jQuery);
1
+ /*
2
+ * simple helper for a mousepress event
3
+ * used by webshims improving spinbutton controls for input[type=time], input[type=number]...
4
+ *
5
+ * $(element).bind('mousepress', function(){
6
+ * //repeatedly called after mousedown, till mouseleave/mouseup
7
+ * });
8
+ */
9
+ (function($){
10
+ var removeTimer = function(elem, full){
11
+ var timer = elem.data('mousepresstimer');
12
+ if(timer){
13
+ clearTimeout(timer);
14
+ }
15
+ if(full){
16
+ elem.unbind('mouseup.mousepressext mouseleave.mousepressext');
17
+ }
18
+ elem = null;
19
+ };
20
+ $.event.special.mousepress = {
21
+ setup: function(){
22
+ var timer;
23
+ $(this).bind('mousedown.mousepressext', function(e){
24
+ var elem = $(this);
25
+
26
+ var startIntervall = function(delay){
27
+ var steps = 0;
28
+ removeTimer(elem);
29
+ elem.data('mousepresstimer', setInterval(function(){
30
+ $.event.special.mousepress.handler(elem[0], e);
31
+ steps++;
32
+ if(steps > 3 && delay > 45){
33
+ startIntervall(delay - 40);
34
+ }
35
+ }, delay));
36
+ };
37
+ var target = $(e.target).trigger('mousepressstart', [e]);
38
+
39
+ removeTimer(elem);
40
+ elem.data('mousepresstimer', setTimeout(function(){
41
+ startIntervall(180);
42
+ }, 200));
43
+
44
+ elem.bind('mouseup.mousepressext mouseleave.mousepressext', function(e){
45
+ removeTimer(elem, true);
46
+ target.trigger('mousepressend', [e]);
47
+ elem = null;
48
+ target = null;
49
+ });
50
+ });
51
+ },
52
+ teardown: function(){
53
+ removeTimer($(this).unbind('.mousepressext'), true);
54
+ },
55
+ handler: function(elem, e){
56
+ return $.event.handle.call(elem, {type: 'mousepress', target: e.target, pageX: e.pageX, pageY: e.pageY});
57
+ }
58
+ };
59
+
60
+ })(jQuery);
@@ -1,10 +1 @@
1
- (function(b,f,i){if(!b.webshims){var k=navigator.browserLanguage||navigator.language||b("html").attr("lang")||"";b.webshims={addReady:function(a){b(function(){a(i,b([]))})},ready:function(a,b){b()},activeLang:function(){return k}}}var g=b.webshims,l={},j=!1,c,d,a=function(a){g.refreshCustomValidityRules(a.target)};g.customErrorMessages={};g.addCustomValidityRule=function(a,c,d){l[a]=c;g.customErrorMessages[a]||(g.customErrorMessages[a]=[],g.customErrorMessages[a][""]=d||a);b.isReady&&j&&b("input, select, textarea").each(function(){e(this)})};
2
- g.refreshCustomValidityRules=function(a){if(a.form&&(d||b.prop(a,"willValidate"))){c=!0;var e=b.data(a,"customMismatchedRule"),f=b.prop(a,"validity")||{},h="";if(e||!f.customError){var i=b(a).val();b.each(l,function(c,d){h=d(a,i)||"";e=c;if(h)return"string"!=typeof h&&(h=b(a).data("errormessage")||a.getAttribute("x-moz-errormessage")||g.customErrorMessages[c][g.activeLang()]||g.customErrorMessages[c][""]),"object"==typeof h&&(h=h[c]||h.customError||h.defaultMessage),!1});h&&b.data(a,"customMismatchedRule",
3
- e);b(a).setCustomValidity(h)}c=!1}};var e=g.refreshCustomValidityRules;g.ready("forms",function(){j=!0;var f=b.fn.setCustomValidity||function(a){return this.each(function(){this.setCustomValidity&&this.setCustomValidity(a)})};b.fn.setCustomValidity=function(a){c||this.data("customMismatchedRule","");return f.apply(this,arguments)};b(i).bind("change",a);g.addReady(function(a,c){d=!0;b("input, select, textarea",a).add(c.filter("input, select, textarea")).each(function(){e(this)});d=!1});b(i).bind("refreshCustomValidityRules",
4
- a)})})(jQuery,window,document);
5
- (function(b,f,i){f=b.webshims.addCustomValidityRule;f("partialPattern",function(c,d){if(d&&c.getAttribute("data-partial-pattern")){var a=b(c).data("partial-pattern");return!a?void 0:!RegExp("("+a+")","i").test(d)}},"This format is not allowed here.");f("tooShort",function(c,d){return!d||!c.getAttribute("data-minlength")?void 0:b(c).data("minlength")>d.length},"Entered value is too short.");var k={};f("group-required",function(c){var d=c.name;if(d&&"checkbox"===c.type&&b(c).hasClass("group-required")){var a=
6
- b(c.form&&c.form[d]||i.getElementsByName(d)),c=a.filter(":checked");k[d]&&clearTimeout(k[d]);k[d]=setTimeout(function(){a.unbind("click.groupRequired").bind("click.groupRequired",function(){a.filter(".group-required").each(function(){b.webshims.refreshCustomValidityRules(this)})})},9);return!c[0]}},"Please check one of these checkboxes.");var g=/[^0-9-]+/;f("creditcard",function(c,d){if(d&&b(c).hasClass("creditcard-input")){if(!g.test(d))return!0;var a=0,e=0,f=!1,d=d.replace(/\D/g,"");for(n=d.length-
7
- 1;0<=n;n--){e=d.charAt(n);e=parseInt(e,10);if(f&&9<(e*=2))e-=9;a+=e;f=!f}return 0!==a%10}},"Please enter a valid credit card number");var l={prop:"value","from-prop":"value",toggle:!1},j=function(c){return b(c.form[c.name]).filter('[type="radio"]')};b.webshims.ready("form-core",function(){b.webshims.modules&&(j=b.webshims.modules["form-core"].getGroupElements||j)});f("dependent",function(c,d){if(c.getAttribute("data-dependent-validation")){var a=b(c).data("dependentValidation"),e;if(a){var f=function(){var d=
8
- b.prop(a.masterElement,a["from-prop"]);e&&(d=-1!==b.inArray(d,e));a.toggle&&(d=!d);b.prop(c,a.prop,d)};if(!a._init||!a.masterElement){"string"==typeof a&&(a={from:a});a.masterElement=i.getElementById(a.from)||i.getElementsByName(a.from||[])[0];if(!a.masterElement||!a.masterElement.form)return;if(/radio|checkbox/i.test(a.masterElement.type)){if(a["from-prop"]||(a["from-prop"]="checked"),!a.prop&&"checked"==a["from-prop"])a.prop="disabled"}else a["from-prop"]||(a["from-prop"]="value");0===a["from-prop"].indexOf("value:")&&
9
- (e=a["from-prop"].replace("value:","").split("||"),a["from-prop"]="value");a=b.data(c,"dependentValidation",b.extend({_init:!0},l,a));"value"!==a.prop||e?b("radio"===a.masterElement.type&&j(a.masterElement)||a.masterElement).bind("change",f):b(a.masterElement).bind("change",function(){b.webshims.refreshCustomValidityRules(c);b(c).is(".user-error, .user-success")&&b(c).trigger("refreshvalidityui")})}if("value"==a.prop&&!e)return b.prop(a.masterElement,"value")!=d;f();return""}}},"The value of this field does not repeat the value of the other field")})(jQuery,
10
- window,document);
1
+ (function(e,t,n,r){"use strict";if(!e.webshims){var i=navigator.browserLanguage||navigator.language||e("html").attr("lang")||"";e.webshims={addReady:function(t){e(function(){t(n,e([]))})},ready:function(e,t){t()},activeLang:function(){return i}}}var s=e.webshims,o={},u=!1,a,f,l=function(e){s.refreshCustomValidityRules(e.target)};s.customErrorMessages={},s.addCustomValidityRule=function(t,n,r){o[t]=n,s.customErrorMessages[t]||(s.customErrorMessages[t]=[],s.customErrorMessages[t][""]=r||t),e.isReady&&u&&e("input, select, textarea").each(function(){c(this)})},s.refreshCustomValidityRules=function(t){if(!t.form||!f&&!e.prop(t,"willValidate"))return;a=!0;var n=e.data(t,"customMismatchedRule"),r=e.prop(t,"validity")||{},i="";if(n||!r.customError){var u=e(t).val();e.each(o,function(r,o){i=o(t,u)||"",n=r;if(i)return typeof i!="string"&&(i=e(t).data("errormessage")||t.getAttribute("x-moz-errormessage")||s.customErrorMessages[r][s.activeLang()]||s.customErrorMessages[r][""]),typeof i=="object"&&(i=i[r]||i.customError||i.defaultMessage),!1}),i&&e.data(t,"customMismatchedRule",n),e(t).setCustomValidity(i)}a=!1};var c=s.refreshCustomValidityRules;s.ready("forms",function(){u=!0;var t=e.fn.setCustomValidity||function(e){return this.each(function(){this.setCustomValidity&&this.setCustomValidity(e)})};e.fn.setCustomValidity=function(e){return a||this.data("customMismatchedRule",""),t.apply(this,arguments)},e(n).bind("change",l),s.addReady(function(t,n){f=!0,e("input, select, textarea",t).add(n.filter("input, select, textarea")).each(function(){c(this)}),f=!1}),e(n).bind("refreshCustomValidityRules",l)})})(jQuery,window,document),function(e,t,n,r){"use strict";var i=e.webshims.addCustomValidityRule;i("partialPattern",function(t,n){if(!n||!t.getAttribute("data-partial-pattern"))return;var r=e(t).data("partial-pattern");if(!r)return;return!(new RegExp("("+r+")","i")).test(n)},"This format is not allowed here."),i("tooShort",function(t,n){if(!n||!t.getAttribute("data-minlength"))return;return e(t).data("minlength")>n.length},"Entered value is too short.");var s={};i("group-required",function(t,r){var i=t.name;if(!i||t.type!=="checkbox"||!e(t).hasClass("group-required"))return;var o=e(t.form&&t.form[i]||n.getElementsByName(i)),u=o.filter(":checked");return s[i]&&clearTimeout(s[i]),s[i]=setTimeout(function(){o.unbind("click.groupRequired").bind("click.groupRequired",function(){o.filter(".group-required").each(function(){e.webshims.refreshCustomValidityRules(this)})})},9),!u[0]},"Please check one of these checkboxes."),i("creditcard",function(t,n){if(!n||!e(t).hasClass("creditcard-input"))return;n=n.replace(/\-/g,"");if(n!=n*1)return!0;var r=n.length,i=0,s=1,o;while(r--)o=parseInt(n.charAt(r),10)*s,i+=o-(o>9)*9,s^=3;return!(i%10===0&&i>0)},"Please enter a valid credit card number");var o={prop:"value","from-prop":"value",toggle:!1},u=function(t){return e(t.form[t.name]).filter('[type="radio"]')};e.webshims.ready("form-core",function(){e.webshims.modules&&(u=e.webshims.modules["form-core"].getGroupElements||u)}),i("dependent",function(t,r){if(!t.getAttribute("data-dependent-validation"))return;var i=e(t).data("dependentValidation"),s;if(!i)return;var a=function(n){var r=e.prop(i.masterElement,i["from-prop"]);s&&(r=e.inArray(r,s)!==-1),i.toggle&&(r=!r),e.prop(t,i.prop,r)};if(!i._init||!i.masterElement){typeof i=="string"&&(i={from:i}),i.masterElement=n.getElementById(i.from)||n.getElementsByName(i.from||[])[0];if(!i.masterElement||!i.masterElement.form)return;/radio|checkbox/i.test(i.masterElement.type)?(i["from-prop"]||(i["from-prop"]="checked"),!i.prop&&i["from-prop"]=="checked"&&(i.prop="disabled")):i["from-prop"]||(i["from-prop"]="value"),i["from-prop"].indexOf("value:")===0&&(s=i["from-prop"].replace("value:","").split("||"),i["from-prop"]="value"),i=e.data(t,"dependentValidation",e.extend({_init:!0},o,i)),i.prop!=="value"||s?e(i.masterElement.type==="radio"&&u(i.masterElement)||i.masterElement).bind("change",a):e(i.masterElement).bind("change",function(){e.webshims.refreshCustomValidityRules(t),e(t).is(".user-error, .user-success")&&e(t).trigger("refreshvalidityui")})}return i.prop=="value"&&!s?e.prop(i.masterElement,"value")!=r:(a(),"")},"The value of this field does not repeat the value of the other field")}(jQuery,window,document);
@@ -1,20 +1 @@
1
- window.Modernizr=function(s,g,C){function y(b,a){for(var e in b){var f=b[e];if(!~(""+f).indexOf("-")&&K[f]!==C)return"pfx"==a?f:!0}return!1}function x(b,a,e){var f=b.charAt(0).toUpperCase()+b.slice(1),m=(b+" "+t.join(f+" ")+f).split(" ");if("string"===typeof a||"undefined"===typeof a)return y(m,a);m=(b+" "+D.join(f+" ")+f).split(" ");a:{var b=m,d;for(d in b)if(f=a[b[d]],f!==C){if(!1===e){a=b[d];break a}a="function"===typeof f?f.bind(e||a):f;break a}a=!1}return a}function E(){h.input=function(b){for(var a=
2
- 0,e=b.length;a<e;a++)u[b[a]]=!!(b[a]in l);if(u.list)u.list=!(!g.createElement("datalist")||!s.HTMLDataListElement);return u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));h.inputtypes=function(b){for(var a=0,e,f,m=b.length;a<m;a++){l.setAttribute("type",f=b[a]);if(e="text"!==l.type)l.value=r,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==C?(p.appendChild(l),e=g.defaultView,e=e.getComputedStyle&&"textfield"!==
3
- e.getComputedStyle(l,null).WebkitAppearance&&0!==l.offsetHeight,p.removeChild(l)):/^(search|tel)$/.test(f)||(e=/^(url|email)$/.test(f)?l.checkValidity&&!1===l.checkValidity():l.value!=r);z[b[a]]=!!e}return z}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var h={},p=g.documentElement,n=g.createElement("modernizr"),K=n.style,l=g.createElement("input"),r=":)",A=" -webkit- -moz- -o- -ms- ".split(" "),t="Webkit Moz O ms".split(" "),D="webkit moz o ms".split(" "),
4
- n={},z={},u={},F=[],G=F.slice,B,H={}.hasOwnProperty,J;J="undefined"!==typeof H&&"undefined"!==typeof H.call?function(b,a){return H.call(b,a)}:function(b,a){return a in b&&"undefined"===typeof b.constructor.prototype[a]};if(!Function.prototype.bind)Function.prototype.bind=function(b){var a=this;if("function"!=typeof a)throw new TypeError;var e=G.call(arguments,1),f=function(){if(this instanceof f){var m=function(){};m.prototype=a.prototype;var m=new m,d=a.apply(m,e.concat(G.call(arguments)));return Object(d)===
5
- d?d:m}return a.apply(b,e.concat(G.call(arguments)))};return f};n.canvas=function(){var b=g.createElement("canvas");return!(!b.getContext||!b.getContext("2d"))};n.geolocation=function(){return"geolocation"in navigator};n.video=function(){var b=g.createElement("video"),a=!1;try{if(a=!!b.canPlayType)a=new Boolean(a),a.ogg=b.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),a.h264=b.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),a.webm=b.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,
6
- "")}catch(e){}return a};n.audio=function(){var b=g.createElement("audio"),a=!1;try{if(a=!!b.canPlayType)a=new Boolean(a),a.ogg=b.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),a.mp3=b.canPlayType("audio/mpeg;").replace(/^no$/,""),a.wav=b.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),a.m4a=(b.canPlayType("audio/x-m4a;")||b.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(e){}return a};n.localstorage=function(){try{return localStorage.setItem("modernizr","modernizr"),localStorage.removeItem("modernizr"),
7
- !0}catch(b){return!1}};n.sessionstorage=function(){try{return sessionStorage.setItem("modernizr","modernizr"),sessionStorage.removeItem("modernizr"),!0}catch(b){return!1}};for(var I in n)J(n,I)&&(B=I.toLowerCase(),h[B]=n[I](),F.push((h[B]?"":"no-")+B));h.input||E();h.addTest=function(b,a){if("object"==typeof b)for(var e in b)J(b,e)&&h.addTest(e,b[e]);else{b=b.toLowerCase();if(h[b]!==C)return h;a="function"==typeof a?a():a;p.className+=" "+(a?"":"no-")+b;h[b]=a}return h};K.cssText="";n=l=null;(function(b,
8
- a){function e(){var a=v.elements;return"string"==typeof a?a.split(" "):a}function f(a){var c=k[a[j]];c||(c={},q++,a[j]=q,k[q]=c);return c}function m(b,c,d){c||(c=a);if(w)return c.createElement(b);d||(d=f(c));c=d.cache[b]?d.cache[b].cloneNode():l.test(b)?(d.cache[b]=d.createElem(b)).cloneNode():d.createElem(b);return c.canHaveChildren&&!h.test(b)?d.frag.appendChild(c):c}function d(a,c){if(!c.cache)c.cache={},c.createElem=a.createElement,c.createFrag=a.createDocumentFragment,c.frag=c.createFrag();a.createElement=
9
- function(b){return!v.shivMethods?c.createElem(b):m(b,a,c)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+e().join().replace(/\w+/g,function(a){c.createElem(a);c.frag.createElement(a);return'c("'+a+'")'})+");return n}")(v,c.frag)}function i(b){b||(b=a);var c=f(b);if(v.shivCSS&&!o&&!c.hasCSS){var k,i=b;k=i.createElement("p");i=i.getElementsByTagName("head")[0]||i.documentElement;k.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
10
- k=i.insertBefore(k.lastChild,i.firstChild);c.hasCSS=!!k}w||d(b,c);return b}var g=b.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,l=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,o,j="_html5shiv",q=0,k={},w;(function(){try{var b=a.createElement("a");b.innerHTML="<xyz></xyz>";o="hidden"in b;var c;if(!(c=1==b.childNodes.length)){a.createElement("a");var d=a.createDocumentFragment();c="undefined"==typeof d.cloneNode||
11
- "undefined"==typeof d.createDocumentFragment||"undefined"==typeof d.createElement}w=c}catch(k){w=o=!0}})();var v={elements:g.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==g.shivCSS,supportsUnknownElements:w,shivMethods:!1!==g.shivMethods,type:"default",shivDocument:i,createElement:m,createDocumentFragment:function(b,d){b||(b=a);if(w)return b.createDocumentFragment();
12
- for(var d=d||f(b),k=d.frag.cloneNode(),i=0,q=e(),g=q.length;i<g;i++)k.createElement(q[i]);return k}};b.html5=v;i(a)})(this,g);h._version="2.6.2";h._prefixes=A;h._domPrefixes=D;h._cssomPrefixes=t;h.testProp=function(b){return y([b])};h.testAllProps=x;h.prefixed=function(b,a,e){return a?x(b,a,e):x(b,"pfx")};p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+F.join(" "));return h}(this,this.document);
13
- (function(s,g,C){function y(a){return"[object Function]"==D.call(a)}function x(a){return"string"==typeof a}function E(){}function h(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function p(){var a=z.shift();u=1;a?a.t?A(function(){("c"==a.t?m.injectCss:m.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),p()):u=0}function n(b,i,e,f,l,o,j){function q(c){if(!w&&h(k.readyState)&&(n.r=w=1,!u&&p(),k.onload=k.onreadystatechange=null,c)){"img"!=b&&A(function(){B.removeChild(k)},50);for(var q in a[i])a[i].hasOwnProperty(q)&&
14
- a[i][q].onload()}}var j=j||m.errorTimeout,k=g.createElement(b),w=0,v=0,n={t:e,s:i,e:l,a:o,x:j};1===a[i]&&(v=1,a[i]=[]);"object"==b?k.data=i:(k.src=i,k.type=b);k.width=k.height="0";k.onerror=k.onload=k.onreadystatechange=function(){q.call(this,v)};z.splice(f,0,n);"img"!=b&&(v||2===a[i]?(B.insertBefore(k,G?null:t),A(q,j)):a[i].push(k))}function K(a,b,e,f,g){return u=0,b=b||"j",x(a)?n("c"==b?J:H,a,b,this.i++,e,f,g):(z.splice(this.i++,0,a),1==z.length&&p()),this}function l(){var a=m;return a.loader={load:K,
15
- i:0},a}var r=g.documentElement,A=s.setTimeout,t=g.getElementsByTagName("script")[0],D={}.toString,z=[],u=0,F="MozAppearance"in r.style,G=F&&!!g.createRange().compareNode,B=G?r:t.parentNode,r=s.opera&&"[object Opera]"==D.call(s.opera),r=!!g.attachEvent&&!r,H=F?"object":r?"script":"img",J=r?"script":H,I=Array.isArray||function(a){return"[object Array]"==D.call(a)},b=[],a={},e={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},f,m;m=function(d){function i(a){var a=a.split("!"),k=b.length,d=
16
- a.pop(),f=a.length,d={url:d,origUrl:d,prefixes:a},i,c,g;for(c=0;c<f;c++)g=a[c].split("="),(i=e[g.shift()])&&(d=i(d,g));for(c=0;c<k;c++)d=b[c](d);return d}function f(b,d,g,e,h){var c=i(b),j=c.autoCallback;c.url.split(".").pop().split("?").shift();c.bypass||(d&&(d=y(d)?d:d[b]||d[e]||d[b.split("/").pop().split("?")[0]]),c.instead?c.instead(b,d,g,e,h):(a[c.url]?c.noexec=!0:a[c.url]=1,g.load(c.url,c.forceCSS||!c.forceJS&&"css"==c.url.split(".").pop().split("?").shift()?"c":C,c.noexec,c.attrs,c.timeout),
17
- (y(d)||y(j))&&g.load(function(){l();d&&d(c.origUrl,h,e);j&&j(c.origUrl,h,e);a[c.url]=2})))}function g(a,b){function d(a,i){if(a)if(x(a))i||(c=function(){var a=[].slice.call(arguments);h.apply(this,a);j()}),f(a,c,b,0,e);else{if(Object(a)===a)for(l in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(l)&&(!i&&!--m&&(y(c)?c=function(){var a=[].slice.call(arguments);h.apply(this,a);j()}:c[l]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,
18
- b);j()}}(h[l])),f(a[l],c,b,l,e))}else!i&&j()}var e=!!a.test,i=a.load||a.both,c=a.callback||E,h=c,j=a.complete||E,m,l;d(e?a.yep:a.nope,!!i);i&&d(i)}var h,o,j=this.yepnope.loader;if(x(d))f(d,0,j,0);else if(I(d))for(h=0;h<d.length;h++)o=d[h],x(o)?f(o,0,j,0):I(o)?m(o):Object(o)===o&&g(o,j);else Object(d)===d&&g(d,j)};m.addPrefix=function(a,b){e[a]=b};m.addFilter=function(a){b.push(a)};m.errorTimeout=1E4;null==g.readyState&&g.addEventListener&&(g.readyState="loading",g.addEventListener("DOMContentLoaded",
19
- f=function(){g.removeEventListener("DOMContentLoaded",f,0);g.readyState="complete"},0));s.yepnope=l();s.yepnope.executeStack=p;s.yepnope.injectJs=function(a,b,e,f,l,o){var j=g.createElement("script"),n,k,f=f||m.errorTimeout;j.src=a;for(k in e)j.setAttribute(k,e[k]);b=o?p:b||E;j.onreadystatechange=j.onload=function(){!n&&h(j.readyState)&&(n=1,b(),j.onload=j.onreadystatechange=null)};A(function(){n||(n=1,b(1))},f);l?j.onload():t.parentNode.insertBefore(j,t)};s.yepnope.injectCss=function(a,b,e,f,h,l){var f=
20
- g.createElement("link"),j,b=l?p:b||E;f.href=a;f.rel="stylesheet";f.type="text/css";for(j in e)f.setAttribute(j,e[j]);h||(t.parentNode.insertBefore(f,t),A(b,0))}})(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};Modernizr.addTest({texttrackapi:"function"===typeof document.createElement("video").addTextTrack,track:"kind"in document.createElement("track")});
1
+ window.Modernizr=function(e,t,n){function N(e){f.cssText=e}function C(e,t){return N(p.join(e+";")+(t||""))}function k(e,t){return typeof e===t}function L(e,t){return!!~(""+e).indexOf(t)}function A(e,t){for(var r in e){var i=e[r];if(!L(i,"-")&&f[i]!==n)return t=="pfx"?i:!0}return!1}function O(e,t,r){for(var i in e){var s=t[e[i]];if(s!==n)return r===!1?e[i]:k(s,"function")?s.bind(r||t):s}return!1}function M(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+v.join(r+" ")+r).split(" ");return k(t,"string")||k(t,"undefined")?A(i,t):(i=(e+" "+m.join(r+" ")+r).split(" "),O(i,t,n))}function _(){i.input=function(n){for(var r=0,i=n.length;r<i;r++)b[n[r]]=n[r]in l;return b.list&&(b.list=!!t.createElement("datalist")&&!!e.HTMLDataListElement),b}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),i.inputtypes=function(e){for(var r=0,i,s,u,a=e.length;r<a;r++)l.setAttribute("type",s=e[r]),i=l.type!=="text",i&&(l.value=c,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(s)&&l.style.WebkitAppearance!==n?(o.appendChild(l),u=t.defaultView,i=u.getComputedStyle&&u.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,o.removeChild(l)):/^(search|tel)$/.test(s)||(/^(url|email)$/.test(s)?i=l.checkValidity&&l.checkValidity()===!1:i=l.value!=c)),y[e[r]]=!!i;return y}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var r="2.6.2",i={},s=!0,o=t.documentElement,u="modernizr",a=t.createElement(u),f=a.style,l=t.createElement("input"),c=":)",h={}.toString,p=" -webkit- -moz- -o- -ms- ".split(" "),d="Webkit Moz O ms",v=d.split(" "),m=d.toLowerCase().split(" "),g={},y={},b={},w=[],E=w.slice,S,x={}.hasOwnProperty,T;!k(x,"undefined")&&!k(x.call,"undefined")?T=function(e,t){return x.call(e,t)}:T=function(e,t){return t in e&&k(e.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new TypeError;var r=E.call(arguments,1),i=function(){if(this instanceof i){var e=function(){};e.prototype=n.prototype;var s=new e,o=n.apply(s,r.concat(E.call(arguments)));return Object(o)===o?o:s}return n.apply(t,r.concat(E.call(arguments)))};return i}),g.canvas=function(){var e=t.createElement("canvas");return!!e.getContext&&!!e.getContext("2d")},g.geolocation=function(){return"geolocation"in navigator},g.video=function(){var e=t.createElement("video"),n=!1;try{if(n=!!e.canPlayType)n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(r){}return n},g.audio=function(){var e=t.createElement("audio"),n=!1;try{if(n=!!e.canPlayType)n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(r){}return n},g.localstorage=function(){try{return localStorage.setItem(u,u),localStorage.removeItem(u),!0}catch(e){return!1}},g.sessionstorage=function(){try{return sessionStorage.setItem(u,u),sessionStorage.removeItem(u),!0}catch(e){return!1}};for(var D in g)T(g,D)&&(S=D.toLowerCase(),i[S]=g[D](),w.push((i[S]?"":"no-")+S));return i.input||_(),i.addTest=function(e,t){if(typeof e=="object")for(var r in e)T(e,r)&&i.addTest(r,e[r]);else{e=e.toLowerCase();if(i[e]!==n)return i;t=typeof t=="function"?t():t,typeof s!="undefined"&&s&&(o.className+=" "+(t?"":"no-")+e),i[e]=t}return i},N(""),a=l=null,function(e,t){function l(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function c(){var e=g.elements;return typeof e=="string"?e.split(" "):e}function h(e){var t=a[e[o]];return t||(t={},u++,e[o]=u,a[u]=t),t}function p(e,n,s){n||(n=t);if(f)return n.createElement(e);s||(s=h(n));var o;return s.cache[e]?o=s.cache[e].cloneNode():i.test(e)?o=(s.cache[e]=s.createElem(e)).cloneNode():o=s.createElem(e),o.canHaveChildren&&!r.test(e)?s.frag.appendChild(o):o}function d(e,n){e||(e=t);if(f)return e.createDocumentFragment();n=n||h(e);var r=n.frag.cloneNode(),i=0,s=c(),o=s.length;for(;i<o;i++)r.createElement(s[i]);return r}function v(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return g.shivMethods?p(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/\w+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(g,t.frag)}function m(e){e||(e=t);var n=h(e);return g.shivCSS&&!s&&!n.hasCSS&&(n.hasCSS=!!l(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),f||v(e,n),e}var n=e.html5||{},r=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,i=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s,o="_html5shiv",u=0,a={},f;(function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",s="hidden"in e,f=e.childNodes.length==1||function(){t.createElement("a");var e=t.createDocumentFragment();return typeof e.cloneNode=="undefined"||typeof e.createDocumentFragment=="undefined"||typeof e.createElement=="undefined"}()}catch(n){s=!0,f=!0}})();var g={elements:n.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:n.shivCSS!==!1,supportsUnknownElements:f,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:m,createElement:p,createDocumentFragment:d};e.html5=g,m(t)}(this,t),i._version=r,i._prefixes=p,i._domPrefixes=m,i._cssomPrefixes=v,i.testProp=function(e){return A([e])},i.testAllProps=M,i.prefixed=function(e,t,n){return t?M(e,t,n):M(e,"pfx")},o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(s?" js "+w.join(" "):""),i}(this,this.document),function(e,t,n){function r(e){return"[object Function]"==d.call(e)}function i(e){return"string"==typeof e}function s(){}function o(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function u(){var e=v.shift();m=1,e?e.t?h(function(){("c"==e.t?k.injectCss:k.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),u()):m=0}function a(e,n,r,i,s,a,f){function l(t){if(!d&&o(c.readyState)&&(w.r=d=1,!m&&u(),c.onload=c.onreadystatechange=null,t)){"img"!=e&&h(function(){b.removeChild(c)},50);for(var r in T[n])T[n].hasOwnProperty(r)&&T[n][r].onload()}}var f=f||k.errorTimeout,c=t.createElement(e),d=0,g=0,w={t:r,s:n,e:s,a:a,x:f};1===T[n]&&(g=1,T[n]=[]),"object"==e?c.data=n:(c.src=n,c.type=e),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){l.call(this,g)},v.splice(i,0,w),"img"!=e&&(g||2===T[n]?(b.insertBefore(c,y?null:p),h(l,f)):T[n].push(c))}function f(e,t,n,r,s){return m=0,t=t||"j",i(e)?a("c"==t?E:w,e,t,this.i++,n,r,s):(v.splice(this.i++,0,e),1==v.length&&u()),this}function l(){var e=k;return e.loader={load:f,i:0},e}var c=t.documentElement,h=e.setTimeout,p=t.getElementsByTagName("script")[0],d={}.toString,v=[],m=0,g="MozAppearance"in c.style,y=g&&!!t.createRange().compareNode,b=y?c:p.parentNode,c=e.opera&&"[object Opera]"==d.call(e.opera),c=!!t.attachEvent&&!c,w=g?"object":c?"script":"img",E=c?"script":w,S=Array.isArray||function(e){return"[object Array]"==d.call(e)},x=[],T={},N={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},C,k;k=function(e){function t(e){var e=e.split("!"),t=x.length,n=e.pop(),r=e.length,n={url:n,origUrl:n,prefixes:e},i,s,o;for(s=0;s<r;s++)o=e[s].split("="),(i=N[o.shift()])&&(n=i(n,o));for(s=0;s<t;s++)n=x[s](n);return n}function o(e,i,s,o,u){var a=t(e),f=a.autoCallback;a.url.split(".").pop().split("?").shift(),a.bypass||(i&&(i=r(i)?i:i[e]||i[o]||i[e.split("/").pop().split("?")[0]]),a.instead?a.instead(e,i,s,o,u):(T[a.url]?a.noexec=!0:T[a.url]=1,s.load(a.url,a.forceCSS||!a.forceJS&&"css"==a.url.split(".").pop().split("?").shift()?"c":n,a.noexec,a.attrs,a.timeout),(r(i)||r(f))&&s.load(function(){l(),i&&i(a.origUrl,u,o),f&&f(a.origUrl,u,o),T[a.url]=2})))}function u(e,t){function n(e,n){if(e){if(i(e))n||(f=function(){var e=[].slice.call(arguments);l.apply(this,e),c()}),o(e,f,t,0,u);else if(Object(e)===e)for(p in h=function(){var t=0,n;for(n in e)e.hasOwnProperty(n)&&t++;return t}(),e)e.hasOwnProperty(p)&&(!n&&!--h&&(r(f)?f=function(){var e=[].slice.call(arguments);l.apply(this,e),c()}:f[p]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),c()}}(l[p])),o(e[p],f,t,p,u))}else!n&&c()}var u=!!e.test,a=e.load||e.both,f=e.callback||s,l=f,c=e.complete||s,h,p;n(u?e.yep:e.nope,!!a),a&&n(a)}var a,f,c=this.yepnope.loader;if(i(e))o(e,0,c,0);else if(S(e))for(a=0;a<e.length;a++)f=e[a],i(f)?o(f,0,c,0):S(f)?k(f):Object(f)===f&&u(f,c);else Object(e)===e&&u(e,c)},k.addPrefix=function(e,t){N[e]=t},k.addFilter=function(e){x.push(e)},k.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",C=function(){t.removeEventListener("DOMContentLoaded",C,0),t.readyState="complete"},0)),e.yepnope=l(),e.yepnope.executeStack=u,e.yepnope.injectJs=function(e,n,r,i,a,f){var l=t.createElement("script"),c,d,i=i||k.errorTimeout;l.src=e;for(d in r)l.setAttribute(d,r[d]);n=f?u:n||s,l.onreadystatechange=l.onload=function(){!c&&o(l.readyState)&&(c=1,n(),l.onload=l.onreadystatechange=null)},h(function(){c||(c=1,n(1))},i),a?l.onload():p.parentNode.insertBefore(l,p)},e.yepnope.injectCss=function(e,n,r,i,o,a){var i=t.createElement("link"),f,n=a?u:n||s;i.href=e,i.rel="stylesheet",i.type="text/css";for(f in r)i.setAttribute(f,r[f]);o||(p.parentNode.insertBefore(i,p),h(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest({texttrackapi:typeof document.createElement("video").addTextTrack=="function",track:"kind"in document.createElement("track")});
@@ -1,2 +1 @@
1
- (function(b){var e=function(c,a){var b=c.data("mousepresstimer");b&&clearTimeout(b);a&&c.unbind("mouseup.mousepressext mouseleave.mousepressext")};b.event.special.mousepress={setup:function(){b(this).bind("mousedown.mousepressext",function(c){var a=b(this),g=function(f){var d=0;e(a);a.data("mousepresstimer",setInterval(function(){b.event.special.mousepress.handler(a[0],c);d++;3<d&&45<f&&g(f-40)},f))},d=b(c.target).trigger("mousepressstart",[c]);e(a);a.data("mousepresstimer",setTimeout(function(){g(180)},
2
- 200));a.bind("mouseup.mousepressext mouseleave.mousepressext",function(b){e(a,!0);d.trigger("mousepressend",[b]);d=a=null})})},teardown:function(){e(b(this).unbind(".mousepressext"),!0)},handler:function(c,a){return b.event.handle.call(c,{type:"mousepress",target:a.target,pageX:a.pageX,pageY:a.pageY})}}})(jQuery);
1
+ (function(e){var t=function(e,t){var n=e.data("mousepresstimer");n&&clearTimeout(n),t&&e.unbind("mouseup.mousepressext mouseleave.mousepressext"),e=null};e.event.special.mousepress={setup:function(){var n;e(this).bind("mousedown.mousepressext",function(n){var r=e(this),i=function(s){var o=0;t(r),r.data("mousepresstimer",setInterval(function(){e.event.special.mousepress.handler(r[0],n),o++,o>3&&s>45&&i(s-40)},s))},s=e(n.target).trigger("mousepressstart",[n]);t(r),r.data("mousepresstimer",setTimeout(function(){i(180)},200)),r.bind("mouseup.mousepressext mouseleave.mousepressext",function(e){t(r,!0),s.trigger("mousepressend",[e]),r=null,s=null})})},teardown:function(){t(e(this).unbind(".mousepressext"),!0)},handler:function(t,n){return e.event.handle.call(t,{type:"mousepress",target:n.target,pageX:n.pageX,pageY:n.pageY})}}})(jQuery);
@@ -1,30 +1 @@
1
- (function(c){if(window.jQuery)c(jQuery),c=jQuery.noop;"function"===typeof define&&define.amd&&define.amd.jQuery&&define("polyfiller",["jquery"],c)})(function(c){var A=c(document.scripts||"script"),o=c.event.special,B=c([]),g=window.Modernizr,r=window.asyncWebshims,y=g.addTest,z=parseFloat(c.browser.version,10),p=window.Object,D=window.html5||{},u=function(a,b){var e=!0;c.each(a.split(" "),function(a,b){b in g||(d.error("webshims needs Modernizr."+b+" to implement feature."),e=!1)});e&&b&&b()};g.advancedObjectProperties=
2
- g.objectAccessor=g.ES5=!!("create"in p&&"seal"in p);var d={version:"1.9.3",cfg:{useImportantStyles:!0,waitReady:!0,extendNative:!0,loadStyles:!0,disableShivMethods:!0,basePath:function(){var a=A.filter('[src*="polyfiller.js"]'),a=a[0]||a.end()[a.end().length-1],a=(c.support.hrefNormalized?a.src:a.getAttribute("src",4)).split("?")[0];return a=a.slice(0,a.lastIndexOf("/")+1)+"shims/"}()},bugs:{},browserVersion:z,modules:{},features:{},featureList:[],setOptions:function(a,b){"string"==typeof a&&void 0!==
3
- b?k[a]=!c.isPlainObject(b)?b:c.extend(!0,k[a]||{},b):"object"==typeof a&&c.extend(!0,k,a)},addPolyfill:function(a,b){var b=b||{},e=b.f||a;if(!n[e])n[e]=[],n[e].delayReady=0,d.featureList.push(e),k[e]={};n[e].push(a);b.options=c.extend(k[e],b.options);v(a,b);b.methodNames&&c.each(b.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){var a=function(b){var f=[],h;if(k.disableShivMethods)D.shivMethods=!1;var i=function(){c("html").removeClass("loading-polyfills long-loading-polyfills");
4
- c(window).unbind(".lP");clearTimeout(h)};c(window).on("load.lP error.lP",i);f.push("loading-polyfills");h=setTimeout(function(){c("html").addClass("long-loading-polyfills")},600);k.waitReady&&c.isReady&&d.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false.");q(b,i);k.useImportantStyles&&f.push("polyfill-important");f[0]&&c("html").addClass(f.join(" "));k.loadStyles&&t.loadCSS("styles/shim.css");a=c.noop},b;return function(e){var f=[],e=e||d.featureList;"string"==typeof e&&(e=
5
- e.split(" "));b||(b=-1!==c.inArray("forms",e),!b&&-1!==c.inArray("forms-ext",e)&&(e.push("forms"),b=!0));k.waitReady&&(c.readyWait++,q(e,function(){c.ready(!0)}));c.each(e,function(a,b){n[b]?(b!==n[b][0]&&q(n[b],function(){l(b,!0)}),f=f.concat(n[b])):(d.error("could not find webshims-feature (aborted): "+b),l(b,!0))});a(e);w(f)}}(),reTest:function(){var a,b,e=function(e,h){var i=m[h],d=h+"Ready",g;if(i&&!i.loaded&&!(i.test&&c.isFunction(i.test)?i.test([]):i.test)){o[d]&&delete o[d];if((g=n[i.f])&&
6
- !b)g.delayReady++,q(h,function(){g.delayReady--;l(i.f,g.callReady)});a.push(h)}};return function(f,h){b=h;"string"==typeof f&&(f=f.split(" "));a=[];c.each(f,e);w(a)}}(),isReady:function(a,b){if(n[a]&&0<n[a].delayReady){if(b)n[a].callReady=!0;return!1}a+="Ready";if(b){if(o[a]&&o[a].add)return!0;o[a]=c.extend(o[a]||{},{add:function(b){b.handler.call(this,a)}});c.event.trigger(a)}return!(!o[a]||!o[a].add)||!1},ready:function(a,b,e){"string"==typeof a&&(a=a.split(" "));e||(a=c.map(c.grep(a,function(b){return!l(b)}),
7
- function(b){return b+"Ready"}));a.length?(e=a.shift(),c(document).one(e,function(){q(a,b,!0)})):b(c,d,window,document)},capturingEvents:function(a,b){document.addEventListener&&("string"==typeof a&&(a=[a]),c.each(a,function(a,f){var h=function(a){a=c.event.fix(a);b&&d.capturingEventPrevented&&d.capturingEventPrevented(a);return c.event.handle.call(this,a)};o[f]=o[f]||{};!o[f].setup&&!o[f].teardown&&c.extend(o[f],{setup:function(){this.addEventListener(f,h,!0)},teardown:function(){this.removeEventListener(f,
8
- h,!0)}})}))},register:function(a,b){var e=m[a];if(e){if(e.noAutoCallback){var f=function(){b(c,d,window,document,void 0,e.options);l(a,!0)};e.d?q(e.d,f):f()}}else d.warn("can't find module: "+a)},c:{},loader:{addModule:function(a,b){m[a]=b;b.name=b.name||a;if(!b.c)b.c=[];c.each(b.c,function(b,c){d.c[c]||(d.c[c]=[]);d.c[c].push(a)})},loadList:function(){var a=[],b=function(b,e){"string"==typeof e&&(e=[e]);c.merge(a,e);t.loadScript(b,!1,e)},e=function(b,e){if(l(b)||-1!=c.inArray(b,a))return!0;var d=
9
- m[b];if(d)if(d=d.test&&c.isFunction(d.test)?d.test(e):d.test)l(b,!0);else return!1;return!0},f=function(b,a){if(b.d&&b.d.length){var d=function(b,d){!e(d,a)&&-1==c.inArray(d,a)&&a.push(d)};c.each(b.d,function(b,a){m[a]?d(b,a):n[a]&&(c.each(n[a],d),q(n[a],function(){l(a,!0)}))});if(!b.noAutoCallback)b.noAutoCallback=!0}};return function(h){var i,g=[],j,k,l=function(e,h){k=h;c.each(d.c[h],function(b,e){if(-1==c.inArray(e,g)||-1!=c.inArray(e,a))return k=!1});if(k)return b("combos/"+k,d.c[k]),!1};for(j=
10
- 0;j<h.length;j++)i=m[h[j]],!i||e(i.name,h)?i||d.warn("could not find: "+h[j]):(i.css&&t.loadCSS(i.css),i.loadInit&&i.loadInit(),i.loaded=!0,f(i,h),g.push(i.name));for(j=0,h=g.length;j<h;j++)k=!1,i=g[j],-1==c.inArray(i,a)&&("noCombo"!=d.debug&&c.each(m[i].c,l),k||b(m[i].src||i,i))}}(),makePath:function(a){if(-1!=a.indexOf("//")||0===a.indexOf("/"))return a;-1==a.indexOf(".")&&(a+=".js");k.addCacheBuster&&(a+=k.addCacheBuster);return k.basePath+a},loadCSS:function(){var a,b=[];return function(e){e=
11
- this.makePath(e);-1==c.inArray(e,b)&&(a=a||c("link, style")[0]||c("script")[0],b.push(e),c('<link rel="stylesheet" />').insertBefore(a).attr({href:e}))}}(),loadScript:function(){var a=[];return function(b,e,d){b=t.makePath(b);if(-1==c.inArray(b,a)){var h=function(){h=null;e&&e();d&&("string"==typeof d&&(d=d.split(" ")),c.each(d,function(b,a){m[a]&&(m[a].afterLoad&&m[a].afterLoad(),l(!m[a].noAutoCallback?a:a+"FileLoaded",!0))}))};a.push(b);window.require?require([b],h):window.sssl?sssl(b,h):window.yepnope?
12
- yepnope.injectJs(b,h):window.steal&&steal(b).then(h)}}}()}};c.webshims=d;var z=("https:"==location.protocol?"https://":"http://")+"ajax.googleapis.com/ajax/libs/",C=z+"jqueryui/1.8.24/",k=d.cfg,n=d.features,l=d.isReady,q=d.ready,j=d.addPolyfill,m=d.modules,t=d.loader,w=t.loadList,v=t.addModule,s=d.bugs,x=[],E={warn:1,error:1};d.addMethodName=function(a){var a=a.split(":"),b=a[1];1==a.length&&(b=a[0]);a=a[0];c.fn[a]=function(){return this.callProp(b,arguments)}};c.fn.callProp=function(a,b){var e;b||
13
- (b=[]);this.each(function(){var f=c.prop(this,a);if(f&&f.apply){if(e=f.apply(this,b),void 0!==e)return!1}else d.warn(a+" is not a method of "+this)});return void 0!==e?e:this};d.activeLang=function(){var a=navigator.browserLanguage||navigator.language||"";q("webshimLocalization",function(){d.activeLang(a)});return function(b){if(b)if("string"==typeof b)a=b;else if("object"==typeof b){var c=arguments,f=this;q("webshimLocalization",function(){d.activeLang.apply(f,c)})}return a}}();c.each(["log","error",
14
- "warn","info"],function(a,b){d[b]=function(a){if((E[b]&&!1!==d.debug||d.debug)&&window.console&&console.log)return console[console[b]?b:"log"](a)}});(function(){c.isDOMReady=c.isReady;if(c.isDOMReady)l("DOM",!0);else{var a=c.ready;c.ready=function(b){if(!0!==b&&!c.isDOMReady)document.body?(c.isDOMReady=!0,l("DOM",!0),c.ready=a):setTimeout(function(){c.ready(b)},13);return a.apply(this,arguments)};c.ready.promise=a.promise}c(function(){c.isDOMReady=!0;l("DOM",!0);setTimeout(function(){l("WINDOWLOAD",
15
- !0)},9999)});c(window).load(function(){c.isDOMReady=!0;l("DOM",!0);l("WINDOWLOAD",!0)})})();(function(){var a=[];c.extend(d,{addReady:function(b){var c=function(a,c){d.ready("DOM",function(){b(a,c)})};a.push(c);c(document,B)},triggerDomUpdate:function(b){if(!b||!b.nodeType)b&&b.jquery&&b.each(function(){d.triggerDomUpdate(this)});else{var e=b.nodeType;if(!(1!=e&&9!=e)){var f=b!==document?c(b):B;c.each(a,function(a,c){c(b,f)})}}}});c.fn.htmlPolyfill=function(b){b=c.fn.html.call(this,b);b===this&&c.isDOMReady&&
16
- this.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return b};c.each(["after","before","append","prepend","replaceWith"],function(b,a){c.fn[a+"Polyfill"]=function(b){b=c(b);c.fn[a].call(this,b);c.isDOMReady&&b.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return this}});c.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(b,a){c.fn[a.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){c.fn[a].apply(this,arguments);c.isDOMReady&&d.triggerDomUpdate(this);
17
- return this}});c.fn.updatePolyfill=function(){c.isDOMReady&&d.triggerDomUpdate(this);return this};c.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(a,d){c.fn[d]=function(){return this}})})();(function(){var a=p.prototype.hasOwnProperty,b=["configurable","enumerable","writable"],e=function(a){for(var c=0;3>c;c++)if(void 0===a[b[c]]&&("writable"!==b[c]||void 0!==a.value))a[b[c]]=!0},f=function(b){if(b)for(var c in b)a.call(b,c)&&e(b[c])};if(p.create)d.objectCreate=function(a,
18
- b,d){f(b);a=p.create(a,b);if(d)a.options=c.extend(!0,{},a.options||{},d),d=a.options;a._create&&c.isFunction(a._create)&&a._create(d);return a};p.defineProperty&&(d.defineProperty=function(a,b,c){e(c);return p.defineProperty(a,b,c)});if(p.defineProperties)d.defineProperties=function(a,b){f(b);return p.defineProperties(a,b)};d.getOwnPropertyDescriptor=p.getOwnPropertyDescriptor;d.getPrototypeOf=p.getPrototypeOf})();v("jquery-ui",{src:C+"jquery-ui.min.js",test:function(){return!(!c.widget||!c.Widget)}});
19
- v("input-widgets",{src:"",test:function(){return!this.src||!(c.widget&&(!c.fn.datepicker||!c.fn.slider))}});v("swfobject",{src:z+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in window}});j("es5",{test:!(!g.ES5||!Function.prototype.bind),c:[27,10,1,22]});j("dom-extend",{f:"dom-support",noAutoCallback:!0,d:["es5"],c:[27,10,9,12,17,26,16,25,8,1,24,19,11,13]});u("localstorage");j("json-storage",{test:g.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){w(["swfobject"])},
20
- noAutoCallback:!0,c:[14]});u("geolocation");j("geolocation",{test:g.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]});u("canvas",function(){var a;j("canvas",{src:"excanvas",test:g.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var b=this.options.type;if(b&&-1!==b.indexOf("flash")&&(!window.swfobject||swfobject.hasFlashPlayerVersion("9.0.0")))window.FlashCanvasOptions=window.FlashCanvasOptions||{},a=FlashCanvasOptions,"flash"==b?(c.extend(a,{swfPath:k.basePath+
21
- "FlashCanvas/"}),this.src="FlashCanvas/flashcanvas"):(c.extend(a,{swfPath:k.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas")},afterLoad:function(){d.addReady(function(a,d){a==document&&window.G_vmlCanvasManager&&G_vmlCanvasManager.init_&&G_vmlCanvasManager.init_(document);c("canvas",a).add(d.filter("canvas")).each(function(){!this.getContext&&window.G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this)});a==document&&l("canvas",!0)})},methodNames:["getContext"],d:["dom-support"]})});
22
- u("input inputtypes",function(){var a=g.input,b=g.inputtypes,e,f=c('<select required="" name="a"><option disabled="" /></select>')[0];y("formvalidation",function(){return!(!a.required||!a.pattern)});y("fieldsetdisabled",function(){var a=c("<fieldset />")[0];return"elements"in a&&"disabled"in a});if(g.formvalidation)s.bustedValidity=!1===g.formattribute||!g.fieldsetdisabled||!("value"in document.createElement("output"))||!(c('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||
23
- !("required"in f)||(f.validity||{}).valid;y("styleableinputrange",function(){if(!b.range)return!1;var a=document.createElement("input");a.setAttribute("type","range");return void 0!==a.style.WebkitAppearance});d.validationMessages=d.validityMessages=[];d.inputTypes={};j("form-core",{f:"forms",d:["es5"],test:function(){if(e.lightweightDatalist&&!this.datalistLoaded)this.datalistLoaded=!0,m["form-datalist"].f="forms",d.reTest(["form-datalist"]);return!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",
24
- lightweightDatalist:!0,availabeLangs:"ar,ch-ZN,el,es,fr,he,hi,hu,it,ja,nl,pt-PT,ru,sv".split(",")},methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,26,16,5,4,24,19]});e=k.forms;g.formvalidation&&!s.bustedValidity?(j("form-extend",{f:"forms",src:"form-native-extend",test:function(a){return(m["form-number-date-api"].test()||-1==c.inArray("form-number-date-api",a||[]))&&!e.overrideMessages},d:["form-core","dom-support","form-message"],c:[18,7,59,5]}),x=x.concat([2,3,23,21])):(x=x.concat([18,
25
- 7,4,59,5]),j("form-extend",{f:"forms",src:"form-shim-extend",test:function(){return!1},d:["form-core","dom-support"],c:[3,2,23,21]}));j("form-message",{f:"forms",test:function(a){return!(e.customMessages||!g.formvalidation||!m["form-extend"].test(a)||s.validationMessage||s.bustedValidity)},d:["dom-support"],c:[3,2,23,21,59,17,5,4]});j("form-number-date-api",{f:"forms-ext",uiTest:function(){return b.range&&b.date&&b.time&&b.number},test:function(){return this.uiTest()},d:["forms","dom-support"],c:[18,
26
- 7,6]});j("form-number-date-ui",{f:"forms-ext",test:function(){return m["form-number-date-api"].test()&&!this.options.replaceUI},d:["forms","dom-support","form-number-date-api"],loadInit:function(){w(["jquery-ui"]);m["input-widgets"].src&&w(["input-widgets"])},options:{stepArrows:{number:1,time:1},calculateWidth:!0,slider:{},datepicker:{},langSrc:C+"i18n/jquery.ui.datepicker-",lazyDate:!0},c:[18,7,6]});j("form-datalist",{f:"forms-ext",test:function(){return a.list&&!e.customDatalist},d:["form-core",
27
- "dom-support"],c:[3,59,18,24,19,11]})});"details"in g||y("details",function(){return"open"in document.createElement("details")});j("details",{test:g.details,d:["dom-support"],options:{text:"Details"},c:[12,13,15]});u("audio video texttrackapi",function(){d.mediaelement={};var a=function(){if(!g.audio||!g.video||d.mediaelement.loadSwf)return!1;var a=this.options,b=a.hasToPlay;return!((!window.swfobject||window.swfobject.hasFlashPlayerVersion("9.0.115"))&&(a.preferFlash||"any"!=b&&!g.video[b]&&!g.audio[b]))},
28
- b=["swfobject","dom-support"];j("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,options:{hasToPlay:"any",preferFlash:!1,player:"jwplayer",vars:{},params:{},attrs:{},changeSWF:c.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:b,c:[27,10,9,12,17,26,16,25,8,22,23,24,20]});j("mediaelement-swf",{f:"mediaelement",d:b,test:function(){return"jwplayer"!=this.options.player?!0:a.apply(this,arguments)},c:[27,10,9,22,20]});j("mediaelement-jaris",{f:"mediaelement",d:b,test:function(){return"jwplayer"==
29
- this.options.player?!0:a.apply(this,arguments)}});s.track=g.track&&(!g.texttrackapi||"string"!=typeof(document.createElement("track").track||{}).mode);j("track",{options:{positionDisplay:!0,override:s.track},test:function(){return g.track&&!this.options.override&&!s.track},d:["mediaelement","dom-support"],methodNames:["addTextTrack"],c:[27,26,25]});v("track-ui",{d:["track"]})});j("feature-dummy",{test:!0,loaded:!0,c:x});A.filter("[data-polyfill-cfg]").each(function(){try{d.setOptions(c(this).data("polyfillCfg"))}catch(a){d.warn("error parsing polyfill cfg: "+
30
- a)}}).end().filter("[data-polyfill]").each(function(){d.polyfill(c.trim(c(this).data("polyfill")||""))});r&&(r.cfg&&d.setOptions(r.cfg),r.lang&&d.activeLang(r.lang),"polyfill"in r&&d.polyfill(r.polyfill))});
1
+ (function(e){window.jQuery&&(e(jQuery),e=jQuery.noop),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("polyfiller",["jquery"],e)})(function(e){"use strict";var t="dom-support",n=e(document.scripts||"script"),r=e.event.special,i=e([]),s=window.Modernizr,o=window.asyncWebshims,u=s.addTest,a=parseFloat(e.browser.version,10),f=window.Object,l=window.html5||{},c=function(t,n){var r=!0;e.each(t.split(" "),function(e,t){t in s||(h.error("webshims needs Modernizr."+t+" to implement feature."),r=!1)}),r&&n&&n()};s.advancedObjectProperties=s.objectAccessor=s.ES5="create"in f&&"seal"in f;var h={version:"1.9.4",cfg:{useImportantStyles:!0,waitReady:!0,extendNative:!0,loadStyles:!0,disableShivMethods:!0,basePath:function(){var t=n.filter('[src*="polyfiller.js"]'),r;return t=t[0]||t.end()[t.end().length-1],r=(e.support.hrefNormalized?t.src:t.getAttribute("src",4)).split("?")[0],r=r.slice(0,r.lastIndexOf("/")+1)+"shims/",r}()},bugs:{},browserVersion:a,modules:{},features:{},featureList:[],setOptions:function(t,n){typeof t=="string"&&n!==undefined?m[t]=e.isPlainObject(n)?e.extend(!0,m[t]||{},n):n:typeof t=="object"&&e.extend(!0,m,t)},addPolyfill:function(t,n){n=n||{};var r=n.f||t;g[r]||(g[r]=[],g[r].delayReady=0,h.featureList.push(r),m[r]={}),g[r].push(t),n.options=e.extend(m[r],n.options),T(t,n),n.methodNames&&e.each(n.methodNames,function(e,t){h.addMethodName(t)})},polyfill:function(){var t=function(n){var r=[],i=n,s;m.disableShivMethods&&(l.shivMethods=!1);var o=function(){e("html").removeClass("loading-polyfills long-loading-polyfills"),e(window).unbind(".lP"),clearTimeout(s)};e(window).on("load.lP error.lP",o),r.push("loading-polyfills"),s=setTimeout(function(){e("html").addClass("long-loading-polyfills")},600),m.waitReady&&e.isReady&&h.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false."),b(n,o),m.useImportantStyles&&r.push("polyfill-important"),r[0]&&e("html").addClass(r.join(" ")),m.loadStyles&&S.loadCSS("styles/shim.css"),t=e.noop},n;return function(r){var i=[];r=r||h.featureList,typeof r=="string"&&(r=r.split(" ")),n||(n=e.inArray("forms",r)!==-1,!n&&e.inArray("forms-ext",r)!==-1&&(r.push("forms"),n=!0)),m.waitReady&&(e.readyWait++,b(r,function(){e.ready(!0)})),e.each(r,function(e,t){if(!g[t]){h.error("could not find webshims-feature (aborted): "+t),y(t,!0);return}t!==g[t][0]&&b(g[t],function(){y(t,!0)}),i=i.concat(g[t])}),t(r),x(i)}}(),reTest:function(){var t,n,i=function(i,s){var o=E[s],u=s+"Ready",a;o&&!o.loaded&&(o.test&&e.isFunction(o.test)?!o.test([]):!o.test)&&(r[u]&&delete r[u],a=g[o.f],a&&!n&&(a.delayReady++,b(s,function(){a.delayReady--,y(o.f,a.callReady)})),t.push(s))};return function(r,s){n=s,typeof r=="string"&&(r=r.split(" ")),t=[],e.each(r,i),x(t)}}(),isReady:function(t,n){if(g[t]&&g[t].delayReady>0)return n&&(g[t].callReady=!0),!1;t+="Ready";if(n){if(r[t]&&r[t].add)return!0;r[t]=e.extend(r[t]||{},{add:function(e){e.handler.call(this,t)}}),e.event.trigger(t)}return!!r[t]&&!!r[t].add||!1},ready:function(t,n){var r=arguments[2],i=t;typeof t=="string"&&(t=t.split(" ")),r||(t=e.map(e.grep(t,function(e){return!y(e)}),function(e){return e+"Ready"}));if(!t.length){n(e,h,window,document);return}var s=t.shift(),o=function(){b(t,n,!0)};e(document).one(s,o)},capturingEvents:function(t,n){if(!document.addEventListener)return;typeof t=="string"&&(t=[t]),e.each(t,function(t,i){var s=function(t){return t=e.event.fix(t),n&&h.capturingEventPrevented&&h.capturingEventPrevented(t),e.event.handle.call(this,t)};r[i]=r[i]||{};if(r[i].setup||r[i].teardown)return;e.extend(r[i],{setup:function(){this.addEventListener(i,s,!0)},teardown:function(){this.removeEventListener(i,s,!0)}})})},register:function(t,n){var r=E[t];if(!r){h.error("can't find module: "+t);return}if(r.noAutoCallback){var i=function(){n(e,h,window,document,undefined,r.options),y(t,!0)};r.d?b(r.d,i):i()}},c:{},loader:{addModule:function(t,n){E[t]=n,n.name=n.name||t,n.c||(n.c=[]),e.each(n.c,function(e,n){h.c[n]||(h.c[n]=[]),h.c[n].push(t)})},loadList:function(){var t=[],n=function(n,r){typeof r=="string"&&(r=[r]),e.merge(t,r),S.loadScript(n,!1,r)},r=function(n,r){if(y(n)||e.inArray(n,t)!=-1)return!0;var i=E[n],s=m[i.f||n]||{},o;return i?(o=i.test&&e.isFunction(i.test)?i.test(r):i.test,o?(y(n,!0),!0):!1):!0},i=function(t,n){if(t.d&&t.d.length){var i=function(t,i){!r(i,n)&&e.inArray(i,n)==-1&&n.push(i)};e.each(t.d,function(t,n){E[n]?i(t,n):g[n]&&(e.each(g[n],i),b(g[n],function(){y(n,!0)}))}),t.noAutoCallback||(t.noAutoCallback=!0)}};return function(s,o){var u,a=[],f,l,c,p=function(r,i){c=i,e.each(h.c[i],function(n,r){if(e.inArray(r,a)==-1||e.inArray(r,t)!=-1)return c=!1,!1});if(c)return n("combos/"+c,h.c[c]),!1};for(f=0;f<s.length;f++){u=E[s[f]];if(!u||r(u.name,s)){u||h.warn("could not find: "+s[f]);continue}u.css&&S.loadCSS(u.css),u.loadInit&&u.loadInit(),u.loaded=!0,i(u,s),a.push(u.name)}for(f=0,l=a.length;f<l;f++)c=!1,u=a[f],e.inArray(u,t)==-1&&(h.debug!="noCombo"&&e.each(E[u].c,p),c||n(E[u].src||u,u))}}(),makePath:function(e){return e.indexOf("//")!=-1||e.indexOf("/")===0?e:(e.indexOf(".")==-1&&(e+=".js"),m.addCacheBuster&&(e+=m.addCacheBuster),m.basePath+e)},loadCSS:function(){var t,n=[];return function(r){r=this.makePath(r);if(e.inArray(r,n)!=-1)return;t=t||e("link, style")[0]||e("script")[0],n.push(r),e('<link rel="stylesheet" />').insertBefore(t).attr({href:r})}}(),loadScript:function(){var t=[],n;return function(n,r,i){n=S.makePath(n);if(e.inArray(n,t)!=-1)return;var s=function(){s=null,r&&r(),i&&(typeof i=="string"&&(i=i.split(" ")),e.each(i,function(e,t){if(!E[t])return;E[t].afterLoad&&E[t].afterLoad(),y(E[t].noAutoCallback?t+"FileLoaded":t,!0)}))};t.push(n),window.require?require([n],s):window.sssl?sssl(n,s):window.yepnope?yepnope.injectJs(n,s):window.steal&&steal(n).then(s)}}()}};e.webshims=h;var p=location.protocol=="https:"?"https://":"http://",d=p+"ajax.googleapis.com/ajax/libs/",v=d+"jqueryui/1.8.24/",m=h.cfg,g=h.features,y=h.isReady,b=h.ready,w=h.addPolyfill,E=h.modules,S=h.loader,x=S.loadList,T=S.addModule,N=h.bugs,C=[],k={warn:1,error:1};h.addMethodName=function(t){t=t.split(":");var n=t[1];t.length==1?(n=t[0],t=t[0]):t=t[0],e.fn[t]=function(){return this.callProp(n,arguments)}},e.fn.callProp=function(t,n){var r;return n||(n=[]),this.each(function(){var i=e.prop(this,t);if(i&&i.apply){r=i.apply(this,n);if(r!==undefined)return!1}else h.warn(t+" is not a method of "+this)}),r!==undefined?r:this},h.activeLang=function(){var e=navigator.browserLanguage||navigator.language||"";return b("webshimLocalization",function(){h.activeLang(e)}),function(t){if(t)if(typeof t=="string")e=t;else if(typeof t=="object"){var n=arguments,r=this;b("webshimLocalization",function(){h.activeLang.apply(r,n)})}return e}}(),e.each(["log","error","warn","info"],function(e,t){h[t]=function(e){if((k[t]&&h.debug!==!1||h.debug)&&window.console&&console.log)return console[console[t]?t:"log"](e)}}),function(){e.isDOMReady=e.isReady;if(!e.isDOMReady){var t=e.ready;e.ready=function(n){return n!==!0&&!e.isDOMReady&&(document.body?(e.isDOMReady=!0,y("DOM",!0),e.ready=t):setTimeout(function(){e.ready(n)},13)),t.apply(this,arguments)},e.ready.promise=t.promise}else y("DOM",!0);e(function(){e.isDOMReady=!0,y("DOM",!0),setTimeout(function(){y("WINDOWLOAD",!0)},9999)}),e(window).load(function(){e.isDOMReady=!0,y("DOM",!0),y("WINDOWLOAD",!0)})}(),function(){var t=[];e.extend(h,{addReady:function(e){var n=function(t,n){h.ready("DOM",function(){e(t,n)})};t.push(n),n(document,i)},triggerDomUpdate:function(n){if(!n||!n.nodeType){n&&n.jquery&&n.each(function(){h.triggerDomUpdate(this)});return}var r=n.nodeType;if(r!=1&&r!=9)return;var s=n!==document?e(n):i;e.each(t,function(e,t){t(n,s)})}}),e.fn.htmlPolyfill=function(t){var n=e.fn.html.call(this,t);return n===this&&e.isDOMReady&&this.each(function(){this.nodeType==1&&h.triggerDomUpdate(this)}),n},e.each(["after","before","append","prepend","replaceWith"],function(t,n){e.fn[n+"Polyfill"]=function(t){return t=e(t),e.fn[n].call(this,t),e.isDOMReady&&t.each(function(){this.nodeType==1&&h.triggerDomUpdate(this)}),this}}),e.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(t,n){e.fn[n.replace(/[A-Z]/,function(e){return"Polyfill"+e})]=function(){return e.fn[n].apply(this,arguments),e.isDOMReady&&h.triggerDomUpdate(this),this}}),e.fn.updatePolyfill=function(){return e.isDOMReady&&h.triggerDomUpdate(this),this},e.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(t,n){e.fn[n]=function(){return this}})}(),function(){var t="defineProperty",n=f.prototype.hasOwnProperty,r=["configurable","enumerable","writable"],i=function(e){for(var t=0;t<3;t++)e[r[t]]===undefined&&(r[t]!=="writable"||e.value!==undefined)&&(e[r[t]]=!0)},s=function(e){if(e)for(var t in e)n.call(e,t)&&i(e[t])};f.create&&(h.objectCreate=function(t,n,r){s(n);var i=f.create(t,n);return r&&(i.options=e.extend(!0,{},i.options||{},r),r=i.options),i._create&&e.isFunction(i._create)&&i._create(r),i}),f[t]&&(h[t]=function(e,n,r){return i(r),f[t](e,n,r)}),f.defineProperties&&(h.defineProperties=function(e,t){return s(t),f.defineProperties(e,t)}),h.getOwnPropertyDescriptor=f.getOwnPropertyDescriptor,h.getPrototypeOf=f.getPrototypeOf}(),T("jquery-ui",{src:v+"jquery-ui.min.js",test:function(){return!!e.widget&&!!e.Widget}}),T("input-widgets",{src:"",test:function(){return!this.src||!e.widget||!!e.fn.datepicker&&!!e.fn.slider}}),T("swfobject",{src:d+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in window}}),w("es5",{test:!!s.ES5&&!!Function.prototype.bind,c:[27,10,1,22]}),w("dom-extend",{f:t,noAutoCallback:!0,d:["es5"],c:[27,10,9,12,17,26,16,25,8,1,24,19,11,13]}),c("localstorage"),w("json-storage",{test:s.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){x(["swfobject"])},noAutoCallback:!0,c:[14]}),c("geolocation"),w("geolocation",{test:s.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]}),c("canvas",function(){var n;w("canvas",{src:"excanvas",test:s.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var t=this.options.type,r;t&&t.indexOf("flash")!==-1&&(!window.swfobject||swfobject.hasFlashPlayerVersion("9.0.0"))&&(window.FlashCanvasOptions=window.FlashCanvasOptions||{},n=FlashCanvasOptions,t=="flash"?(e.extend(n,{swfPath:m.basePath+"FlashCanvas/"}),this.src="FlashCanvas/flashcanvas",r=n.swfPath+"flashcanvas.swf"):(e.extend(n,{swfPath:m.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas",r=n.swfPath+"flash10canvas.swf"))},afterLoad:function(){h.addReady(function(t,n){t==document&&window.G_vmlCanvasManager&&G_vmlCanvasManager.init_&&G_vmlCanvasManager.init_(document),e("canvas",t).add(n.filter("canvas")).each(function(){var e=this.getContext;!e&&window.G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this)}),t==document&&y("canvas",!0)})},methodNames:["getContext"],d:[t]})}),c("input inputtypes",function(){var n=s.input,r=s.inputtypes,i="formvalidation",o=e('<select required="" name="a"><option disabled="" /></select>')[0],a=!1,f,l;u(i,function(){return!!n.required&&!!n.pattern}),u("fieldsetdisabled",function(){var t=e("<fieldset />")[0];return"elements"in t&&"disabled"in t}),s[i]&&(N.bustedValidity=a=s.formattribute===!1||!s.fieldsetdisabled||!("value"in document.createElement("output"))||!(e('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||!("required"in o)||(o.validity||{}).valid),f=s[i]&&!a?"form-native-extend":"form-extend",u("styleableinputrange",function(){if(!r.range)return!1;var e=document.createElement("input");return e.setAttribute("type","range"),e.style.WebkitAppearance!==undefined}),h.validationMessages=h.validityMessages=[],h.inputTypes={},w("form-core",{f:"forms",d:["es5"],test:function(e){return l.lightweightDatalist&&!this.datalistLoaded&&(this.datalistLoaded=!0,E["form-datalist"].f="forms",h.reTest(["form-datalist"])),!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",lightweightDatalist:!0,availabeLangs:["ar","ch-ZN","el","es","fr","he","hi","hu","it","ja","nl","pt-PT","ru","sv"]},methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,26,16,5,4,24,19]}),l=m.forms,w("form-native-extend",{f:"forms",test:function(t){return!s[i]||a||(E["form-number-date-api"].test()||e.inArray("form-number-date-api",t||[])==-1)&&!l.overrideMessages},d:["form-core",t,"form-message"],c:[18,7,59,5]}),w("form-shim-extend",{f:"forms",test:function(){return s[i]&&!a},d:["form-core",t],c:[3,2,23,21]}),w("form-message",{f:"forms",test:function(e){return!(l.customMessages||!s[i]||N.validationMessage||a||!E[f].test(e))},d:[t],c:[3,2,23,21,59,17,5,4]}),w("form-number-date-api",{f:"forms-ext",uiTest:function(){return r.range&&r.date&&r.time&&r.number},test:function(e){return this.uiTest()},d:["forms",t],c:[18,7,6]}),w("form-number-date-ui",{f:"forms-ext",test:function(){return E["form-number-date-api"].test()&&!this.options.replaceUI},d:["forms",t,"form-number-date-api"],loadInit:function(){x(["jquery-ui"]),E["input-widgets"].src&&x(["input-widgets"])},options:{stepArrows:{number:1,time:1},calculateWidth:!0,slider:{},datepicker:{},langSrc:v+"i18n/jquery.ui.datepicker-",lazyDate:!0},c:[18,7,6]}),w("form-datalist",{f:"forms-ext",test:function(){return n.list&&!l.customDatalist},d:["form-core",t],c:[3,59,18,24,19,11]})}),"details"in s||u("details",function(){return"open"in document.createElement("details")}),w("details",{test:s.details,d:[t],options:{text:"Details"},c:[12,13,15]}),c("audio video texttrackapi",function(){h.mediaelement={};var n=function(){if(!s.audio||!s.video)return!1;if(h.mediaelement.loadSwf)return!1;var e=this.options,t=e.hasToPlay;return!!window.swfobject&&!window.swfobject.hasFlashPlayerVersion("9.0.115")||!(e.preferFlash||t!="any"&&!s.video[t]&&!s.audio[t])},r=["swfobject",t];w("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,options:{hasToPlay:"any",preferFlash:!1,player:"jwplayer",vars:{},params:{},attrs:{},changeSWF:e.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:r,c:[27,10,9,12,17,26,16,25,8,22,23,24,20]}),w("mediaelement-swf",{f:"mediaelement",d:r,test:function(){return this.options.player!="jwplayer"?!0:n.apply(this,arguments)},c:[27,10,9,22,20]}),w("mediaelement-jaris",{f:"mediaelement",d:r,test:function(){return this.options.player=="jwplayer"?!0:n.apply(this,arguments)}}),N.track=s.track&&(!s.texttrackapi||typeof (document.createElement("track").track||{}).mode!="string"),w("track",{options:{positionDisplay:!0,override:N.track},test:function(){return s.track&&!this.options.override&&!N.track},d:["mediaelement",t],methodNames:["addTextTrack"],c:[27,26,25]}),T("track-ui",{d:["track"]})}),w("feature-dummy",{test:!0,loaded:!0,c:C}),n.filter("[data-polyfill-cfg]").each(function(){try{h.setOptions(e(this).data("polyfillCfg"))}catch(t){h.warn("error parsing polyfill cfg: "+t)}}).end().filter("[data-polyfill]").each(function(){h.polyfill(e.trim(e(this).data("polyfill")||""))}),o&&(o.cfg&&h.setOptions(o.cfg),o.lang&&h.activeLang(o.lang),"polyfill"in o&&h.polyfill(o.polyfill))});
@@ -1,42 +1 @@
1
- /*
2
- * canvas2png.js
3
- *
4
- * Copyright (c) 2010-2011 Shinya Muramatsu
5
- * Released under the MIT License
6
- * http://flashcanvas.net/
7
- */
8
-
9
- (function(doc) {
10
-
11
- var scripts = doc.getElementsByTagName("script");
12
- var script = scripts[scripts.length - 1];
13
- var url = script.getAttribute("src").replace(/[^\/]+$/, "save.php");
14
-
15
- window.canvas2png = function(canvas) {
16
- var tagName = canvas.tagName.toLowerCase();
17
- if (tagName !== "canvas") {
18
- return;
19
- }
20
-
21
- if (typeof FlashCanvas !== "undefined") {
22
- FlashCanvas.saveImage(canvas);
23
- } else {
24
- var form = doc.createElement("form");
25
- var input = doc.createElement("input");
26
-
27
- form.setAttribute("action", url);
28
- form.setAttribute("method", "post");
29
-
30
- input.setAttribute("type", "hidden");
31
- input.setAttribute("name", "dataurl");
32
- input.setAttribute("value", canvas.toDataURL());
33
-
34
- doc.body.appendChild(form);
35
- form.appendChild(input);
36
- form.submit();
37
- form.removeChild(input);
38
- doc.body.removeChild(form);
39
- }
40
- }
41
-
42
- })(document);
1
+ (function(e){var t=e.getElementsByTagName("script"),n=t[t.length-1],r=n.getAttribute("src").replace(/[^\/]+$/,"save.php");window.canvas2png=function(t){var n=t.tagName.toLowerCase();if(n!=="canvas")return;if(typeof FlashCanvas!="undefined")FlashCanvas.saveImage(t);else{var i=e.createElement("form"),s=e.createElement("input");i.setAttribute("action",r),i.setAttribute("method","post"),s.setAttribute("type","hidden"),s.setAttribute("name","dataurl"),s.setAttribute("value",t.toDataURL()),e.body.appendChild(i),i.appendChild(s),i.submit(),i.removeChild(s),e.body.removeChild(i)}}})(document);
@@ -1,28 +1 @@
1
- /*
2
- * FlashCanvas
3
- *
4
- * Copyright (c) 2009 Tim Cameron Ryan
5
- * Copyright (c) 2009-2011 FlashCanvas Project
6
- * Released under the MIT/X License
7
- */
8
- window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(h,j){function D(a){this.code=a;this.message=T[a]}function U(a){this.width=a}function E(a){this.id=a.C++}function t(a){this.G=a;this.id=a.C++}function u(a,b){this.canvas=a;this.B=b;this.d=a.uniqueID;this.D();this.C=0;this.t="";var c=this;setInterval(function(){n[c.d]===0&&c.e()},30)}function A(){if(j.readyState==="complete"){j.detachEvent(F,A);for(var a=j.getElementsByTagName(r),b=0,c=a.length;b<c;++b)B.initElement(a[b])}}function G(){var a=
9
- event.srcElement,b=a.parentNode;a.blur();b.focus()}function H(){var a=event.propertyName;if(a==="width"||a==="height"){var b=event.srcElement,c=b[a],d=parseInt(c,10);if(isNaN(d)||d<0)d=a==="width"?300:150;if(c===d){b.style[a]=d+"px";b.getContext("2d").I(b.width,b.height)}else b[a]=d}}function I(){h.detachEvent(J,I);for(var a in s){var b=s[a],c=b.firstChild,d;for(d in c)if(typeof c[d]==="function")c[d]=k;for(d in b)if(typeof b[d]==="function")b[d]=k;c.detachEvent(K,G);b.detachEvent(L,H)}h[M]=k;h[N]=
10
- k;h[O]=k;h[C]=k;h[P]=k}function V(){var a=j.getElementsByTagName("script");a=a[a.length-1];return j.documentMode>=8?a.src:a.getAttribute("src",4)}function v(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;")}function W(a){return a.toLowerCase()}function i(a){throw new D(a);}function Q(a){var b=parseInt(a.width,10),c=parseInt(a.height,10);if(isNaN(b)||b<0)b=300;if(isNaN(c)||c<0)c=150;a.width=b;a.height=c}var k=null,r="canvas",M="CanvasRenderingContext2D",N="CanvasGradient",O="CanvasPattern",
11
- C="FlashCanvas",P="G_vmlCanvasManager",K="onfocus",L="onpropertychange",F="onreadystatechange",J="onunload",w=((h[C+"Options"]||{}).swfPath||V().replace(/[^\/]+$/,""))+"flashcanvas.swf",e=new function(a){for(var b=0,c=a.length;b<c;b++)this[a[b]]=b}(["toDataURL","save","restore","scale","rotate","translate","transform","setTransform","globalAlpha","globalCompositeOperation","strokeStyle","fillStyle","createLinearGradient","createRadialGradient","createPattern","lineWidth","lineCap","lineJoin","miterLimit",
12
- "shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","clearRect","fillRect","strokeRect","beginPath","closePath","moveTo","lineTo","quadraticCurveTo","bezierCurveTo","arcTo","rect","arc","fill","stroke","clip","isPointInPath","font","textAlign","textBaseline","fillText","strokeText","measureText","drawImage","createImageData","getImageData","putImageData","addColorStop","direction","resize"]),x={},n={},s={},y={};u.prototype={save:function(){this.b();this.c();this.m();this.l();this.z();this.w();
13
- this.F.push([this.f,this.g,this.A,this.u,this.j,this.h,this.i,this.k,this.p,this.q,this.n,this.o,this.v,this.r,this.s]);this.a.push(e.save)},restore:function(){var a=this.F;if(a.length){a=a.pop();this.globalAlpha=a[0];this.globalCompositeOperation=a[1];this.strokeStyle=a[2];this.fillStyle=a[3];this.lineWidth=a[4];this.lineCap=a[5];this.lineJoin=a[6];this.miterLimit=a[7];this.shadowOffsetX=a[8];this.shadowOffsetY=a[9];this.shadowBlur=a[10];this.shadowColor=a[11];this.font=a[12];this.textAlign=a[13];
14
- this.textBaseline=a[14]}this.a.push(e.restore)},scale:function(a,b){this.a.push(e.scale,a,b)},rotate:function(a){this.a.push(e.rotate,a)},translate:function(a,b){this.a.push(e.translate,a,b)},transform:function(a,b,c,d,f,g){this.a.push(e.transform,a,b,c,d,f,g)},setTransform:function(a,b,c,d,f,g){this.a.push(e.setTransform,a,b,c,d,f,g)},b:function(){var a=this.a;if(this.f!==this.globalAlpha){this.f=this.globalAlpha;a.push(e.globalAlpha,this.f)}if(this.g!==this.globalCompositeOperation){this.g=this.globalCompositeOperation;
15
- a.push(e.globalCompositeOperation,this.g)}},m:function(){if(this.A!==this.strokeStyle){var a=this.A=this.strokeStyle;this.a.push(e.strokeStyle,typeof a==="object"?a.id:a)}},l:function(){if(this.u!==this.fillStyle){var a=this.u=this.fillStyle;this.a.push(e.fillStyle,typeof a==="object"?a.id:a)}},createLinearGradient:function(a,b,c,d){isFinite(a)&&isFinite(b)&&isFinite(c)&&isFinite(d)||i(9);this.a.push(e.createLinearGradient,a,b,c,d);return new t(this)},createRadialGradient:function(a,b,c,d,f,g){isFinite(a)&&
16
- isFinite(b)&&isFinite(c)&&isFinite(d)&&isFinite(f)&&isFinite(g)||i(9);if(c<0||g<0)i(1);this.a.push(e.createRadialGradient,a,b,c,d,f,g);return new t(this)},createPattern:function(a,b){a||i(17);var c=a.tagName,d,f=this.d;if(c){c=c.toLowerCase();if(c==="img")d=a.getAttribute("src",2);else if(c===r||c==="video")return;else i(17)}else if(a.src)d=a.src;else i(17);b==="repeat"||b==="no-repeat"||b==="repeat-x"||b==="repeat-y"||b===""||b===k||i(12);this.a.push(e.createPattern,v(d),b);if(x[f]){this.e();++n[f]}return new E(this)},
17
- z:function(){var a=this.a;if(this.j!==this.lineWidth){this.j=this.lineWidth;a.push(e.lineWidth,this.j)}if(this.h!==this.lineCap){this.h=this.lineCap;a.push(e.lineCap,this.h)}if(this.i!==this.lineJoin){this.i=this.lineJoin;a.push(e.lineJoin,this.i)}if(this.k!==this.miterLimit){this.k=this.miterLimit;a.push(e.miterLimit,this.k)}},c:function(){var a=this.a;if(this.p!==this.shadowOffsetX){this.p=this.shadowOffsetX;a.push(e.shadowOffsetX,this.p)}if(this.q!==this.shadowOffsetY){this.q=this.shadowOffsetY;
18
- a.push(e.shadowOffsetY,this.q)}if(this.n!==this.shadowBlur){this.n=this.shadowBlur;a.push(e.shadowBlur,this.n)}if(this.o!==this.shadowColor){this.o=this.shadowColor;a.push(e.shadowColor,this.o)}},clearRect:function(a,b,c,d){this.a.push(e.clearRect,a,b,c,d)},fillRect:function(a,b,c,d){this.b();this.c();this.l();this.a.push(e.fillRect,a,b,c,d)},strokeRect:function(a,b,c,d){this.b();this.c();this.m();this.z();this.a.push(e.strokeRect,a,b,c,d)},beginPath:function(){this.a.push(e.beginPath)},closePath:function(){this.a.push(e.closePath)},
19
- moveTo:function(a,b){this.a.push(e.moveTo,a,b)},lineTo:function(a,b){this.a.push(e.lineTo,a,b)},quadraticCurveTo:function(a,b,c,d){this.a.push(e.quadraticCurveTo,a,b,c,d)},bezierCurveTo:function(a,b,c,d,f,g){this.a.push(e.bezierCurveTo,a,b,c,d,f,g)},arcTo:function(a,b,c,d,f){f<0&&isFinite(f)&&i(1);this.a.push(e.arcTo,a,b,c,d,f)},rect:function(a,b,c,d){this.a.push(e.rect,a,b,c,d)},arc:function(a,b,c,d,f,g){c<0&&isFinite(c)&&i(1);this.a.push(e.arc,a,b,c,d,f,g?1:0)},fill:function(){this.b();this.c();
20
- this.l();this.a.push(e.fill)},stroke:function(){this.b();this.c();this.m();this.z();this.a.push(e.stroke)},clip:function(){this.a.push(e.clip)},w:function(){var a=this.a;if(this.v!==this.font)try{var b=y[this.d];b.style.font=this.v=this.font;var c=b.currentStyle;a.push(e.font,[c.fontStyle,c.fontWeight,b.offsetHeight,c.fontFamily].join(" "))}catch(d){}if(this.r!==this.textAlign){this.r=this.textAlign;a.push(e.textAlign,this.r)}if(this.s!==this.textBaseline){this.s=this.textBaseline;a.push(e.textBaseline,
21
- this.s)}if(this.t!==this.canvas.currentStyle.direction){this.t=this.canvas.currentStyle.direction;a.push(e.direction,this.t)}},fillText:function(a,b,c,d){this.b();this.l();this.c();this.w();this.a.push(e.fillText,v(a),b,c,d===void 0?Infinity:d)},strokeText:function(a,b,c,d){this.b();this.m();this.c();this.w();this.a.push(e.strokeText,v(a),b,c,d===void 0?Infinity:d)},measureText:function(a){var b=y[this.d];try{b.style.font=this.font}catch(c){}b.innerText=a.replace(/[ \n\f\r]/g,"\t");return new U(b.offsetWidth)},
22
- drawImage:function(a,b,c,d,f,g,o,l,z){a||i(17);var p=a.tagName,m,q=arguments.length,R=this.d;if(p){p=p.toLowerCase();if(p==="img")m=a.getAttribute("src",2);else if(p===r||p==="video")return;else i(17)}else if(a.src)m=a.src;else i(17);this.b();this.c();m=v(m);if(q===3)this.a.push(e.drawImage,q,m,b,c);else if(q===5)this.a.push(e.drawImage,q,m,b,c,d,f);else if(q===9){if(d===0||f===0)i(1);this.a.push(e.drawImage,q,m,b,c,d,f,g,o,l,z)}else return;if(x[R]){this.e();++n[R]}},D:function(){this.globalAlpha=
23
- this.f=1;this.globalCompositeOperation=this.g="source-over";this.fillStyle=this.u=this.strokeStyle=this.A="#000000";this.lineWidth=this.j=1;this.lineCap=this.h="butt";this.lineJoin=this.i="miter";this.miterLimit=this.k=10;this.shadowBlur=this.n=this.shadowOffsetY=this.q=this.shadowOffsetX=this.p=0;this.shadowColor=this.o="rgba(0, 0, 0, 0.0)";this.font=this.v="10px sans-serif";this.textAlign=this.r="start";this.textBaseline=this.s="alphabetic";this.a=[];this.F=[]},H:function(){var a=this.a;this.a=
24
- [];return a},e:function(){var a=this.H();if(a.length>0)return eval(this.B.CallFunction('<invoke name="executeCommand" returntype="javascript"><arguments><string>'+a.join("&#0;")+"</string></arguments></invoke>"))},I:function(a,b){this.e();this.D();if(a>0)this.B.width=a;if(b>0)this.B.height=b;this.a.push(e.resize,a,b)}};t.prototype={addColorStop:function(a,b){if(isNaN(a)||a<0||a>1)i(1);this.G.a.push(e.addColorStop,this.id,a,b)}};D.prototype=Error();var T={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",
25
- 12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},B={initElement:function(a){if(a.getContext)return a;var b=a.uniqueID,c="external"+b;x[b]=false;n[b]=1;Q(a);a.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol+'//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="'+c+'"><param name="allowScriptAccess" value="always"><param name="flashvars" value="id='+c+'"><param name="wmode" value="transparent"></object><span style="margin:0;padding:0;border:0;display:inline-block;position:static;height:1em;overflow:visible;white-space:nowrap"></span>';
26
- s[b]=a;var d=a.firstChild;y[b]=a.lastChild;var f=j.body.contains;if(f(a))d.movie=w;else var g=setInterval(function(){if(f(a)){clearInterval(g);d.movie=w}},0);if(j.compatMode==="BackCompat"||!h.XMLHttpRequest)y[b].style.overflow="hidden";var o=new u(a,d);a.getContext=function(l){return l==="2d"?o:k};a.toDataURL=function(l,z){(""+l).replace(/[A-Z]+/g,W)==="image/jpeg"?o.a.push(e.toDataURL,l,typeof z==="number"?z:""):o.a.push(e.toDataURL,l);return o.e()};d.attachEvent(K,G);return a},saveImage:function(a){a.firstChild.saveImage()},
27
- setOptions:function(){},trigger:function(a,b){s[a].fireEvent("on"+b)},unlock:function(a,b){n[a]&&--n[a];if(b){var c=s[a],d=c.firstChild,f,g;Q(c);f=c.width;g=c.height;c.style.width=f+"px";c.style.height=g+"px";if(f>0)d.width=f;if(g>0)d.height=g;d.resize(f,g);c.attachEvent(L,H);x[a]=true}}};j.createElement(r);j.createStyleSheet().cssText=r+"{display:inline-block;overflow:hidden;width:300px;height:150px}";j.readyState==="complete"?A():j.attachEvent(F,A);h.attachEvent(J,I);if(w.indexOf(location.protocol+
28
- "//"+location.host+"/")===0){var S=new ActiveXObject("Microsoft.XMLHTTP");S.open("GET",w,false);S.send(k)}h[M]=u;h[N]=t;h[O]=E;h[C]=B;h[P]={init:function(){},init_:function(){},initElement:B.initElement};keep=u.measureText}(window,document);
1
+ window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(h,j){function D(e){this.code=e,this.message=T[e]}function U(e){this.width=e}function E(e){this.id=e.C++}function t(e){this.G=e,this.id=e.C++}function u(e,t){this.canvas=e,this.B=t,this.d=e.uniqueID,this.D(),this.C=0,this.t="";var r=this;setInterval(function(){n[r.d]===0&&r.e()},30)}function A(){if(j.readyState==="complete"){j.detachEvent(F,A);for(var e=j.getElementsByTagName(r),t=0,n=e.length;t<n;++t)B.initElement(e[t])}}function G(){var e=event.srcElement,t=e.parentNode;e.blur(),t.focus()}function H(){var e=event.propertyName;if(e==="width"||e==="height"){var t=event.srcElement,n=t[e],r=parseInt(n,10);if(isNaN(r)||r<0)r=e==="width"?300:150;n===r?(t.style[e]=r+"px",t.getContext("2d").I(t.width,t.height)):t[e]=r}}function I(){h.detachEvent(J,I);for(var e in s){var t=s[e],n=t.firstChild,r;for(r in n)typeof n[r]=="function"&&(n[r]=k);for(r in t)typeof t[r]=="function"&&(t[r]=k);n.detachEvent(K,G),t.detachEvent(L,H)}h[M]=k,h[N]=k,h[O]=k,h[C]=k,h[P]=k}function V(){var e=j.getElementsByTagName("script");return e=e[e.length-1],j.documentMode>=8?e.src:e.getAttribute("src",4)}function v(e){return(""+e).replace(/&/g,"&amp;").replace(/</g,"&lt;")}function W(e){return e.toLowerCase()}function i(e){throw new D(e)}function Q(e){var t=parseInt(e.width,10),n=parseInt(e.height,10);if(isNaN(t)||t<0)t=300;if(isNaN(n)||n<0)n=150;e.width=t,e.height=n}var k=null,r="canvas",M="CanvasRenderingContext2D",N="CanvasGradient",O="CanvasPattern",C="FlashCanvas",P="G_vmlCanvasManager",K="onfocus",L="onpropertychange",F="onreadystatechange",J="onunload",w=((h[C+"Options"]||{}).swfPath||V().replace(/[^\/]+$/,""))+"flashcanvas.swf",e=new function(e){for(var t=0,n=e.length;t<n;t++)this[e[t]]=t}(["toDataURL","save","restore","scale","rotate","translate","transform","setTransform","globalAlpha","globalCompositeOperation","strokeStyle","fillStyle","createLinearGradient","createRadialGradient","createPattern","lineWidth","lineCap","lineJoin","miterLimit","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","clearRect","fillRect","strokeRect","beginPath","closePath","moveTo","lineTo","quadraticCurveTo","bezierCurveTo","arcTo","rect","arc","fill","stroke","clip","isPointInPath","font","textAlign","textBaseline","fillText","strokeText","measureText","drawImage","createImageData","getImageData","putImageData","addColorStop","direction","resize"]),x={},n={},s={},y={};u.prototype={save:function(){this.b(),this.c(),this.m(),this.l(),this.z(),this.w(),this.F.push([this.f,this.g,this.A,this.u,this.j,this.h,this.i,this.k,this.p,this.q,this.n,this.o,this.v,this.r,this.s]),this.a.push(e.save)},restore:function(){var t=this.F;t.length&&(t=t.pop(),this.globalAlpha=t[0],this.globalCompositeOperation=t[1],this.strokeStyle=t[2],this.fillStyle=t[3],this.lineWidth=t[4],this.lineCap=t[5],this.lineJoin=t[6],this.miterLimit=t[7],this.shadowOffsetX=t[8],this.shadowOffsetY=t[9],this.shadowBlur=t[10],this.shadowColor=t[11],this.font=t[12],this.textAlign=t[13],this.textBaseline=t[14]),this.a.push(e.restore)},scale:function(t,n){this.a.push(e.scale,t,n)},rotate:function(t){this.a.push(e.rotate,t)},translate:function(t,n){this.a.push(e.translate,t,n)},transform:function(t,n,r,i,s,o){this.a.push(e.transform,t,n,r,i,s,o)},setTransform:function(t,n,r,i,s,o){this.a.push(e.setTransform,t,n,r,i,s,o)},b:function(){var t=this.a;this.f!==this.globalAlpha&&(this.f=this.globalAlpha,t.push(e.globalAlpha,this.f)),this.g!==this.globalCompositeOperation&&(this.g=this.globalCompositeOperation,t.push(e.globalCompositeOperation,this.g))},m:function(){if(this.A!==this.strokeStyle){var t=this.A=this.strokeStyle;this.a.push(e.strokeStyle,typeof t=="object"?t.id:t)}},l:function(){if(this.u!==this.fillStyle){var t=this.u=this.fillStyle;this.a.push(e.fillStyle,typeof t=="object"?t.id:t)}},createLinearGradient:function(n,r,s,o){return isFinite(n)&&isFinite(r)&&isFinite(s)&&isFinite(o)||i(9),this.a.push(e.createLinearGradient,n,r,s,o),new t(this)},createRadialGradient:function(n,r,s,o,u,a){return isFinite(n)&&isFinite(r)&&isFinite(s)&&isFinite(o)&&isFinite(u)&&isFinite(a)||i(9),(s<0||a<0)&&i(1),this.a.push(e.createRadialGradient,n,r,s,o,u,a),new t(this)},createPattern:function(t,s){t||i(17);var o=t.tagName,u,a=this.d;if(o){o=o.toLowerCase();if(o==="img")u=t.getAttribute("src",2);else{if(o===r||o==="video")return;i(17)}}else t.src?u=t.src:i(17);return s==="repeat"||s==="no-repeat"||s==="repeat-x"||s==="repeat-y"||s===""||s===k||i(12),this.a.push(e.createPattern,v(u),s),x[a]&&(this.e(),++n[a]),new E(this)},z:function(){var t=this.a;this.j!==this.lineWidth&&(this.j=this.lineWidth,t.push(e.lineWidth,this.j)),this.h!==this.lineCap&&(this.h=this.lineCap,t.push(e.lineCap,this.h)),this.i!==this.lineJoin&&(this.i=this.lineJoin,t.push(e.lineJoin,this.i)),this.k!==this.miterLimit&&(this.k=this.miterLimit,t.push(e.miterLimit,this.k))},c:function(){var t=this.a;this.p!==this.shadowOffsetX&&(this.p=this.shadowOffsetX,t.push(e.shadowOffsetX,this.p)),this.q!==this.shadowOffsetY&&(this.q=this.shadowOffsetY,t.push(e.shadowOffsetY,this.q)),this.n!==this.shadowBlur&&(this.n=this.shadowBlur,t.push(e.shadowBlur,this.n)),this.o!==this.shadowColor&&(this.o=this.shadowColor,t.push(e.shadowColor,this.o))},clearRect:function(t,n,r,i){this.a.push(e.clearRect,t,n,r,i)},fillRect:function(t,n,r,i){this.b(),this.c(),this.l(),this.a.push(e.fillRect,t,n,r,i)},strokeRect:function(t,n,r,i){this.b(),this.c(),this.m(),this.z(),this.a.push(e.strokeRect,t,n,r,i)},beginPath:function(){this.a.push(e.beginPath)},closePath:function(){this.a.push(e.closePath)},moveTo:function(t,n){this.a.push(e.moveTo,t,n)},lineTo:function(t,n){this.a.push(e.lineTo,t,n)},quadraticCurveTo:function(t,n,r,i){this.a.push(e.quadraticCurveTo,t,n,r,i)},bezierCurveTo:function(t,n,r,i,s,o){this.a.push(e.bezierCurveTo,t,n,r,i,s,o)},arcTo:function(t,n,r,s,o){o<0&&isFinite(o)&&i(1),this.a.push(e.arcTo,t,n,r,s,o)},rect:function(t,n,r,i){this.a.push(e.rect,t,n,r,i)},arc:function(t,n,r,s,o,u){r<0&&isFinite(r)&&i(1),this.a.push(e.arc,t,n,r,s,o,u?1:0)},fill:function(){this.b(),this.c(),this.l(),this.a.push(e.fill)},stroke:function(){this.b(),this.c(),this.m(),this.z(),this.a.push(e.stroke)},clip:function(){this.a.push(e.clip)},w:function(){var t=this.a;if(this.v!==this.font)try{var n=y[this.d];n.style.font=this.v=this.font;var r=n.currentStyle;t.push(e.font,[r.fontStyle,r.fontWeight,n.offsetHeight,r.fontFamily].join(" "))}catch(i){}this.r!==this.textAlign&&(this.r=this.textAlign,t.push(e.textAlign,this.r)),this.s!==this.textBaseline&&(this.s=this.textBaseline,t.push(e.textBaseline,this.s)),this.t!==this.canvas.currentStyle.direction&&(this.t=this.canvas.currentStyle.direction,t.push(e.direction,this.t))},fillText:function(t,n,r,i){this.b(),this.l(),this.c(),this.w(),this.a.push(e.fillText,v(t),n,r,i===void 0?Infinity:i)},strokeText:function(t,n,r,i){this.b(),this.m(),this.c(),this.w(),this.a.push(e.strokeText,v(t),n,r,i===void 0?Infinity:i)},measureText:function(e){var t=y[this.d];try{t.style.font=this.font}catch(n){}return t.innerText=e.replace(/[ \n\f\r]/g," "),new U(t.offsetWidth)},drawImage:function(t,s,o,u,a,f,l,c,h){t||i(17);var p=t.tagName,d,m=arguments.length,g=this.d;if(p){p=p.toLowerCase();if(p==="img")d=t.getAttribute("src",2);else{if(p===r||p==="video")return;i(17)}}else t.src?d=t.src:i(17);this.b(),this.c(),d=v(d);if(m===3)this.a.push(e.drawImage,m,d,s,o);else if(m===5)this.a.push(e.drawImage,m,d,s,o,u,a);else{if(m!==9)return;(u===0||a===0)&&i(1),this.a.push(e.drawImage,m,d,s,o,u,a,f,l,c,h)}x[g]&&(this.e(),++n[g])},D:function(){this.globalAlpha=this.f=1,this.globalCompositeOperation=this.g="source-over",this.fillStyle=this.u=this.strokeStyle=this.A="#000000",this.lineWidth=this.j=1,this.lineCap=this.h="butt",this.lineJoin=this.i="miter",this.miterLimit=this.k=10,this.shadowBlur=this.n=this.shadowOffsetY=this.q=this.shadowOffsetX=this.p=0,this.shadowColor=this.o="rgba(0, 0, 0, 0.0)",this.font=this.v="10px sans-serif",this.textAlign=this.r="start",this.textBaseline=this.s="alphabetic",this.a=[],this.F=[]},H:function(){var e=this.a;return this.a=[],e},e:function(){var a=this.H();if(a.length>0)return eval(this.B.CallFunction('<invoke name="executeCommand" returntype="javascript"><arguments><string>'+a.join("&#0;")+"</string></arguments></invoke>"))},I:function(t,n){this.e(),this.D(),t>0&&(this.B.width=t),n>0&&(this.B.height=n),this.a.push(e.resize,t,n)}},t.prototype={addColorStop:function(t,n){(isNaN(t)||t<0||t>1)&&i(1),this.G.a.push(e.addColorStop,this.id,t,n)}},D.prototype=Error();var T={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},B={initElement:function(t){if(t.getContext)return t;var r=t.uniqueID,i="external"+r;x[r]=!1,n[r]=1,Q(t),t.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol+'//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="'+i+'"><param name="allowScriptAccess" value="always"><param name="flashvars" value="id='+i+'"><param name="wmode" value="transparent"></object><span style="margin:0;padding:0;border:0;display:inline-block;position:static;height:1em;overflow:visible;white-space:nowrap"></span>',s[r]=t;var o=t.firstChild;y[r]=t.lastChild;var a=j.body.contains;if(a(t))o.movie=w;else var f=setInterval(function(){a(t)&&(clearInterval(f),o.movie=w)},0);if(j.compatMode==="BackCompat"||!h.XMLHttpRequest)y[r].style.overflow="hidden";var l=new u(t,o);return t.getContext=function(e){return e==="2d"?l:k},t.toDataURL=function(t,n){return(""+t).replace(/[A-Z]+/g,W)==="image/jpeg"?l.a.push(e.toDataURL,t,typeof n=="number"?n:""):l.a.push(e.toDataURL,t),l.e()},o.attachEvent(K,G),t},saveImage:function(e){e.firstChild.saveImage()},setOptions:function(){},trigger:function(e,t){s[e].fireEvent("on"+t)},unlock:function(e,t){n[e]&&--n[e];if(t){var r=s[e],i=r.firstChild,o,u;Q(r),o=r.width,u=r.height,r.style.width=o+"px",r.style.height=u+"px",o>0&&(i.width=o),u>0&&(i.height=u),i.resize(o,u),r.attachEvent(L,H),x[e]=!0}}};j.createElement(r),j.createStyleSheet().cssText=r+"{display:inline-block;overflow:hidden;width:300px;height:150px}",j.readyState==="complete"?A():j.attachEvent(F,A),h.attachEvent(J,I);if(w.indexOf(location.protocol+"//"+location.host+"/")===0){var S=new ActiveXObject("Microsoft.XMLHTTP");S.open("GET",w,!1),S.send(k)}h[M]=u,h[N]=t,h[O]=E,h[C]=B,h[P]={init:function(){},init_:function(){},initElement:B.initElement},keep=u.measureText}(window,document);
@@ -1,42 +1 @@
1
- /*
2
- * canvas2png.js
3
- *
4
- * Copyright (c) 2010-2011 Shinya Muramatsu
5
- * Released under the MIT License
6
- * http://flashcanvas.net/
7
- */
8
-
9
- (function(doc) {
10
-
11
- var scripts = doc.getElementsByTagName("script");
12
- var script = scripts[scripts.length - 1];
13
- var url = script.getAttribute("src").replace(/[^\/]+$/, "save.php");
14
-
15
- window.canvas2png = function(canvas) {
16
- var tagName = canvas.tagName.toLowerCase();
17
- if (tagName !== "canvas") {
18
- return;
19
- }
20
-
21
- if (typeof FlashCanvas !== "undefined") {
22
- FlashCanvas.saveImage(canvas);
23
- } else {
24
- var form = doc.createElement("form");
25
- var input = doc.createElement("input");
26
-
27
- form.setAttribute("action", url);
28
- form.setAttribute("method", "post");
29
-
30
- input.setAttribute("type", "hidden");
31
- input.setAttribute("name", "dataurl");
32
- input.setAttribute("value", canvas.toDataURL());
33
-
34
- doc.body.appendChild(form);
35
- form.appendChild(input);
36
- form.submit();
37
- form.removeChild(input);
38
- doc.body.removeChild(form);
39
- }
40
- }
41
-
42
- })(document);
1
+ (function(e){var t=e.getElementsByTagName("script"),n=t[t.length-1],r=n.getAttribute("src").replace(/[^\/]+$/,"save.php");window.canvas2png=function(t){var n=t.tagName.toLowerCase();if(n!=="canvas")return;if(typeof FlashCanvas!="undefined")FlashCanvas.saveImage(t);else{var i=e.createElement("form"),s=e.createElement("input");i.setAttribute("action",r),i.setAttribute("method","post"),s.setAttribute("type","hidden"),s.setAttribute("name","dataurl"),s.setAttribute("value",t.toDataURL()),e.body.appendChild(i),i.appendChild(s),i.submit(),i.removeChild(s),e.body.removeChild(i)}}})(document);
@@ -1,31 +1 @@
1
- /*
2
- * FlashCanvas Pro
3
- *
4
- * Copyright (c) 2009 Tim Cameron Ryan
5
- * Copyright (c) 2009-2011 Shinya Muramatsu
6
- */
7
- window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(j,m){function O(a){this.code=a;this.message=ea[a]}function y(a,b,c){if(!c){c=[];for(var d=0,e=a*b*4;d<e;++d)c[d]=0}this.width=a;this.height=b;this.data=c}function fa(a){this.width=a}function P(a){this.id=a.I++}function z(a){this.O=a;this.id=a.I++}function D(a,b){this.canvas=a;this.w=b;this.f=a.uniqueID;this.J();this.I=0;this.j=this.H="";this.c=0}function E(){if(m.readyState==="complete"){m.detachEvent(Q,E);for(var a=m.getElementsByTagName(u),
8
- b=0,c=a.length;b<c;++b)F.initElement(a[b])}}function R(){var a=event.srcElement,b=a.parentNode;a.blur();b.focus()}function G(){event.button&2&&event.srcElement.parentNode.setCapture()}function H(){event.button&2&&event.srcElement.parentNode.releaseCapture()}function S(){var a=event.propertyName;if(a==="width"||a==="height"){var b=event.srcElement,c=b[a],d=parseInt(c,10);if(isNaN(d)||d<0)d=a==="width"?300:150;if(c===d){b.style[a]=d+"px";b.getContext("2d").P(b.width,b.height)}else b[a]=d}}function T(){j.detachEvent(U,
9
- T);for(var a in n){var b=n[a],c=b.firstChild,d;for(d in c)if(typeof c[d]==="function")c[d]=k;for(d in b)if(typeof b[d]==="function")b[d]=k;c.detachEvent(V,R);c.detachEvent(I,G);b.detachEvent(J,H);b.detachEvent(W,S)}j[X]=k;j[Y]=k;j[Z]=k;j[K]=k;j[$]=k}function ga(){var a=m.getElementsByTagName("script");a=a[a.length-1];return m.documentMode>=8?a.src:a.getAttribute("src",4)}function ha(a){return a.toLowerCase()}function g(a){throw new O(a);}function aa(a){var b=parseInt(a.width,10),c=parseInt(a.height,
10
- 10);if(isNaN(b)||b<0)b=300;if(isNaN(c)||c<0)c=150;a.width=b;a.height=c}var k=null,u="canvas",X="CanvasRenderingContext2D",Y="CanvasGradient",Z="CanvasPattern",K="FlashCanvas",$="G_vmlCanvasManager",V="onfocus",I="onmousedown",J="onmouseup",W="onpropertychange",Q="onreadystatechange",U="onunload",q;try{q=(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").match(/[\d,]+/)[0].replace(/,/g,".")}catch(ia){q=0}var r=j[K+"Options"]||{},ba=r.swfPath||ga().replace(/[^\/]+$/,""),x;
11
- x=parseInt(q)>9?ba+"flash10canvas.swf":ba+"flash9canvas.swf";var A={},B={},ca={},L={},v={},da={},n={},C={},l={C:"turbo"in r?r.turbo:1,B:r.delay||0,M:r.disableContextMenu||0,N:r.imageCacheSize||100,D:r.usePolicyFile||0};if(q==="10.1.53.64"){l.C=0;l.B=30}D.prototype={save:function(){this.e(15);this.L.push([this.l,this.m,this.v,this.k,this.p,this.n,this.o,this.q,this.t,this.u,this.r,this.s,this.j,this.z,this.A]);this.a.push("B")},restore:function(){var a=this.L;if(a.length){a=a.pop();this.globalAlpha=
12
- a[0];this.globalCompositeOperation=a[1];this.strokeStyle=a[2];this.fillStyle=a[3];this.lineWidth=a[4];this.lineCap=a[5];this.lineJoin=a[6];this.miterLimit=a[7];this.shadowOffsetX=a[8];this.shadowOffsetY=a[9];this.shadowBlur=a[10];this.shadowColor=a[11];this.font=a[12];this.textAlign=a[13];this.textBaseline=a[14]}this.a.push("C")},scale:function(a,b){this.a.push("D",a,b)},rotate:function(a){this.a.push("E",a)},translate:function(a,b){this.a.push("F",a,b)},transform:function(a,b,c,d,e,f){this.a.push("G",
13
- a,b,c,d,e,f)},setTransform:function(a,b,c,d,e,f){this.a.push("H",a,b,c,d,e,f)},createLinearGradient:function(a,b,c,d){isFinite(a)&&isFinite(b)&&isFinite(c)&&isFinite(d)||g(9);this.a.push("M",a,b,c,d);return new z(this)},createRadialGradient:function(a,b,c,d,e,f){isFinite(a)&&isFinite(b)&&isFinite(c)&&isFinite(d)&&isFinite(e)&&isFinite(f)||g(9);if(c<0||f<0)g(1);this.a.push("N",a,b,c,d,e,f);return new z(this)},createPattern:function(a,b){a||g(17);var c=a.tagName,d,e,f,h=this.f;if(c){c=c.toLowerCase();
14
- if(c==="img")d=a.getAttribute("src",2);else if(c===u){e=this.G(a);f=a!==this.canvas}else if(c==="video")return;else g(17)}else if(a.src)d=a.src;else g(17);b==="repeat"||b==="no-repeat"||b==="repeat-x"||b==="repeat-y"||b===""||b===k||g(12);if(!e){e=B[h][d];if(f=e===void 0)e=this.F(d)}this.a.push("O",e,b);if(f&&A[h]){this.g();++v[h]}return new P(this)},clearRect:function(a,b,c,d){this.a.push("X",a,b,c,d);this.b||this.d();this.c=0},fillRect:function(a,b,c,d){this.e(1);this.a.push("Y",a,b,c,d);this.b||
15
- this.d();this.c=0},strokeRect:function(a,b,c,d){this.e(6);this.a.push("Z",a,b,c,d);this.b||this.d();this.c=0},beginPath:function(){this.a.push("a")},closePath:function(){this.a.push("b")},moveTo:function(a,b){this.a.push("c",a,b)},lineTo:function(a,b){this.a.push("d",a,b)},quadraticCurveTo:function(a,b,c,d){this.a.push("e",a,b,c,d)},bezierCurveTo:function(a,b,c,d,e,f){this.a.push("f",a,b,c,d,e,f)},arcTo:function(a,b,c,d,e){e<0&&isFinite(e)&&g(1);this.a.push("g",a,b,c,d,e)},rect:function(a,b,c,d){this.a.push("h",
16
- a,b,c,d)},arc:function(a,b,c,d,e,f){c<0&&isFinite(c)&&g(1);this.a.push("i",a,b,c,d,e,f?1:0)},fill:function(){this.e(1);this.a.push("j");this.b||this.d();this.c=0},stroke:function(){this.e(6);this.a.push("k");this.b||this.d();this.c=0},clip:function(){this.a.push("l")},isPointInPath:function(a,b){this.a.push("m",a,b);return this.g()==="true"},fillText:function(a,b,c,d){this.e(9);this.h.push(this.a.length+1);this.a.push("r",a,b,c,d===void 0?Infinity:d);this.b||this.d();this.c=0},strokeText:function(a,
17
- b,c,d){this.e(10);this.h.push(this.a.length+1);this.a.push("s",a,b,c,d===void 0?Infinity:d);this.b||this.d();this.c=0},measureText:function(a){var b=C[this.f];try{b.style.font=this.font}catch(c){}b.innerText=a.replace(/[ \n\f\r]/g,"\t");return new fa(b.offsetWidth)},drawImage:function(a,b,c,d,e,f,h,i,s){a||g(17);var o=a.tagName,t,p,M,w=arguments.length,N=this.f;if(o){o=o.toLowerCase();if(o==="img")t=a.getAttribute("src",2);else if(o===u){p=this.G(a);M=a!==this.canvas}else if(o==="video")return;else g(17)}else if(a.src)t=
18
- a.src;else g(17);if(!p){p=B[N][t];if(M=p===void 0)p=this.F(t)}this.e(0);if(w===3)this.a.push("u",w,p,b,c);else if(w===5)this.a.push("u",w,p,b,c,d,e);else if(w===9){if(d===0||e===0)g(1);this.a.push("u",w,p,b,c,d,e,f,h,i,s)}else return;if(M&&A[N]){this.g();++v[N]}else this.b||this.d();this.c=0},createImageData:function(a,b){var c=Math.ceil;if(arguments.length===2){isFinite(a)&&isFinite(b)||g(9);if(a===0||b===0)g(1)}else{a instanceof y||g(9);b=a.height;a=a.width}a=c(a<0?-a:a);b=c(b<0?-b:b);return new y(a,
19
- b)},getImageData:function(a,b,c,d){isFinite(a)&&isFinite(b)&&isFinite(c)&&isFinite(d)||g(9);if(c===0||d===0)g(1);this.a.push("w",a,b,c,d);a=this.g();c=typeof JSON==="object"?JSON.parse(a):m.documentMode?eval(a):a.slice(1,-1).split(",");a=c.shift();b=c.shift();return new y(a,b,c)},putImageData:function(a,b,c,d,e,f,h){a instanceof y||g(17);isFinite(b)&&isFinite(c)||g(9);var i=arguments.length,s=a.width,o=a.height,t=a.data;if(i===3)this.a.push("x",i,s,o,t.toString(),b,c);else if(i===7){isFinite(d)&&
20
- isFinite(e)&&isFinite(f)&&isFinite(h)||g(9);this.a.push("x",i,s,o,t.toString(),b,c,d,e,f,h)}this.b||this.d();this.c=0},J:function(){this.globalAlpha=this.l=1;this.globalCompositeOperation=this.m="source-over";this.fillStyle=this.k=this.strokeStyle=this.v="#000000";this.lineWidth=this.p=1;this.lineCap=this.n="butt";this.lineJoin=this.o="miter";this.miterLimit=this.q=10;this.shadowBlur=this.r=this.shadowOffsetY=this.u=this.shadowOffsetX=this.t=0;this.shadowColor=this.s="rgba(0, 0, 0, 0.0)";this.font=
21
- this.j="10px sans-serif";this.textAlign=this.z="start";this.textBaseline=this.A="alphabetic";this.a=[];this.L=[];this.i=[];this.h=[];this.b=k;this.K=1},e:function(a){var b=this.a,c;if(this.l!==this.globalAlpha)b.push("I",this.l=this.globalAlpha);if(this.m!==this.globalCompositeOperation)b.push("J",this.m=this.globalCompositeOperation);if(this.t!==this.shadowOffsetX)b.push("T",this.t=this.shadowOffsetX);if(this.u!==this.shadowOffsetY)b.push("U",this.u=this.shadowOffsetY);if(this.r!==this.shadowBlur)b.push("V",
22
- this.r=this.shadowBlur);if(this.s!==this.shadowColor){c=this.s=this.shadowColor;(""+c).indexOf("%")>0&&this.i.push(b.length+1);b.push("W",c)}if(a&1)if(this.k!==this.fillStyle){c=this.k=this.fillStyle;if(typeof c==="object")c=c.id;else(""+c).indexOf("%")>0&&this.i.push(b.length+1);b.push("L",c)}if(a&2)if(this.v!==this.strokeStyle){c=this.v=this.strokeStyle;if(typeof c==="object")c=c.id;else(""+c).indexOf("%")>0&&this.i.push(b.length+1);b.push("K",c)}if(a&4){if(this.p!==this.lineWidth)b.push("P",this.p=
23
- this.lineWidth);if(this.n!==this.lineCap)b.push("Q",this.n=this.lineCap);if(this.o!==this.lineJoin)b.push("R",this.o=this.lineJoin);if(this.q!==this.miterLimit)b.push("S",this.q=this.miterLimit)}if(a&8){if(this.j!==this.font){a=C[this.f].offsetHeight;this.h.push(b.length+2);b.push("o",a,this.j=this.font)}if(this.z!==this.textAlign)b.push("p",this.z=this.textAlign);if(this.A!==this.textBaseline)b.push("q",this.A=this.textBaseline);if(this.H!==this.canvas.currentStyle.direction)b.push("1",this.H=this.canvas.currentStyle.direction)}},
24
- d:function(){var a=this;a.b=setTimeout(function(){if(v[a.f])a.d();else{a.b=k;a.g(l.C)}},l.B)},Q:function(){clearTimeout(this.b);this.b=k},g:function(a){var b,c,d,e=this.i,f=this.h,h=this.a,i=this.w;if(h.length){this.b&&this.Q();if(a){b=0;for(c=e.length;b<c;++b){d=e[b];h[d]=encodeURI(h[d])}b=0;for(c=f.length;b<c;++b){d=f[b];h[d]=encodeURIComponent(h[d])}}else{b=0;for(c=f.length;b<c;++b){d=f[b];h[d]=(""+h[d]).replace(/&/g,"&amp;").replace(/</g,"&lt;")}}b=h.join("\u0001");this.a=[];this.i=[];this.h=
25
- [];if(a){i.flashvars="c="+b;i.width=i.clientWidth+this.K;this.K^=-2}else return i.CallFunction('<invoke name="executeCommand" returntype="javascript"><arguments><string>'+b+"</string></arguments></invoke>")}},P:function(a,b){this.g();this.J();if(a>0)this.w.width=a;if(b>0)this.w.height=b;this.a.push("2",a,b);this.b||this.d();this.c=0},G:function(a){var b=a.uniqueID,c=u+":"+b;if(a.width===0||a.height===0)g(11);if(b!==this.f){a=n[b].getContext("2d");if(!a.c){b=++da[b];c+=":"+b;a.a.push("3",b);a.b||a.d();
26
- a.c=1}}return c},F:function(a){var b=this.f,c=B[b],d=ca[b],e=c[a]=L[b]++;if(e>=l.N-1)L[b]=0;e in d&&delete c[d[e]];this.h.push(this.a.length+2);this.a.push("5",e,a);d[e]=a;return e}};z.prototype={addColorStop:function(a,b){if(isNaN(a)||a<0||a>1)g(1);var c=this.O,d=this.id;(""+b).indexOf("%")>0&&c.i.push(c.a.length+3);c.a.push("y",d,a,b)}};O.prototype=Error();var ea={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},F={initElement:function(a){if(a.getContext)return a;
27
- var b=a.uniqueID,c="external"+b;A[b]=0;B[b]={};ca[b]=[];L[b]=0;v[b]=1;da[b]=0;aa(a);a.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol+'//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="'+c+'"><param name="allowScriptAccess" value="always"><param name="flashvars" value="id='+c+'"><param name="wmode" value="transparent"></object><span style="margin:0;padding:0;border:0;display:inline-block;position:static;height:1em;overflow:visible;white-space:nowrap"></span>';
28
- n[b]=a;var d=a.firstChild;C[b]=a.lastChild;var e=m.body.contains;if(e(a))d.movie=x;else var f=setInterval(function(){if(e(a)){clearInterval(f);d.movie=x}},0);if(m.compatMode==="BackCompat"||!j.XMLHttpRequest)C[b].style.overflow="hidden";var h=new D(a,d);a.getContext=function(i){return i==="2d"?h:k};a.toDataURL=function(i,s){if(a.width===0||a.height===0)return"data:,";(""+i).replace(/[A-Z]+/g,ha)==="image/jpeg"?h.a.push("A",i,typeof s==="number"?s:""):h.a.push("A",i);return h.g().slice(1,-1)};d.attachEvent(V,
29
- R);if(l.M){d.attachEvent(I,G);a.attachEvent(J,H)}l.D&&h.a.push("4","usePolicyFile",l.D);return a},saveImage:function(a){a.firstChild.saveImage()},setOptions:function(a){for(var b in a){var c=a[b];switch(b){case "turbo":l.C=c;break;case "delay":l.B=c;break;case "disableContextMenu":var d=l.M=c;c=void 0;for(c in n){var e=n[c],f=d?"attachEvent":"detachEvent";e.firstChild[f](I,G);e[f](J,H)}break;case "imageCacheSize":l.N=c;break;case "usePolicyFile":d=b;c=l.D=c?1:0;e=void 0;for(e in n){f=n[e].getContext("2d");
30
- f.h.push(f.a.length+2);f.a.push("4",d,c)}}}},trigger:function(a,b){n[a].fireEvent("on"+b)},unlock:function(a,b){v[a]&&--v[a];if(b){var c=n[a],d=c.firstChild,e,f;aa(c);e=c.width;f=c.height;c.style.width=e+"px";c.style.height=f+"px";if(e>0)d.width=e;if(f>0)d.height=f;d.resize(e,f);c.attachEvent(W,S);A[a]=1}}};m.createElement(u);m.createStyleSheet().cssText=u+"{display:inline-block;overflow:hidden;width:300px;height:150px}";m.readyState==="complete"?E():m.attachEvent(Q,E);j.attachEvent(U,T);if(x.indexOf(location.protocol+
31
- "//"+location.host+"/")===0){q=new ActiveXObject("Microsoft.XMLHTTP");q.open("GET",x,false);q.send(k)}j[X]=D;j[Y]=z;j[Z]=P;j[K]=F;j[$]={init:function(){},init_:function(){},initElement:F.initElement}}(window,document);
1
+ window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(j,m){function O(e){this.code=e,this.message=ea[e]}function y(e,t,n){if(!n){n=[];for(var r=0,i=e*t*4;r<i;++r)n[r]=0}this.width=e,this.height=t,this.data=n}function fa(e){this.width=e}function P(e){this.id=e.I++}function z(e){this.O=e,this.id=e.I++}function D(e,t){this.canvas=e,this.w=t,this.f=e.uniqueID,this.J(),this.I=0,this.j=this.H="",this.c=0}function E(){if(m.readyState==="complete"){m.detachEvent(Q,E);for(var e=m.getElementsByTagName(u),t=0,n=e.length;t<n;++t)F.initElement(e[t])}}function R(){var e=event.srcElement,t=e.parentNode;e.blur(),t.focus()}function G(){event.button&2&&event.srcElement.parentNode.setCapture()}function H(){event.button&2&&event.srcElement.parentNode.releaseCapture()}function S(){var e=event.propertyName;if(e==="width"||e==="height"){var t=event.srcElement,n=t[e],r=parseInt(n,10);if(isNaN(r)||r<0)r=e==="width"?300:150;n===r?(t.style[e]=r+"px",t.getContext("2d").P(t.width,t.height)):t[e]=r}}function T(){j.detachEvent(U,T);for(var e in n){var t=n[e],r=t.firstChild,i;for(i in r)typeof r[i]=="function"&&(r[i]=k);for(i in t)typeof t[i]=="function"&&(t[i]=k);r.detachEvent(V,R),r.detachEvent(I,G),t.detachEvent(J,H),t.detachEvent(W,S)}j[X]=k,j[Y]=k,j[Z]=k,j[K]=k,j[$]=k}function ga(){var e=m.getElementsByTagName("script");return e=e[e.length-1],m.documentMode>=8?e.src:e.getAttribute("src",4)}function ha(e){return e.toLowerCase()}function g(e){throw new O(e)}function aa(e){var t=parseInt(e.width,10),n=parseInt(e.height,10);if(isNaN(t)||t<0)t=300;if(isNaN(n)||n<0)n=150;e.width=t,e.height=n}var k=null,u="canvas",X="CanvasRenderingContext2D",Y="CanvasGradient",Z="CanvasPattern",K="FlashCanvas",$="G_vmlCanvasManager",V="onfocus",I="onmousedown",J="onmouseup",W="onpropertychange",Q="onreadystatechange",U="onunload",q;try{q=(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").match(/[\d,]+/)[0].replace(/,/g,".")}catch(ia){q=0}var r=j[K+"Options"]||{},ba=r.swfPath||ga().replace(/[^\/]+$/,""),x;x=parseInt(q)>9?ba+"flash10canvas.swf":ba+"flash9canvas.swf";var A={},B={},ca={},L={},v={},da={},n={},C={},l={C:"turbo"in r?r.turbo:1,B:r.delay||0,M:r.disableContextMenu||0,N:r.imageCacheSize||100,D:r.usePolicyFile||0};q==="10.1.53.64"&&(l.C=0,l.B=30),D.prototype={save:function(){this.e(15),this.L.push([this.l,this.m,this.v,this.k,this.p,this.n,this.o,this.q,this.t,this.u,this.r,this.s,this.j,this.z,this.A]),this.a.push("B")},restore:function(){var e=this.L;e.length&&(e=e.pop(),this.globalAlpha=e[0],this.globalCompositeOperation=e[1],this.strokeStyle=e[2],this.fillStyle=e[3],this.lineWidth=e[4],this.lineCap=e[5],this.lineJoin=e[6],this.miterLimit=e[7],this.shadowOffsetX=e[8],this.shadowOffsetY=e[9],this.shadowBlur=e[10],this.shadowColor=e[11],this.font=e[12],this.textAlign=e[13],this.textBaseline=e[14]),this.a.push("C")},scale:function(e,t){this.a.push("D",e,t)},rotate:function(e){this.a.push("E",e)},translate:function(e,t){this.a.push("F",e,t)},transform:function(e,t,n,r,i,s){this.a.push("G",e,t,n,r,i,s)},setTransform:function(e,t,n,r,i,s){this.a.push("H",e,t,n,r,i,s)},createLinearGradient:function(e,t,n,r){return isFinite(e)&&isFinite(t)&&isFinite(n)&&isFinite(r)||g(9),this.a.push("M",e,t,n,r),new z(this)},createRadialGradient:function(e,t,n,r,i,s){return isFinite(e)&&isFinite(t)&&isFinite(n)&&isFinite(r)&&isFinite(i)&&isFinite(s)||g(9),(n<0||s<0)&&g(1),this.a.push("N",e,t,n,r,i,s),new z(this)},createPattern:function(e,t){e||g(17);var n=e.tagName,r,i,s,o=this.f;if(n){n=n.toLowerCase();if(n==="img")r=e.getAttribute("src",2);else if(n===u)i=this.G(e),s=e!==this.canvas;else{if(n==="video")return;g(17)}}else e.src?r=e.src:g(17);t==="repeat"||t==="no-repeat"||t==="repeat-x"||t==="repeat-y"||t===""||t===k||g(12);if(!i){i=B[o][r];if(s=i===void 0)i=this.F(r)}return this.a.push("O",i,t),s&&A[o]&&(this.g(),++v[o]),new P(this)},clearRect:function(e,t,n,r){this.a.push("X",e,t,n,r),this.b||this.d(),this.c=0},fillRect:function(e,t,n,r){this.e(1),this.a.push("Y",e,t,n,r),this.b||this.d(),this.c=0},strokeRect:function(e,t,n,r){this.e(6),this.a.push("Z",e,t,n,r),this.b||this.d(),this.c=0},beginPath:function(){this.a.push("a")},closePath:function(){this.a.push("b")},moveTo:function(e,t){this.a.push("c",e,t)},lineTo:function(e,t){this.a.push("d",e,t)},quadraticCurveTo:function(e,t,n,r){this.a.push("e",e,t,n,r)},bezierCurveTo:function(e,t,n,r,i,s){this.a.push("f",e,t,n,r,i,s)},arcTo:function(e,t,n,r,i){i<0&&isFinite(i)&&g(1),this.a.push("g",e,t,n,r,i)},rect:function(e,t,n,r){this.a.push("h",e,t,n,r)},arc:function(e,t,n,r,i,s){n<0&&isFinite(n)&&g(1),this.a.push("i",e,t,n,r,i,s?1:0)},fill:function(){this.e(1),this.a.push("j"),this.b||this.d(),this.c=0},stroke:function(){this.e(6),this.a.push("k"),this.b||this.d(),this.c=0},clip:function(){this.a.push("l")},isPointInPath:function(e,t){return this.a.push("m",e,t),this.g()==="true"},fillText:function(e,t,n,r){this.e(9),this.h.push(this.a.length+1),this.a.push("r",e,t,n,r===void 0?Infinity:r),this.b||this.d(),this.c=0},strokeText:function(e,t,n,r){this.e(10),this.h.push(this.a.length+1),this.a.push("s",e,t,n,r===void 0?Infinity:r),this.b||this.d(),this.c=0},measureText:function(e){var t=C[this.f];try{t.style.font=this.font}catch(n){}return t.innerText=e.replace(/[ \n\f\r]/g," "),new fa(t.offsetWidth)},drawImage:function(e,t,n,r,i,s,o,a,f){e||g(17);var l=e.tagName,c,h,p,d=arguments.length,m=this.f;if(l){l=l.toLowerCase();if(l==="img")c=e.getAttribute("src",2);else if(l===u)h=this.G(e),p=e!==this.canvas;else{if(l==="video")return;g(17)}}else e.src?c=e.src:g(17);if(!h){h=B[m][c];if(p=h===void 0)h=this.F(c)}this.e(0);if(d===3)this.a.push("u",d,h,t,n);else if(d===5)this.a.push("u",d,h,t,n,r,i);else{if(d!==9)return;(r===0||i===0)&&g(1),this.a.push("u",d,h,t,n,r,i,s,o,a,f)}p&&A[m]?(this.g(),++v[m]):this.b||this.d(),this.c=0},createImageData:function(e,t){var n=Math.ceil;return arguments.length===2?(isFinite(e)&&isFinite(t)||g(9),(e===0||t===0)&&g(1)):(e instanceof y||g(9),t=e.height,e=e.width),e=n(e<0?-e:e),t=n(t<0?-t:t),new y(e,t)},getImageData:function(a,b,c,d){return isFinite(a)&&isFinite(b)&&isFinite(c)&&isFinite(d)||g(9),(c===0||d===0)&&g(1),this.a.push("w",a,b,c,d),a=this.g(),c=typeof JSON=="object"?JSON.parse(a):m.documentMode?eval(a):a.slice(1,-1).split(","),a=c.shift(),b=c.shift(),new y(a,b,c)},putImageData:function(e,t,n,r,i,s,o){e instanceof y||g(17),isFinite(t)&&isFinite(n)||g(9);var u=arguments.length,a=e.width,f=e.height,l=e.data;u===3?this.a.push("x",u,a,f,l.toString(),t,n):u===7&&(isFinite(r)&&isFinite(i)&&isFinite(s)&&isFinite(o)||g(9),this.a.push("x",u,a,f,l.toString(),t,n,r,i,s,o)),this.b||this.d(),this.c=0},J:function(){this.globalAlpha=this.l=1,this.globalCompositeOperation=this.m="source-over",this.fillStyle=this.k=this.strokeStyle=this.v="#000000",this.lineWidth=this.p=1,this.lineCap=this.n="butt",this.lineJoin=this.o="miter",this.miterLimit=this.q=10,this.shadowBlur=this.r=this.shadowOffsetY=this.u=this.shadowOffsetX=this.t=0,this.shadowColor=this.s="rgba(0, 0, 0, 0.0)",this.font=this.j="10px sans-serif",this.textAlign=this.z="start",this.textBaseline=this.A="alphabetic",this.a=[],this.L=[],this.i=[],this.h=[],this.b=k,this.K=1},e:function(e){var t=this.a,n;this.l!==this.globalAlpha&&t.push("I",this.l=this.globalAlpha),this.m!==this.globalCompositeOperation&&t.push("J",this.m=this.globalCompositeOperation),this.t!==this.shadowOffsetX&&t.push("T",this.t=this.shadowOffsetX),this.u!==this.shadowOffsetY&&t.push("U",this.u=this.shadowOffsetY),this.r!==this.shadowBlur&&t.push("V",this.r=this.shadowBlur),this.s!==this.shadowColor&&(n=this.s=this.shadowColor,(""+n).indexOf("%")>0&&this.i.push(t.length+1),t.push("W",n)),e&1&&this.k!==this.fillStyle&&(n=this.k=this.fillStyle,typeof n=="object"?n=n.id:(""+n).indexOf("%")>0&&this.i.push(t.length+1),t.push("L",n)),e&2&&this.v!==this.strokeStyle&&(n=this.v=this.strokeStyle,typeof n=="object"?n=n.id:(""+n).indexOf("%")>0&&this.i.push(t.length+1),t.push("K",n)),e&4&&(this.p!==this.lineWidth&&t.push("P",this.p=this.lineWidth),this.n!==this.lineCap&&t.push("Q",this.n=this.lineCap),this.o!==this.lineJoin&&t.push("R",this.o=this.lineJoin),this.q!==this.miterLimit&&t.push("S",this.q=this.miterLimit)),e&8&&(this.j!==this.font&&(e=C[this.f].offsetHeight,this.h.push(t.length+2),t.push("o",e,this.j=this.font)),this.z!==this.textAlign&&t.push("p",this.z=this.textAlign),this.A!==this.textBaseline&&t.push("q",this.A=this.textBaseline),this.H!==this.canvas.currentStyle.direction&&t.push("1",this.H=this.canvas.currentStyle.direction))},d:function(){var e=this;e.b=setTimeout(function(){v[e.f]?e.d():(e.b=k,e.g(l.C))},l.B)},Q:function(){clearTimeout(this.b),this.b=k},g:function(e){var t,n,r,i=this.i,s=this.h,o=this.a,u=this.w;if(o.length){this.b&&this.Q();if(e){t=0;for(n=i.length;t<n;++t)r=i[t],o[r]=encodeURI(o[r]);t=0;for(n=s.length;t<n;++t)r=s[t],o[r]=encodeURIComponent(o[r])}else{t=0;for(n=s.length;t<n;++t)r=s[t],o[r]=(""+o[r]).replace(/&/g,"&amp;").replace(/</g,"&lt;")}t=o.join(""),this.a=[],this.i=[],this.h=[];if(!e)return u.CallFunction('<invoke name="executeCommand" returntype="javascript"><arguments><string>'+t+"</string></arguments></invoke>");u.flashvars="c="+t,u.width=u.clientWidth+this.K,this.K^=-2}},P:function(e,t){this.g(),this.J(),e>0&&(this.w.width=e),t>0&&(this.w.height=t),this.a.push("2",e,t),this.b||this.d(),this.c=0},G:function(e){var t=e.uniqueID,r=u+":"+t;return(e.width===0||e.height===0)&&g(11),t!==this.f&&(e=n[t].getContext("2d"),e.c||(t=++da[t],r+=":"+t,e.a.push("3",t),e.b||e.d(),e.c=1)),r},F:function(e){var t=this.f,n=B[t],r=ca[t],i=n[e]=L[t]++;return i>=l.N-1&&(L[t]=0),i in r&&delete n[r[i]],this.h.push(this.a.length+2),this.a.push("5",i,e),r[i]=e,i}},z.prototype={addColorStop:function(e,t){(isNaN(e)||e<0||e>1)&&g(1);var n=this.O,r=this.id;(""+t).indexOf("%")>0&&n.i.push(n.a.length+3),n.a.push("y",r,e,t)}},O.prototype=Error();var ea={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},F={initElement:function(e){if(e.getContext)return e;var t=e.uniqueID,r="external"+t;A[t]=0,B[t]={},ca[t]=[],L[t]=0,v[t]=1,da[t]=0,aa(e),e.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol+'//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="'+r+'"><param name="allowScriptAccess" value="always"><param name="flashvars" value="id='+r+'"><param name="wmode" value="transparent"></object><span style="margin:0;padding:0;border:0;display:inline-block;position:static;height:1em;overflow:visible;white-space:nowrap"></span>',n[t]=e;var i=e.firstChild;C[t]=e.lastChild;var s=m.body.contains;if(s(e))i.movie=x;else var o=setInterval(function(){s(e)&&(clearInterval(o),i.movie=x)},0);if(m.compatMode==="BackCompat"||!j.XMLHttpRequest)C[t].style.overflow="hidden";var u=new D(e,i);return e.getContext=function(e){return e==="2d"?u:k},e.toDataURL=function(t,n){return e.width===0||e.height===0?"data:,":((""+t).replace(/[A-Z]+/g,ha)==="image/jpeg"?u.a.push("A",t,typeof n=="number"?n:""):u.a.push("A",t),u.g().slice(1,-1))},i.attachEvent(V,R),l.M&&(i.attachEvent(I,G),e.attachEvent(J,H)),l.D&&u.a.push("4","usePolicyFile",l.D),e},saveImage:function(e){e.firstChild.saveImage()},setOptions:function(e){for(var t in e){var r=e[t];switch(t){case"turbo":l.C=r;break;case"delay":l.B=r;break;case"disableContextMenu":var i=l.M=r;r=void 0;for(r in n){var s=n[r],o=i?"attachEvent":"detachEvent";s.firstChild[o](I,G),s[o](J,H)}break;case"imageCacheSize":l.N=r;break;case"usePolicyFile":i=t,r=l.D=r?1:0,s=void 0;for(s in n)o=n[s].getContext("2d"),o.h.push(o.a.length+2),o.a.push("4",i,r)}}},trigger:function(e,t){n[e].fireEvent("on"+t)},unlock:function(e,t){v[e]&&--v[e];if(t){var r=n[e],i=r.firstChild,s,o;aa(r),s=r.width,o=r.height,r.style.width=s+"px",r.style.height=o+"px",s>0&&(i.width=s),o>0&&(i.height=o),i.resize(s,o),r.attachEvent(W,S),A[e]=1}}};m.createElement(u),m.createStyleSheet().cssText=u+"{display:inline-block;overflow:hidden;width:300px;height:150px}",m.readyState==="complete"?E():m.attachEvent(Q,E),j.attachEvent(U,T),x.indexOf(location.protocol+"//"+location.host+"/")===0&&(q=new ActiveXObject("Microsoft.XMLHTTP"),q.open("GET",x,!1),q.send(k)),j[X]=D,j[Y]=z,j[Z]=P,j[K]=F,j[$]={init:function(){},init_:function(){},initElement:F.initElement}}(window,document);
@@ -1,38 +1 @@
1
- (function(){var a=Function.prototype.call,i=Object.prototype,j=Array.prototype.slice,l,m;if(!Function.prototype.bind)Function.prototype.bind=function(a){var g=this;if("function"!=typeof g)throw new TypeError;var e=j.call(arguments,1),c=function(){if(this instanceof c){var b=function(){};b.prototype=g.prototype;var b=new b,d=g.apply(b,e.concat(j.call(arguments)));return null!==d&&Object(d)===d?d:b}return g.apply(a,e.concat(j.call(arguments)))};return c};m=a.bind(i.toString);l=a.bind(i.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==m(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,g){var e=s(this),c=0,b=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(;c<b;)c in e&&a.call(g,e[c],c,e),c++};if(!Array.prototype.map)Array.prototype.map=function(a,g){var e=s(this),c=e.length>>>0,b=Array(c);if("[object Function]"!=m(a))throw new TypeError;for(var d=0;d<c;d++)d in e&&(b[d]=a.call(g,e[d],d,e));return b};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,g){var e=s(this),c=e.length>>>0,b=[];if("[object Function]"!=m(a))throw new TypeError;for(var d=0;d<c;d++)d in e&&a.call(g,e[d],d,e)&&b.push(e[d]);return b};if(!Array.prototype.every)Array.prototype.every=function(a,g){var e=s(this),c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(var b=0;b<c;b++)if(b in e&&!a.call(g,e[b],b,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,g){var e=s(this),c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;
4
- for(var b=0;b<c;b++)if(b in e&&a.call(g,e[b],b,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var g=s(this),e=g.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c=0,b;if(2<=arguments.length)b=arguments[1];else{do{if(c in g){b=g[c++];break}if(++c>=e)throw new TypeError;}while(1)}for(;c<e;c++)c in g&&(b=a.call(void 0,b,g[c],c,g));return b};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var g=
5
- s(this),e=g.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c,e=e-1;if(2<=arguments.length)c=arguments[1];else{do{if(e in g){c=g[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(c=a.call(void 0,c,g[e],e,g));while(e--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var g=s(this),e=g.length>>>0;if(!e)return-1;var c=0;1<arguments.length&&(c=p(arguments[1]));for(c=0<=c?c:e-Math.abs(c);c<e;c++)if(c in
6
- g&&g[c]===a)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var g=s(this),e=g.length>>>0;if(!e)return-1;var c=e-1;1<arguments.length&&(c=p(arguments[1]));for(c=0<=c?c:e-Math.abs(c);0<=c;c--)if(c in g&&a===g[c])return c;return-1};if(2!=[1,2].splice(0).length){var r=Array.prototype.splice;Array.prototype.splice=function(a,g){return!arguments.length?[]:r.apply(this,[void 0===a?0:a,void 0===g?this.length-a:g].concat(j.call(arguments,2)))}}if(!Object.keys){var h=
7
- !0,q="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),k=q.length,n;for(n in{toString:null})h=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var g=[],e;for(e in a)l(a,e)&&g.push(e);if(h)for(e=0;e<k;e++){var c=q[e];l(a,c)&&g.push(c)}return g}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,g,e;if(!isFinite(this))throw new RangeError;
8
- a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(g=a.length;g--;)e=a[g],10>e&&(a[g]="0"+e);return a.slice(0,3).join("-")+"T"+a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";
9
- if(!String.prototype.trim||a.trim()){var a="["+a+"]",x=RegExp("^"+a+a+"*"),t=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(x,"").replace(t,"")}}if("0".split(void 0,0).length){var v=String.prototype.split;String.prototype.split=function(a,g){return void 0===a&&0===g?[]:v.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var y=String.prototype.substr;String.prototype.substr=function(a,g){return y.call(this,0>a?0>(a=this.length+a)?0:a:a,g)}}var p=function(a){a=+a;
10
- a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},u="a"!="a"[0],s=function(a){if(null==a)throw new TypeError;return u&&"string"==typeof a&&a?a.split(""):Object(a)}})();
11
- (function(a,i){var j=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);j&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});j=!!a.bar}catch(i){j=!1}a=null}();Modernizr.objectAccessor=!(!(j||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=i.browserVersion));Modernizr.advancedObjectProperties=j;
12
- if(!j||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var l=Function.prototype.call.bind(Object.prototype.hasOwnProperty);i.objectCreate=function(a,r,h,j){var k;k=function(){};k.prototype=a;k=new k;if(!j&&!("__proto__"in k)&&!Modernizr.objectAccessor)k.__proto__=a;r&&i.defineProperties(k,r);if(h)k.options=jQuery.extend(!0,{},k.options||{},h),h=k.options;k._create&&jQuery.isFunction(k._create)&&k._create(h);return k};i.defineProperties=function(a,
13
- r){for(var h in r)l(r,h)&&i.defineProperty(a,h,r[h]);return a};i.defineProperty=function(a,i,h){if("object"!=typeof h||null===h)return a;if(l(h,"value"))return a[i]=h.value,a;a.__defineGetter__&&("function"==typeof h.get&&a.__defineGetter__(i,h.get),"function"==typeof h.set&&a.__defineSetter__(i,h.set));return a};i.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};i.getOwnPropertyDescriptor=function(a,i){if("object"!==
14
- typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var h;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return h=Object.getOwnPropertyDescriptor(a,i)}catch(j){}h={configurable:!0,enumerable:!0,writable:!0,value:void 0};var k=a.__lookupGetter__&&a.__lookupGetter__(i),n=a.__lookupSetter__&&a.__lookupSetter__(i);if(!k&&!n){if(!l(a,i))return;h.value=a[i];return h}delete h.writable;delete h.value;h.get=h.set=void 0;if(k)h.get=
15
- k;if(n)h.set=n;return h}}})(jQuery,jQuery.webshims);
16
- jQuery.webshims.register("dom-extend",function(a,i,j,l,m){var r=i.modules,h=/\s*,\s*/,q={},k={},n={},x={},t={},v=a.fn.val,y=function(c,b,d,f,o){return o?v.call(a(c)):v.call(a(c),d)};a.fn.val=function(c){var b=this[0];arguments.length&&null==c&&(c="");if(!arguments.length)return!b||1!==b.nodeType?v.call(this):a.prop(b,"value",c,"val",!0);if(a.isArray(c))return v.apply(this,arguments);var d=a.isFunction(c);return this.each(function(f){b=this;1===b.nodeType&&(d?(f=c.call(b,f,a.prop(b,"value",m,"val",
17
- !0)),null==f&&(f=""),a.prop(b,"value",f,"val")):a.prop(b,"value",c,"val"))})};var p="_webshimsLib"+Math.round(1E3*Math.random()),u=function(c,b,d){c=c.jquery?c[0]:c;if(!c)return d||{};var f=a.data(c,p);d!==m&&(f||(f=a.data(c,p,{})),b&&(f[b]=d));return b?f&&f[b]:f};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(c){a.fn[c.name]=function(){return this.map(function(){var a=u(this,
18
- "shadowData");return a&&a[c.prop]||this})}});["removeAttr","prop","attr"].forEach(function(c){q[c]=a[c];a[c]=function(b,d,f,o,e){var g="val"==o,i=!g?q[c]:y;if(!b||!k[d]||1!==b.nodeType||!g&&o&&"attr"==c&&a.attrFn[d])return i(b,d,f,o,e);var z=(b.nodeName||"").toLowerCase(),h=n[z],w="attr"==c&&(!1===f||null===f)?"removeAttr":c,j,l,r;h||(h=n["*"]);h&&(h=h[d]);h&&(j=h[w]);if(j){if("value"==d)l=j.isVal,j.isVal=g;if("removeAttr"===w)return j.value.call(b);if(f===m)return j.get?j.get.call(b):j.value;j.set&&
19
- ("attr"==c&&!0===f&&(f=d),r=j.set.call(b,f));if("value"==d)j.isVal=l}else r=i(b,d,f,o,e);if((f!==m||"removeAttr"===w)&&t[z]&&t[z][d]){var p;p="removeAttr"==w?!1:"prop"==w?!!f:!0;t[z][d].forEach(function(a){if(!a.only||(a.only="prop"==c)||"attr"==a.only&&"prop"!=c)a.call(b,f,p,g?"val":w,c)})}return r};x[c]=function(b,d,f){n[b]||(n[b]={});n[b][d]||(n[b][d]={});var o=n[b][d][c],e=function(a,b,o){return b&&b[a]?b[a]:o&&o[a]?o[a]:"prop"==c&&"value"==d?function(a){return f.isVal?y(this,d,a,!1,0===arguments.length):
20
- q[c](this,d,a)}:"prop"==c&&"value"==a&&f.value.apply?function(a){var b=q[c](this,d);b&&b.apply&&(b=b.apply(this,arguments));return b}:function(a){return q[c](this,d,a)}};n[b][d][c]=f;if(f.value===m){if(!f.set)f.set=f.writeable?e("set",f,o):i.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+b;}:a.noop;if(!f.get)f.get=e("get",f,o)}["value","get","set"].forEach(function(a){f[a]&&(f["_sup"+a]=e(a,o))})}});var s=!a.browser.msie||8<parseInt(a.browser.version,10),A=function(){var a=i.getPrototypeOf(l.createElement("foobar")),
21
- b=Object.prototype.hasOwnProperty;return function(d,f,o){var e=l.createElement(d),h=i.getPrototypeOf(e);if(s&&h&&a!==h&&(!e[f]||!b.call(e,f))){var j=e[f];o._supvalue=function(){return j&&j.apply?j.apply(this,arguments):j};h[f]=o.value}else o._supvalue=function(){var a=u(this,"propValue");return a&&a[f]&&a[f].apply?a[f].apply(this,arguments):a&&a[f]},g.extendValue(d,f,o.value);o.value._supvalue=o._supvalue}}(),g=function(){var c={};i.addReady(function(b,d){var f={},e=function(c){f[c]||(f[c]=a(b.getElementsByTagName(c)),
22
- d[0]&&a.nodeName(d[0],c)&&(f[c]=f[c].add(d)))};a.each(c,function(a,c){e(a);!c||!c.forEach?i.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){f[a].each(c)})});f=null});var b,d=a([]),f=function(d,f){c[d]?c[d].push(f):c[d]=[f];a.isDOMReady&&(b||a(l.getElementsByTagName(d))).each(f)};return{createTmpCache:function(c){a.isDOMReady&&(b=b||a(l.getElementsByTagName(c)));return b||d},flushTmpCache:function(){b=null},content:function(c,b){f(c,function(){var c=a.attr(this,b);null!=c&&a.attr(this,
23
- b,c)})},createElement:function(a,c){f(a,c)},extendValue:function(c,b,d){f(c,function(){a(this).each(function(){u(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),e=function(a,b){if(a.defaultValue===m)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(i,{getID:function(){var c=(new Date).getTime();return function(b){var b=a(b),d=b.attr("id");d||(c++,d="ID-"+c,b.attr("id",d));
24
- return d}}(),extendUNDEFProp:function(c,b){a.each(b,function(a,b){a in c||(c[a]=b)})},createPropDefault:e,data:u,moveToFirstEvent:function(){var c=a._data?"_data":"data";return function(b,d,f){if((b=(a[c](b,"events")||{})[d])&&1<b.length)d=b.pop(),f||(f="bind"),"bind"==f&&b.delegateCount?b.splice(b.delegateCount,0,d):b.unshift(d)}}(),addShadowDom:function(){var c,b,d,f={init:!1,runs:0,test:function(){var a=f.getHeight(),c=f.getWidth();a!=f.height||c!=f.width?(f.height=a,f.width=c,f.handler({type:"docresize"}),
25
- f.runs++,30>f.runs&&setTimeout(f.test,30)):f.runs=0},handler:function(e){clearTimeout(c);c=setTimeout(function(){if("resize"==e.type){var c=a(j).width(),g=a(j).width();if(g==b&&c==d)return;b=g;d=c;f.height=f.getHeight();f.width=f.getWidth()}a.event.trigger("updateshadowdom")},"resize"==e.type?50:9)},_create:function(){a.each({Height:"getHeight",Width:"getWidth"},function(a,c){var b=l.body,d=l.documentElement;f[c]=function(){return Math.max(b["scroll"+a],d["scroll"+a],b["offset"+a],d["offset"+a],d["client"+
26
- a])}})},start:function(){if(!this.init&&l.body)this.init=!0,this._create(),this.height=f.getHeight(),this.width=f.getWidth(),setInterval(this.test,400),a(this.test),a(j).bind("load",this.test),a(j).bind("resize",this.handler),function(){var c=a.fn.animate,b;a.fn.animate=function(){clearTimeout(b);b=setTimeout(function(){f.test();f.handler({type:"animationstart"})},19);return c.apply(this,arguments)}}()}};a.event.customEvent.updateshadowdom=!0;i.docObserve=function(){i.ready("DOM",function(){f.start()})};
27
- return function(c,b,d){d=d||{};c.jquery&&(c=c[0]);b.jquery&&(b=b[0]);var f=a.data(c,p)||a.data(c,p,{}),e=a.data(b,p)||a.data(b,p,{}),g={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];g=a.data(d.shadowFocusElement,p)||a.data(d.shadowFocusElement,p,g)}}else d.shadowFocusElement=b;f.hasShadow=b;g.nativeElement=e.nativeElement=c;g.shadowData=e.shadowData=f.shadowData={nativeElement:c,shadowElement:b,shadowFocusElement:d.shadowFocusElement};
28
- d.shadowChilds&&d.shadowChilds.each(function(){u(this,"shadowData",e.shadowData)});if(d.data)g.shadowData.data=e.shadowData.data=f.shadowData.data=d.data;d=null;i.docObserve()}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},
29
- src:function(){var c=l.createElement("a");c.style.display="none";return function(b,d){e(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var b=this.getAttribute(d),e;if(null==b)return"";c.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(c).insertAfter(this),e=c.getAttribute("href",4)}catch(g){e=c.getAttribute("href",4)}a(c).detach()}return e||c.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var b=
30
- (a.attr.get.call(this)||"").toLowerCase();if(!b||-1==a.limitedTo.indexOf(b))b=a.defaultValue;return b}}}},reflectProperties:function(c,b){"string"==typeof b&&(b=b.split(h));b.forEach(function(b){i.defineNodeNamesProperty(c,b,{prop:{set:function(c){a.attr(this,b,c)},get:function(){return a.attr(this,b)||""}}})})},defineNodeNameProperty:function(c,b,d){k[b]=!0;if(d.reflect)i.propTypes[d.propType||"standard"](d,b);["prop","attr","removeAttr"].forEach(function(f){var e=d[f];e&&(e="prop"===f?a.extend({writeable:!0},
31
- e):a.extend({},e,{writeable:!0}),x[f](c,b,e),"*"!=c&&i.cfg.extendNative&&"prop"==f&&e.value&&a.isFunction(e.value)&&A(c,b,e),d[f]=e)});d.initAttr&&g.content(c,b);return d},defineNodeNameProperties:function(a,b,d,f){for(var e in b)!f&&b[e].initAttr&&g.createTmpCache(a),d&&!b[e][d]&&(b[e][d]={},["value","set","get"].forEach(function(a){a in b[e]&&(b[e][d][a]=b[e][a],delete b[e][a])})),b[e]=i.defineNodeNameProperty(a,e,b[e]);f||g.flushTmpCache();return b},createElement:function(c,b,d){var f;a.isFunction(b)&&
32
- (b={after:b});g.createTmpCache(c);b.before&&g.createElement(c,b.before);d&&(f=i.defineNodeNameProperties(c,d,!1,!0));b.after&&g.createElement(c,b.after);g.flushTmpCache();return f},onNodeNamesPropertyModify:function(c,b,d,f){"string"==typeof c&&(c=c.split(h));a.isFunction(d)&&(d={set:d});c.forEach(function(a){t[a]||(t[a]={});"string"==typeof b&&(b=b.split(h));d.initAttr&&g.createTmpCache(a);b.forEach(function(b){t[a][b]||(t[a][b]=[],k[b]=!0);if(d.set){if(f)d.set.only=f;t[a][b].push(d.set)}d.initAttr&&
33
- g.content(a,b)});g.flushTmpCache()})},defineNodeNamesBooleanProperty:function(c,b,d){d||(d={});if(a.isFunction(d))d.set=d;i.defineNodeNamesProperty(c,b,{attr:{set:function(a){this.setAttribute(b,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(b)?m:b}},removeAttr:{value:function(){this.removeAttribute(b);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,b,d){if(a.nodeName){if(d===m)return a=a.attributes[b]||{},
34
- d=a.specified?a.value:null,null==d?m:d;"boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var c=[],b={},d,f,e=/:\/\/|^\.*\//,g=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,e.test(d)||(d=i.cfg.basePath+d),i.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,j(b,!0)):a(function(){b.langObj[c]&&j(b,!0);b.loading=!1})}),!0):!1},h=function(a){b[a]&&b[a].forEach(function(a){a.callback()})},
35
- j=function(a,b){if(a.activeLang!=d&&a.activeLang!==f){var c=r[a.module].options;if(a.langObj[d]||f&&a.langObj[f])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[f],d),h(a.module);else if(!b&&!g(a,d,c)&&!g(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),h(a.module)}};return function(e){if("string"==typeof e&&e!==d)d=e,f=d.split("-")[0],d==f&&(f=!1),a.each(c,function(a,b){j(b)});else if("object"==typeof e)if(e.register)b[e.register]||(b[e.register]=[]),b[e.register].push(e),
36
- e.callback();else{if(!e.activeLang)e.activeLang="";c.push(e);j(e)}return d}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){i[a]=function(a,c,e,g){"string"==typeof a&&(a=a.split(h));var j={};a.forEach(function(a){j[a]=i[b](a,c,e,g)});return j}});i.isReady("webshimLocalization",!0)});
37
- (function(a,i){var j=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<j)&&(!a.browser.msie||12>j&&7<j)){var l={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},m=function(a,h){a.getAttribute("role")||a.setAttribute("role",h)};a.webshims.addReady(function(j,h){a.each(l,function(i,k){for(var l=a(i,j).add(h.filter(i)),n=0,p=l.length;n<p;n++)m(l[n],k)});if(j===i){var q=i.getElementsByTagName("header")[0],k=i.getElementsByTagName("footer"),n=k.length;
38
- q&&!a(q).closest("section, article")[0]&&m(q,"banner");n&&(q=k[n-1],a(q).closest("section, article")[0]||m(q,"contentinfo"))}})}})(jQuery,document);
1
+ (function(e){var t=Function.prototype.call,n=Array.prototype,r=Object.prototype,i=n.slice,s,o;Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(typeof t!="function")throw new TypeError;var n=i.call(arguments,1),r=function(){if(this instanceof r){var s=function(){};s.prototype=t.prototype;var o=new s,u=t.apply(o,n.concat(i.call(arguments)));return u!==null&&Object(u)===u?u:o}return t.apply(e,n.concat(i.call(arguments)))};return r}),o=t.bind(r.toString),s=t.bind(r.hasOwnProperty),Array.isArray||(Array.isArray=function(e){return o(e)=="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=b(this),n=arguments[1],r=0,i=t.length>>>0;if(o(e)!="[object Function]")throw new TypeError;while(r<i)r in t&&e.call(n,t[r],r,t),r++}),Array.prototype.map||(Array.prototype.map=function(e){var t=b(this),n=t.length>>>0,r=Array(n),i=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var s=0;s<n;s++)s in t&&(r[s]=e.call(i,t[s],s,t));return r}),Array.prototype.filter||(Array.prototype.filter=function(e){var t=b(this),n=t.length>>>0,r=[],i=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var s=0;s<n;s++)s in t&&e.call(i,t[s],s,t)&&r.push(t[s]);return r}),Array.prototype.every||(Array.prototype.every=function(e){var t=b(this),n=t.length>>>0,r=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var i=0;i<n;i++)if(i in t&&!e.call(r,t[i],i,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=b(this),n=t.length>>>0,r=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var i=0;i<n;i++)if(i in t&&e.call(r,t[i],i,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=b(this),n=t.length>>>0;if(o(e)!="[object Function]")throw new TypeError;if(!n&&arguments.length==1)throw new TypeError;var r=0,i;if(arguments.length>=2)i=arguments[1];else do{if(r in t){i=t[r++];break}if(++r>=n)throw new TypeError}while(!0);for(;r<n;r++)r in t&&(i=e.call(void 0,i,t[r],r,t));return i}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=b(this),n=t.length>>>0;if(o(e)!="[object Function]")throw new TypeError;if(!n&&arguments.length==1)throw new TypeError;var r,i=n-1;if(arguments.length>=2)r=arguments[1];else do{if(i in t){r=t[i--];break}if(--i<0)throw new TypeError}while(!0);do i in this&&(r=e.call(void 0,r,t[i],i,t));while(i--);return r}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=b(this),n=t.length>>>0;if(!n)return-1;var r=0;arguments.length>1&&(r=g(arguments[1])),r=r>=0?r:n-Math.abs(r);for(;r<n;r++)if(r in t&&t[r]===e)return r;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){var t=b(this),n=t.length>>>0;if(!n)return-1;var r=n-1;arguments.length>1&&(r=g(arguments[1])),r=r>=0?r:n-Math.abs(r);for(;r>=0;r--)if(r in t&&e===t[r])return r;return-1});if([1,2].splice(0).length!=2){var u=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?u.apply(this,[e===void 0?0:e,t===void 0?this.length-e:t].concat(i.call(arguments,2))):[]}}if(!Object.keys){var a=!0,f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=f.length;for(var c in{toString:null})a=!1;Object.keys=function w(e){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.keys called on a non-object");var w=[];for(var t in e)s(e,t)&&w.push(t);if(a)for(var n=0,r=l;n<r;n++){var i=f[n];s(e,i)&&w.push(i)}return w}}Date.prototype.toISOString||(Date.prototype.toISOString=function(){var t,n,r;if(!isFinite(this))throw new RangeError;t=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],n=t.length;while(n--)r=t[n],r<10&&(t[n]="0"+r);return t.slice(0,3).join("-")+"T"+t.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}),Date.now||(Date.now=function(){return(new Date).getTime()}),Date.prototype.toJSON||(Date.prototype.toJSON=function(t){if(typeof this.toISOString!="function")throw new TypeError;return this.toISOString()});var h=" \n \f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||h.trim()){h="["+h+"]";var p=new RegExp("^"+h+h+"*"),d=new RegExp(h+h+"*$");String.prototype.trim=function(){return String(this).replace(p,"").replace(d,"")}}if("0".split(void 0,0).length){var v=String.prototype.split;String.prototype.split=function(e,t){return e===void 0&&t===0?[]:v.apply(this,arguments)}}if("".substr&&"0b".substr(-1)!=="b"){var m=String.prototype.substr;String.prototype.substr=function(e,t){return m.call(this,e<0?(e=this.length+e)<0?0:e:e,t)}}var g=function(e){return e=+e,e!==e?e=-1:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e},y="a"[0]!="a",b=function(e){if(e==null)throw new TypeError;return y&&typeof e=="string"&&e?e.split(""):Object(e)}})(),function(e,t){var n="defineProperty",r=!!(Object.create&&Object.defineProperties&&Object.getOwnPropertyDescriptor);r&&!e.browser.msie&&Object[n]&&Object.prototype.__defineGetter__&&function(){try{var e=document.createElement("foo");Object[n](e,"bar",{get:function(){return!0}}),r=!!e.bar}catch(t){r=!1}e=null}(),Modernizr.objectAccessor=!!(r||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)&&(!e.browser.opera||t.browserVersion>=11),Modernizr.advancedObjectProperties=r;if(!r||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var i=Function.prototype.call,s=Object.prototype,o=i.bind(s.hasOwnProperty);t.objectCreate=function(e,n,r,i){var s,o=function(){};return o.prototype=e,s=new o,!i&&!("__proto__"in s)&&!Modernizr.objectAccessor&&(s.__proto__=e),n&&t.defineProperties(s,n),r&&(s.options=jQuery.extend(!0,{},s.options||{},r),r=s.options),s._create&&jQuery.isFunction(s._create)&&s._create(r),s},t.defineProperties=function(e,n){for(var r in n)o(n,r)&&t.defineProperty(e,r,n[r]);return e};var u=["configurable","enumerable","writable"];t.defineProperty=function(e,t,n){return typeof n!="object"||n===null?e:o(n,"value")?(e[t]=n.value,e):(e.__defineGetter__&&(typeof n.get=="function"&&e.__defineGetter__(t,n.get),typeof n.set=="function"&&e.__defineSetter__(t,n.set)),e)},t.getPrototypeOf=function(e){return Object.getPrototypeOf&&Object.getPrototypeOf(e)||e.__proto__||e.constructor&&e.constructor.prototype},t.getOwnPropertyDescriptor=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var n;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return n=Object.getOwnPropertyDescriptor(e,t),n}catch(r){}n={configurable:!0,enumerable:!0,writable:!0,value:undefined};var i=e.__lookupGetter__&&e.__lookupGetter__(t),s=e.__lookupSetter__&&e.__lookupSetter__(t);if(!i&&!s){if(!o(e,t))return;return n.value=e[t],n}return delete n.writable,delete n.value,n.get=n.set=undefined,i&&(n.get=i),s&&(n.set=s),n}}}(jQuery,jQuery.webshims),jQuery.webshims.register("dom-extend",function(e,t,n,r,i){"use strict";var s=t.modules,o=/\s*,\s*/,u={},a={},f={},l={},c={},h=e.fn.val,p=function(t,n,r,i,s){return s?h.call(e(t)):h.call(e(t),r)};e.fn.val=function(t){var n=this[0];arguments.length&&t==null&&(t="");if(!arguments.length)return!n||n.nodeType!==1?h.call(this):e.prop(n,"value",t,"val",!0);if(e.isArray(t))return h.apply(this,arguments);var r=e.isFunction(t);return this.each(function(s){n=this;if(n.nodeType===1)if(r){var o=t.call(n,s,e.prop(n,"value",i,"val",!0));o==null&&(o=""),e.prop(n,"value",o,"val")}else e.prop(n,"value",t,"val")})};var d="_webshimsLib"+Math.round(Math.random()*1e3),v=function(t,n,r){t=t.jquery?t[0]:t;if(!t)return r||{};var s=e.data(t,d);return r!==i&&(s||(s=e.data(t,d,{})),n&&(s[n]=r)),n?s&&s[n]:s};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(t){e.fn[t.name]=function(){return this.map(function(){var e=v(this,"shadowData");return e&&e[t.prop]||this})}}),["removeAttr","prop","attr"].forEach(function(n){u[n]=e[n],e[n]=function(t,r,s,o,l){var h=o=="val",d=h?p:u[n];if(!t||!a[r]||t.nodeType!==1||!h&&o&&n=="attr"&&e.attrFn[r])return d(t,r,s,o,l);var v=(t.nodeName||"").toLowerCase(),m=f[v],g=n!="attr"||s!==!1&&s!==null?n:"removeAttr",y,b,w;m||(m=f["*"]),m&&(m=m[r]),m&&(y=m[g]);if(y){r=="value"&&(b=y.isVal,y.isVal=h);if(g==="removeAttr")return y.value.call(t);if(s===i)return y.get?y.get.call(t):y.value;y.set&&(n=="attr"&&s===!0&&(s=r),w=y.set.call(t,s)),r=="value"&&(y.isVal=b)}else w=d(t,r,s,o,l);if((s!==i||g==="removeAttr")&&c[v]&&c[v][r]){var E;g=="removeAttr"?E=!1:g=="prop"?E=!!s:E=!0,c[v][r].forEach(function(e){(!e.only||(e.only=n=="prop")||e.only=="attr"&&n!="prop")&&e.call(t,s,E,h?"val":g,n)})}return w},l[n]=function(r,s,o){f[r]||(f[r]={}),f[r][s]||(f[r][s]={});var a=f[r][s][n],l=function(e,t,r){return t&&t[e]?t[e]:r&&r[e]?r[e]:n=="prop"&&s=="value"?function(e){var t=this;return o.isVal?p(t,s,e,!1,arguments.length===0):u[n](t,s,e)}:n=="prop"&&e=="value"&&o.value.apply?function(e){var t=u[n](this,s);return t&&t.apply&&(t=t.apply(this,arguments)),t}:function(e){return u[n](this,s,e)}};f[r][s][n]=o,o.value===i&&(o.set||(o.set=o.writeable?l("set",o,a):t.cfg.useStrict&&s=="prop"?function(){throw s+" is readonly on "+r}:e.noop),o.get||(o.get=l("get",o,a))),["value","get","set"].forEach(function(e){o[e]&&(o["_sup"+e]=l(e,a))})}});var m=!e.browser.msie||parseInt(e.browser.version,10)>8,g=function(){var e=t.getPrototypeOf(r.createElement("foobar")),n=Object.prototype.hasOwnProperty;return function(i,s,o){var u=r.createElement(i),a=t.getPrototypeOf(u);if(m&&a&&e!==a&&(!u[s]||!n.call(u,s))){var f=u[s];o._supvalue=function(){return f&&f.apply?f.apply(this,arguments):f},a[s]=o.value}else o._supvalue=function(){var e=v(this,"propValue");return e&&e[s]&&e[s].apply?e[s].apply(this,arguments):e&&e[s]},y.extendValue(i,s,o.value);o.value._supvalue=o._supvalue}}(),y=function(){var n={};t.addReady(function(r,i){var s={},o=function(t){s[t]||(s[t]=e(r.getElementsByTagName(t)),i[0]&&e.nodeName(i[0],t)&&(s[t]=s[t].add(i)))};e.each(n,function(e,n){o(e);if(!n||!n.forEach){t.warn("Error: with "+e+"-property. methods: "+n);return}n.forEach(function(t){s[e].each(t)})}),s=null});var i,s=e([]),o=function(t,s){n[t]?n[t].push(s):n[t]=[s],e.isDOMReady&&(i||e(r.getElementsByTagName(t))).each(s)},u={};return{createTmpCache:function(t){return e.isDOMReady&&(i=i||e(r.getElementsByTagName(t))),i||s},flushTmpCache:function(){i=null},content:function(t,n){o(t,function(){var t=e.attr(this,n);t!=null&&e.attr(this,n,t)})},createElement:function(e,t){o(e,t)},extendValue:function(t,n,r){o(t,function(){e(this).each(function(){var e=v(this,"propValue",{});e[n]=this[n],this[n]=r})})}}}(),b=function(e,t){e.defaultValue===i&&(e.defaultValue=""),e.removeAttr||(e.removeAttr={value:function(){e[t||"prop"].set.call(this,e.defaultValue),e.removeAttr._supvalue.call(this)}}),e.attr||(e.attr={})};e.extend(t,{getID:function(){var t=(new Date).getTime();return function(n){n=e(n);var r=n.attr("id");return r||(t++,r="ID-"+t,n.attr("id",r)),r}}(),extendUNDEFProp:function(t,n){e.each(n,function(e,n){e in t||(t[e]=n)})},createPropDefault:b,data:v,moveToFirstEvent:function(t,n,r){var i=(e._data(t,"events")||{})[n],s;i&&i.length>1&&(s=i.pop(),r||(r="bind"),r=="bind"&&i.delegateCount?i.splice(i.delegateCount,0,s):i.unshift(s)),t=null},addShadowDom:function(){var i,s,o,u={init:!1,runs:0,test:function(){var e=u.getHeight(),t=u.getWidth();e!=u.height||t!=u.width?(u.height=e,u.width=t,u.handler({type:"docresize"}),u.runs++,u.runs<9&&setTimeout(u.test,90)):u.runs=0},handler:function(t){clearTimeout(i),i=setTimeout(function(){if(t.type=="resize"){var r=e(n).width(),i=e(n).width();if(i==s&&r==o)return;s=i,o=r,u.height=u.getHeight(),u.width=u.getWidth()}e.event.trigger("updateshadowdom")},t.type=="resize"?50:9)},_create:function(){e.each({Height:"getHeight",Width:"getWidth"},function(e,t){var n=r.body,i=r.documentElement;u[t]=function(){return Math.max(n["scroll"+e],i["scroll"+e],n["offset"+e],i["offset"+e],i["client"+e])}})},start:function(){!this.init&&r.body&&(this.init=!0,this._create(),this.height=u.getHeight(),this.width=u.getWidth(),setInterval(this.test,600),e(this.test),t.ready("WINDOWLOAD",this.test),e(n).bind("resize",this.handler),function(){var t=e.fn.animate,n;e.fn.animate=function(){return clearTimeout(n),n=setTimeout(function(){u.test()},99),t.apply(this,arguments)}}())}};return e.event.customEvent.updateshadowdom=!0,t.docObserve=function(){t.ready("DOM",function(){u.start()})},function(n,r,i){i=i||{},n.jquery&&(n=n[0]),r.jquery&&(r=r[0]);var s=e.data(n,d)||e.data(n,d,{}),o=e.data(r,d)||e.data(r,d,{}),u={};i.shadowFocusElement?i.shadowFocusElement&&(i.shadowFocusElement.jquery&&(i.shadowFocusElement=i.shadowFocusElement[0]),u=e.data(i.shadowFocusElement,d)||e.data(i.shadowFocusElement,d,u)):i.shadowFocusElement=r,s.hasShadow=r,u.nativeElement=o.nativeElement=n,u.shadowData=o.shadowData=s.shadowData={nativeElement:n,shadowElement:r,shadowFocusElement:i.shadowFocusElement},i.shadowChilds&&i.shadowChilds.each(function(){v(this,"shadowData",o.shadowData)}),i.data&&(u.shadowData.data=o.shadowData.data=s.shadowData.data=i.data),i=null,t.docObserve()}}(),propTypes:{standard:function(e,t){b(e);if(e.prop)return;e.prop={set:function(t){e.attr.set.call(this,""+t)},get:function(){return e.attr.get.call(this)||e.defaultValue}}},"boolean":function(e,t){b(e);if(e.prop)return;e.prop={set:function(t){t?e.attr.set.call(this,""):e.removeAttr.value.call(this)},get:function(){return e.attr.get.call(this)!=null}}},src:function(){var t=r.createElement("a");return t.style.display="none",function(n,r){b(n);if(n.prop)return;n.prop={set:function(e){n.attr.set.call(this,e)},get:function(){var n=this.getAttribute(r),i;if(n==null)return"";t.setAttribute("href",n+"");if(!e.support.hrefNormalized){try{e(t).insertAfter(this),i=t.getAttribute("href",4)}catch(s){i=t.getAttribute("href",4)}e(t).detach()}return i||t.href}}}}(),enumarated:function(e,t){b(e);if(e.prop)return;e.prop={set:function(t){e.attr.set.call(this,t)},get:function(){var t=(e.attr.get.call(this)||"").toLowerCase();if(!t||e.limitedTo.indexOf(t)==-1)t=e.defaultValue;return t}}}},reflectProperties:function(n,r){typeof r=="string"&&(r=r.split(o)),r.forEach(function(r){t.defineNodeNamesProperty(n,r,{prop:{set:function(t){e.attr(this,r,t)},get:function(){return e.attr(this,r)||""}}})})},defineNodeNameProperty:function(n,r,i){return a[r]=!0,i.reflect&&t.propTypes[i.propType||"standard"](i,r),["prop","attr","removeAttr"].forEach(function(s){var o=i[s];o&&(s==="prop"?o=e.extend({writeable:!0},o):o=e.extend({},o,{writeable:!0}),l[s](n,r,o),n!="*"&&t.cfg.extendNative&&s=="prop"&&o.value&&e.isFunction(o.value)&&g(n,r,o),i[s]=o)}),i.initAttr&&y.content(n,r),i},defineNodeNameProperties:function(e,n,r,i){var s;for(var o in n)!i&&n[o].initAttr&&y.createTmpCache(e),r&&(n[o][r]||(n[o][r]={},["value","set","get"].forEach(function(e){e in n[o]&&(n[o][r][e]=n[o][e],delete n[o][e])}))),n[o]=t.defineNodeNameProperty(e,o,n[o]);return i||y.flushTmpCache(),n},createElement:function(n,r,i){var s;return e.isFunction(r)&&(r={after:r}),y.createTmpCache(n),r.before&&y.createElement(n,r.before),i&&(s=t.defineNodeNameProperties(n,i,!1,!0)),r.after&&y.createElement(n,r.after),y.flushTmpCache(),s},onNodeNamesPropertyModify:function(t,n,r,i){typeof t=="string"&&(t=t.split(o)),e.isFunction(r)&&(r={set:r}),t.forEach(function(e){c[e]||(c[e]={}),typeof n=="string"&&(n=n.split(o)),r.initAttr&&y.createTmpCache(e),n.forEach(function(t){c[e][t]||(c[e][t]=[],a[t]=!0),r.set&&(i&&(r.set.only=i),c[e][t].push(r.set)),r.initAttr&&y.content(e,t)}),y.flushTmpCache()})},defineNodeNamesBooleanProperty:function(n,r,s){s||(s={}),e.isFunction(s)&&(s.set=s),t.defineNodeNamesProperty(n,r,{attr:{set:function(e){this.setAttribute(r,e),s.set&&s.set.call(this,!0)},get:function(){var e=this.getAttribute(r);return e==null?i:r}},removeAttr:{value:function(){this.removeAttribute(r),s.set&&s.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:s.initAttr||!1})},contentAttr:function(e,t,n){if(!e.nodeName)return;var r;if(n===i)return r=e.attributes[t]||{},n=r.specified?r.value:null,n==null?i:n;typeof n=="boolean"?n?e.setAttribute(t,t):e.removeAttribute(t):e.setAttribute(t,n)},activeLang:function(){var n=[],r={},i,o,u=/:\/\/|^\.*\//,a=function(n,r,i){var s;return r&&i&&e.inArray(r,i.availabeLangs||[])!==-1?(n.loading=!0,s=i.langSrc,u.test(s)||(s=t.cfg.basePath+s),t.loader.loadScript(s+r+".js",function(){n.langObj[r]?(n.loading=!1,l(n,!0)):e(function(){n.langObj[r]&&l(n,!0),n.loading=!1})}),!0):!1},f=function(e){r[e]&&r[e].forEach(function(e){e.callback()})},l=function(e,t){if(e.activeLang!=i&&e.activeLang!==o){var n=s[e.module].options;e.langObj[i]||o&&e.langObj[o]?(e.activeLang=i,e.callback(e.langObj[i]||e.langObj[o],i),f(e.module)):!t&&!a(e,i,n)&&!a(e,o,n)&&e.langObj[""]&&e.activeLang!==""&&(e.activeLang="",e.callback(e.langObj[""],i),f(e.module))}},c=function(t){return typeof t=="string"&&t!==i?(i=t,o=i.split("-")[0],i==o&&(o=!1),e.each(n,function(e,t){l(t)})):typeof t=="object"&&(t.register?(r[t.register]||(r[t.register]=[]),r[t.register].push(t),t.callback()):(t.activeLang||(t.activeLang=""),n.push(t),l(t))),i};return c}()}),e.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(e,n){t[e]=function(e,r,i,s){typeof e=="string"&&(e=e.split(o));var u={};return e.forEach(function(e){u[e]=t[n](e,r,i,s)}),u}}),t.isReady("webshimLocalization",!0)}),function(e,t){var n=e.webshims.browserVersion;if(e.browser.mozilla&&n>5)return;if(!e.browser.msie||n<12&&n>7){var r={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},i=function(e,t){var n=e.getAttribute("role");n||e.setAttribute("role",t)};e.webshims.addReady(function(n,s){e.each(r,function(t,r){var o=e(t,n).add(s.filter(t));for(var u=0,a=o.length;u<a;u++)i(o[u],r)});if(n===t){var o=t.getElementsByTagName("header")[0],u=t.getElementsByTagName("footer"),a=u.length;o&&!e(o).closest("section, article")[0]&&i(o,"banner");if(!a)return;var f=u[a-1];e(f).closest("section, article")[0]||i(f,"contentinfo")}})}}(jQuery,document);
@@ -1,80 +1 @@
1
- (function(){var a=Function.prototype.call,b=Object.prototype,g=Array.prototype.slice,k,l;if(!Function.prototype.bind)Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var e=g.call(arguments,1),d=function(){if(this instanceof d){var c=function(){};c.prototype=b.prototype;var c=new c,h=b.apply(c,e.concat(g.call(arguments)));return null!==h&&Object(h)===h?h:c}return b.apply(a,e.concat(g.call(arguments)))};return d};l=a.bind(b.toString);k=a.bind(b.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==l(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){var e=o(this),d=0,c=e.length>>>0;if("[object Function]"!=l(a))throw new TypeError;for(;d<c;)d in e&&a.call(b,e[d],d,e),d++};if(!Array.prototype.map)Array.prototype.map=function(a,b){var e=o(this),d=e.length>>>0,c=Array(d);if("[object Function]"!=l(a))throw new TypeError;for(var h=0;h<d;h++)h in e&&(c[h]=a.call(b,e[h],h,e));return c};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,b){var e=o(this),d=e.length>>>0,c=[];if("[object Function]"!=l(a))throw new TypeError;for(var h=0;h<d;h++)h in e&&a.call(b,e[h],h,e)&&c.push(e[h]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,b){var e=o(this),d=e.length>>>0;if("[object Function]"!=l(a))throw new TypeError;for(var c=0;c<d;c++)if(c in e&&!a.call(b,e[c],c,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var e=o(this),d=e.length>>>0;if("[object Function]"!=l(a))throw new TypeError;
4
- for(var c=0;c<d;c++)if(c in e&&a.call(b,e[c],c,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=o(this),e=b.length>>>0;if("[object Function]"!=l(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d=0,c;if(2<=arguments.length)c=arguments[1];else{do{if(d in b){c=b[d++];break}if(++d>=e)throw new TypeError;}while(1)}for(;d<e;d++)d in b&&(c=a.call(void 0,c,b[d],d,b));return c};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var b=
5
- o(this),e=b.length>>>0;if("[object Function]"!=l(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d,e=e-1;if(2<=arguments.length)d=arguments[1];else{do{if(e in b){d=b[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(d=a.call(void 0,d,b[e],e,b));while(e--);return d};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=o(this),e=b.length>>>0;if(!e)return-1;var d=0;1<arguments.length&&(d=v(arguments[1]));for(d=0<=d?d:e-Math.abs(d);d<e;d++)if(d in
6
- b&&b[d]===a)return d;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var b=o(this),e=b.length>>>0;if(!e)return-1;var d=e-1;1<arguments.length&&(d=v(arguments[1]));for(d=0<=d?d:e-Math.abs(d);0<=d;d--)if(d in b&&a===b[d])return d;return-1};if(2!=[1,2].splice(0).length){var r=Array.prototype.splice;Array.prototype.splice=function(a,b){return!arguments.length?[]:r.apply(this,[void 0===a?0:a,void 0===b?this.length-a:b].concat(g.call(arguments,2)))}}if(!Object.keys){var i=
7
- !0,q="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),m=q.length,n;for(n in{toString:null})i=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],e;for(e in a)k(a,e)&&b.push(e);if(i)for(e=0;e<m;e++){var d=q[e];k(a,d)&&b.push(d)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,b,e;if(!isFinite(this))throw new RangeError;
8
- a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=a.length;b--;)e=a[b],10>e&&(a[b]="0"+e);return a.slice(0,3).join("-")+"T"+a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";
9
- if(!String.prototype.trim||a.trim()){var a="["+a+"]",x=RegExp("^"+a+a+"*"),t=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(x,"").replace(t,"")}}if("0".split(void 0,0).length){var u=String.prototype.split;String.prototype.split=function(a,b){return void 0===a&&0===b?[]:u.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var y=String.prototype.substr;String.prototype.substr=function(a,b){return y.call(this,0>a?0>(a=this.length+a)?0:a:a,b)}}var v=function(a){a=+a;
10
- a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},s="a"!="a"[0],o=function(a){if(null==a)throw new TypeError;return s&&"string"==typeof a&&a?a.split(""):Object(a)}})();
11
- (function(a,b){var g=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);g&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});g=!!a.bar}catch(b){g=!1}a=null}();Modernizr.objectAccessor=!(!(g||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=g;
12
- if(!g||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,g,i,k){var m;m=function(){};m.prototype=a;m=new m;if(!k&&!("__proto__"in m)&&!Modernizr.objectAccessor)m.__proto__=a;g&&b.defineProperties(m,g);if(i)m.options=jQuery.extend(!0,{},m.options||{},i),i=m.options;m._create&&jQuery.isFunction(m._create)&&m._create(i);return m};b.defineProperties=function(a,
13
- g){for(var i in g)k(g,i)&&b.defineProperty(a,i,g[i]);return a};b.defineProperty=function(a,b,i){if("object"!=typeof i||null===i)return a;if(k(i,"value"))return a[b]=i.value,a;a.__defineGetter__&&("function"==typeof i.get&&a.__defineGetter__(b,i.get),"function"==typeof i.set&&a.__defineSetter__(b,i.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
14
- typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var i;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return i=Object.getOwnPropertyDescriptor(a,b)}catch(g){}i={configurable:!0,enumerable:!0,writable:!0,value:void 0};var m=a.__lookupGetter__&&a.__lookupGetter__(b),n=a.__lookupSetter__&&a.__lookupSetter__(b);if(!m&&!n){if(!k(a,b))return;i.value=a[b];return i}delete i.writable;delete i.value;i.get=i.set=void 0;if(m)i.get=
15
- m;if(n)i.set=n;return i}}})(jQuery,jQuery.webshims);
16
- jQuery.webshims.register("dom-extend",function(a,b,g,k,l){var r=b.modules,i=/\s*,\s*/,q={},m={},n={},x={},t={},u=a.fn.val,y=function(d,c,h,b,p){return p?u.call(a(d)):u.call(a(d),h)};a.fn.val=function(d){var c=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!c||1!==c.nodeType?u.call(this):a.prop(c,"value",d,"val",!0);if(a.isArray(d))return u.apply(this,arguments);var h=a.isFunction(d);return this.each(function(b){c=this;1===c.nodeType&&(h?(b=d.call(c,b,a.prop(c,"value",l,"val",
17
- !0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",d,"val"))})};var v="_webshimsLib"+Math.round(1E3*Math.random()),s=function(d,c,b){d=d.jquery?d[0]:d;if(!d)return b||{};var f=a.data(d,v);b!==l&&(f||(f=a.data(d,v,{})),c&&(f[c]=b));return c?f&&f[c]:f};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(d){a.fn[d.name]=function(){return this.map(function(){var a=s(this,
18
- "shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){q[d]=a[d];a[d]=function(c,b,f,p,e){var A="val"==p,w=!A?q[d]:y;if(!c||!m[b]||1!==c.nodeType||!A&&p&&"attr"==d&&a.attrFn[b])return w(c,b,f,p,e);var B=(c.nodeName||"").toLowerCase(),C=n[B],D="attr"==d&&(!1===f||null===f)?"removeAttr":d,i,u,g;C||(C=n["*"]);C&&(C=C[b]);C&&(i=C[D]);if(i){if("value"==b)u=i.isVal,i.isVal=A;if("removeAttr"===D)return i.value.call(c);if(f===l)return i.get?i.get.call(c):i.value;i.set&&
19
- ("attr"==d&&!0===f&&(f=b),g=i.set.call(c,f));if("value"==b)i.isVal=u}else g=w(c,b,f,p,e);if((f!==l||"removeAttr"===D)&&t[B]&&t[B][b]){var j;j="removeAttr"==D?!1:"prop"==D?!!f:!0;t[B][b].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(c,f,j,A?"val":D,d)})}return g};x[d]=function(c,h,f){n[c]||(n[c]={});n[c][h]||(n[c][h]={});var p=n[c][h][d],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==d&&"value"==h?function(a){return f.isVal?y(this,h,a,!1,0===arguments.length):
20
- q[d](this,h,a)}:"prop"==d&&"value"==a&&f.value.apply?function(a){var c=q[d](this,h);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return q[d](this,h,a)}};n[c][h][d]=f;if(f.value===l){if(!f.set)f.set=f.writeable?e("set",f,p):b.cfg.useStrict&&"prop"==h?function(){throw h+" is readonly on "+c;}:a.noop;if(!f.get)f.get=e("get",f,p)}["value","get","set"].forEach(function(a){f[a]&&(f["_sup"+a]=e(a,p))})}});var o=!a.browser.msie||8<parseInt(a.browser.version,10),j=function(){var a=b.getPrototypeOf(k.createElement("foobar")),
21
- c=Object.prototype.hasOwnProperty;return function(h,f,p){var e=k.createElement(h),i=b.getPrototypeOf(e);if(o&&i&&a!==i&&(!e[f]||!c.call(e,f))){var w=e[f];p._supvalue=function(){return w&&w.apply?w.apply(this,arguments):w};i[f]=p.value}else p._supvalue=function(){var a=s(this,"propValue");return a&&a[f]&&a[f].apply?a[f].apply(this,arguments):a&&a[f]},z.extendValue(h,f,p.value);p.value._supvalue=p._supvalue}}(),z=function(){var d={};b.addReady(function(c,h){var f={},w=function(d){f[d]||(f[d]=a(c.getElementsByTagName(d)),
22
- h[0]&&a.nodeName(h[0],d)&&(f[d]=f[d].add(h)))};a.each(d,function(a,d){w(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){f[a].each(d)})});f=null});var c,h=a([]),f=function(b,h){d[b]?d[b].push(h):d[b]=[h];a.isDOMReady&&(c||a(k.getElementsByTagName(b))).each(h)};return{createTmpCache:function(d){a.isDOMReady&&(c=c||a(k.getElementsByTagName(d)));return c||h},flushTmpCache:function(){c=null},content:function(d,c){f(d,function(){var d=a.attr(this,c);null!=d&&a.attr(this,
23
- c,d)})},createElement:function(a,d){f(a,d)},extendValue:function(d,c,b){f(d,function(){a(this).each(function(){s(this,"propValue",{})[c]=this[c];this[c]=b})})}}}(),e=function(a,c){if(a.defaultValue===l)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(b,{getID:function(){var d=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(d++,b="ID-"+d,c.attr("id",b));
24
- return b}}(),extendUNDEFProp:function(d,c){a.each(c,function(a,c){a in d||(d[a]=c)})},createPropDefault:e,data:s,moveToFirstEvent:function(){var d=a._data?"_data":"data";return function(c,b,f){if((c=(a[d](c,"events")||{})[b])&&1<c.length)b=c.pop(),f||(f="bind"),"bind"==f&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(){var d,c,h,f={init:!1,runs:0,test:function(){var a=f.getHeight(),d=f.getWidth();a!=f.height||d!=f.width?(f.height=a,f.width=d,f.handler({type:"docresize"}),
25
- f.runs++,30>f.runs&&setTimeout(f.test,30)):f.runs=0},handler:function(b){clearTimeout(d);d=setTimeout(function(){if("resize"==b.type){var d=a(g).width(),e=a(g).width();if(e==c&&d==h)return;c=e;h=d;f.height=f.getHeight();f.width=f.getWidth()}a.event.trigger("updateshadowdom")},"resize"==b.type?50:9)},_create:function(){a.each({Height:"getHeight",Width:"getWidth"},function(a,d){var c=k.body,b=k.documentElement;f[d]=function(){return Math.max(c["scroll"+a],b["scroll"+a],c["offset"+a],b["offset"+a],b["client"+
26
- a])}})},start:function(){if(!this.init&&k.body)this.init=!0,this._create(),this.height=f.getHeight(),this.width=f.getWidth(),setInterval(this.test,400),a(this.test),a(g).bind("load",this.test),a(g).bind("resize",this.handler),function(){var d=a.fn.animate,c;a.fn.animate=function(){clearTimeout(c);c=setTimeout(function(){f.test();f.handler({type:"animationstart"})},19);return d.apply(this,arguments)}}()}};a.event.customEvent.updateshadowdom=!0;b.docObserve=function(){b.ready("DOM",function(){f.start()})};
27
- return function(d,c,h){h=h||{};d.jquery&&(d=d[0]);c.jquery&&(c=c[0]);var f=a.data(d,v)||a.data(d,v,{}),B=a.data(c,v)||a.data(c,v,{}),e={};if(h.shadowFocusElement){if(h.shadowFocusElement){if(h.shadowFocusElement.jquery)h.shadowFocusElement=h.shadowFocusElement[0];e=a.data(h.shadowFocusElement,v)||a.data(h.shadowFocusElement,v,e)}}else h.shadowFocusElement=c;f.hasShadow=c;e.nativeElement=B.nativeElement=d;e.shadowData=B.shadowData=f.shadowData={nativeElement:d,shadowElement:c,shadowFocusElement:h.shadowFocusElement};
28
- h.shadowChilds&&h.shadowChilds.each(function(){s(this,"shadowData",B.shadowData)});if(h.data)e.shadowData.data=B.shadowData.data=f.shadowData.data=h.data;h=null;b.docObserve()}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},
29
- src:function(){var d=k.createElement("a");d.style.display="none";return function(c,b){e(c);if(!c.prop)c.prop={set:function(a){c.attr.set.call(this,a)},get:function(){var c=this.getAttribute(b),e;if(null==c)return"";d.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(d).insertAfter(this),e=d.getAttribute("href",4)}catch(i){e=d.getAttribute("href",4)}a(d).detach()}return e||d.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,c)},get:function(){var c=
30
- (a.attr.get.call(this)||"").toLowerCase();if(!c||-1==a.limitedTo.indexOf(c))c=a.defaultValue;return c}}}},reflectProperties:function(d,c){"string"==typeof c&&(c=c.split(i));c.forEach(function(c){b.defineNodeNamesProperty(d,c,{prop:{set:function(d){a.attr(this,c,d)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(d,c,h){m[c]=!0;if(h.reflect)b.propTypes[h.propType||"standard"](h,c);["prop","attr","removeAttr"].forEach(function(f){var e=h[f];e&&(e="prop"===f?a.extend({writeable:!0},
31
- e):a.extend({},e,{writeable:!0}),x[f](d,c,e),"*"!=d&&b.cfg.extendNative&&"prop"==f&&e.value&&a.isFunction(e.value)&&j(d,c,e),h[f]=e)});h.initAttr&&z.content(d,c);return h},defineNodeNameProperties:function(a,c,h,f){for(var e in c)!f&&c[e].initAttr&&z.createTmpCache(a),h&&!c[e][h]&&(c[e][h]={},["value","set","get"].forEach(function(a){a in c[e]&&(c[e][h][a]=c[e][a],delete c[e][a])})),c[e]=b.defineNodeNameProperty(a,e,c[e]);f||z.flushTmpCache();return c},createElement:function(d,c,h){var e;a.isFunction(c)&&
32
- (c={after:c});z.createTmpCache(d);c.before&&z.createElement(d,c.before);h&&(e=b.defineNodeNameProperties(d,h,!1,!0));c.after&&z.createElement(d,c.after);z.flushTmpCache();return e},onNodeNamesPropertyModify:function(d,c,b,e){"string"==typeof d&&(d=d.split(i));a.isFunction(b)&&(b={set:b});d.forEach(function(a){t[a]||(t[a]={});"string"==typeof c&&(c=c.split(i));b.initAttr&&z.createTmpCache(a);c.forEach(function(c){t[a][c]||(t[a][c]=[],m[c]=!0);if(b.set){if(e)b.set.only=e;t[a][c].push(b.set)}b.initAttr&&
33
- z.content(a,c)});z.flushTmpCache()})},defineNodeNamesBooleanProperty:function(d,c,e){e||(e={});if(a.isFunction(e))e.set=e;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?l:c}},removeAttr:{value:function(){this.removeAttribute(c);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===l)return a=a.attributes[c]||{},
34
- b=a.specified?a.value:null,null==b?l:b;"boolean"==typeof b?b?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},e,f,i=/:\/\/|^\.*\//,u=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,i.test(e)||(e=b.cfg.basePath+e),b.loader.loadScript(e+d+".js",function(){c.langObj[d]?(c.loading=!1,w(c,!0)):a(function(){c.langObj[d]&&w(c,!0);c.loading=!1})}),!0):!1},g=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
35
- w=function(a,c){if(a.activeLang!=e&&a.activeLang!==f){var b=r[a.module].options;if(a.langObj[e]||f&&a.langObj[f])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[f],e),g(a.module);else if(!c&&!u(a,e,b)&&!u(a,f,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),g(a.module)}};return function(b){if("string"==typeof b&&b!==e)e=b,f=e.split("-")[0],e==f&&(f=!1),a.each(d,function(a,c){w(c)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),
36
- b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);w(b)}return e}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,e,u){"string"==typeof a&&(a=a.split(i));var g={};a.forEach(function(a){g[a]=b[c](a,d,e,u)});return g}});b.isReady("webshimLocalization",!0)});
37
- (function(a,b){var g=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<g)&&(!a.browser.msie||12>g&&7<g)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},l=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(g,i){a.each(k,function(b,k){for(var u=a(b,g).add(i.filter(b)),y=0,m=u.length;y<m;y++)l(u[y],k)});if(g===b){var q=b.getElementsByTagName("header")[0],m=b.getElementsByTagName("footer"),n=m.length;
38
- q&&!a(q).closest("section, article")[0]&&l(q,"banner");n&&(q=m[n-1],a(q).closest("section, article")[0]||l(q,"contentinfo"))}})}})(jQuery,document);
39
- (function(a,b,g){var k=b.audio&&b.video,l=!1,r=g.cfg.mediaelement,i=g.bugs,q="jwplayer"==r.player?"mediaelement-swf":"mediaelement-jaris",m=function(){g.ready(q,function(){if(!g.mediaelement.createSWF)g.mediaelement.loadSwf=!0,g.reTest([q],k)})},n;if(k){var x=document.createElement("video");b.videoBuffered="buffered"in x;l="loop"in x;g.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));b.videoBuffered||(g.addPolyfill("mediaelement-native-fix",
40
- {f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),g.reTest("mediaelement-native-fix"))}if(k&&!r.preferFlash){var t=function(b){var i=b.target.parentNode;!r.preferFlash&&(a(b.target).is("audio, video")||i&&a("source:last",i)[0]==b.target)&&g.ready("DOM mediaelement",function(){n&&m();g.ready("WINDOWLOAD "+q,function(){setTimeout(function(){n&&!r.preferFlash&&g.mediaelement.createSWF&&!a(b.target).closest("audio, video").is(".nonnative-api-active")?(r.preferFlash=!0,document.removeEventListener("error",
41
- t,!0),a("audio, video").mediaLoad(),g.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+b.target.src)):n||document.removeEventListener("error",t,!0)},20)})})};document.addEventListener("error",t,!0);a("audio, video").each(function(){this.error&&t({target:this})})}i.track=!1;b.track&&function(){if(!i.track)i.track="number"!=typeof a("<track />")[0].readyState;if(!i.track)try{new TextTrackCue(2,3,"")}catch(b){i.track=!0}var y=g.cfg.track,k=function(b){a(b.target).filter("track").each(m)},
42
- m=function(){if(i.track||!y.override&&3==a.prop(this,"readyState"))y.override=!0,g.reTest("track"),document.removeEventListener("error",k,!0),this&&a.nodeName(this,"track")?g.error("track support was overwritten. Please check your vtt including your vtt mime-type"):g.info("track support was overwritten. due to bad browser support")},l=function(){document.addEventListener("error",k,!0);i.track?m():a("track").each(m)};y.override||(g.isReady("track")?l():a(l))}();g.register("mediaelement-core",function(a,
43
- g,v,s,o){n=swfobject.hasFlashPlayerVersion("9.0.115");var j=g.mediaelement,t=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=j.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},e=!n&&"postMessage"in v&&k,d=
44
- function(){var b;return function(){!b&&e&&(b=!0,g.loader.loadScript("https://www.youtube.com/player_api"),a(function(){g.polyfill("mediaelement-yt")}))}}(),c=function(){n?m():d()};g.addPolyfill("mediaelement-yt",{test:!e,d:["dom-support"]});j.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",
45
- "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"]}};j.mimeTypes.source=a.extend({},j.mimeTypes.audio,j.mimeTypes.video);j.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||
46
- -1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(j.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};j.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(c)||(c=[c]),c.forEach(function(a){var c=s.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});
47
- else{var c=[],d=b[0].nodeName.toLowerCase(),e=t(b,d);e.src?c.push(e):a("source",b).each(function(){e=t(this,d);e.src&&c.push(e)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==o&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));j.srces(this,b);a(this).mediaLoad()})};j.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
48
- j.canThirdPlaySrces=function(b,c){var d="";if(n||e)b=a(b),c=c||j.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(n&&-1!=j.swfMimeTypes.indexOf(b.container)||e&&"video/youtube"==b.container))return d=b,!1});return d};var h={};j.canNativePlaySrces=function(b,c){var d="";if(k){var b=a(b),e=(b[0].nodeName||"").toLowerCase();if(!h[e])return d;c=c||j.srces(b);a.each(c,function(a,c){if(c.type&&h[e].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};j.setError=function(b,c){c||(c="can't play sources");
49
- a(b).pause().data("mediaerror",c);g.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var f=function(){var a;return function(b,h,i){g.ready(n?q:"mediaelement-yt",function(){j.createSWF?j.createSWF(b,h,i):a||(a=!0,c(),f(b,h,i))});!a&&e&&!j.createSWF&&d()}}(),p=function(a,b,c,d,e){c||!1!==c&&b&&"third"==b.isActive?(c=j.canThirdPlaySrces(a,d))?f(a,c,b):e?j.setError(a,!1):p(a,b,!1,d,!0):(c=j.canNativePlaySrces(a,d))?b&&"third"==b.isActive&&j.setActive(a,
50
- "html5",b):e?(j.setError(a,!1),b&&"third"==b.isActive&&j.setActive(a,"html5",b)):p(a,b,!0,d,!0)},x=/^(?:embed|object|datalist)$/i,A=function(b,c){var d=g.data(b,"mediaelementBase")||g.data(b,"mediaelementBase",{}),e=j.srces(b),f=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||x.test(f.nodeName||"")))c=c||g.data(b,"mediaelement"),p(b,c,r.preferFlash||o,e)};a(s).on("ended",function(b){var c=g.data(b.target,"mediaelement");(!l||c&&"html5"!=c.isActive||
51
- a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});l||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var c=g.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");A(this,a);k&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});h[b]=g.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(c){var d=
52
- "";k&&h[b].prop._supvalue&&(d=h[b].prop._supvalue.call(this,c),"no"==d&&(d=""));!d&&n&&(c=a.trim((c||"").split(";")[0]),-1!=j.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});g.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){A(a);a=null},9)}});v=function(){g.addReady(function(b,c){a("video, audio",b).add(c.filter("video, audio")).each(function(){a.browser.msie&&
53
- 8<g.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():A(this);if(k){var b,c,d=this,e=function(){var b=a.prop(d,"buffered");if(b){for(var c="",e=0,M=b.length;e<M;e++)c+=b.end(e);return c}},f=function(){var b=e();b!=c&&(c=b,a(d).triggerHandler("progress"))};a(this).on({"play loadstart progress":function(a){"progress"==a.type&&(c=e());clearTimeout(b);b=setTimeout(f,999)},"emptied stalled mediaerror abort suspend":function(a){"emptied"==
54
- a.type&&(c=!1);clearTimeout(b)}})}})})};b.track&&!i.track&&g.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(g.isReady("mediaelement-core",!0),v(),g.ready("WINDOWLOAD mediaelement",c)):g.ready(q,v);a(function(){g.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
55
- jQuery.webshims.register("mediaelement-swf",function(a,b,g,k,l,r){var i=b.mediaelement,q=g.swfobject,m=Modernizr.audio&&Modernizr.video,n=q.hasFlashPlayerVersion("9.0.115"),x=0,g={paused:!0,ended:!1,currentSrc:"",duration:g.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},t=Object.keys(g),u={currentTime:0,volume:1,
56
- muted:!1};Object.keys(u);var y=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:l},g,u),v=/^jwplayer-/,s=function(a){if(a=k.getElementById(a.replace(v,"")))return a=b.data(a,"mediaelement"),"third"==a.isActive?a:null},o=function(a){return(a=b.data(a,"mediaelement"))&&"third"==a.isActive?a:null},j=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,l,b)},z=r.playerPath||b.cfg.basePath+
57
- "jwplayer/"+(r.playerName||"player.swf"),e=r.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(r.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(r.vars,{screencolor:"ffffffff"});b.extendUNDEFProp(r.attrs,{bgcolor:"#000000"});var d=function(b,c){var d=b.duration;if(!(d&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=d}catch(e){}b.duration&&
58
- b.duration!=b._lastDuration?(j(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&i.jwEvents.Model.META(a.extend({duration:b.duration},c),b),b._durationCalcs--):b._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,j(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,j(b._elem,"canplaythrough");b.readyState=a};a.extend(a.event.customEvent,
59
- {updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});i.jwEvents={View:{PLAY:function(a){var b=s(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;j(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var e=s(b.id);if(e&&"percentage"in b&&e._bufferedEnd!=b.percentage){e.networkState=100==b.percentage?1:2;(isNaN(e.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&d(e,b);if(e.ended)e.ended=
60
- !1;if(e.duration){2<b.percentage&&20>b.percentage?c(3,e):20<b.percentage&&c(4,e);if(e._bufferedEnd&&e._bufferedEnd>b.percentage)e._bufferedStart=e.currentTime||0;e._bufferedEnd=b.percentage;e.buffered.length=1;if(100==b.percentage)e.networkState=1,c(4,e);a.event.trigger("progress",l,e._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:s(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=
61
- a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&j(b._elem,"durationchange");j(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=s(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&d(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;j(b._elem,"timeupdate")}},STATE:function(a){var b=
62
- s(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);j(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||d(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;j(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,j(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,j(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=s(a.id);b&&i.setError(b._elem,a.message)},SEEK:function(a){var b=
63
- s(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=a.position)b.currentTime=a.position,j(b._elem,"timeupdate")}},VOLUME:function(a){var b=s(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,j(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=s(a.id);if(b&&b.muted!=a.state)b.muted=a.state,j(b._elem,"volumechange")}}}};var h=function(b){var c=!0;a.each(i.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,
64
- "jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},f=function(a){var b=a.actionQueue.length,c=0,d;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},p=function(b){b&&(b._ppFlag===l&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===l||!b.paused))try{a(b._elem).play()}catch(c){}},1)};i.playerResize=function(b){b&&
65
- (b=k.getElementById(b.replace(v,"")))&&a(b).triggerHandler("swfstageresize")};a(k).on("emptied",function(a){a=o(a.target);p(a)});var G;i.jwPlayerReady=function(c){var d=s(c.id),e=0,g=function(){if(!(9<e))if(e++,h(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var i=parseFloat(c.version,10);(5.1>i||6<=i)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;f(d);p(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(g,9*e),2<e&&9>d.tryedReframeing&&
66
- (d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(G);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);g()}};var A=a.noop;if(m){var w={play:1,playing:1},B="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),C=B.map(function(a){return a+
67
- ".webshimspolyfill"}).join(" "),D=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),w[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},A=function(c){a(c).off(C).on(C,D);B.forEach(function(a){b.moveToFirstEvent(c,a)})};A(k)}i.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&b.warn("wrong type for mediaelement activating: "+d);var f=
68
- b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(a(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);a(c).trigger("mediaelementapichange")}};var I=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),
69
- b=a.length;return function(d){if(d){var e=b,f=d.networkState;for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&j(d._elem,"emptied")}}}(),H=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||a(d).width(),height:d.style.height||a(d).height()})};i.createSWF=function(c,d,f){if(n){1>x?x=1:x++;var g=a.extend({},r.vars,{image:a.prop(c,"poster")||"",file:d.srcProp}),
70
- h=a(c).data("vars")||{};f||(f=b.data(c,"mediaelement"));if(f&&f.swfCreated)i.setActive(c,"third",f),I(f),f.currentSrc=d.srcProp,a.extend(g,h),r.changeSWF(g,c,d,f,"load"),E(c,"sendEvent",["LOAD",g]);else{var j=a.prop(c,"controls"),F="jwplayer-"+b.getID(c),k=a.extend({},r.params,a(c).data("params")),l=c.nodeName.toLowerCase(),p=a.extend({},r.attrs,{name:F,id:F},a(c).data("attrs")),o=a('<div class="polyfill-'+l+' polyfill-mediaelement" id="wrapper-'+F+'"><div id="'+F+'"></div>').css({position:"relative",
71
- overflow:"hidden"}),f=b.data(c,"mediaelement",b.objectCreate(y,{actionQueue:{value:[]},shadowElem:{value:o},_elemNodeName:{value:l},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=f.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=f.buffered.length)b.error("buffered index size error");else return(f.duration-f._bufferedStart)*f._bufferedEnd/100+f._bufferedStart},length:0}}}));H(f,j);o.insertBefore(c);
72
- m&&a.extend(f,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(g,{id:F,controlbar:j?r.vars.controlbar||("video"==l?"over":"bottom"):"video"==l?"none":"bottom",icons:""+(j&&"video"==l)},h,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});g.plugins=g.plugins?g.plugins+(","+e):e;b.addShadowDom(c,o);A(c);i.setActive(c,"third",f);r.changeSWF(g,c,d,f,"embed");a(c).on("updatemediaelementdimensions updateshadowdom",function(){H(f,a.prop(c,"controls"))});q.embedSWF(z,F,"100%","100%",
73
- "9.0.0",!1,g,k,p,function(d){if(d.success)f.jwapi=d.ref,j||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&o[0].parentNode||"none"==d.ref.style.display)o.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),G||(clearTimeout(G),G=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?
74
- b.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var E=function(a,b,c,d){return(d=d||o(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<
75
- d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},e,f=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=o(this);return b?b[a]:m&&e[a].prop._supget?e[a].prop._supget.apply(this):y[a]},writeable:!1})},g=function(a,b){f(a);delete d[a].writeable;d[a].set=b};g("volume",function(a){var c=o(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+
76
- a/100);E(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(c.volume==a||"third"!=c.isActive))c.volume=a,j(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=o(this);if(b){if(a=!!a,E(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"third"!=b.isActive))b.muted=a,j(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});g("currentTime",
77
- function(a){var b=o(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);E(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,j(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(e.currentTime.prop._supset)return e.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=o(this);if(b)b.stopPlayPause&&
78
- clearTimeout(b.stopPlayPause),E(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,j(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});t.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=o(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{E(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==
79
- c&&H(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});e=b.defineNodeNameProperties(c,d,"prop")});if(n){var J=a.cleanData,K=a.browser.msie&&9>b.browserVersion,L={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&x)for(b=0;b<c;b++)if(L[a[b].nodeName]){if("sendEvent"in a[b]){x--;try{a[b].sendEvent("play",!1)}catch(e){}}if(K)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return J.apply(this,arguments)}}m||(["poster","src"].forEach(function(a){b.defineNodeNamesProperty("src"==
80
- a?["audio","video","source"]:["video"],a,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)}),b.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
1
+ (function(e){var t=Function.prototype.call,n=Array.prototype,r=Object.prototype,i=n.slice,s,o;Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(typeof t!="function")throw new TypeError;var n=i.call(arguments,1),r=function(){if(this instanceof r){var s=function(){};s.prototype=t.prototype;var o=new s,u=t.apply(o,n.concat(i.call(arguments)));return u!==null&&Object(u)===u?u:o}return t.apply(e,n.concat(i.call(arguments)))};return r}),o=t.bind(r.toString),s=t.bind(r.hasOwnProperty),Array.isArray||(Array.isArray=function(e){return o(e)=="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=b(this),n=arguments[1],r=0,i=t.length>>>0;if(o(e)!="[object Function]")throw new TypeError;while(r<i)r in t&&e.call(n,t[r],r,t),r++}),Array.prototype.map||(Array.prototype.map=function(e){var t=b(this),n=t.length>>>0,r=Array(n),i=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var s=0;s<n;s++)s in t&&(r[s]=e.call(i,t[s],s,t));return r}),Array.prototype.filter||(Array.prototype.filter=function(e){var t=b(this),n=t.length>>>0,r=[],i=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var s=0;s<n;s++)s in t&&e.call(i,t[s],s,t)&&r.push(t[s]);return r}),Array.prototype.every||(Array.prototype.every=function(e){var t=b(this),n=t.length>>>0,r=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var i=0;i<n;i++)if(i in t&&!e.call(r,t[i],i,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=b(this),n=t.length>>>0,r=arguments[1];if(o(e)!="[object Function]")throw new TypeError;for(var i=0;i<n;i++)if(i in t&&e.call(r,t[i],i,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=b(this),n=t.length>>>0;if(o(e)!="[object Function]")throw new TypeError;if(!n&&arguments.length==1)throw new TypeError;var r=0,i;if(arguments.length>=2)i=arguments[1];else do{if(r in t){i=t[r++];break}if(++r>=n)throw new TypeError}while(!0);for(;r<n;r++)r in t&&(i=e.call(void 0,i,t[r],r,t));return i}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=b(this),n=t.length>>>0;if(o(e)!="[object Function]")throw new TypeError;if(!n&&arguments.length==1)throw new TypeError;var r,i=n-1;if(arguments.length>=2)r=arguments[1];else do{if(i in t){r=t[i--];break}if(--i<0)throw new TypeError}while(!0);do i in this&&(r=e.call(void 0,r,t[i],i,t));while(i--);return r}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=b(this),n=t.length>>>0;if(!n)return-1;var r=0;arguments.length>1&&(r=g(arguments[1])),r=r>=0?r:n-Math.abs(r);for(;r<n;r++)if(r in t&&t[r]===e)return r;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){var t=b(this),n=t.length>>>0;if(!n)return-1;var r=n-1;arguments.length>1&&(r=g(arguments[1])),r=r>=0?r:n-Math.abs(r);for(;r>=0;r--)if(r in t&&e===t[r])return r;return-1});if([1,2].splice(0).length!=2){var u=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?u.apply(this,[e===void 0?0:e,t===void 0?this.length-e:t].concat(i.call(arguments,2))):[]}}if(!Object.keys){var a=!0,f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=f.length;for(var c in{toString:null})a=!1;Object.keys=function w(e){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.keys called on a non-object");var w=[];for(var t in e)s(e,t)&&w.push(t);if(a)for(var n=0,r=l;n<r;n++){var i=f[n];s(e,i)&&w.push(i)}return w}}Date.prototype.toISOString||(Date.prototype.toISOString=function(){var t,n,r;if(!isFinite(this))throw new RangeError;t=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],n=t.length;while(n--)r=t[n],r<10&&(t[n]="0"+r);return t.slice(0,3).join("-")+"T"+t.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}),Date.now||(Date.now=function(){return(new Date).getTime()}),Date.prototype.toJSON||(Date.prototype.toJSON=function(t){if(typeof this.toISOString!="function")throw new TypeError;return this.toISOString()});var h=" \n \f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||h.trim()){h="["+h+"]";var p=new RegExp("^"+h+h+"*"),d=new RegExp(h+h+"*$");String.prototype.trim=function(){return String(this).replace(p,"").replace(d,"")}}if("0".split(void 0,0).length){var v=String.prototype.split;String.prototype.split=function(e,t){return e===void 0&&t===0?[]:v.apply(this,arguments)}}if("".substr&&"0b".substr(-1)!=="b"){var m=String.prototype.substr;String.prototype.substr=function(e,t){return m.call(this,e<0?(e=this.length+e)<0?0:e:e,t)}}var g=function(e){return e=+e,e!==e?e=-1:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e},y="a"[0]!="a",b=function(e){if(e==null)throw new TypeError;return y&&typeof e=="string"&&e?e.split(""):Object(e)}})(),function(e,t){var n="defineProperty",r=!!(Object.create&&Object.defineProperties&&Object.getOwnPropertyDescriptor);r&&!e.browser.msie&&Object[n]&&Object.prototype.__defineGetter__&&function(){try{var e=document.createElement("foo");Object[n](e,"bar",{get:function(){return!0}}),r=!!e.bar}catch(t){r=!1}e=null}(),Modernizr.objectAccessor=!!(r||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)&&(!e.browser.opera||t.browserVersion>=11),Modernizr.advancedObjectProperties=r;if(!r||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var i=Function.prototype.call,s=Object.prototype,o=i.bind(s.hasOwnProperty);t.objectCreate=function(e,n,r,i){var s,o=function(){};return o.prototype=e,s=new o,!i&&!("__proto__"in s)&&!Modernizr.objectAccessor&&(s.__proto__=e),n&&t.defineProperties(s,n),r&&(s.options=jQuery.extend(!0,{},s.options||{},r),r=s.options),s._create&&jQuery.isFunction(s._create)&&s._create(r),s},t.defineProperties=function(e,n){for(var r in n)o(n,r)&&t.defineProperty(e,r,n[r]);return e};var u=["configurable","enumerable","writable"];t.defineProperty=function(e,t,n){return typeof n!="object"||n===null?e:o(n,"value")?(e[t]=n.value,e):(e.__defineGetter__&&(typeof n.get=="function"&&e.__defineGetter__(t,n.get),typeof n.set=="function"&&e.__defineSetter__(t,n.set)),e)},t.getPrototypeOf=function(e){return Object.getPrototypeOf&&Object.getPrototypeOf(e)||e.__proto__||e.constructor&&e.constructor.prototype},t.getOwnPropertyDescriptor=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var n;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return n=Object.getOwnPropertyDescriptor(e,t),n}catch(r){}n={configurable:!0,enumerable:!0,writable:!0,value:undefined};var i=e.__lookupGetter__&&e.__lookupGetter__(t),s=e.__lookupSetter__&&e.__lookupSetter__(t);if(!i&&!s){if(!o(e,t))return;return n.value=e[t],n}return delete n.writable,delete n.value,n.get=n.set=undefined,i&&(n.get=i),s&&(n.set=s),n}}}(jQuery,jQuery.webshims),jQuery.webshims.register("dom-extend",function(e,t,n,r,i){"use strict";var s=t.modules,o=/\s*,\s*/,u={},a={},f={},l={},c={},h=e.fn.val,p=function(t,n,r,i,s){return s?h.call(e(t)):h.call(e(t),r)};e.fn.val=function(t){var n=this[0];arguments.length&&t==null&&(t="");if(!arguments.length)return!n||n.nodeType!==1?h.call(this):e.prop(n,"value",t,"val",!0);if(e.isArray(t))return h.apply(this,arguments);var r=e.isFunction(t);return this.each(function(s){n=this;if(n.nodeType===1)if(r){var o=t.call(n,s,e.prop(n,"value",i,"val",!0));o==null&&(o=""),e.prop(n,"value",o,"val")}else e.prop(n,"value",t,"val")})};var d="_webshimsLib"+Math.round(Math.random()*1e3),v=function(t,n,r){t=t.jquery?t[0]:t;if(!t)return r||{};var s=e.data(t,d);return r!==i&&(s||(s=e.data(t,d,{})),n&&(s[n]=r)),n?s&&s[n]:s};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(t){e.fn[t.name]=function(){return this.map(function(){var e=v(this,"shadowData");return e&&e[t.prop]||this})}}),["removeAttr","prop","attr"].forEach(function(n){u[n]=e[n],e[n]=function(t,r,s,o,l){var h=o=="val",d=h?p:u[n];if(!t||!a[r]||t.nodeType!==1||!h&&o&&n=="attr"&&e.attrFn[r])return d(t,r,s,o,l);var v=(t.nodeName||"").toLowerCase(),m=f[v],g=n!="attr"||s!==!1&&s!==null?n:"removeAttr",y,b,w;m||(m=f["*"]),m&&(m=m[r]),m&&(y=m[g]);if(y){r=="value"&&(b=y.isVal,y.isVal=h);if(g==="removeAttr")return y.value.call(t);if(s===i)return y.get?y.get.call(t):y.value;y.set&&(n=="attr"&&s===!0&&(s=r),w=y.set.call(t,s)),r=="value"&&(y.isVal=b)}else w=d(t,r,s,o,l);if((s!==i||g==="removeAttr")&&c[v]&&c[v][r]){var E;g=="removeAttr"?E=!1:g=="prop"?E=!!s:E=!0,c[v][r].forEach(function(e){(!e.only||(e.only=n=="prop")||e.only=="attr"&&n!="prop")&&e.call(t,s,E,h?"val":g,n)})}return w},l[n]=function(r,s,o){f[r]||(f[r]={}),f[r][s]||(f[r][s]={});var a=f[r][s][n],l=function(e,t,r){return t&&t[e]?t[e]:r&&r[e]?r[e]:n=="prop"&&s=="value"?function(e){var t=this;return o.isVal?p(t,s,e,!1,arguments.length===0):u[n](t,s,e)}:n=="prop"&&e=="value"&&o.value.apply?function(e){var t=u[n](this,s);return t&&t.apply&&(t=t.apply(this,arguments)),t}:function(e){return u[n](this,s,e)}};f[r][s][n]=o,o.value===i&&(o.set||(o.set=o.writeable?l("set",o,a):t.cfg.useStrict&&s=="prop"?function(){throw s+" is readonly on "+r}:e.noop),o.get||(o.get=l("get",o,a))),["value","get","set"].forEach(function(e){o[e]&&(o["_sup"+e]=l(e,a))})}});var m=!e.browser.msie||parseInt(e.browser.version,10)>8,g=function(){var e=t.getPrototypeOf(r.createElement("foobar")),n=Object.prototype.hasOwnProperty;return function(i,s,o){var u=r.createElement(i),a=t.getPrototypeOf(u);if(m&&a&&e!==a&&(!u[s]||!n.call(u,s))){var f=u[s];o._supvalue=function(){return f&&f.apply?f.apply(this,arguments):f},a[s]=o.value}else o._supvalue=function(){var e=v(this,"propValue");return e&&e[s]&&e[s].apply?e[s].apply(this,arguments):e&&e[s]},y.extendValue(i,s,o.value);o.value._supvalue=o._supvalue}}(),y=function(){var n={};t.addReady(function(r,i){var s={},o=function(t){s[t]||(s[t]=e(r.getElementsByTagName(t)),i[0]&&e.nodeName(i[0],t)&&(s[t]=s[t].add(i)))};e.each(n,function(e,n){o(e);if(!n||!n.forEach){t.warn("Error: with "+e+"-property. methods: "+n);return}n.forEach(function(t){s[e].each(t)})}),s=null});var i,s=e([]),o=function(t,s){n[t]?n[t].push(s):n[t]=[s],e.isDOMReady&&(i||e(r.getElementsByTagName(t))).each(s)},u={};return{createTmpCache:function(t){return e.isDOMReady&&(i=i||e(r.getElementsByTagName(t))),i||s},flushTmpCache:function(){i=null},content:function(t,n){o(t,function(){var t=e.attr(this,n);t!=null&&e.attr(this,n,t)})},createElement:function(e,t){o(e,t)},extendValue:function(t,n,r){o(t,function(){e(this).each(function(){var e=v(this,"propValue",{});e[n]=this[n],this[n]=r})})}}}(),b=function(e,t){e.defaultValue===i&&(e.defaultValue=""),e.removeAttr||(e.removeAttr={value:function(){e[t||"prop"].set.call(this,e.defaultValue),e.removeAttr._supvalue.call(this)}}),e.attr||(e.attr={})};e.extend(t,{getID:function(){var t=(new Date).getTime();return function(n){n=e(n);var r=n.attr("id");return r||(t++,r="ID-"+t,n.attr("id",r)),r}}(),extendUNDEFProp:function(t,n){e.each(n,function(e,n){e in t||(t[e]=n)})},createPropDefault:b,data:v,moveToFirstEvent:function(t,n,r){var i=(e._data(t,"events")||{})[n],s;i&&i.length>1&&(s=i.pop(),r||(r="bind"),r=="bind"&&i.delegateCount?i.splice(i.delegateCount,0,s):i.unshift(s)),t=null},addShadowDom:function(){var i,s,o,u={init:!1,runs:0,test:function(){var e=u.getHeight(),t=u.getWidth();e!=u.height||t!=u.width?(u.height=e,u.width=t,u.handler({type:"docresize"}),u.runs++,u.runs<9&&setTimeout(u.test,90)):u.runs=0},handler:function(t){clearTimeout(i),i=setTimeout(function(){if(t.type=="resize"){var r=e(n).width(),i=e(n).width();if(i==s&&r==o)return;s=i,o=r,u.height=u.getHeight(),u.width=u.getWidth()}e.event.trigger("updateshadowdom")},t.type=="resize"?50:9)},_create:function(){e.each({Height:"getHeight",Width:"getWidth"},function(e,t){var n=r.body,i=r.documentElement;u[t]=function(){return Math.max(n["scroll"+e],i["scroll"+e],n["offset"+e],i["offset"+e],i["client"+e])}})},start:function(){!this.init&&r.body&&(this.init=!0,this._create(),this.height=u.getHeight(),this.width=u.getWidth(),setInterval(this.test,600),e(this.test),t.ready("WINDOWLOAD",this.test),e(n).bind("resize",this.handler),function(){var t=e.fn.animate,n;e.fn.animate=function(){return clearTimeout(n),n=setTimeout(function(){u.test()},99),t.apply(this,arguments)}}())}};return e.event.customEvent.updateshadowdom=!0,t.docObserve=function(){t.ready("DOM",function(){u.start()})},function(n,r,i){i=i||{},n.jquery&&(n=n[0]),r.jquery&&(r=r[0]);var s=e.data(n,d)||e.data(n,d,{}),o=e.data(r,d)||e.data(r,d,{}),u={};i.shadowFocusElement?i.shadowFocusElement&&(i.shadowFocusElement.jquery&&(i.shadowFocusElement=i.shadowFocusElement[0]),u=e.data(i.shadowFocusElement,d)||e.data(i.shadowFocusElement,d,u)):i.shadowFocusElement=r,s.hasShadow=r,u.nativeElement=o.nativeElement=n,u.shadowData=o.shadowData=s.shadowData={nativeElement:n,shadowElement:r,shadowFocusElement:i.shadowFocusElement},i.shadowChilds&&i.shadowChilds.each(function(){v(this,"shadowData",o.shadowData)}),i.data&&(u.shadowData.data=o.shadowData.data=s.shadowData.data=i.data),i=null,t.docObserve()}}(),propTypes:{standard:function(e,t){b(e);if(e.prop)return;e.prop={set:function(t){e.attr.set.call(this,""+t)},get:function(){return e.attr.get.call(this)||e.defaultValue}}},"boolean":function(e,t){b(e);if(e.prop)return;e.prop={set:function(t){t?e.attr.set.call(this,""):e.removeAttr.value.call(this)},get:function(){return e.attr.get.call(this)!=null}}},src:function(){var t=r.createElement("a");return t.style.display="none",function(n,r){b(n);if(n.prop)return;n.prop={set:function(e){n.attr.set.call(this,e)},get:function(){var n=this.getAttribute(r),i;if(n==null)return"";t.setAttribute("href",n+"");if(!e.support.hrefNormalized){try{e(t).insertAfter(this),i=t.getAttribute("href",4)}catch(s){i=t.getAttribute("href",4)}e(t).detach()}return i||t.href}}}}(),enumarated:function(e,t){b(e);if(e.prop)return;e.prop={set:function(t){e.attr.set.call(this,t)},get:function(){var t=(e.attr.get.call(this)||"").toLowerCase();if(!t||e.limitedTo.indexOf(t)==-1)t=e.defaultValue;return t}}}},reflectProperties:function(n,r){typeof r=="string"&&(r=r.split(o)),r.forEach(function(r){t.defineNodeNamesProperty(n,r,{prop:{set:function(t){e.attr(this,r,t)},get:function(){return e.attr(this,r)||""}}})})},defineNodeNameProperty:function(n,r,i){return a[r]=!0,i.reflect&&t.propTypes[i.propType||"standard"](i,r),["prop","attr","removeAttr"].forEach(function(s){var o=i[s];o&&(s==="prop"?o=e.extend({writeable:!0},o):o=e.extend({},o,{writeable:!0}),l[s](n,r,o),n!="*"&&t.cfg.extendNative&&s=="prop"&&o.value&&e.isFunction(o.value)&&g(n,r,o),i[s]=o)}),i.initAttr&&y.content(n,r),i},defineNodeNameProperties:function(e,n,r,i){var s;for(var o in n)!i&&n[o].initAttr&&y.createTmpCache(e),r&&(n[o][r]||(n[o][r]={},["value","set","get"].forEach(function(e){e in n[o]&&(n[o][r][e]=n[o][e],delete n[o][e])}))),n[o]=t.defineNodeNameProperty(e,o,n[o]);return i||y.flushTmpCache(),n},createElement:function(n,r,i){var s;return e.isFunction(r)&&(r={after:r}),y.createTmpCache(n),r.before&&y.createElement(n,r.before),i&&(s=t.defineNodeNameProperties(n,i,!1,!0)),r.after&&y.createElement(n,r.after),y.flushTmpCache(),s},onNodeNamesPropertyModify:function(t,n,r,i){typeof t=="string"&&(t=t.split(o)),e.isFunction(r)&&(r={set:r}),t.forEach(function(e){c[e]||(c[e]={}),typeof n=="string"&&(n=n.split(o)),r.initAttr&&y.createTmpCache(e),n.forEach(function(t){c[e][t]||(c[e][t]=[],a[t]=!0),r.set&&(i&&(r.set.only=i),c[e][t].push(r.set)),r.initAttr&&y.content(e,t)}),y.flushTmpCache()})},defineNodeNamesBooleanProperty:function(n,r,s){s||(s={}),e.isFunction(s)&&(s.set=s),t.defineNodeNamesProperty(n,r,{attr:{set:function(e){this.setAttribute(r,e),s.set&&s.set.call(this,!0)},get:function(){var e=this.getAttribute(r);return e==null?i:r}},removeAttr:{value:function(){this.removeAttribute(r),s.set&&s.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:s.initAttr||!1})},contentAttr:function(e,t,n){if(!e.nodeName)return;var r;if(n===i)return r=e.attributes[t]||{},n=r.specified?r.value:null,n==null?i:n;typeof n=="boolean"?n?e.setAttribute(t,t):e.removeAttribute(t):e.setAttribute(t,n)},activeLang:function(){var n=[],r={},i,o,u=/:\/\/|^\.*\//,a=function(n,r,i){var s;return r&&i&&e.inArray(r,i.availabeLangs||[])!==-1?(n.loading=!0,s=i.langSrc,u.test(s)||(s=t.cfg.basePath+s),t.loader.loadScript(s+r+".js",function(){n.langObj[r]?(n.loading=!1,l(n,!0)):e(function(){n.langObj[r]&&l(n,!0),n.loading=!1})}),!0):!1},f=function(e){r[e]&&r[e].forEach(function(e){e.callback()})},l=function(e,t){if(e.activeLang!=i&&e.activeLang!==o){var n=s[e.module].options;e.langObj[i]||o&&e.langObj[o]?(e.activeLang=i,e.callback(e.langObj[i]||e.langObj[o],i),f(e.module)):!t&&!a(e,i,n)&&!a(e,o,n)&&e.langObj[""]&&e.activeLang!==""&&(e.activeLang="",e.callback(e.langObj[""],i),f(e.module))}},c=function(t){return typeof t=="string"&&t!==i?(i=t,o=i.split("-")[0],i==o&&(o=!1),e.each(n,function(e,t){l(t)})):typeof t=="object"&&(t.register?(r[t.register]||(r[t.register]=[]),r[t.register].push(t),t.callback()):(t.activeLang||(t.activeLang=""),n.push(t),l(t))),i};return c}()}),e.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(e,n){t[e]=function(e,r,i,s){typeof e=="string"&&(e=e.split(o));var u={};return e.forEach(function(e){u[e]=t[n](e,r,i,s)}),u}}),t.isReady("webshimLocalization",!0)}),function(e,t){var n=e.webshims.browserVersion;if(e.browser.mozilla&&n>5)return;if(!e.browser.msie||n<12&&n>7){var r={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},i=function(e,t){var n=e.getAttribute("role");n||e.setAttribute("role",t)};e.webshims.addReady(function(n,s){e.each(r,function(t,r){var o=e(t,n).add(s.filter(t));for(var u=0,a=o.length;u<a;u++)i(o[u],r)});if(n===t){var o=t.getElementsByTagName("header")[0],u=t.getElementsByTagName("footer"),a=u.length;o&&!e(o).closest("section, article")[0]&&i(o,"banner");if(!a)return;var f=u[a-1];e(f).closest("section, article")[0]||i(f,"contentinfo")}})}}(jQuery,document),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),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"))});