webshims-rails 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. data/lib/webshims-rails/version.rb +2 -2
  2. data/vendor/assets/javascripts/webshims/extras/custom-validity.js +261 -261
  3. data/vendor/assets/javascripts/webshims/extras/modernizr-custom.js +534 -534
  4. data/vendor/assets/javascripts/webshims/extras/mousepress.js +60 -60
  5. data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +1 -1
  6. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +24 -24
  7. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/README +82 -82
  8. data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +35 -34
  9. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +79 -82
  10. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +45 -44
  11. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +43 -42
  12. data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +28 -27
  13. data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +4 -4
  14. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +57 -59
  15. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +64 -66
  16. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +53 -54
  17. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +64 -66
  18. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +72 -73
  19. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +42 -46
  20. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +52 -50
  21. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +55 -59
  22. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +66 -64
  23. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +80 -82
  24. data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +60 -59
  25. data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +79 -81
  26. data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +101 -104
  27. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +94 -95
  28. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +26 -29
  29. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +33 -36
  30. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +51 -54
  31. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +27 -28
  32. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +27 -28
  33. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +39 -38
  34. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +65 -68
  35. data/vendor/assets/javascripts/webshims/minified/shims/details.js +4 -4
  36. data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +23 -22
  37. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +19 -22
  38. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +14 -14
  39. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +9 -9
  40. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +18 -19
  41. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +45 -43
  42. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -33
  43. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -34
  44. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +12 -12
  45. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-jaris.js +23 -0
  46. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +1 -1
  47. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +26 -30
  48. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +3 -3
  49. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +689 -686
  50. data/vendor/assets/javascripts/webshims/minified/shims/swf/JarisFLVPlayer.swf +0 -0
  51. data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +9 -9
  52. data/vendor/assets/javascripts/webshims/minified/shims/track.js +21 -21
  53. data/vendor/assets/javascripts/webshims/polyfiller.js +1191 -1175
  54. data/vendor/assets/javascripts/webshims/shims/combos/1.js +1754 -1714
  55. data/vendor/assets/javascripts/webshims/shims/combos/10.js +3247 -3320
  56. data/vendor/assets/javascripts/webshims/shims/combos/11.js +1633 -1588
  57. data/vendor/assets/javascripts/webshims/shims/combos/12.js +1636 -1591
  58. data/vendor/assets/javascripts/webshims/shims/combos/13.js +1100 -1058
  59. data/vendor/assets/javascripts/webshims/shims/combos/14.js +476 -476
  60. data/vendor/assets/javascripts/webshims/shims/combos/15.js +316 -314
  61. data/vendor/assets/javascripts/webshims/shims/combos/16.js +2094 -2104
  62. data/vendor/assets/javascripts/webshims/shims/combos/17.js +2258 -2267
  63. data/vendor/assets/javascripts/webshims/shims/combos/18.js +1380 -1364
  64. data/vendor/assets/javascripts/webshims/shims/combos/19.js +2239 -2247
  65. data/vendor/assets/javascripts/webshims/shims/combos/2.js +2339 -2294
  66. data/vendor/assets/javascripts/webshims/shims/combos/20.js +1493 -1606
  67. data/vendor/assets/javascripts/webshims/shims/combos/21.js +1733 -1635
  68. data/vendor/assets/javascripts/webshims/shims/combos/22.js +2295 -2408
  69. data/vendor/assets/javascripts/webshims/shims/combos/23.js +2269 -2168
  70. data/vendor/assets/javascripts/webshims/shims/combos/24.js +2775 -2780
  71. data/vendor/assets/javascripts/webshims/shims/combos/25.js +1505 -1456
  72. data/vendor/assets/javascripts/webshims/shims/combos/26.js +2111 -2115
  73. data/vendor/assets/javascripts/webshims/shims/combos/27.js +3264 -3331
  74. data/vendor/assets/javascripts/webshims/shims/combos/3.js +3020 -2970
  75. data/vendor/assets/javascripts/webshims/shims/combos/4.js +770 -822
  76. data/vendor/assets/javascripts/webshims/shims/combos/5.js +1025 -1077
  77. data/vendor/assets/javascripts/webshims/shims/combos/59.js +1706 -1753
  78. data/vendor/assets/javascripts/webshims/shims/combos/6.js +444 -433
  79. data/vendor/assets/javascripts/webshims/shims/combos/7.js +699 -688
  80. data/vendor/assets/javascripts/webshims/shims/combos/8.js +1488 -1445
  81. data/vendor/assets/javascripts/webshims/shims/combos/9.js +2445 -2518
  82. data/vendor/assets/javascripts/webshims/shims/details.js +148 -146
  83. data/vendor/assets/javascripts/webshims/shims/dom-extend.js +952 -912
  84. data/vendor/assets/javascripts/webshims/shims/es5.js +802 -802
  85. data/vendor/assets/javascripts/webshims/shims/excanvas.js +924 -924
  86. data/vendor/assets/javascripts/webshims/shims/form-core.js +606 -659
  87. data/vendor/assets/javascripts/webshims/shims/form-datalist.js +681 -676
  88. data/vendor/assets/javascripts/webshims/shims/form-message.js +164 -163
  89. data/vendor/assets/javascripts/webshims/shims/form-native-extend.js +255 -255
  90. data/vendor/assets/javascripts/webshims/shims/form-number-date-api.js +383 -383
  91. data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +61 -50
  92. data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +1569 -1472
  93. data/vendor/assets/javascripts/webshims/shims/geolocation.js +168 -168
  94. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ar.js +32 -32
  95. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ch-ZN.js +32 -32
  96. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-de.txt +33 -33
  97. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-el.js +32 -32
  98. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-en.txt +34 -34
  99. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-es.js +31 -31
  100. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-fr.js +32 -32
  101. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-he.js +32 -32
  102. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hi.js +32 -32
  103. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hu.js +32 -32
  104. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-it.js +32 -32
  105. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ja.js +32 -32
  106. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-nl.js +32 -32
  107. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-pt-PT.js +32 -32
  108. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ru.js +31 -31
  109. data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-sv.js +32 -32
  110. data/vendor/assets/javascripts/webshims/shims/json-storage.js +308 -308
  111. data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +536 -533
  112. data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +861 -0
  113. data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +98 -98
  114. data/vendor/assets/javascripts/webshims/shims/mediaelement-swf.js +957 -1073
  115. data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +543 -543
  116. data/vendor/assets/javascripts/webshims/shims/styles/shim.css +689 -686
  117. data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
  118. data/vendor/assets/javascripts/webshims/shims/track-ui.js +9 -8
  119. data/vendor/assets/javascripts/webshims/shims/track.js +17 -11
  120. metadata +6 -6
  121. data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +0 -7
  122. data/vendor/assets/javascripts/webshims/shims/FlashCanvas/README +0 -62
  123. data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/README +0 -82
  124. data/vendor/assets/javascripts/webshims/shims/form-native-fix.js +0 -261
@@ -1,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);
@@ -6,5 +6,5 @@ a)})})(jQuery,window,document);
6
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
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
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(".form-ui-invalid, .form-ui-valid")&&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,
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
10
  window,document);
@@ -1,30 +1,30 @@
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([]),f=window.Modernizr,r=window.asyncWebshims,y=f.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 f||(d.error("webshims needs Modernizr."+b+" to implement feature."),e=!1)});e&&b&&b()};f.advancedObjectProperties=
2
- f.objectAccessor=f.ES5=!!("create"in p&&"seal"in p);var d={version:"1.9.2",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 g=[],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).bind("load.lP error.lP",i);g.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&&g.push("polyfill-important");g[0]&&c("html").addClass(g.join(" "));k.loadStyles&&t.loadCSS("styles/shim.css");a=c.noop},b;return function(e){var g=[],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)}),g=g.concat(n[b])):(d.error("could not find webshims-feature (aborted): "+b),l(b,!0))});a(e);w(g)}}(),reTest:function(){var a,b,e=function(e,h){var i=m[h],d=h+"Ready",f;if(i&&!i.loaded&&!(i.test&&c.isFunction(i.test)?i.test([]):i.test)){o[d]&&delete o[d];if((f=n[i.f])&&
6
- !b)f.delayReady++,q(h,function(){f.delayReady--;l(i.f,f.callReady)});a.push(h)}};return function(d,h){b=h;"string"==typeof d&&(d=d.split(" "));a=[];c.each(d,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,g){var h=function(a){a=c.event.fix(a);b&&d.capturingEventPrevented&&d.capturingEventPrevented(a);return c.event.handle.call(this,a)};o[g]=o[g]||{};!o[g].setup&&!o[g].teardown&&c.extend(o[g],{setup:function(){this.addEventListener(g,h,!0)},teardown:function(){this.removeEventListener(g,
8
- h,!0)}})}))},register:function(a,b){var e=m[a];if(e){if(e.noAutoCallback){var g=function(){b(c,d,window,document,void 0,e.options);l(a,!0)};e.d?q(e.d,g):g()}}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},g=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,f=[],j,k,l=function(e,h){k=h;c.each(d.c[h],function(b,e){if(-1==c.inArray(e,f)||-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,g(i,h),f.push(i.name));for(j=0,h=f.length;j<h;j++)k=!1,i=f[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=
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
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.23/",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 g=c.prop(this,a);if(g&&g.apply){if(e=g.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,g=this;q("webshimLocalization",function(){d.activeLang.apply(g,c)})}return a}}();c.each(["log","error",
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
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 g=b!==document?c(b):B;c.each(a,function(a,c){c(b,g)})}}}});c.fn.htmlPolyfill=function(b){b=c.fn.html.call(this,b);b===this&&c.isDOMReady&&
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
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
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
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:!(!f.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:f.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){w(["swfobject"])},
20
- noAutoCallback:!0,c:[14]});u("geolocation");j("geolocation",{test:f.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]});u("canvas",function(){var a;j("canvas",{src:"excanvas",test:f.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+
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
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=f.input,b=f.inputtypes,e,g=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(f.formvalidation)s.bustedValidity=!1===f.formattribute||!f.fieldsetdisabled||!("value"in document.createElement("output"))||!(c('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||
23
- !("required"in g)||(g.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;f.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||!f.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.bugs.valueAsNumberSet},d:["forms",
26
- "dom-support"],c:[18,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},
27
- d:["form-core","dom-support"],c:[3,59,18,24,19,11]})});"details"in f||y("details",function(){return"open"in document.createElement("details")});j("details",{test:f.details,d:["dom-support"],options:{text:"Details"},c:[12,13,15]});u("audio video texttrackapi");d.mediaelement={};j("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,d:["swfobject","dom-support"],c:[27,10,9,12,17,26,16,25,8,22,23,24,20]});j("mediaelement-swf",{f:"mediaelement",options:{hasToPlay:"any",preferFlash:!1,jwVars:{},jwParams:{},
28
- jwAttrs:{},changeJW:c.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfobject","dom-support"],test:function(){if(!f.audio||!f.video)return!1;var a=this.options,b=a.hasToPlay;return!((!window.swfobject||window.swfobject.hasFlashPlayerVersion("9.0.115"))&&(a.preferFlash||"any"!=b&&!f.video[b]&&!f.audio[b]))},c:[27,10,9,22,20]});s.track=f.track&&(!f.texttrackapi||"string"!=typeof(document.createElement("track").track||{}).mode);j("track",{options:{positionDisplay:!0,override:s.track},
29
- test:function(){return f.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: "+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),
30
- "polyfill"in r&&d.polyfill(r.polyfill))});
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,82 +1,82 @@
1
- FlashCanvas Pro
2
- ===============
3
-
4
- An implementation of the HTML5 Canvas API for Internet Explorer.
5
-
6
-
7
- Description
8
- -----------
9
-
10
- FlashCanvas is a JavaScript library which adds the HTML5 Canvas support
11
- to Internet Explorer. It renders shapes and images via Flash drawing
12
- API, and in many cases, runs faster than other similar libraries which
13
- use VML or Silverlight.
14
-
15
- FlashCanvas Pro is a professional edition of FlashCanvas. It supports
16
- almost all Canvas APIs including text, shadow and pixel manipulation.
17
- Moreover, it utilizes Flash Player 10 features if available, that
18
- provides better performance and compatibility.
19
-
20
-
21
- Requirements
22
- ------------
23
-
24
- * Microsoft Internet Explorer
25
- * Adobe Flash Player 9 or later
26
-
27
-
28
- Usage
29
- -----
30
-
31
- FlashCanvas Pro consists of JavaScript, Flash and PHP files:
32
-
33
- * flashcanvas.js
34
- * flash9canvas.swf
35
- * flash10canvas.swf
36
- * canvas2png.js (helps you to save a canvas image)
37
- * proxy.php (used to load a file from other domain)
38
- * save.php (used to save a canvas image)
39
-
40
- These files can be found in the bin directory in this distribution
41
- package. To install FlashCanvas Pro, copy these files into some
42
- directory on a Web server, and then add the following HTML code between
43
- <head> and </head> tags on your web page.
44
-
45
- <!--[if lt IE 9]>
46
- <script type="text/javascript" src="path/to/flashcanvas.js"></script>
47
- <![endif]-->
48
-
49
- That's all you have to do in most cases. For more details, please read
50
- the online manual at the project page.
51
-
52
-
53
- License
54
- -------
55
-
56
- FlashCanvas Pro is released under the FlashCanvas Pro License. This
57
- license is based on the MIT License, but includes the following
58
- modifications:
59
-
60
- * Remove the rights to "sublicense, and/or sell copies of the Software".
61
- * Permit to use "free of charge" only for non-profit use.
62
- * Add conditions for commercial use.
63
-
64
- As a result, FlashCanvas Pro is available free of charge for non-profit
65
- use. If you use FlashCanvas Pro for commercial purposes, however, you
66
- are required to purchase a commercial license. This commercial license
67
- includes the following rights:
68
-
69
- * The licensee can use FlashCanvas Pro as many times as needed.
70
- * The licensee can download the latest version of FlashCanvas Pro as
71
- many times as needed.
72
-
73
-
74
- Contact
75
- -------
76
-
77
- If you have a question about FlashCanvas Pro, please utilize the
78
- discussion group and issue tracker found at the project page. If you
79
- need to contact us directly, you can reach us at the e-mail address.
80
-
81
- Project page: http://flashcanvas.net/
82
- E-mail: info@flashcanvas.net
1
+ FlashCanvas Pro
2
+ ===============
3
+
4
+ An implementation of the HTML5 Canvas API for Internet Explorer.
5
+
6
+
7
+ Description
8
+ -----------
9
+
10
+ FlashCanvas is a JavaScript library which adds the HTML5 Canvas support
11
+ to Internet Explorer. It renders shapes and images via Flash drawing
12
+ API, and in many cases, runs faster than other similar libraries which
13
+ use VML or Silverlight.
14
+
15
+ FlashCanvas Pro is a professional edition of FlashCanvas. It supports
16
+ almost all Canvas APIs including text, shadow and pixel manipulation.
17
+ Moreover, it utilizes Flash Player 10 features if available, that
18
+ provides better performance and compatibility.
19
+
20
+
21
+ Requirements
22
+ ------------
23
+
24
+ * Microsoft Internet Explorer
25
+ * Adobe Flash Player 9 or later
26
+
27
+
28
+ Usage
29
+ -----
30
+
31
+ FlashCanvas Pro consists of JavaScript, Flash and PHP files:
32
+
33
+ * flashcanvas.js
34
+ * flash9canvas.swf
35
+ * flash10canvas.swf
36
+ * canvas2png.js (helps you to save a canvas image)
37
+ * proxy.php (used to load a file from other domain)
38
+ * save.php (used to save a canvas image)
39
+
40
+ These files can be found in the bin directory in this distribution
41
+ package. To install FlashCanvas Pro, copy these files into some
42
+ directory on a Web server, and then add the following HTML code between
43
+ <head> and </head> tags on your web page.
44
+
45
+ <!--[if lt IE 9]>
46
+ <script type="text/javascript" src="path/to/flashcanvas.js"></script>
47
+ <![endif]-->
48
+
49
+ That's all you have to do in most cases. For more details, please read
50
+ the online manual at the project page.
51
+
52
+
53
+ License
54
+ -------
55
+
56
+ FlashCanvas Pro is released under the FlashCanvas Pro License. This
57
+ license is based on the MIT License, but includes the following
58
+ modifications:
59
+
60
+ * Remove the rights to "sublicense, and/or sell copies of the Software".
61
+ * Permit to use "free of charge" only for non-profit use.
62
+ * Add conditions for commercial use.
63
+
64
+ As a result, FlashCanvas Pro is available free of charge for non-profit
65
+ use. If you use FlashCanvas Pro for commercial purposes, however, you
66
+ are required to purchase a commercial license. This commercial license
67
+ includes the following rights:
68
+
69
+ * The licensee can use FlashCanvas Pro as many times as needed.
70
+ * The licensee can download the latest version of FlashCanvas Pro as
71
+ many times as needed.
72
+
73
+
74
+ Contact
75
+ -------
76
+
77
+ If you have a question about FlashCanvas Pro, please utilize the
78
+ discussion group and issue tracker found at the project page. If you
79
+ need to contact us directly, you can reach us at the e-mail address.
80
+
81
+ Project page: http://flashcanvas.net/
82
+ E-mail: info@flashcanvas.net
@@ -1,37 +1,38 @@
1
- (function(){var a=Function.prototype.call,i=Object.prototype,l=Array.prototype.slice,j,m;if(!Function.prototype.bind)Function.prototype.bind=function(a){var f=this;if("function"!=typeof f)throw new TypeError;var e=l.call(arguments,1),c=function(){if(this instanceof c){var b=function(){};b.prototype=f.prototype;var b=new b,d=f.apply(b,e.concat(l.call(arguments)));return null!==d&&Object(d)===d?d:b}return f.apply(a,e.concat(l.call(arguments)))};return c};m=a.bind(i.toString);j=a.bind(i.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==m(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,f){var e=s(this),c=0,b=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(;c<b;)c in e&&a.call(f,e[c],c,e),c++};if(!Array.prototype.map)Array.prototype.map=function(a,f){var e=s(this),c=e.length>>>0,b=Array(c);if("[object Function]"!=m(a))throw new TypeError;for(var d=0;d<c;d++)d in e&&(b[d]=a.call(f,e[d],d,e));return b};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,f){var e=s(this),c=e.length>>>0,b=[];if("[object Function]"!=m(a))throw new TypeError;for(var d=0;d<c;d++)d in e&&a.call(f,e[d],d,e)&&b.push(e[d]);return b};if(!Array.prototype.every)Array.prototype.every=function(a,f){var e=s(this),c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(var b=0;b<c;b++)if(b in e&&!a.call(f,e[b],b,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,f){var e=s(this),c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;
4
- for(var b=0;b<c;b++)if(b in e&&a.call(f,e[b],b,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var f=s(this),e=f.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c=0,b;if(2<=arguments.length)b=arguments[1];else{do{if(c in f){b=f[c++];break}if(++c>=e)throw new TypeError;}while(1)}for(;c<e;c++)c in f&&(b=a.call(void 0,b,f[c],c,f));return b};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var f=
5
- s(this),e=f.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c,e=e-1;if(2<=arguments.length)c=arguments[1];else{do{if(e in f){c=f[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(c=a.call(void 0,c,f[e],e,f));while(e--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var f=s(this),e=f.length>>>0;if(!e)return-1;var c=0;1<arguments.length&&(c=p(arguments[1]));for(c=0<=c?c:e-Math.abs(c);c<e;c++)if(c in
6
- f&&f[c]===a)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var f=s(this),e=f.length>>>0;if(!e)return-1;var c=e-1;1<arguments.length&&(c=p(arguments[1]));for(c=0<=c?c:e-Math.abs(c);0<=c;c--)if(c in f&&a===f[c])return c;return-1};if(2!=[1,2].splice(0).length){var r=Array.prototype.splice;Array.prototype.splice=function(a,f){return!arguments.length?[]:r.apply(this,[void 0===a?0:a,void 0===f?this.length-a:f].concat(l.call(arguments,2)))}}if(!Object.keys){var h=
7
- !0,q="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),k=q.length,n;for(n in{toString:null})h=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var f=[],e;for(e in a)j(a,e)&&f.push(e);if(h)for(e=0;e<k;e++){var c=q[e];j(a,c)&&f.push(c)}return f}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,f,e;if(!isFinite(this))throw new RangeError;
8
- a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(f=a.length;f--;)e=a[f],10>e&&(a[f]="0"+e);return a.slice(0,3).join("-")+"T"+a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";
9
- if(!String.prototype.trim||a.trim()){var a="["+a+"]",x=RegExp("^"+a+a+"*"),t=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(x,"").replace(t,"")}}if("0".split(void 0,0).length){var v=String.prototype.split;String.prototype.split=function(a,f){return void 0===a&&0===f?[]:v.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var y=String.prototype.substr;String.prototype.substr=function(a,f){return y.call(this,0>a?0>(a=this.length+a)?0:a:a,f)}}var p=function(a){a=+a;
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
10
  a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},u="a"!="a"[0],s=function(a){if(null==a)throw new TypeError;return u&&"string"==typeof a&&a?a.split(""):Object(a)}})();
11
- (function(a,i){var l=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);l&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});l=!!a.bar}catch(i){l=!1}a=null}();Modernizr.objectAccessor=!(!(l||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=i.browserVersion));Modernizr.advancedObjectProperties=l;
12
- if(!l||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var j=Function.prototype.call.bind(Object.prototype.hasOwnProperty);i.objectCreate=function(a,r,h,j){var k;k=function(){};k.prototype=a;k=new k;if(!j&&!("__proto__"in k)&&!Modernizr.objectAccessor)k.__proto__=a;r&&i.defineProperties(k,r);if(h)k.options=jQuery.extend(!0,{},k.options||{},h),h=k.options;k._create&&jQuery.isFunction(k._create)&&k._create(h);return k};i.defineProperties=function(a,
13
- r){for(var h in r)j(r,h)&&i.defineProperty(a,h,r[h]);return a};i.defineProperty=function(a,i,h){if("object"!=typeof h||null===h)return a;if(j(h,"value"))return a[i]=h.value,a;a.__defineGetter__&&("function"==typeof h.get&&a.__defineGetter__(i,h.get),"function"==typeof h.set&&a.__defineSetter__(i,h.set));return a};i.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};i.getOwnPropertyDescriptor=function(a,i){if("object"!==
14
- typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var h;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return h=Object.getOwnPropertyDescriptor(a,i)}catch(l){}h={configurable:!0,enumerable:!0,writable:!0,value:void 0};var k=a.__lookupGetter__&&a.__lookupGetter__(i),n=a.__lookupSetter__&&a.__lookupSetter__(i);if(!k&&!n){if(!j(a,i))return;h.value=a[i];return h}delete h.writable;delete h.value;h.get=h.set=void 0;if(k)h.get=
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
15
  k;if(n)h.set=n;return h}}})(jQuery,jQuery.webshims);
16
- jQuery.webshims.register("dom-extend",function(a,i,l,j,m){var r=i.modules,h=/\s*,\s*/,q={},k={},n={},x={},t={},v=a.fn.val,y=function(c,b,d,g,o){return o?v.call(a(c)):v.call(a(c),d)};a.fn.val=function(c){var b=this[0];arguments.length&&null==c&&(c="");if(!arguments.length)return!b||1!==b.nodeType?v.call(this):a.prop(b,"value",c,"val",!0);if(a.isArray(c))return v.apply(this,arguments);var d=a.isFunction(c);return this.each(function(g){b=this;1===b.nodeType&&(d?(g=c.call(b,g,a.prop(b,"value",m,"val",
17
- !0)),null==g&&(g=""),a.prop(b,"value",g,"val")):a.prop(b,"value",c,"val"))})};var p="_webshimsLib"+Math.round(1E3*Math.random()),u=function(c,b,d){c=c.jquery?c[0]:c;if(!c)return d||{};var g=a.data(c,p);d!==m&&(g||(g=a.data(c,p,{})),b&&(g[b]=d));return b?g&&g[b]:g};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(c){a.fn[c.name]=function(){return this.map(function(){var a=u(this,
18
- "shadowData");return a&&a[c.prop]||this})}});["removeAttr","prop","attr"].forEach(function(c){q[c]=a[c];a[c]=function(b,d,g,o,e){var f="val"==o,i=!f?q[c]:y;if(!b||!k[d]||1!==b.nodeType||!f&&o&&"attr"==c&&a.attrFn[d])return i(b,d,g,o,e);var A=(b.nodeName||"").toLowerCase(),h=n[A],w="attr"==c&&(!1===g||null===g)?"removeAttr":c,j,l,r;h||(h=n["*"]);h&&(h=h[d]);h&&(j=h[w]);if(j){if("value"==d)l=j.isVal,j.isVal=f;if("removeAttr"===w)return j.value.call(b);if(g===m)return j.get?j.get.call(b):j.value;j.set&&
19
- ("attr"==c&&!0===g&&(g=d),r=j.set.call(b,g));if("value"==d)j.isVal=l}else r=i(b,d,g,o,e);if((g!==m||"removeAttr"===w)&&t[A]&&t[A][d]){var p;p="removeAttr"==w?!1:"prop"==w?!!g:!0;t[A][d].forEach(function(a){if(!a.only||(a.only="prop"==c)||"attr"==a.only&&"prop"!=c)a.call(b,g,p,f?"val":w,c)})}return r};x[c]=function(b,d,g){n[b]||(n[b]={});n[b][d]||(n[b][d]={});var o=n[b][d][c],e=function(a,b,o){return b&&b[a]?b[a]:o&&o[a]?o[a]:"prop"==c&&"value"==d?function(a){return g.isVal?y(this,d,a,!1,0===arguments.length):
20
- q[c](this,d,a)}:"prop"==c&&"value"==a&&g.value.apply?function(a){var b=q[c](this,d);b&&b.apply&&(b=b.apply(this,arguments));return b}:function(a){return q[c](this,d,a)}};n[b][d][c]=g;if(g.value===m){if(!g.set)g.set=g.writeable?e("set",g,o):i.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+b;}:a.noop;if(!g.get)g.get=e("get",g,o)}["value","get","set"].forEach(function(a){g[a]&&(g["_sup"+a]=e(a,o))})}});var s=!a.browser.msie||8<parseInt(a.browser.version,10),B=function(){var a=i.getPrototypeOf(j.createElement("foobar")),
21
- b=Object.prototype.hasOwnProperty;return function(d,g,o){var e=j.createElement(d),h=i.getPrototypeOf(e);if(s&&h&&a!==h&&(!e[g]||!b.call(e,g))){var z=e[g];o._supvalue=function(){return z&&z.apply?z.apply(this,arguments):z};h[g]=o.value}else o._supvalue=function(){var a=u(this,"propValue");return a&&a[g]&&a[g].apply?a[g].apply(this,arguments):a&&a[g]},f.extendValue(d,g,o.value);o.value._supvalue=o._supvalue}}(),f=function(){var c={};i.addReady(function(b,d){var g={},e=function(c){g[c]||(g[c]=a(b.getElementsByTagName(c)),
22
- d[0]&&a.nodeName(d[0],c)&&(g[c]=g[c].add(d)))};a.each(c,function(a,c){e(a);!c||!c.forEach?i.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){g[a].each(c)})});g=null});var b,d=a([]),g=function(d,g){c[d]?c[d].push(g):c[d]=[g];a.isDOMReady&&(b||a(j.getElementsByTagName(d))).each(g)};return{createTmpCache:function(c){a.isDOMReady&&(b=b||a(j.getElementsByTagName(c)));return b||d},flushTmpCache:function(){b=null},content:function(c,b){g(c,function(){var c=a.attr(this,b);null!=c&&a.attr(this,
23
- b,c)})},createElement:function(a,c){g(a,c)},extendValue:function(c,b,d){g(c,function(){a(this).each(function(){u(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),e=function(a,b){if(a.defaultValue===m)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(i,{getID:function(){var c=(new Date).getTime();return function(b){var b=a(b),d=b.attr("id");d||(c++,d="ID-"+c,b.attr("id",d));
24
- return d}}(),extendUNDEFProp:function(c,b){a.each(b,function(a,b){a in c||(c[a]=b)})},createPropDefault:e,data:u,moveToFirstEvent:function(){var c=a._data?"_data":"data";return function(b,d,g){if((b=(a[c](b,"events")||{})[d])&&1<b.length)d=b.pop(),g||(g="bind"),"bind"==g&&b.delegateCount?b.splice(b.delegateCount,0,d):b.unshift(d)}}(),addShadowDom:function(){var c,b,d,g,e={init:!1,start:function(){if(!this.init&&j.body)this.init=!0,this.height=a(j).height(),this.width=a(j).width(),setInterval(function(){var c=
25
- a(j).height(),b=a(j).width();if(c!=e.height||b!=e.width)e.height=c,e.width=b,g({type:"docresize"})},600)}};g=function(g){clearTimeout(c);c=setTimeout(function(){if("resize"==g.type){var c=a(l).width(),f=a(l).width();if(f==b&&c==d)return;b=f;d=c;if(j.body)e.height=a(j).height(),e.width=a(j).width()}a.event.trigger("updateshadowdom")},40)};a(l).bind("resize",g);a.event.customEvent.updateshadowdom=!0;return function(c,b,d){d=d||{};c.jquery&&(c=c[0]);b.jquery&&(b=b[0]);var g=a.data(c,p)||a.data(c,p,{}),
26
- f=a.data(b,p)||a.data(b,p,{}),h={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];h=a.data(d.shadowFocusElement,p)||a.data(d.shadowFocusElement,p,h)}}else d.shadowFocusElement=b;g.hasShadow=b;h.nativeElement=f.nativeElement=c;h.shadowData=f.shadowData=g.shadowData={nativeElement:c,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){u(this,"shadowData",f.shadowData)});
27
- if(d.data)h.shadowData.data=f.shadowData.data=g.shadowData.data=d.data;d=null;i.ready("DOM",function(){e.start()})}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},src:function(){var c=j.createElement("a");c.style.display=
28
- "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(f){e=c.getAttribute("href",4)}a(c).detach()}return e||c.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var b=(a.attr.get.call(this)||"").toLowerCase();if(!b||-1==
29
- 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(g){var e=d[g];e&&(e="prop"===g?a.extend({writeable:!0},e):a.extend({},e,{writeable:!0}),x[g](c,
30
- b,e),"*"!=c&&i.cfg.extendNative&&"prop"==g&&e.value&&a.isFunction(e.value)&&B(c,b,e),d[g]=e)});d.initAttr&&f.content(c,b);return d},defineNodeNameProperties:function(a,b,d,g){for(var e in b)!g&&b[e].initAttr&&f.createTmpCache(a),d&&!b[e][d]&&(b[e][d]={},["value","set","get"].forEach(function(a){a in b[e]&&(b[e][d][a]=b[e][a],delete b[e][a])})),b[e]=i.defineNodeNameProperty(a,e,b[e]);g||f.flushTmpCache();return b},createElement:function(c,b,d){var e;a.isFunction(b)&&(b={after:b});f.createTmpCache(c);
31
- b.before&&f.createElement(c,b.before);d&&(e=i.defineNodeNameProperties(c,d,!1,!0));b.after&&f.createElement(c,b.after);f.flushTmpCache();return e},onNodeNamesPropertyModify:function(c,b,d,e){"string"==typeof c&&(c=c.split(h));a.isFunction(d)&&(d={set:d});c.forEach(function(a){t[a]||(t[a]={});"string"==typeof b&&(b=b.split(h));d.initAttr&&f.createTmpCache(a);b.forEach(function(b){t[a][b]||(t[a][b]=[],k[b]=!0);if(d.set){if(e)d.set.only=e;t[a][b].push(d.set)}d.initAttr&&f.content(a,b)});f.flushTmpCache()})},
32
- 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]||{},d=a.specified?a.value:null,null==d?m:d;
33
- "boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var c=[],b={},d,e,f=/:\/\/|^\.*\//,h=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,f.test(d)||(d=i.cfg.basePath+d),i.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,k(b,!0)):a(function(){b.langObj[c]&&k(b,!0);b.loading=!1})}),!0):!1},j=function(a){b[a]&&b[a].forEach(function(a){a.callback()})},k=function(a,b){if(a.activeLang!=d&&
34
- a.activeLang!==e){var c=r[a.module].options;if(a.langObj[d]||e&&a.langObj[e])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[e],d),j(a.module);else if(!b&&!h(a,d,c)&&!h(a,e,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),j(a.module)}};return function(f){if("string"==typeof f&&f!==d)d=f,e=d.split("-")[0],d==e&&(e=!1),a.each(c,function(a,b){k(b)});else if("object"==typeof f)if(f.register)b[f.register]||(b[f.register]=[]),b[f.register].push(f),f.callback();else{if(!f.activeLang)f.activeLang=
35
- "";c.push(f);k(f)}return d}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){i[a]=function(a,c,e,f){"string"==typeof a&&(a=a.split(h));var j={};a.forEach(function(a){j[a]=i[b](a,c,e,f)});return j}});i.isReady("webshimLocalization",!0)});
36
- (function(a,i){var l=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<l)&&(!a.browser.msie||12>l&&7<l)){var j={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},m=function(a,h){a.getAttribute("role")||a.setAttribute("role",h)};a.webshims.addReady(function(l,h){a.each(j,function(i,j){for(var k=a(i,l).add(h.filter(i)),n=0,p=k.length;n<p;n++)m(k[n],j)});if(l===i){var q=i.getElementsByTagName("header")[0],k=i.getElementsByTagName("footer"),n=k.length;
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;
37
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,83 +1,80 @@
1
- (function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,l,m;if(!Function.prototype.bind)Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var e=h.call(arguments,1),d=function(){if(this instanceof d){var c=function(){};c.prototype=b.prototype;var c=new c,f=b.apply(c,e.concat(h.call(arguments)));return null!==f&&Object(f)===f?f:c}return b.apply(a,e.concat(h.call(arguments)))};return d};m=a.bind(b.toString);l=a.bind(b.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==m(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){var e=k(this),d=0,c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(;d<c;)d in e&&a.call(b,e[d],d,e),d++};if(!Array.prototype.map)Array.prototype.map=function(a,b){var e=k(this),d=e.length>>>0,c=Array(d);if("[object Function]"!=m(a))throw new TypeError;for(var f=0;f<d;f++)f in e&&(c[f]=a.call(b,e[f],f,e));return c};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,b){var e=k(this),d=e.length>>>0,c=[];if("[object Function]"!=m(a))throw new TypeError;for(var f=0;f<d;f++)f in e&&a.call(b,e[f],f,e)&&c.push(e[f]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,b){var e=k(this),d=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(var c=0;c<d;c++)if(c in e&&!a.call(b,e[c],c,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var e=k(this),d=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;
4
- for(var c=0;c<d;c++)if(c in e&&a.call(b,e[c],c,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=k(this),e=b.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d=0,c;if(2<=arguments.length)c=arguments[1];else{do{if(d in b){c=b[d++];break}if(++d>=e)throw new TypeError;}while(1)}for(;d<e;d++)d in b&&(c=a.call(void 0,c,b[d],d,b));return c};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var b=
5
- k(this),e=b.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d,e=e-1;if(2<=arguments.length)d=arguments[1];else{do{if(e in b){d=b[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(d=a.call(void 0,d,b[e],e,b));while(e--);return d};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=k(this),e=b.length>>>0;if(!e)return-1;var d=0;1<arguments.length&&(d=x(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=k(this),e=b.length>>>0;if(!e)return-1;var d=e-1;1<arguments.length&&(d=x(arguments[1]));for(d=0<=d?d:e-Math.abs(d);0<=d;d--)if(d in b&&a===b[d])return d;return-1};if(2!=[1,2].splice(0).length){var s=Array.prototype.splice;Array.prototype.splice=function(a,b){return!arguments.length?[]:s.apply(this,[void 0===a?0:a,void 0===b?this.length-a:b].concat(h.call(arguments,2)))}}if(!Object.keys){var g=
7
- !0,t="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),j=t.length,o;for(o in{toString:null})g=!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)l(a,e)&&b.push(e);if(g)for(e=0;e<j;e++){var d=t[e];l(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;
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
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+"]",y=RegExp("^"+a+a+"*"),r=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(y,"").replace(r,"")}}if("0".split(void 0,0).length){var z=String.prototype.split;String.prototype.split=function(a,b){return void 0===a&&0===b?[]:z.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var E=String.prototype.substr;String.prototype.substr=function(a,b){return E.call(this,0>a?0>(a=this.length+a)?0:a:a,b)}}var x=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},p="a"!="a"[0],k=function(a){if(null==a)throw new TypeError;return p&&"string"==typeof a&&a?a.split(""):Object(a)}})();
11
- (function(a,b){var h=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);h&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});h=!!a.bar}catch(b){h=!1}a=null}();Modernizr.objectAccessor=!(!(h||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=h;
12
- if(!h||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var l=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,h,g,l){var j;j=function(){};j.prototype=a;j=new j;if(!l&&!("__proto__"in j)&&!Modernizr.objectAccessor)j.__proto__=a;h&&b.defineProperties(j,h);if(g)j.options=jQuery.extend(!0,{},j.options||{},g),g=j.options;j._create&&jQuery.isFunction(j._create)&&j._create(g);return j};b.defineProperties=function(a,
13
- h){for(var g in h)l(h,g)&&b.defineProperty(a,g,h[g]);return a};b.defineProperty=function(a,b,g){if("object"!=typeof g||null===g)return a;if(l(g,"value"))return a[b]=g.value,a;a.__defineGetter__&&("function"==typeof g.get&&a.__defineGetter__(b,g.get),"function"==typeof g.set&&a.__defineSetter__(b,g.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 g;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return g=Object.getOwnPropertyDescriptor(a,b)}catch(h){}g={configurable:!0,enumerable:!0,writable:!0,value:void 0};var j=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!j&&!o){if(!l(a,b))return;g.value=a[b];return g}delete g.writable;delete g.value;g.get=g.set=void 0;if(j)g.get=
15
- j;if(o)g.set=o;return g}}})(jQuery,jQuery.webshims);
16
- jQuery.webshims.register("dom-extend",function(a,b,h,l,m){var s=b.modules,g=/\s*,\s*/,t={},j={},o={},y={},r={},z=a.fn.val,E=function(d,c,f,b,A){return A?z.call(a(d)):z.call(a(d),f)};a.fn.val=function(d){var c=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!c||1!==c.nodeType?z.call(this):a.prop(c,"value",d,"val",!0);if(a.isArray(d))return z.apply(this,arguments);var f=a.isFunction(d);return this.each(function(b){c=this;1===c.nodeType&&(f?(b=d.call(c,b,a.prop(c,"value",m,"val",
17
- !0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",d,"val"))})};var x="_webshimsLib"+Math.round(1E3*Math.random()),p=function(d,c,b){d=d.jquery?d[0]:d;if(!d)return b||{};var i=a.data(d,x);b!==m&&(i||(i=a.data(d,x,{})),c&&(i[c]=b));return c?i&&i[c]:i};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(d){a.fn[d.name]=function(){return this.map(function(){var a=p(this,
18
- "shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){t[d]=a[d];a[d]=function(c,b,i,A,e){var q="val"==A,u=!q?t[d]:E;if(!c||!j[b]||1!==c.nodeType||!q&&A&&"attr"==d&&a.attrFn[b])return u(c,b,i,A,e);var B=(c.nodeName||"").toLowerCase(),C=o[B],D="attr"==d&&(!1===i||null===i)?"removeAttr":d,g,h,k;C||(C=o["*"]);C&&(C=C[b]);C&&(g=C[D]);if(g){if("value"==b)h=g.isVal,g.isVal=q;if("removeAttr"===D)return g.value.call(c);if(i===m)return g.get?g.get.call(c):g.value;g.set&&
19
- ("attr"==d&&!0===i&&(i=b),k=g.set.call(c,i));if("value"==b)g.isVal=h}else k=u(c,b,i,A,e);if((i!==m||"removeAttr"===D)&&r[B]&&r[B][b]){var z;z="removeAttr"==D?!1:"prop"==D?!!i:!0;r[B][b].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(c,i,z,q?"val":D,d)})}return k};y[d]=function(c,f,i){o[c]||(o[c]={});o[c][f]||(o[c][f]={});var A=o[c][f][d],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==d&&"value"==f?function(a){return i.isVal?E(this,f,a,!1,0===arguments.length):
20
- t[d](this,f,a)}:"prop"==d&&"value"==a&&i.value.apply?function(a){var c=t[d](this,f);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[d](this,f,a)}};o[c][f][d]=i;if(i.value===m){if(!i.set)i.set=i.writeable?e("set",i,A):b.cfg.useStrict&&"prop"==f?function(){throw f+" is readonly on "+c;}:a.noop;if(!i.get)i.get=e("get",i,A)}["value","get","set"].forEach(function(a){i[a]&&(i["_sup"+a]=e(a,A))})}});var k=!a.browser.msie||8<parseInt(a.browser.version,10),n=function(){var a=b.getPrototypeOf(l.createElement("foobar")),
21
- c=Object.prototype.hasOwnProperty;return function(f,i,e){var g=l.createElement(f),q=b.getPrototypeOf(g);if(k&&q&&a!==q&&(!g[i]||!c.call(g,i))){var u=g[i];e._supvalue=function(){return u&&u.apply?u.apply(this,arguments):u};q[i]=e.value}else e._supvalue=function(){var a=p(this,"propValue");return a&&a[i]&&a[i].apply?a[i].apply(this,arguments):a&&a[i]},v.extendValue(f,i,e.value);e.value._supvalue=e._supvalue}}(),v=function(){var d={};b.addReady(function(c,f){var q={},u=function(d){q[d]||(q[d]=a(c.getElementsByTagName(d)),
22
- f[0]&&a.nodeName(f[0],d)&&(q[d]=q[d].add(f)))};a.each(d,function(a,d){u(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){q[a].each(d)})});q=null});var c,f=a([]),i=function(b,f){d[b]?d[b].push(f):d[b]=[f];a.isDOMReady&&(c||a(l.getElementsByTagName(b))).each(f)};return{createTmpCache:function(d){a.isDOMReady&&(c=c||a(l.getElementsByTagName(d)));return c||f},flushTmpCache:function(){c=null},content:function(d,c){i(d,function(){var d=a.attr(this,c);null!=d&&a.attr(this,
23
- c,d)})},createElement:function(a,d){i(a,d)},extendValue:function(d,c,b){i(d,function(){a(this).each(function(){p(this,"propValue",{})[c]=this[c];this[c]=b})})}}}(),e=function(a,c){if(a.defaultValue===m)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(b,{getID:function(){var d=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(d++,b="ID-"+d,c.attr("id",b));
24
- return b}}(),extendUNDEFProp:function(d,c){a.each(c,function(a,c){a in d||(d[a]=c)})},createPropDefault:e,data:p,moveToFirstEvent:function(){var d=a._data?"_data":"data";return function(c,b,i){if((c=(a[d](c,"events")||{})[b])&&1<c.length)b=c.pop(),i||(i="bind"),"bind"==i&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(){var d,c,f,i,e={init:!1,start:function(){if(!this.init&&l.body)this.init=!0,this.height=a(l).height(),this.width=a(l).width(),setInterval(function(){var d=
25
- a(l).height(),c=a(l).width();if(d!=e.height||c!=e.width)e.height=d,e.width=c,i({type:"docresize"})},600)}};i=function(b){clearTimeout(d);d=setTimeout(function(){if("resize"==b.type){var d=a(h).width(),u=a(h).width();if(u==c&&d==f)return;c=u;f=d;if(l.body)e.height=a(l).height(),e.width=a(l).width()}a.event.trigger("updateshadowdom")},40)};a(h).bind("resize",i);a.event.customEvent.updateshadowdom=!0;return function(d,c,f){f=f||{};d.jquery&&(d=d[0]);c.jquery&&(c=c[0]);var B=a.data(d,x)||a.data(d,x,{}),
26
- i=a.data(c,x)||a.data(c,x,{}),g={};if(f.shadowFocusElement){if(f.shadowFocusElement){if(f.shadowFocusElement.jquery)f.shadowFocusElement=f.shadowFocusElement[0];g=a.data(f.shadowFocusElement,x)||a.data(f.shadowFocusElement,x,g)}}else f.shadowFocusElement=c;B.hasShadow=c;g.nativeElement=i.nativeElement=d;g.shadowData=i.shadowData=B.shadowData={nativeElement:d,shadowElement:c,shadowFocusElement:f.shadowFocusElement};f.shadowChilds&&f.shadowChilds.each(function(){p(this,"shadowData",i.shadowData)});
27
- if(f.data)g.shadowData.data=i.shadowData.data=B.shadowData.data=f.data;f=null;b.ready("DOM",function(){e.start()})}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},src:function(){var d=l.createElement("a");d.style.display=
28
- "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(g){e=d.getAttribute("href",4)}a(d).detach()}return e||d.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,c)},get:function(){var c=(a.attr.get.call(this)||"").toLowerCase();if(!c||-1==
29
- a.limitedTo.indexOf(c))c=a.defaultValue;return c}}}},reflectProperties:function(d,c){"string"==typeof c&&(c=c.split(g));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,f){j[c]=!0;if(f.reflect)b.propTypes[f.propType||"standard"](f,c);["prop","attr","removeAttr"].forEach(function(e){var g=f[e];g&&(g="prop"===e?a.extend({writeable:!0},g):a.extend({},g,{writeable:!0}),y[e](d,
30
- c,g),"*"!=d&&b.cfg.extendNative&&"prop"==e&&g.value&&a.isFunction(g.value)&&n(d,c,g),f[e]=g)});f.initAttr&&v.content(d,c);return f},defineNodeNameProperties:function(a,c,f,e){for(var g in c)!e&&c[g].initAttr&&v.createTmpCache(a),f&&!c[g][f]&&(c[g][f]={},["value","set","get"].forEach(function(a){a in c[g]&&(c[g][f][a]=c[g][a],delete c[g][a])})),c[g]=b.defineNodeNameProperty(a,g,c[g]);e||v.flushTmpCache();return c},createElement:function(d,c,f){var e;a.isFunction(c)&&(c={after:c});v.createTmpCache(d);
31
- c.before&&v.createElement(d,c.before);f&&(e=b.defineNodeNameProperties(d,f,!1,!0));c.after&&v.createElement(d,c.after);v.flushTmpCache();return e},onNodeNamesPropertyModify:function(d,c,b,e){"string"==typeof d&&(d=d.split(g));a.isFunction(b)&&(b={set:b});d.forEach(function(a){r[a]||(r[a]={});"string"==typeof c&&(c=c.split(g));b.initAttr&&v.createTmpCache(a);c.forEach(function(c){r[a][c]||(r[a][c]=[],j[c]=!0);if(b.set){if(e)b.set.only=e;r[a][c].push(b.set)}b.initAttr&&v.content(a,c)});v.flushTmpCache()})},
32
- defineNodeNamesBooleanProperty:function(d,c,f){f||(f={});if(a.isFunction(f))f.set=f;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);f.set&&f.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?m:c}},removeAttr:{value:function(){this.removeAttribute(c);f.set&&f.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:f.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===m)return a=a.attributes[c]||{},b=a.specified?a.value:null,null==b?m:b;
33
- "boolean"==typeof b?b?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},f,e,g=/:\/\/|^\.*\//,r=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,g.test(e)||(e=b.cfg.basePath+e),b.loader.loadScript(e+d+".js",function(){c.langObj[d]?(c.loading=!1,u(c,!0)):a(function(){c.langObj[d]&&u(c,!0);c.loading=!1})}),!0):!1},q=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},u=function(a,c){if(a.activeLang!=f&&
34
- a.activeLang!==e){var b=s[a.module].options;if(a.langObj[f]||e&&a.langObj[e])a.activeLang=f,a.callback(a.langObj[f]||a.langObj[e],f),q(a.module);else if(!c&&!r(a,f,b)&&!r(a,e,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],f),q(a.module)}};return function(b){if("string"==typeof b&&b!==f)f=b,e=f.split("-")[0],f==e&&(e=!1),a.each(d,function(a,c){u(c)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),b.callback();else{if(!b.activeLang)b.activeLang=
35
- "";d.push(b);u(b)}return f}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,e,r){"string"==typeof a&&(a=a.split(g));var q={};a.forEach(function(a){q[a]=b[c](a,d,e,r)});return q}});b.isReady("webshimLocalization",!0)});
36
- (function(a,b){var h=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<h)&&(!a.browser.msie||12>h&&7<h)){var l={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},m=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(h,g){a.each(l,function(b,r){for(var z=a(b,h).add(g.filter(b)),j=0,l=z.length;j<l;j++)m(z[j],r)});if(h===b){var t=b.getElementsByTagName("header")[0],j=b.getElementsByTagName("footer"),o=j.length;
37
- t&&!a(t).closest("section, article")[0]&&m(t,"banner");o&&(t=j[o-1],a(t).closest("section, article")[0]||m(t,"contentinfo"))}})}})(jQuery,document);
38
- (function(a,b,h){var l=b.audio&&b.video,m=!1,s=h.cfg.mediaelement,g=h.bugs,t=function(){h.ready("mediaelement-swf",function(){if(!h.mediaelement.createSWF)h.modules["mediaelement-swf"].test=a.noop,h.reTest(["mediaelement-swf"],l)})},j;if(l){var o=document.createElement("video");b.videoBuffered="buffered"in o;m="loop"in o;h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));b.videoBuffered||(h.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
39
- test:b.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"))}if(l&&!s.preferFlash){var y=function(b){var g=b.target.parentNode;!s.preferFlash&&(a(b.target).is("audio, video")||g&&a("source:last",g)[0]==b.target)&&h.ready("DOM mediaelement",function(){j&&t();h.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){j&&!s.preferFlash&&h.mediaelement.createSWF&&!a(b.target).closest("audio, video").is(".nonnative-api-active")?(s.preferFlash=!0,document.removeEventListener("error",
40
- y,!0),a("audio, video").mediaLoad(),h.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+b.target.src)):j||document.removeEventListener("error",y,!0)},20)})})};document.addEventListener("error",y,!0);a("audio, video").each(function(){this.error&&y({target:this})})}g.track=!1;b.track&&function(){if(!g.track)g.track="number"!=typeof a("<track />")[0].readyState;if(!g.track)try{new TextTrackCue(2,3,"")}catch(b){g.track=!0}var j=h.cfg.track,l=function(b){a(b.target).filter("track").each(m)},
41
- m=function(){if(g.track||!j.override&&3==a.prop(this,"readyState"))j.override=!0,h.reTest("track"),document.removeEventListener("error",l,!0),this&&a.nodeName(this,"track")?h.error("track support was overwritten. Please check your vtt including your vtt mime-type"):h.info("track support was overwritten. due to bad browser support")},p=function(){document.addEventListener("error",l,!0);g.track?m():a("track").each(m)};j.override||(h.isReady("track")?p():a(p))}();h.register("mediaelement-core",function(a,
42
- h,o,x,p){j=swfobject.hasFlashPlayerVersion("9.0.115");var k=h.mediaelement,n=function(c,b){var c=a(c),d={src:c.attr("src")||"",elem:c,srcProp:c.prop("src")};if(!d.src)return d;var e=c.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(b||(b=c[0].nodeName.toLowerCase(),"source"==b&&(b=(c.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=k.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=c.attr("media"))d.media=e;return d},v=!j&&"postMessage"in o&&l,e=
43
- function(){var c;return function(){!c&&v&&(c=!0,h.loader.loadScript("https://www.youtube.com/player_api"),a(function(){h.polyfill("mediaelement-yt")}))}}(),d=function(){j?t():e()};h.addPolyfill("mediaelement-yt",{test:!v,d:["dom-support"]});k.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
44
- "f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};k.mimeTypes.source=a.extend({},k.mimeTypes.audio,k.mimeTypes.video);k.getTypeForSrc=function(c,b){if(-1!=c.indexOf("youtube.com/watch?")||
45
- -1!=c.indexOf("youtube.com/v/"))return"video/youtube";var c=c.split("?")[0].split("."),c=c[c.length-1],d;a.each(k.mimeTypes[b],function(a,b){if(-1!==b.indexOf(c))return d=a,!1});return d};k.srces=function(c,b){c=a(c);if(b)c.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(b)||(b=[b]),b.forEach(function(a){var b=x.createElement("source");"string"==typeof a&&(a={src:a});b.setAttribute("src",a.src);a.type&&b.setAttribute("type",a.type);a.media&&b.setAttribute("media",a.media);c.append(b)});
46
- else{var b=[],d=c[0].nodeName.toLowerCase(),e=n(c,d);e.src?b.push(e):a("source",c).each(function(){e=n(this,d);e.src&&b.push(e)});return b}};a.fn.loadMediaSrc=function(c,b){return this.each(function(){b!==p&&(a(this).removeAttr("poster"),b&&a.attr(this,"poster",b));k.srces(this,c);a(this).mediaLoad()})};k.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
47
- k.canThirdPlaySrces=function(c,b){var d="";if(j||v)c=a(c),b=b||k.srces(c),a.each(b,function(a,c){if(c.container&&c.src&&(j&&-1!=k.swfMimeTypes.indexOf(c.container)||v&&"video/youtube"==c.container))return d=c,!1});return d};var c={};k.canNativePlaySrces=function(b,d){var e="";if(l){var b=a(b),f=(b[0].nodeName||"").toLowerCase();if(!c[f])return e;d=d||k.srces(b);a.each(d,function(a,d){if(d.type&&c[f].prop._supvalue.call(b[0],d.type))return e=d,!1})}return e};k.setError=function(c,b){b||(b="can't play sources");
48
- a(c).pause().data("mediaerror",b);h.warn("mediaelementError: "+b);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var f=function(){var a;return function(c,b,g){h.ready(j?"mediaelement-swf":"mediaelement-yt",function(){k.createSWF?k.createSWF(c,b,g):a||(a=!0,d(),f(c,b,g))});!a&&v&&!k.createSWF&&e()}}(),i=function(a,c,b,d,e){b||!1!==b&&c&&"third"==c.isActive?(b=k.canThirdPlaySrces(a,d))?f(a,b,c):e?k.setError(a,!1):i(a,c,!1,d,!0):(b=k.canNativePlaySrces(a,d))?c&&"third"==
49
- c.isActive&&k.setActive(a,"html5",c):e?(k.setError(a,!1),c&&"third"==c.isActive&&k.setActive(a,"html5",c)):i(a,c,!0,d,!0)},y=/^(?:embed|object|datalist)$/i,G=function(c,b){var d=h.data(c,"mediaelementBase")||h.data(c,"mediaelementBase",{}),e=k.srces(c),f=c.parentNode;clearTimeout(d.loadTimer);a.data(c,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||y.test(f.nodeName||"")))b=b||h.data(c,"mediaelement"),i(c,b,s.preferFlash||p,e)};a(x).bind("ended",function(c){var b=h.data(c.target,"mediaelement");
50
- (!m||b&&"html5"!=b.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,"paused")&&a.prop(c.target,"loop")&&a(c.target).prop("currentTime",0).play()},1)});m||h.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var d=h.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=h.data(this,"mediaelement");G(this,a);l&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});c[b]=h.defineNodeNameProperty(b,
51
- "canPlayType",{prop:{value:function(d){var e="";l&&c[b].prop._supvalue&&(e=c[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&j&&(d=a.trim((d||"").split(";")[0]),-1!=k.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,c=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){G(a);a=null},9)}});o=function(){h.addReady(function(c,b){a("video, audio",
52
- c).add(b.filter("video, audio")).each(function(){a.browser.msie&&8<h.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():G(this);if(l){var c,b,d=this,e=function(){var c=a.prop(d,"buffered");if(c){for(var b="",e=0,f=c.length;e<f;e++)b+=c.end(e);return b}},f=function(){var c=e();c!=b&&(b=c,a(d).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==
53
- a.type&&(b=e());clearTimeout(c);c=setTimeout(f,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(b=!1);clearTimeout(c)})}})})};b.track&&!g.track&&h.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});l?(h.isReady("mediaelement-core",!0),o(),h.ready("WINDOWLOAD mediaelement",d)):h.ready("mediaelement-swf",o);a(function(){h.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
54
- jQuery.webshims.register("mediaelement-swf",function(a,b,h,l,m,s){var g=b.mediaelement,t=h.swfobject,j=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),y=0,h={paused:!0,ended:!1,currentSrc:"",duration:h.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},r=Object.keys(h),z={currentTime:0,volume:1,
55
- muted:!1};Object.keys(z);var E=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:m},h,z),x=/^jwplayer-/,p=function(a){if(a=l.getElementById(a.replace(x,"")))return a=b.data(a,"mediaelement"),"third"==a.isActive?a:null},k=function(a){return(a=b.data(a,"mediaelement"))&&"third"==a.isActive?a:null},n=function(c,b){b=a.Event(b);b.preventDefault();a.event.trigger(b,m,c)},v=s.playerPath||b.cfg.basePath+
56
- "jwplayer/"+(s.playerName||"player.swf"),e=s.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(s.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(s.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(s.jwAttrs,{bgcolor:"#000000"});var d=function(c,b){var d=c.duration;if(!(d&&0<c._durationCalcs)){try{if(c.duration=c.jwapi.getPlaylist()[0].duration,!c.duration||0>=c.duration||c.duration===c._lastDuration)c.duration=d}catch(e){}c.duration&&
57
- c.duration!=c._lastDuration?(n(c._elem,"durationchange"),("audio"==c._elemNodeName||c._callMeta)&&g.jwEvents.Model.META(a.extend({duration:c.duration},b),c),c._durationCalcs--):c._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,n(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,n(b._elem,"canplaythrough");b.readyState=a};a.extend(a.event.customEvent,
58
- {updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});g.jwEvents={View:{PLAY:function(a){var c=p(a.id);if(c&&!c.stopPlayPause&&(c._ppFlag=!0,c.paused==a.state)){c.paused=!a.state;if(c.ended)c.ended=!1;n(c._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var w=p(b.id);if(w&&"percentage"in b&&w._bufferedEnd!=b.percentage){w.networkState=100==b.percentage?1:2;(isNaN(w.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&d(w,b);if(w.ended)w.ended=
59
- !1;if(w.duration){2<b.percentage&&20>b.percentage?c(3,w):20<b.percentage&&c(4,w);if(w._bufferedEnd&&w._bufferedEnd>b.percentage)w._bufferedStart=w.currentTime||0;w._bufferedEnd=b.percentage;w.buffered.length=1;if(100==b.percentage)w.networkState=1,c(4,w);a.event.trigger("progress",m,w._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:p(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=b.duration;if(a.duration)b.duration=
60
- a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&n(b._elem,"durationchange");n(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=p(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&d(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;n(b._elem,"timeupdate")}},STATE:function(a){var b=
61
- p(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);n(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||d(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;n(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,n(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,n(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=p(a.id);b&&g.setError(b._elem,a.message)},SEEK:function(a){var b=
62
- p(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=a.position)b.currentTime=a.position,n(b._elem,"timeupdate")}},VOLUME:function(a){var b=p(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,n(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=p(a.id);if(b&&b.muted!=a.state)b.muted=a.state,n(b._elem,"volumechange")}}}};var f=function(b){var c=!0;a.each(g.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,
63
- "jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},i=function(a){var b=a.actionQueue.length,c=0,d;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},A=function(b){b&&(b._ppFlag===m&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===m||!b.paused))try{a(b._elem).play()}catch(c){}},1)},G=function(b){if(b&&
64
- "video"==b._elemNodeName){var c,d,e,f,g,h,i,k,j=function(j,l){if(l&&j&&!(1>l||1>j||"third"!=b.isActive))if(c&&(c.remove(),c=!1),f=j,g=l,clearTimeout(i),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){h=h||a(b._elem).getShadowElement();var m;d&&!e?(m=h.height(),j*=m/l,l=m):!d&&e&&(m=h.width(),l*=m/j,j=m);k=!0;setTimeout(function(){k=!1},9);h.css({width:j,height:l})}},l=function(){if(!("third"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,
65
- "poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(i);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(j(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;
66
- j(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){j(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",l).bind("swfstageresize updatemediaelementdimensions",function(){k||j(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");
67
- l();a.prop(b._elem,"readyState")&&j(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};g.playerResize=function(b){b&&(b=l.getElementById(b.replace(x,"")))&&a(b).triggerHandler("swfstageresize")};a(l).bind("emptied",function(a){a=k(a.target);A(a)});var q;g.jwPlayerReady=function(c){var d=p(c.id),e=0,g=function(){if(!(9<e))if(e++,f(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var h=parseFloat(c.version,10);(5.1>h||6<=h)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=
68
- !0;d.tryedReframeing=0;i(d);A(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(g,9*e),2<e&&9>d.tryedReframeing&&(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(q);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);g()}};var u=a.noop;if(j){var B={play:1,playing:1},
69
- C="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),D=C.map(function(a){return a+".webshimspolyfill"}).join(" "),I=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),B[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},u=function(c){a(c).unbind(D).bind(D,I);C.forEach(function(a){b.moveToFirstEvent(c,a)})};u(l)}g.setActive=function(c,d,
70
- e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&b.warn("wrong type for mediaelement activating: "+d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(a(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);a(c).trigger("mediaelementapichange")}};
71
- var J=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&n(d._elem,"emptied")}}}(),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||
72
- a(d).width(),height:d.style.height||a(d).height()})};g.createSWF=function(c,d,f){if(o){1>y?y=1:y++;var h=a.extend({},s.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),i=a(c).data("jwvars")||{};f||(f=b.data(c,"mediaelement"));if(f&&f.swfCreated)g.setActive(c,"third",f),J(f),f.currentSrc=d.srcProp,a.extend(h,i),s.changeJW(h,c,d,f,"load"),F(c,"sendEvent",["LOAD",h]);else{var l=a.prop(c,"controls"),k="jwplayer-"+b.getID(c),m=a.extend({},s.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),
73
- p=a.extend({},s.jwAttrs,{name:k,id:k},a(c).data("jwattrs")),r=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+k+'"><div id="'+k+'"></div>').css({position:"relative",overflow:"hidden"}),f=b.data(c,"mediaelement",b.objectCreate(E,{actionQueue:{value:[]},shadowElem:{value:r},_elemNodeName:{value:n},_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>=
74
- f.buffered.length)b.error("buffered index size error");else return(f.duration-f._bufferedStart)*f._bufferedEnd/100+f._bufferedStart},length:0}}}));H(f,l);r.insertBefore(c);j&&a.extend(f,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(h,{id:k,controlbar:l?s.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(l&&"video"==n)},i,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});h.plugins=h.plugins?h.plugins+(","+e):e;b.addShadowDom(c,r);u(c);g.setActive(c,
75
- "third",f);s.changeJW(h,c,d,f,"embed");a(c).bind("updatemediaelementdimensions updateshadowdom",function(){H(f,a.prop(c,"controls"))});G(f);t.embedSWF(v,k,"100%","100%","9.0.0",!1,h,m,p,function(d){if(d.success)f.jwapi=d.ref,l||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&r[0].parentNode||"none"==d.ref.style.display)r.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",
76
- display:"block"})},9),q||(clearTimeout(q),q=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},
77
- 1)};var F=function(a,b,c,d){return(d=d||k(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},e,f=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=k(this);return b?b[a]:j&&e[a].prop._supget?e[a].prop._supget.apply(this):E[a]},writeable:!1})},g=function(a,b){f(a);delete d[a].writeable;
78
- d[a].set=b};g("volume",function(a){var c=k(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);F(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(c.volume==a||"third"!=c.isActive))c.volume=a,n(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=k(this);if(b){if(a=!!a,F(this,"sendEvent",["mute",""+a],b),!(b.muted==
79
- a||"third"!=b.isActive))b.muted=a,n(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});g("currentTime",function(a){var b=k(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=!0;b.stopPlayPause=!1},50);F(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,n(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(e.currentTime.prop._supset)return e.currentTime.prop._supset.apply(this,
80
- arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=k(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),F(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,n(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});r.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=k(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");
81
- if(f){try{F(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&H(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});e=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=a.cleanData,L=a.browser.msie&&9>b.browserVersion,M={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&y)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){y--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&
82
- (a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}j||(["poster","src"].forEach(function(a){b.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],a,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)}),b.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},
83
- NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
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"))});