webshims-rails 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/lib/webshims-rails/version.rb +2 -2
  2. data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +9 -9
  3. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +28 -27
  4. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +75 -74
  5. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +41 -39
  6. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +6 -6
  7. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +54 -53
  8. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +62 -61
  9. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +58 -64
  10. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +62 -60
  11. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +62 -60
  12. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +43 -42
  13. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +41 -39
  14. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +48 -47
  15. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +51 -49
  16. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +75 -73
  17. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +83 -79
  18. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +27 -27
  19. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +34 -33
  20. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +58 -55
  21. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +29 -38
  22. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +37 -45
  23. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +33 -33
  24. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +57 -56
  25. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +21 -21
  26. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +21 -19
  27. data/vendor/assets/javascripts/webshims/minified/shims/form-message.js +5 -5
  28. data/vendor/assets/javascripts/webshims/minified/shims/form-native-extend.js +8 -7
  29. data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +5 -9
  30. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +8 -12
  31. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +21 -26
  32. data/vendor/assets/javascripts/webshims/minified/shims/form-output.js +1 -1
  33. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +28 -26
  34. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +7 -7
  35. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +29 -28
  36. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +24 -19
  37. metadata +4 -4
@@ -1,6 +1,6 @@
1
1
  module Webshims
2
2
  module Rails
3
- VERSION = "0.1"
4
- WEBSHIMS_VERSION = "1.8.9"
3
+ VERSION = "0.2"
4
+ WEBSHIMS_VERSION = "1.8.10"
5
5
  end
6
6
  end
@@ -1,9 +1,9 @@
1
- (function(b,h,i){if(!b.webshims){var j=navigator.browserLanguage||navigator.language||b("html").attr("lang")||"";b.webshims={addReady:function(a){b(function(){a(i,b([]))})},ready:function(a,b){b()},activeLang:function(){return j}}}var g=b.webshims,k={},c=!1,d,a,e=function(a){g.refreshCustomValidityRules(a.target)};g.customErrorMessages={};g.addCustomValidityRule=function(a,d,e){k[a]=d;g.customErrorMessages[a]||(g.customErrorMessages[a]=[],g.customErrorMessages[a][""]=e||a);b.isReady&&c&&b("input, select, textarea").each(function(){f(this)})};
2
- g.refreshCustomValidityRules=function(c){if(c.form&&(a||b.prop(c,"willValidate"))){d=!0;var e=b.data(c,"customMismatchedRule"),i=b.prop(c,"validity")||{},f="";if(e||!i.customError){var h=b(c).val();b.each(k,function(a,b){f=b(c,h)||"";e=a;if(f)return"string"!=typeof f&&(f=c.getAttribute("x-moz-errormessage")||c.getAttribute("data-errormessage")||g.customErrorMessages[a][g.activeLang()]||g.customErrorMessages[a][""]),!1});f&&b.data(c,"customMismatchedRule",e);b(c).setCustomValidity(f)}d=!1}};var f=
3
- g.refreshCustomValidityRules;g.ready("forms",function(){c=!0;var h=b.fn.setCustomValidity||function(a){return this.each(function(){this.setCustomValidity&&this.setCustomValidity(a)})};b.fn.setCustomValidity=function(a){d||this.data("customMismatchedRule","");return h.apply(this,arguments)};i.addEventListener&&i.createElement("form").checkValidity&&i.addEventListener("change",e,!0);g.addReady(function(c,d){a=!0;b("input, select, textarea",c).add(d.filter("input, select, textarea")).each(function(){f(this)});
4
- a=!1});b(i).bind("refreshCustomValidityRules",e)})})(jQuery,window,document);
5
- (function(b,h,i){h=b.webshims.addCustomValidityRule;h("partialPattern",function(c,d){if(d&&c.getAttribute("data-partial-pattern")){var a=b(c).data("partial-pattern");return!a?void 0:!RegExp("("+a+")","i").test(d)}},"This format is not allowed here.");h("tooShort",function(c,d){return!d||!c.getAttribute("data-minlength")?void 0:b(c).data("minlength")>d.length},"Entered value is too short.");var j={};h("group-required",function(c){var d=c.name;if(d&&"checkbox"===c.type&&b(c).hasClass("group-required")){var a=
6
- b(c.form&&c.form[d]||i.getElementsByName(d)),c=a.filter(":checked");j[d]&&clearTimeout(j[d]);j[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-]+/;h("creditcard",function(c,d){if(d&&b(c).hasClass("creditcard-input")){if(!g.test(d))return!0;var a=0,e=0,f=!1,d=d.replace(/\D/g,"");for(n=d.length-
7
- 1;0<=n;n--){e=d.charAt(n);e=parseInt(e,10);if(f&&9<(e*=2))e-=9;a+=e;f=!f}return 0!==a%10}},"Please enter a valid credit card number");var k={prop:"value","from-prop":"value",toggle:!1};h("dependent",function(c,d){if(c.getAttribute("data-dependent-validation")){var a=b(c).data("dependentValidation"),e;if(a){var f=function(){var d=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=
8
- 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:")&&(e=a["from-prop"].replace("value:","").split("||"),a["from-prop"]="value");a=b.data(c,"dependentValidation",b.extend({_init:!0},k,a));"value"!==a.prop||e?b(a.masterElement).bind("change",
9
- f):b(a.masterElement).bind("change",function(){b.webshims.refreshCustomValidityRules(c)})}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,window,document);
1
+ (function(b,e,h){if(!b.webshims){var i=navigator.browserLanguage||navigator.language||b("html").attr("lang")||"";b.webshims={addReady:function(a){b(function(){a(h,b([]))})},ready:function(a,b){b()},activeLang:function(){return i}}}var g=b.webshims,j={},k=!1,c,d,a=function(a){g.refreshCustomValidityRules(a.target)};g.customErrorMessages={};g.addCustomValidityRule=function(a,c,d){j[a]=c;g.customErrorMessages[a]||(g.customErrorMessages[a]=[],g.customErrorMessages[a][""]=d||a);b.isReady&&k&&b("input, select, textarea").each(function(){f(this)})};
2
+ g.refreshCustomValidityRules=function(a){if(a.form&&(d||b.prop(a,"willValidate"))){c=!0;var f=b.data(a,"customMismatchedRule"),h=b.prop(a,"validity")||{},e="";if(f||!h.customError){var i=b(a).val();b.each(j,function(b,c){e=c(a,i)||"";f=b;if(e)return"string"!=typeof e&&(e=a.getAttribute("x-moz-errormessage")||a.getAttribute("data-errormessage")||g.customErrorMessages[b][g.activeLang()]||g.customErrorMessages[b][""]),!1});e&&b.data(a,"customMismatchedRule",f);b(a).setCustomValidity(e)}c=!1}};var f=
3
+ g.refreshCustomValidityRules;g.ready("forms",function(){k=!0;var e=b.fn.setCustomValidity||function(a){return this.each(function(){this.setCustomValidity&&this.setCustomValidity(a)})};b.fn.setCustomValidity=function(a){c||this.data("customMismatchedRule","");return e.apply(this,arguments)};h.addEventListener&&h.createElement("form").checkValidity&&h.addEventListener("change",a,!0);g.addReady(function(a,c){d=!0;b("input, select, textarea",a).add(c.filter("input, select, textarea")).each(function(){f(this)});
4
+ d=!1});b(h).bind("refreshCustomValidityRules",a)})})(jQuery,window,document);
5
+ (function(b,e,h){e=b.webshims.addCustomValidityRule;e("partialPattern",function(c,d){if(d&&c.getAttribute("data-partial-pattern")){var a=b(c).data("partial-pattern");return!a?void 0:!RegExp("("+a+")","i").test(d)}},"This format is not allowed here.");e("tooShort",function(c,d){return!d||!c.getAttribute("data-minlength")?void 0:b(c).data("minlength")>d.length},"Entered value is too short.");var i={};e("group-required",function(c){var d=c.name;if(d&&"checkbox"===c.type&&b(c).hasClass("group-required")){var a=
6
+ b(c.form&&c.form[d]||h.getElementsByName(d)),c=a.filter(":checked");i[d]&&clearTimeout(i[d]);i[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-]+/;e("creditcard",function(c,d){if(d&&b(c).hasClass("creditcard-input")){if(!g.test(d))return!0;var a=0,f=0,e=!1,d=d.replace(/\D/g,"");for(n=d.length-
7
+ 1;0<=n;n--){f=d.charAt(n);f=parseInt(f,10);if(e&&9<(f*=2))f-=9;a+=f;e=!e}return 0!==a%10}},"Please enter a valid credit card number");var j={prop:"value","from-prop":"value",toggle:!1},k=b.webshims.modules&&b.webshims.modules["form-core"].getGroupElements||function(c){return b(c.form[c.name]).filter('[type="radio"]')};e("dependent",function(c,d){if(c.getAttribute("data-dependent-validation")){var a=b(c).data("dependentValidation"),f;if(a){var e=function(){var d=b.prop(a.masterElement,a["from-prop"]);
8
+ f&&(d=-1!==b.inArray(d,f));a.toggle&&(d=!d);b.prop(c,a.prop,d)};if(!a._init||!a.masterElement){"string"==typeof a&&(a={from:a});a.masterElement=h.getElementById(a.from)||h.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:")&&(f=a["from-prop"].replace("value:",
9
+ "").split("||"),a["from-prop"]="value");a=b.data(c,"dependentValidation",b.extend({_init:!0},j,a));"value"!==a.prop||f?("radio"===a.masterElement.type&&k||b)(a.masterElement).bind("change",e):b(a.masterElement).bind("change",function(){b.webshims.refreshCustomValidityRules(c)})}if("value"==a.prop&&!f)return b.prop(a.masterElement,"value")!=d;e();return""}}},"The value of this field does not repeat the value of the other field")})(jQuery,window,document);
@@ -1,27 +1,28 @@
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 z=c(document.scripts||"script"),o=c.event.special,A=c([]),g=window.Modernizr,r=window.asyncWebshims,B=g.addTest,w=parseFloat(c.browser.version,10),p=window.Object;g.genericDOM=!!c("<video><div></div></video>")[0].innerHTML;g.advancedObjectProperties=g.objectAccessor=g.ES5=!!("create"in p&&"seal"in p);var d={version:"1.8.9",cfg:{useImportantStyles:!0,
2
- waitReady:!0,extendNative:!0,loadStyles:!0,basePath:function(){var a=z.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:w,modules:{},features:{},featureList:[],setOptions:function(a,b){"string"==typeof a&&void 0!==b?n[a]=!c.isPlainObject(b)?b:c.extend(!0,n[a]||{},b):"object"==typeof a&&c.extend(!0,n,a)},addPolyfill:function(a,b){var b=
3
- b||{},e=b.f||a;if(!k[e])k[e]=[],k[e].delayReady=0,d.featureList.push(e),n[e]={};k[e].push(a);b.options=c.extend(n[e],b.options);x(a,b);b.methodNames&&c.each(b.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){var a=function(b){var f=[],h,i=function(){c("html").removeClass("loading-polyfills long-loading-polyfills");c(window).unbind(".lP");clearTimeout(h)};f.push("loading-polyfills");c(window).bind("load.lP error.lP",i);h=setTimeout(function(){c("html").addClass("long-loading-polyfills")},
4
- 600);n.waitReady&&c.isReady&&d.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false.");q(b,i);n.useImportantStyles&&f.push("polyfill-important");f[0]&&c("html").addClass(f.join(" "));n.loadStyles&&s.loadCSS("styles/shim.css");a=c.noop},b;return function(e){var f=[],e=e||d.featureList;"string"==typeof e&&(e=e.split(" "));b||(b=-1!==c.inArray("forms",e),!b&&-1!==c.inArray("forms-ext",e)&&(e.push("forms"),b=!0));n.waitReady&&(c.readyWait++,q(e,function(){c.ready(!0)}));c.each(e,function(a,
5
- b){k[b]?(b!==k[b][0]&&q(k[b],function(){l(b,!0)}),f=f.concat(k[b])):(d.warn("could not find webshims-feature (aborted): "+b),l(b,!0))});a(e);t(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=k[i.f])&&!b)g.delayReady++,q(h,function(){g.delayReady--;l(i.f,g.callReady)});a.push(h)}};return function(d,h){b=h;"string"==typeof d&&(d=d.split(" "));a=[];c.each(d,e);t(a)}}(),isReady:function(a,
6
- b){if(k[a]&&0<k[a].delayReady){if(b)k[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(a){return!l(a)}),function(a){return a+"Ready"}));a.length?(e=a.shift(),c(document).one(e,function(){q(a,b,!0)})):b(c,d,window,document)},fixHTML5:function(a){return a},capturingEvents:function(a,
7
- 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,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)};
8
- 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);s.loadScript(b,!1,e)},e=function(b,e){if(l(b)||-1!=c.inArray(b,a))return!0;var d=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(a,b){if(a.d&&a.d.length){var d=function(a,
9
- d){!e(d,b)&&-1==c.inArray(d,b)&&b.push(d)};c.each(a.d,function(a,b){m[b]?d(a,b):k[b]&&(c.each(k[b],d),q(k[b],function(){l(b,!0)}))});if(!a.noAutoCallback)a.noAutoCallback=!0}};return function(h){var i,g=[],j,k,l=function(e,h){k=h;c.each(d.c[h],function(b,d){if(-1==c.inArray(d,g)||-1!=c.inArray(d,a))return k=!1});if(k)return b("combos/"+k,d.c[k]),!1};for(j=0;j<h.length;j++)i=m[h[j]],!i||e(i.name,h)?i||d.warn("could not find: "+h[j]):(i.css&&s.loadCSS(i.css),i.loadInit&&i.loadInit(),i.loaded=!0,f(i,
10
- 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");n.addCacheBuster&&(a+=n.addCacheBuster);return n.basePath+a},loadCSS:function(){var a,b=[];return function(d){d=this.makePath(d);-1==c.inArray(d,b)&&(a=a||c("link, style")[0]||c("script")[0],b.push(d),c('<link rel="stylesheet" />').insertBefore(a).attr({href:d}))}}(),
11
- loadScript:function(){var a=[];return function(b,d,f){b=s.makePath(b);if(-1==c.inArray(b,a)){var h=function(){h=null;d&&d();f&&("string"==typeof f&&(f=f.split(" ")),c.each(f,function(a,b){m[b]&&(m[b].afterLoad&&m[b].afterLoad(),l(!m[b].noAutoCallback?b:b+"FileLoaded",!0))}))};a.push(b);window.require?require([b],h):window.sssl?sssl(b,h):window.yepnope?yepnope.injectJs(b,h):window.steal&&steal(b).then(h)}}}()}};c.webshims=d;var w=("https:"==location.protocol?"https://":"http://")+"ajax.googleapis.com/ajax/libs/",
12
- C=w+"jqueryui/1.8.17/",n=d.cfg,k=d.features,l=d.isReady,q=d.ready,j=d.addPolyfill,m=d.modules,s=d.loader,t=s.loadList,x=s.addModule,u=[],D={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||(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:
13
- 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","warn","info"],function(a,b){d[b]=function(a){if((D[b]&&!1!==d.debug||d.debug)&&window.console&&console.log)return console[console[b]?b:"log"](a)}});(function(){c.isDOMReady=
14
- 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(function(){c.isDOMReady=!0;l("DOM",!0);setTimeout(function(){l("WINDOWLOAD",!0)},9999)});c(window).load(function(){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,A)},
15
- 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):A;c.each(a,function(a,c){c(b,f)})}}}});c.fn.htmlPolyfill=function(a){a=c.fn.html.call(this,a?d.fixHTML5(a):a);a===this&&c.isDOMReady&&this.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return a};c.each(["after","before","append","prepend","replaceWith"],function(a,e){c.fn[e+"Polyfill"]=function(a){a=c(d.fixHTML5(a));
16
- c.fn[e].call(this,a);c.isDOMReady&&a.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return this}});c.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(a,e){c.fn[e.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){c.fn[e].apply(this,arguments);d.triggerDomUpdate(this);return this}});c.fn.updatePolyfill=function(){d.triggerDomUpdate(this);return this};c.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(a,d){c.fn[d]=
17
- 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,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,
18
- 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})();x("jquery-ui",{src:C+"jquery-ui.min.js",test:function(){return!(!c.widget||!c.Widget)}});x("input-widgets",{src:"",test:function(){return!this.src||!(c.widget&&(!c.fn.datepicker||!c.fn.slider))}});x("swfobject",{src:w+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in
19
- window}});j("es5",{test:!(!g.ES5||!Function.prototype.bind),c:[10,1,22]});j("dom-extend",{f:"dom-support",noAutoCallback:!0,d:["es5"],c:[10,9,12,17,16,8,1,24,19,11,13]});"localstorage"in g&&j("json-storage",{test:g.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){t(["swfobject"])},noAutoCallback:!0,c:[14]});"geolocation"in g&&j("geolocation",{test:g.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]});(function(){if("canvas"in g){var a;j("canvas",{src:"excanvas",
20
- test:g.canvas,options:{type:"excanvas"},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:n.basePath+"FlashCanvas/"}),this.src="FlashCanvas/flashcanvas"):(c.extend(a,{swfPath:n.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas")},afterLoad:function(){d.addReady(function(a,
21
- d){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"]})}})();var y=g.input,v=g.inputtypes;if(y&&v)B("formvalidation",function(){return!(!y.required||!y.pattern)}),d.validationMessages=d.validityMessages=[],d.inputTypes={},j("form-core",{f:"forms",d:["es5"],test:function(){if(this.options.lightweightDatalist&&!this.datalistLoaded)this.datalistLoaded=
22
- !0,m["form-datalist"].f="forms",d.reTest(["form-datalist"]);return!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",availabeLangs:"ar,ch-ZN,el,es,fr,he,hi,hu,it,ja,nl,pt-PT,ru".split(",")},methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,16,5,4,24,19]}),g.formvalidation?(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||[]))&&!this.options.overrideMessages},d:["form-core",
23
- "dom-support","form-message"],c:[18,7,59,5]}),u=u.concat([2,3,23,21])):(u=u.concat([18,7,4,59,5]),j("form-extend",{f:"forms",src:"form-shim-extend",d:["form-core","dom-support"],c:[3,2,23,21]})),j("form-message",{f:"forms",test:function(a){return!(this.options.customMessages||!g.formvalidation||!m["form-extend"].test(a)||d.bugs.validationMessage)},d:["dom-support"],c:[3,2,23,21,59,17,5,4]}),d.addPolyfill("form-output",{f:"forms",test:"value"in document.createElement("output"),d:["dom-support"],c:[3,
24
- 2,23,21]}),j("form-number-date-api",{f:"forms-ext",uiTest:function(){return v.range&&v.date&&v.time&&v.number},test:function(){return this.uiTest()&&!d.bugs.valueAsNumberSet},d:["forms","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(){t(["jquery-ui"]);m["input-widgets"].src&&t(["input-widgets"])},options:{stepArrows:{number:1,time:1},
25
- calculateWidth:!0,slider:{},datepicker:{},langSrc:C+"i18n/jquery.ui.datepicker-",recalcWidth:!0},c:[18,7,6]}),j("form-datalist",{f:"forms-ext",test:y.list,d:["form-core","dom-support"],c:[3,59,18,24,19,11]});"details"in g||B("details",function(){return"open"in document.createElement("details")});j("details",{test:g.details,d:["dom-support"],options:{text:"Details"},c:[12,13,15]});if("audio"in g&&"video"in g)d.mediaelement={},j("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,d:["swfobject",
26
- "dom-support"],c:[10,9,12,17,16,8,22,23,24,20]}),j("mediaelement-swf",{f:"mediaelement",options:{hasToPlay:"any",preferFlash:!1,jwVars:{},jwParams:{},jwAttrs:{},changeJW:c.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfobject","dom-support"],test:function(){if(!g.audio||!g.video)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]))},c:[10,9,22,20]});j("feature-dummy",
27
- {test:!0,loaded:!0,c:u});z.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),"polyfill"in r&&d.polyfill(r.polyfill))});
1
+ (function(b){if(window.jQuery)b(jQuery),b=jQuery.noop;"function"===typeof define&&define.amd&&define.amd.jQuery&&define("polyfiller",["jquery"],b)})(function(b){var B=b(document.scripts||"script"),o=b.event.special,C=b([]),g=window.Modernizr,r=window.asyncWebshims,A=g.addTest,x=parseFloat(b.browser.version,10),p=window.Object,E=window.html5||{};g.genericDOM=!!b("<video><div></div></video>")[0].innerHTML;g.advancedObjectProperties=g.objectAccessor=g.ES5=!!("create"in p&&"seal"in p);var d={version:"1.8.10",
2
+ cfg:{useImportantStyles:!0,waitReady:!0,extendNative:!0,loadStyles:!0,disableShivMethods:!0,basePath:function(){var a=B.filter('[src*="polyfiller.js"]'),a=a[0]||a.end()[a.end().length-1],a=(b.support.hrefNormalized?a.src:a.getAttribute("src",4)).split("?")[0];return a=a.slice(0,a.lastIndexOf("/")+1)+"shims/"}()},bugs:{},browserVersion:x,modules:{},features:{},featureList:[],setOptions:function(a,c){"string"==typeof a&&void 0!==c?j[a]=!b.isPlainObject(c)?c:b.extend(!0,j[a]||{},c):"object"==typeof a&&
3
+ b.extend(!0,j,a)},addPolyfill:function(a,c){var c=c||{},e=c.f||a;if(!n[e])n[e]=[],n[e].delayReady=0,d.featureList.push(e),j[e]={};n[e].push(a);c.options=b.extend(j[e],c.options);y(a,c);c.methodNames&&b.each(c.methodNames,function(a,b){d.addMethodName(b)})},polyfill:function(){var a=function(c){var f=[],h;if(j.disableShivMethods&&g.genericDOM&&"html5Clone"in b.support)E.shivMethods=!1;var i=function(){b("html").removeClass("loading-polyfills long-loading-polyfills");b(window).unbind(".lP");clearTimeout(h)};
4
+ f.push("loading-polyfills");b(window).bind("load.lP error.lP",i);h=setTimeout(function(){b("html").addClass("long-loading-polyfills")},600);j.waitReady&&b.isReady&&d.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false.");q(c,i);j.useImportantStyles&&f.push("polyfill-important");f[0]&&b("html").addClass(f.join(" "));j.loadStyles&&s.loadCSS("styles/shim.css");a=b.noop},c;return function(e){var f=[],e=e||d.featureList;"string"==typeof e&&(e=e.split(" "));c||(c=-1!==b.inArray("forms",
5
+ e),!c&&-1!==b.inArray("forms-ext",e)&&(e.push("forms"),c=!0));j.waitReady&&(b.readyWait++,q(e,function(){b.ready(!0)}));b.each(e,function(a,b){n[b]?(b!==n[b][0]&&q(n[b],function(){k(b,!0)}),f=f.concat(n[b])):(d.warn("could not find webshims-feature (aborted): "+b),k(b,!0))});a(e);t(f)}}(),reTest:function(){var a,c,e=function(e,h){var i=m[h],d=h+"Ready",g;if(i&&!i.loaded&&!(i.test&&b.isFunction(i.test)?i.test([]):i.test)){o[d]&&delete o[d];if((g=n[i.f])&&!c)g.delayReady++,q(h,function(){g.delayReady--;
6
+ k(i.f,g.callReady)});a.push(h)}};return function(d,h){c=h;"string"==typeof d&&(d=d.split(" "));a=[];b.each(d,e);t(a)}}(),isReady:function(a,c){if(n[a]&&0<n[a].delayReady){if(c)n[a].callReady=!0;return!1}a+="Ready";if(c){if(o[a]&&o[a].add)return!0;o[a]=b.extend(o[a]||{},{add:function(b){b.handler.call(this,a)}});b.event.trigger(a)}return!(!o[a]||!o[a].add)||!1},ready:function(a,c,e){"string"==typeof a&&(a=a.split(" "));e||(a=b.map(b.grep(a,function(a){return!k(a)}),function(a){return a+"Ready"}));
7
+ a.length?(e=a.shift(),b(document).one(e,function(){q(a,c,!0)})):c(b,d,window,document)},fixHTML5:function(a){return a},capturingEvents:function(a,c){document.addEventListener&&("string"==typeof a&&(a=[a]),b.each(a,function(a,f){var h=function(a){a=b.event.fix(a);c&&d.capturingEventPrevented&&d.capturingEventPrevented(a);return b.event.handle.call(this,a)};o[f]=o[f]||{};!o[f].setup&&!o[f].teardown&&b.extend(o[f],{setup:function(){this.addEventListener(f,h,!0)},teardown:function(){this.removeEventListener(f,
8
+ h,!0)}})}))},register:function(a,c){var e=m[a];if(e){if(e.noAutoCallback){var f=function(){c(b,d,window,document,void 0,e.options);k(a,!0)};e.d?q(e.d,f):f()}}else d.warn("can't find module: "+a)},c:{},loader:{addModule:function(a,c){m[a]=c;c.name=c.name||a;if(!c.c)c.c=[];b.each(c.c,function(b,c){d.c[c]||(d.c[c]=[]);d.c[c].push(a)})},loadList:function(){var a=[],c=function(c,e){"string"==typeof e&&(e=[e]);b.merge(a,e);s.loadScript(c,!1,e)},e=function(c,e){if(k(c)||-1!=b.inArray(c,a))return!0;var d=
9
+ m[c];if(d)if(d=d.test&&b.isFunction(d.test)?d.test(e):d.test)k(c,!0);else return!1;return!0},f=function(a,c){if(a.d&&a.d.length){var d=function(a,d){!e(d,c)&&-1==b.inArray(d,c)&&c.push(d)};b.each(a.d,function(a,c){m[c]?d(a,c):n[c]&&(b.each(n[c],d),q(n[c],function(){k(c,!0)}))});if(!a.noAutoCallback)a.noAutoCallback=!0}};return function(h){var i,g=[],j,k,l=function(e,h){k=h;b.each(d.c[h],function(c,d){if(-1==b.inArray(d,g)||-1!=b.inArray(d,a))return k=!1});if(k)return c("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&&s.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==b.inArray(i,a)&&("noCombo"!=d.debug&&b.each(m[i].c,l),k||c(m[i].src||i,i))}}(),makePath:function(a){if(-1!=a.indexOf("//")||0===a.indexOf("/"))return a;-1==a.indexOf(".")&&(a+=".js");j.addCacheBuster&&(a+=j.addCacheBuster);return j.basePath+a},loadCSS:function(){var a,c=[];return function(d){d=
11
+ this.makePath(d);-1==b.inArray(d,c)&&(a=a||b("link, style")[0]||b("script")[0],c.push(d),b('<link rel="stylesheet" />').insertBefore(a).attr({href:d}))}}(),loadScript:function(){var a=[];return function(c,d,f){c=s.makePath(c);if(-1==b.inArray(c,a)){var h=function(){h=null;d&&d();f&&("string"==typeof f&&(f=f.split(" ")),b.each(f,function(a,c){m[c]&&(m[c].afterLoad&&m[c].afterLoad(),k(!m[c].noAutoCallback?c:c+"FileLoaded",!0))}))};a.push(c);window.require?require([c],h):window.sssl?sssl(c,h):window.yepnope?
12
+ yepnope.injectJs(c,h):window.steal&&steal(c).then(h)}}}()}};b.webshims=d;var x=("https:"==location.protocol?"https://":"http://")+"ajax.googleapis.com/ajax/libs/",D=x+"jqueryui/1.8.18/",j=d.cfg,n=d.features,k=d.isReady,q=d.ready,l=d.addPolyfill,m=d.modules,s=d.loader,t=s.loadList,y=s.addModule,u=[],F={warn:1,error:1};d.addMethodName=function(a){var a=a.split(":"),c=a[1];1==a.length&&(c=a[0]);a=a[0];b.fn[a]=function(){return this.callProp(c,arguments)}};b.fn.callProp=function(a,c){var e;c||(c=[]);
13
+ this.each(function(){var f=b.prop(this,a);if(f&&f.apply){if(e=f.apply(this,c),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(c){if(c)if("string"==typeof c)a=c;else if("object"==typeof c){var b=arguments,f=this;q("webshimLocalization",function(){d.activeLang.apply(f,b)})}return a}}();b.each(["log","error","warn",
14
+ "info"],function(a,c){d[c]=function(a){if((F[c]&&!1!==d.debug||d.debug)&&window.console&&console.log)return console[console[c]?c:"log"](a)}});(function(){b.isDOMReady=b.isReady;if(b.isDOMReady)k("DOM",!0);else{var a=b.ready;b.ready=function(c){if(!0!==c&&!b.isDOMReady)document.body?(b.isDOMReady=!0,k("DOM",!0),b.ready=a):setTimeout(function(){b.ready(c)},13);return a.apply(this,arguments)}}b(function(){b.isDOMReady=!0;k("DOM",!0);setTimeout(function(){k("WINDOWLOAD",!0)},9999)});b(window).load(function(){k("DOM",
15
+ !0);k("WINDOWLOAD",!0)})})();(function(){var a=[];b.extend(d,{addReady:function(c){var b=function(a,b){d.ready("DOM",function(){c(a,b)})};a.push(b);b(document,C)},triggerDomUpdate:function(c){if(!c||!c.nodeType)c&&c.jquery&&c.each(function(){d.triggerDomUpdate(this)});else{var e=c.nodeType;if(!(1!=e&&9!=e)){var f=c!==document?b(c):C;b.each(a,function(a,b){b(c,f)})}}}});b.fn.htmlPolyfill=function(a){a=b.fn.html.call(this,a?d.fixHTML5(a):a);a===this&&b.isDOMReady&&this.each(function(){1==this.nodeType&&
16
+ d.triggerDomUpdate(this)});return a};b.each(["after","before","append","prepend","replaceWith"],function(a,e){b.fn[e+"Polyfill"]=function(a){a=b(d.fixHTML5(a));b.fn[e].call(this,a);b.isDOMReady&&a.each(function(){1==this.nodeType&&d.triggerDomUpdate(this)});return this}});b.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(a,e){b.fn[e.replace(/[A-Z]/,function(a){return"Polyfill"+a})]=function(){b.fn[e].apply(this,arguments);d.triggerDomUpdate(this);return this}});b.fn.updatePolyfill=
17
+ function(){d.triggerDomUpdate(this);return this};b.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(a,d){b.fn[d]=function(){return this}})})();(function(){var a=p.prototype.hasOwnProperty,c=["configurable","enumerable","writable"],e=function(a){for(var b=0;3>b;b++)if(void 0===a[c[b]]&&("writable"!==c[b]||void 0!==a.value))a[c[b]]=!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,c,d){f(c);a=p.create(a,c);if(d)a.options=b.extend(!0,
18
+ {},a.options||{},d),d=a.options;a._create&&b.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})();y("jquery-ui",{src:D+"jquery-ui.min.js",test:function(){return!(!b.widget||!b.Widget)}});y("input-widgets",{src:"",test:function(){return!this.src||
19
+ !(b.widget&&(!b.fn.datepicker||!b.fn.slider))}});y("swfobject",{src:x+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in window}});l("es5",{test:!(!g.ES5||!Function.prototype.bind),c:[10,1,22]});l("dom-extend",{f:"dom-support",noAutoCallback:!0,d:["es5"],c:[10,9,12,17,16,8,1,24,19,11,13]});"localstorage"in g&&l("json-storage",{test:g.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){t(["swfobject"])},noAutoCallback:!0,c:[14]});"geolocation"in g&&l("geolocation",
20
+ {test:g.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]});(function(){if("canvas"in g){var a;l("canvas",{src:"excanvas",test:g.canvas,options:{type:"excanvas"},noAutoCallback:!0,loadInit:function(){var c=this.options.type;if(c&&-1!==c.indexOf("flash")&&(!window.swfobject||swfobject.hasFlashPlayerVersion("9.0.0")))window.FlashCanvasOptions=window.FlashCanvasOptions||{},a=FlashCanvasOptions,"flash"==c?(b.extend(a,{swfPath:j.basePath+"FlashCanvas/"}),this.src="FlashCanvas/flashcanvas"):
21
+ (b.extend(a,{swfPath:j.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas")},afterLoad:function(){d.addReady(function(a,d){b("canvas",a).add(d.filter("canvas")).each(function(){!this.getContext&&window.G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this)});a==document&&k("canvas",!0)})},methodNames:["getContext"],d:["dom-support"]})}})();var z=g.input,v=g.inputtypes;if(z&&v){var w;A("formvalidation",function(){return!(!z.required||!z.pattern)});if(g.formvalidation)d.bugs.bustedValidity=
22
+ !(b('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||!("required"in b("<select />")[0]);A("styleableinputrange",function(){if(!v.range)return!1;var a=document.createElement("input");a.setAttribute("type","range");return void 0!==a.style.WebkitAppearance});d.validationMessages=d.validityMessages=[];d.inputTypes={};l("form-core",{f:"forms",d:["es5"],test:function(){if(w.lightweightDatalist&&!this.datalistLoaded)this.datalistLoaded=!0,m["form-datalist"].f="forms",d.reTest(["form-datalist"]);
23
+ return!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",availabeLangs:"ar,ch-ZN,el,es,fr,he,hi,hu,it,ja,nl,pt-PT,ru".split(",")},methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,16,5,4,24,19]});w=j.forms;g.formvalidation&&!d.bugs.bustedValidity?(l("form-extend",{f:"forms",src:"form-native-extend",test:function(a){return(m["form-number-date-api"].test()||-1==b.inArray("form-number-date-api",a||[]))&&!w.overrideMessages},d:["form-core","dom-support","form-message"],c:[18,
24
+ 7,59,5]}),u=u.concat([2,3,23,21])):(u=u.concat([18,7,4,59,5]),l("form-extend",{f:"forms",src:"form-shim-extend",test:function(){return!1},d:["form-core","dom-support"],c:[3,2,23,21]}));l("form-message",{f:"forms",test:function(a){return!(w.customMessages||!g.formvalidation||!m["form-extend"].test(a)||d.bugs.validationMessage)},d:["dom-support"],c:[3,2,23,21,59,17,5,4]});d.addPolyfill("form-output",{f:"forms",test:"value"in document.createElement("output"),d:["dom-support"],c:[3,2,23,21]});l("form-number-date-api",
25
+ {f:"forms-ext",uiTest:function(){return v.range&&v.date&&v.number},test:function(){return this.uiTest()&&!d.bugs.valueAsNumberSet},d:["forms","dom-support"],c:[18,7,6]});l("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(){t(["jquery-ui"]);m["input-widgets"].src&&t(["input-widgets"])},options:{stepArrows:{number:1,time:1},calculateWidth:!0,slider:{},datepicker:{},
26
+ langSrc:D+"i18n/jquery.ui.datepicker-",recalcWidth:!0},c:[18,7,6]});l("form-datalist",{f:"forms-ext",test:function(){return z.list&&!w.customDatalist},d:["form-core","dom-support"],c:[3,59,18,24,19,11]})}"details"in g||A("details",function(){return"open"in document.createElement("details")});l("details",{test:g.details,d:["dom-support"],options:{text:"Details"},c:[12,13,15]});if("audio"in g&&"video"in g)d.mediaelement={},l("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,d:["swfobject","dom-support"],
27
+ c:[10,9,12,17,16,8,22,23,24,20]}),l("mediaelement-swf",{f:"mediaelement",options:{hasToPlay:"any",preferFlash:!1,jwVars:{},jwParams:{},jwAttrs:{},changeJW:b.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:["swfobject","dom-support"],test:function(){if(!g.audio||!g.video)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]))},c:[10,9,22,20]});l("feature-dummy",
28
+ {test:!0,loaded:!0,c:u});B.filter("[data-polyfill-cfg]").each(function(){try{d.setOptions(b(this).data("polyfillCfg"))}catch(a){d.warn("error parsing polyfill cfg: "+a)}}).end().filter("[data-polyfill]").each(function(){d.polyfill(b.trim(b(this).data("polyfill")||""))});r&&(r.cfg&&d.setOptions(r.cfg),r.lang&&d.activeLang(r.lang),"polyfill"in r&&d.polyfill(r.polyfill))});
@@ -1,75 +1,76 @@
1
- (function(){var a=Function.prototype.call,b=Object.prototype,k=Array.prototype.slice,l,i;if(!Function.prototype.bind)Function.prototype.bind=function(a){var d=this;if("function"!=typeof d)throw new TypeError;var h=k.call(arguments,1),m=function(){if(this instanceof m){var b=function(){};b.prototype=d.prototype;var b=new b,i=d.apply(b,h.concat(k.call(arguments)));return null!==i&&Object(i)===i?i:b}return d.apply(a,h.concat(k.call(arguments)))};return m};i=a.bind(b.toString);l=a.bind(b.hasOwnProperty);
2
- if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==i(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,d){var b=q(this),h=0,j=b.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(;h<j;)h in b&&a.call(d,b[h],h,b),h++};if(!Array.prototype.map)Array.prototype.map=function(a,b){var h=q(this),d=h.length>>>0,j=Array(d);if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<d;e++)e in h&&(j[e]=a.call(b,h[e],e,h));return j};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,h){var d=q(this),b=d.length>>>0,j=[];if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in d&&a.call(h,d[e],e,d)&&j.push(d[e]);return j};if(!Array.prototype.every)Array.prototype.every=function(a,d){var h=q(this),b=h.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)if(e in h&&!a.call(d,h[e],e,h))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,h){var d=q(this),b=d.length>>>0;if("[object Function]"!=i(a))throw new TypeError;
4
- for(var e=0;e<b;e++)if(e in d&&a.call(h,d[e],e,d))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var d=q(this),h=d.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!h&&1==arguments.length)throw new TypeError;var b=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(b in d){e=d[b++];break}if(++b>=h)throw new TypeError;}while(1)}for(;b<h;b++)b in d&&(e=a.call(void 0,e,d[b],b,d));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var d=
5
- q(this),h=d.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!h&&1==arguments.length)throw new TypeError;var b,h=h-1;if(2<=arguments.length)b=arguments[1];else{do{if(h in d){b=d[h--];break}if(0>--h)throw new TypeError;}while(1)}do h in this&&(b=a.call(void 0,b,d[h],h,d));while(h--);return b};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var h=q(this),d=h.length>>>0;if(!d)return-1;var b=0;1<arguments.length&&(b=s(arguments[1]));for(b=0<=b?b:d-Math.abs(b);b<d;b++)if(b in
6
- h&&h[b]===a)return b;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var b=q(this),h=b.length>>>0;if(!h)return-1;var d=h-1;1<arguments.length&&(d=s(arguments[1]));for(d=0<=d?d:h-Math.abs(d);0<=d;d--)if(d in b&&a===b[d])return d;return-1};if(!Object.keys){var h=!0,d="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),t=d.length,e;for(e in{toString:null})h=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
7
- typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],i;for(i in a)l(a,i)&&b.push(i);if(h)for(i=0;i<t;i++){var e=d[i];l(a,e)&&b.push(e)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,d,b;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(d=a.length;d--;)b=a[d],10>b&&(a[d]="0"+b);return a.slice(0,3).join("-")+"T"+
8
- 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";if(!String.prototype.trim||a.trim()){var a="["+a+"]",o=RegExp("^"+a+a+"*"),j=
9
- RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(o,"").replace(j,"")}}var s=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},v="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return v&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
- (function(a,b){var k=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);k&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});k=!!a.bar}catch(b){k=!1}a=null}();Modernizr.objectAccessor=!(!(k||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=k;
11
- if(!k||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var l=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,h,d,l){var e;e=function(){};e.prototype=a;e=new e;if(!l&&!("__proto__"in e)&&!Modernizr.objectAccessor)e.__proto__=a;h&&b.defineProperties(e,h);if(d)e.options=jQuery.extend(!0,{},e.options||{},d),d=e.options;e._create&&jQuery.isFunction(e._create)&&e._create(d);return e};b.defineProperties=function(a,
12
- h){for(var d in h)l(h,d)&&b.defineProperty(a,d,h[d]);return a};b.defineProperty=function(a,b,d){if("object"!=typeof d||null===d)return a;if(l(d,"value"))return a[b]=d.value,a;a.__defineGetter__&&("function"==typeof d.get&&a.__defineGetter__(b,d.get),"function"==typeof d.set&&a.__defineSetter__(b,d.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"!==
13
- typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var d;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return d=Object.getOwnPropertyDescriptor(a,b)}catch(k){}d={configurable:!0,enumerable:!0,writable:!0,value:void 0};var e=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!e&&!o){if(!l(a,b))return;d.value=a[b];return d}delete d.writable;delete d.value;d.get=d.set=void 0;if(e)d.get=
14
- e;if(o)d.set=o;return d}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,k,l,i=/<([\w:]+)/,h={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||h[(i.exec(a)||["",""])[1].toLowerCase()])return a;if(!l){k=b.body;if(!k)return a;l=b.createElement("div");l.style.display="none"}var t=l.cloneNode(!1);k.appendChild(t);t.innerHTML=a;k.removeChild(t);return t.childNodes}}})(jQuery);
15
- jQuery.webshims.register("dom-extend",function(a,b,k,l,i){var h=b.modules,d=/\s*,\s*/,t={},e={},o={},j={},s={},v=a.fn.val,q=function(f,c,g,b,d){return d?v.call(a(f)):v.call(a(f),g)};a.fn.val=function(f){var c=this[0];arguments.length&&null==f&&(f="");if(!arguments.length)return!c||1!==c.nodeType?v.call(this):a.prop(c,"value",f,"val",!0);if(a.isArray(f))return v.apply(this,arguments);var g=a.isFunction(f);return this.each(function(b){c=this;1===c.nodeType&&(g?(b=f.call(c,b,a.prop(c,"value",i,"val",
16
- !0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",f,"val"))})};var u="_webshimsLib"+Math.round(1E3*Math.random()),n=function(f,c,g){f=f.jquery?f[0]:f;if(!f)return g||{};var b=a.data(f,u);g!==i&&(b||(b=a.data(f,u,{})),c&&(b[c]=g));return c?b&&b[c]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(f){a.fn[f.name]=function(){return this.map(function(){var a=n(this,
17
- "shadowData");return a&&a[f.prop]||this})}});["removeAttr","prop","attr"].forEach(function(f){t[f]=a[f];a[f]=function(c,g,b,d,h){var j="val"==d,l=!j?t[f]:q;if(!c||!e[g]||1!==c.nodeType||!j&&d&&"attr"==f&&a.attrFn[g])return l(c,g,b,d,h);var z=(c.nodeName||"").toLowerCase(),x=o[z],y="attr"==f&&(!1===b||null===b)?"removeAttr":f,k,m,n;x||(x=o["*"]);x&&(x=x[g]);x&&(k=x[y]);if(k){if("value"==g)m=k.isVal,k.isVal=j;if("removeAttr"===y)return k.value.call(c);if(b===i)return k.get?k.get.call(c):k.value;k.set&&
18
- ("attr"==f&&!0===b&&(b=g),n=k.set.call(c,b));if("value"==g)k.isVal=m}else n=l(c,g,b,d,h);if((b!==i||"removeAttr"===y)&&s[z]&&s[z][g]){var r;r="removeAttr"==y?!1:"prop"==y?!!b:!0;s[z][g].forEach(function(a){if(!a.only||(a.only="prop"==f)||"attr"==a.only&&"prop"!=f)a.call(c,b,r,j?"val":y,f)})}return n};j[f]=function(c,g,d){o[c]||(o[c]={});o[c][g]||(o[c][g]={});var h=o[c][g][f],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==f&&"value"==g?function(a){return d.isVal?q(this,g,a,!1,0===arguments.length):
19
- t[f](this,g,a)}:"prop"==f&&"value"==a&&d.value.apply?function(a){var c=t[f](this,g);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[f](this,g,a)}};o[c][g][f]=d;if(d.value===i){if(!d.set)d.set=d.writeable?e("set",d,h):b.cfg.useStrict&&"prop"==g?function(){throw g+" is readonly on "+c;}:a.noop;if(!d.get)d.get=e("get",d,h)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=e(a,h))})}});var p=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=b.getPrototypeOf(l.createElement("foobar")),
20
- c=Object.prototype.hasOwnProperty;return function(g,d,h){var e=l.createElement(g),j=b.getPrototypeOf(e);if(p&&j&&a!==j&&(!e[d]||!c.call(e,d))){var i=e[d];h._supvalue=function(){return i&&i.apply?i.apply(this,arguments):i};j[d]=h.value}else h._supvalue=function(){var a=n(this,"propValue");return a&&a[d]&&a[d].apply?a[d].apply(this,arguments):a&&a[d]},r.extendValue(g,d,h.value);h.value._supvalue=h._supvalue}}(),r=function(){var f={};b.addReady(function(c,g){var d={},h=function(f){d[f]||(d[f]=a(c.getElementsByTagName(f)),
21
- g[0]&&a.nodeName(g[0],f)&&(d[f]=d[f].add(g)))};a.each(f,function(a,c){h(a);!c||!c.forEach?b.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){d[a].each(c)})});d=null});var c,g=a([]),d=function(g,b){f[g]?f[g].push(b):f[g]=[b];a.isDOMReady&&(c||a(l.getElementsByTagName(g))).each(b)};return{createTmpCache:function(f){a.isDOMReady&&(c=c||a(l.getElementsByTagName(f)));return c||g},flushTmpCache:function(){c=null},content:function(c,f){d(c,function(){var c=a.attr(this,f);null!=c&&a.attr(this,
22
- f,c)})},createElement:function(a,c){d(a,c)},extendValue:function(c,f,g){d(c,function(){a(this).each(function(){n(this,"propValue",{})[f]=this[f];this[f]=g})})}}}(),w=function(a,c){if(a.defaultValue===i)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var f=(new Date).getTime();return function(c){var c=a(c),g=c.attr("id");g||(f++,g="ID-"+f,c.attr("id",g));return g}}(),extendUNDEFProp:function(f,
23
- c){a.each(c,function(a,c){a in f||(f[a]=c)})},createPropDefault:w,data:n,moveToFirstEvent:function(){var f=a._data?"_data":"data";return function(c,g,b){if((c=(a[f](c,"events")||{})[g])&&1<c.length)g=c.pop(),b||(b="bind"),"bind"==b&&c.delegateCount?c.splice(c.delegateCount,0,g):c.unshift(g)}}(),addShadowDom:function(f,c,g){g=g||{};f.jquery&&(f=f[0]);c.jquery&&(c=c[0]);if(!g.shadowFocusElement)g.shadowFocusElement=c;var b=a.data(f,u)||a.data(f,u,{}),d=a.data(c,u)||a.data(c,u,{});b.hasShadow=c;d.nativeElement=
24
- f;d.shadowData=b.shadowData={nativeElement:f,shadowElement:c,shadowFocusElement:g.shadowFocusElement};g.shadowChilds&&g.shadowChilds.each(function(){n(this,"shadowData",d.shadowData)});if(g.data)b.shadowData.data=g.data,d.shadowData.data=g.data;g=null},propTypes:{standard:function(a){w(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){w(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
25
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,c){"string"==typeof c&&(c=c.split(d));c.forEach(function(c){b.defineNodeNamesProperty(f,c,{prop:{set:function(f){a.attr(this,c,f)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(f,c,g){e[c]=!0;if(g.reflect)b.propTypes[g.propType||"standard"](g);["prop","attr","removeAttr"].forEach(function(d){var h=g[d];h&&(h="prop"===d?a.extend({writeable:!0},h):a.extend({},
26
- h,{writeable:!0}),j[d](f,c,h),"*"!=f&&b.cfg.extendNative&&"prop"==d&&h.value&&a.isFunction(h.value)&&m(f,c,h),g[d]=h)});g.initAttr&&r.content(f,c);return g},defineNodeNameProperties:function(a,c,d,h){for(var e in c)!h&&c[e].initAttr&&r.createTmpCache(a),d&&(c[e][d]?b.log("override: "+a+"["+e+"] for "+d):(c[e][d]={},["value","set","get"].forEach(function(a){a in c[e]&&(c[e][d][a]=c[e][a],delete c[e][a])}))),c[e]=b.defineNodeNameProperty(a,e,c[e]);h||r.flushTmpCache();return c},createElement:function(f,
27
- c,d){var h;a.isFunction(c)&&(c={after:c});r.createTmpCache(f);c.before&&r.createElement(f,c.before);d&&(h=b.defineNodeNameProperties(f,d,!1,!0));c.after&&r.createElement(f,c.after);r.flushTmpCache();return h},onNodeNamesPropertyModify:function(f,c,b,h){"string"==typeof f&&(f=f.split(d));a.isFunction(b)&&(b={set:b});f.forEach(function(a){s[a]||(s[a]={});"string"==typeof c&&(c=c.split(d));b.initAttr&&r.createTmpCache(a);c.forEach(function(c){s[a][c]||(s[a][c]=[],e[c]=!0);if(b.set){if(h)b.set.only=h;
28
- s[a][c].push(b.set)}b.initAttr&&r.content(a,c)});r.flushTmpCache()})},defineNodeNamesBooleanProperty:function(f,c,d){d||(d={});if(a.isFunction(d))d.set=d;b.defineNodeNamesProperty(f,c,{attr:{set:function(a){this.setAttribute(c,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?i:c}},removeAttr:{value:function(){this.removeAttribute(c);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,c,d){if(a.nodeName){if(d===
29
- i)return d=(a.attributes[c]||{}).value,null==d?i:d;"boolean"==typeof d?d?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,d)}},activeLang:function(){var d=[],c={},g,e,j=/:\/\/|^\.*\//,i=function(c,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(c.loading=!0,f=f.langSrc,j.test(f)||(f=b.cfg.basePath+f),b.loader.loadScript(f+d+".js",function(){c.langObj[d]?(c.loading=!1,l(c,!0)):a(function(){c.langObj[d]&&l(c,!0);c.loading=!1})}),!0):!1},k=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
30
- l=function(a,c){if(a.activeLang!=g&&a.activeLang!==e){var d=h[a.module].options;if(a.langObj[g]||e&&a.langObj[e])a.activeLang=g,a.callback(a.langObj[g]||a.langObj[e],g),k(a.module);else if(!c&&!i(a,g,d)&&!i(a,e,d)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],g),k(a.module)}};return function(b){if("string"==typeof b&&b!==g)g=b,e=g.split("-")[0],g==e&&(e=!1),a.each(d,function(a,c){l(c)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),
31
- b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);l(b)}return g}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,f,h,e){"string"==typeof a&&(a=a.split(d));var j={};a.forEach(function(a){j[a]=b[c](a,f,h,e)});return j}});b.isReady("webshimLocalization",!0)});
32
- (function(a,b){var k=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<k)&&(!a.browser.msie||12>k&&7<k)){var l={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},i=function(a,d){a.getAttribute("role")||a.setAttribute("role",d)};a.webshims.addReady(function(h,d){a.each(l,function(b,e){for(var k=a(b,h).add(d.filter(b)),l=0,o=k.length;l<o;l++)i(k[l],e)});if(h===b){var k=b.getElementsByTagName("header")[0],e=b.getElementsByTagName("footer"),o=e.length;
33
- k&&!a(k).closest("section, article")[0]&&i(k,"banner");o&&(k=e[o-1],a(k).closest("section, article")[0]||i(k,"contentinfo"))}})}})(jQuery,document);
34
- (function(a,b,k){var l=b.audio&&b.video,i=!1;if(l)a=document.createElement("video"),b.videoBuffered="buffered"in a,i="loop"in a,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,d,b,e,k){var j=d.mediaelement,s=d.cfg.mediaelement,
35
- v=function(b,c){var b=a(b),g={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!g.src)return g;var e=b.attr("type");if(e)g.type=e,g.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(g.src,c))g.type=e,g.container=e,d.warn("you should always provide a proper mime-type using the source element. "+g.src+" detected as: "+e),a.nodeName(b[0],"source")&&b.attr("type",
36
- e);if(e=b.attr("media"))g.media=e;return g},q=swfobject.hasFlashPlayerVersion("9.0.115"),u=function(){d.ready("mediaelement-swf",function(){if(!j.createSWF)d.modules["mediaelement-swf"].test=a.noop,d.reTest(["mediaelement-swf"],l)})};j.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"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","f4a","fla"],"application/x-mpegURL":["m3u8",
37
- "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?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
38
- 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=e.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)});else{var c=[],d=b[0].nodeName.toLowerCase(),
39
- j=v(b,d);j.src?c.push(j):a("source",b).each(function(){j=v(this,d);j.src&&c.push(j)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==k&&(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(",");
40
- j.canSwfPlaySrces=function(b,c){var d="";q&&(b=a(b),c=c||j.srces(b),a.each(c,function(a,c){if(c.container&&c.src&&-1!=j.swfMimeTypes.indexOf(c.container))return d=c,!1}));return d};var n={};j.canNativePlaySrces=function(b,c){var d="";if(l){var b=a(b),e=(b[0].nodeName||"").toLowerCase();if(!n[e])return d;c=c||j.srces(b);a.each(c,function(a,c){if(c.type&&n[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");a(b).pause().data("mediaerror",
41
- c);d.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var p=function(){var a;return function(c,b,e){d.ready("mediaelement-swf",function(){j.createSWF?j.createSWF(c,b,e):a||(a=!0,u(),p(c,b,e))})}}(),m=function(a,c,b,d,e){b||!1!==b&&c&&"flash"==c.isActive?(b=j.canSwfPlaySrces(a,d))?p(a,b,c):e?j.setError(a,!1):m(a,c,!1,d,!0):(b=j.canNativePlaySrces(a,d))?c&&"flash"==c.isActive&&j.setActive(a,"html5",c):e?(j.setError(a,!1),c&&"flash"==c.isActive&&
42
- j.setActive(a,"html5",c)):m(a,c,!0,d,!0)},r=/^(?:embed|object|datalist)$/i,w=function(b,c){var e=d.data(b,"mediaelementBase")||d.data(b,"mediaelementBase",{}),i=j.srces(b),l=b.parentNode;clearTimeout(e.loadTimer);a.data(b,"mediaerror",!1);if(i.length&&l&&!(1!=l.nodeType||r.test(l.nodeName||"")))c=c||d.data(b,"mediaelement"),m(b,c,s.preferFlash||k,i)};a(e).bind("ended",function(b){var c=d.data(b.target,"mediaelement");(!i||c&&"html5"!=c.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,
43
- "paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});i||d.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var c=d.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=d.data(this,"mediaelement");w(this,a);l&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});n[b]=d.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(c){var d="";l&&n[b].prop._supvalue&&(d=n[b].prop._supvalue.call(this,
44
- c),"no"==d&&(d=""));!d&&q&&(c=a.trim((c||"").split(";")[0]),-1!=j.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});d.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=d.data(a,"mediaelementBase")||d.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){w(a);a=null},9)}});l&&d.isReady("mediaelement-core",!0);d.addReady(function(b,c){a("video, audio",b).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<d.browserVersion&&
45
- a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(l){var b,c,e=this,f=function(){var b=a.prop(e,"buffered");if(b){for(var c="",d=0,f=b.length;d<f;d++)c+=b.end(d);return c}},j=function(){var b=f();b!=c&&(c=b,a(e).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(c=f());clearTimeout(b);b=setTimeout(j,999)}).bind("emptied stalled mediaerror abort suspend",
46
- function(a){"emptied"==a.type&&(c=!1);clearTimeout(b)})}})});l&&q&&d.ready("WINDOWLOAD mediaelement",u)})})(jQuery,Modernizr,jQuery.webshims);
47
- jQuery.webshims.register("mediaelement-swf",function(a,b,k,l,i,h){var d=b.mediaelement,t=k.swfobject,e=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),j=0,k={paused:!0,ended:!1,currentSrc:"",duration:k.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)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}},s=Object.keys(k),v={currentTime:0,volume:1,
48
- muted:!1};Object.keys(v);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:i},k,v),u=/^jwplayer-/,n=function(a){if(a=l.getElementById(a.replace(u,"")))return a=b.data(a,"mediaelement"),"flash"==a.isActive?a:null},p=function(a){return(a=b.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},m=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,i,b)},r=h.playerPath||b.cfg.basePath+
49
- "jwplayer/"+(h.playerName||"player.swf"),w=h.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(h.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(h.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(h.jwAttrs,{bgcolor:"#000000"});var f=function(b,c){var e=b.duration;if(!(e&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=e}catch(f){}b.duration&&
50
- b.duration!=b._lastDuration?(m(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&d.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,m(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,m(b._elem,"canplaythrough");b.readyState=a};d.jwEvents=
51
- {View:{PLAY:function(a){var b=n(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;m(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var d=n(b.id);if(d&&"percentage"in b&&d._bufferedEnd!=b.percentage){d.networkState=100==b.percentage?1:2;(isNaN(d.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&f(d,b);if(d.ended)d.ended=!1;if(d.duration){2<b.percentage&&20>b.percentage?c(3,d):20<b.percentage&&c(4,d);if(d._bufferedEnd&&
52
- d._bufferedEnd>b.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=b.percentage;d.buffered.length=1;if(100==b.percentage)d.networkState=1,c(4,d);a.event.trigger("progress",i,d._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:n(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=a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=
1
+ (function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,k,j;if(!Function.prototype.bind)Function.prototype.bind=function(a){var e=this;if("function"!=typeof e)throw new TypeError;var d=h.call(arguments,1),m=function(){if(this instanceof m){var b=function(){};b.prototype=e.prototype;var b=new b,j=e.apply(b,d.concat(h.call(arguments)));return null!==j&&Object(j)===j?j:b}return e.apply(a,d.concat(h.call(arguments)))};return m};j=a.bind(b.toString);k=a.bind(b.hasOwnProperty);
2
+ if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==j(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,e){var b=q(this),d=0,l=b.length>>>0;if("[object Function]"!=j(a))throw new TypeError;for(;d<l;)d in b&&a.call(e,b[d],d,b),d++};if(!Array.prototype.map)Array.prototype.map=function(a,e){var b=q(this),d=b.length>>>0,l=Array(d);if("[object Function]"!=j(a))throw new TypeError;for(var g=0;g<d;g++)g in b&&(l[g]=a.call(e,b[g],g,b));return l};if(!Array.prototype.filter)Array.prototype.filter=
3
+ function(a,b){var d=q(this),e=d.length>>>0,l=[];if("[object Function]"!=j(a))throw new TypeError;for(var g=0;g<e;g++)g in d&&a.call(b,d[g],g,d)&&l.push(d[g]);return l};if(!Array.prototype.every)Array.prototype.every=function(a,d){var b=q(this),e=b.length>>>0;if("[object Function]"!=j(a))throw new TypeError;for(var g=0;g<e;g++)if(g in b&&!a.call(d,b[g],g,b))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var d=q(this),e=d.length>>>0;if("[object Function]"!=j(a))throw new TypeError;
4
+ for(var g=0;g<e;g++)if(g in d&&a.call(b,d[g],g,d))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var d=q(this),b=d.length>>>0;if("[object Function]"!=j(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var e=0,g;if(2<=arguments.length)g=arguments[1];else{do{if(e in d){g=d[e++];break}if(++e>=b)throw new TypeError;}while(1)}for(;e<b;e++)e in d&&(g=a.call(void 0,g,d[e],e,d));return g};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var d=
5
+ q(this),b=d.length>>>0;if("[object Function]"!=j(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var e,b=b-1;if(2<=arguments.length)e=arguments[1];else{do{if(b in d){e=d[b--];break}if(0>--b)throw new TypeError;}while(1)}do b in this&&(e=a.call(void 0,e,d[b],b,d));while(b--);return e};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=q(this),d=b.length>>>0;if(!d)return-1;var e=0;1<arguments.length&&(e=s(arguments[1]));for(e=0<=e?e:d-Math.abs(e);e<d;e++)if(e in
6
+ b&&b[e]===a)return e;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var e=q(this),b=e.length>>>0;if(!b)return-1;var d=b-1;1<arguments.length&&(d=s(arguments[1]));for(d=0<=d?d:b-Math.abs(d);0<=d;d--)if(d in e&&a===e[d])return d;return-1};if(!Object.keys){var d=!0,e="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),t=e.length,g;for(g in{toString:null})d=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
7
+ typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],j;for(j in a)k(a,j)&&b.push(j);if(d)for(j=0;j<t;j++){var g=e[j];k(a,g)&&b.push(g)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,d,b;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(d=a.length;d--;)b=a[d],10>b&&(a[d]="0"+b);return a.slice(0,3).join("-")+"T"+
8
+ 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";if(!String.prototype.trim||a.trim()){var a="["+a+"]",o=RegExp("^"+a+a+"*"),l=
9
+ RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(o,"").replace(l,"")}}var s=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},v="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return v&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
+ (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(d){h=!1}a=null}();Modernizr.objectAccessor=!(!(h||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=h;
11
+ if(!h||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,d,e,k){var g;g=function(){};g.prototype=a;g=new g;if(!k&&!("__proto__"in g)&&!Modernizr.objectAccessor)g.__proto__=a;d&&b.defineProperties(g,d);if(e)g.options=jQuery.extend(!0,{},g.options||{},e),e=g.options;g._create&&jQuery.isFunction(g._create)&&g._create(e);return g};b.defineProperties=function(a,
12
+ d){for(var e in d)k(d,e)&&b.defineProperty(a,e,d[e]);return a};b.defineProperty=function(a,d,b){if("object"!=typeof b||null===b)return a;if(k(b,"value"))return a[d]=b.value,a;a.__defineGetter__&&("function"==typeof b.get&&a.__defineGetter__(d,b.get),"function"==typeof b.set&&a.__defineSetter__(d,b.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"!==
13
+ typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var e;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return e=Object.getOwnPropertyDescriptor(a,b)}catch(h){}e={configurable:!0,enumerable:!0,writable:!0,value:void 0};var g=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!g&&!o){if(!k(a,b))return;e.value=a[b];return e}delete e.writable;delete e.value;e.get=e.set=void 0;if(g)e.get=
14
+ g;if(o)e.set=o;return e}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,h,k,j=/<([\w:]+)/,d={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||d[(j.exec(a)||["",""])[1].toLowerCase()])return a;if(!k){h=b.body;if(!h)return a;k=b.createElement("div");k.style.display="none"}var t=k.cloneNode(!1);h.appendChild(t);t.innerHTML=a;h.removeChild(t);return t.childNodes}}})(jQuery);
15
+ jQuery.webshims.register("dom-extend",function(a,b,h,k,j){var d=b.modules,e=/\s*,\s*/,t={},g={},o={},l={},s={},v=a.fn.val,q=function(f,c,i,b,d){return d?v.call(a(f)):v.call(a(f),i)};a.fn.val=function(f){var c=this[0];arguments.length&&null==f&&(f="");if(!arguments.length)return!c||1!==c.nodeType?v.call(this):a.prop(c,"value",f,"val",!0);if(a.isArray(f))return v.apply(this,arguments);var i=a.isFunction(f);return this.each(function(b){c=this;1===c.nodeType&&(i?(b=f.call(c,b,a.prop(c,"value",j,"val",
16
+ !0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",f,"val"))})};var u="_webshimsLib"+Math.round(1E3*Math.random()),n=function(f,c,i){f=f.jquery?f[0]:f;if(!f)return i||{};var b=a.data(f,u);i!==j&&(b||(b=a.data(f,u,{})),c&&(b[c]=i));return c?b&&b[c]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(f){a.fn[f.name]=function(){return this.map(function(){var a=n(this,
17
+ "shadowData");return a&&a[f.prop]||this})}});["removeAttr","prop","attr"].forEach(function(f){t[f]=a[f];a[f]=function(c,i,b,d,e){var l="val"==d,z=!l?t[f]:q;if(!c||!g[i]||1!==c.nodeType||!l&&d&&"attr"==f&&a.attrFn[i])return z(c,i,b,d,e);var A=(c.nodeName||"").toLowerCase(),x=o[A],k="attr"==f&&(!1===b||null===b)?"removeAttr":f,h,m,n;x||(x=o["*"]);x&&(x=x[i]);x&&(h=x[k]);if(h){if("value"==i)m=h.isVal,h.isVal=l;if("removeAttr"===k)return h.value.call(c);if(b===j)return h.get?h.get.call(c):h.value;h.set&&
18
+ ("attr"==f&&!0===b&&(b=i),n=h.set.call(c,b));if("value"==i)h.isVal=m}else n=z(c,i,b,d,e);if((b!==j||"removeAttr"===k)&&s[A]&&s[A][i]){var r;r="removeAttr"==k?!1:"prop"==k?!!b:!0;s[A][i].forEach(function(a){if(!a.only||(a.only="prop"==f)||"attr"==a.only&&"prop"!=f)a.call(c,b,r,l?"val":k,f)})}return n};l[f]=function(c,i,d){o[c]||(o[c]={});o[c][i]||(o[c][i]={});var e=o[c][i][f],g=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==f&&"value"==i?function(a){return d.isVal?q(this,i,a,!1,0===arguments.length):
19
+ t[f](this,i,a)}:"prop"==f&&"value"==a&&d.value.apply?function(a){var c=t[f](this,i);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[f](this,i,a)}};o[c][i][f]=d;if(d.value===j){if(!d.set)d.set=d.writeable?g("set",d,e):b.cfg.useStrict&&"prop"==i?function(){throw i+" is readonly on "+c;}:a.noop;if(!d.get)d.get=g("get",d,e)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=g(a,e))})}});var p=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=b.getPrototypeOf(k.createElement("foobar")),
20
+ c=Object.prototype.hasOwnProperty;return function(i,d,e){var g=k.createElement(i),l=b.getPrototypeOf(g);if(p&&l&&a!==l&&(!g[d]||!c.call(g,d))){var j=g[d];e._supvalue=function(){return j&&j.apply?j.apply(this,arguments):j};l[d]=e.value}else e._supvalue=function(){var a=n(this,"propValue");return a&&a[d]&&a[d].apply?a[d].apply(this,arguments):a&&a[d]},r.extendValue(i,d,e.value);e.value._supvalue=e._supvalue}}(),r=function(){var f={};b.addReady(function(c,i){var d={},e=function(f){d[f]||(d[f]=a(c.getElementsByTagName(f)),
21
+ i[0]&&a.nodeName(i[0],f)&&(d[f]=d[f].add(i)))};a.each(f,function(a,c){e(a);!c||!c.forEach?b.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){d[a].each(c)})});d=null});var c,i=a([]),d=function(i,b){f[i]?f[i].push(b):f[i]=[b];a.isDOMReady&&(c||a(k.getElementsByTagName(i))).each(b)};return{createTmpCache:function(f){a.isDOMReady&&(c=c||a(k.getElementsByTagName(f)));return c||i},flushTmpCache:function(){c=null},content:function(c,f){d(c,function(){var c=a.attr(this,f);null!=c&&a.attr(this,
22
+ f,c)})},createElement:function(a,c){d(a,c)},extendValue:function(c,f,i){d(c,function(){a(this).each(function(){n(this,"propValue",{})[f]=this[f];this[f]=i})})}}}(),w=function(a,c){if(a.defaultValue===j)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var f=(new Date).getTime();return function(c){var c=a(c),i=c.attr("id");i||(f++,i="ID-"+f,c.attr("id",i));return i}}(),extendUNDEFProp:function(f,
23
+ c){a.each(c,function(a,c){a in f||(f[a]=c)})},createPropDefault:w,data:n,moveToFirstEvent:function(){var f=a._data?"_data":"data";return function(c,i,b){if((c=(a[f](c,"events")||{})[i])&&1<c.length)i=c.pop(),b||(b="bind"),"bind"==b&&c.delegateCount?c.splice(c.delegateCount,0,i):c.unshift(i)}}(),addShadowDom:function(f,c,b){b=b||{};f.jquery&&(f=f[0]);c.jquery&&(c=c[0]);if(!b.shadowFocusElement)b.shadowFocusElement=c;var d=a.data(f,u)||a.data(f,u,{}),e=a.data(c,u)||a.data(c,u,{});d.hasShadow=c;e.nativeElement=
24
+ f;e.shadowData=d.shadowData={nativeElement:f,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){n(this,"shadowData",e.shadowData)});if(b.data)d.shadowData.data=b.data,e.shadowData.data=b.data;b=null},propTypes:{standard:function(a){w(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){w(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
25
+ ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,c){"string"==typeof c&&(c=c.split(e));c.forEach(function(c){b.defineNodeNamesProperty(f,c,{prop:{set:function(f){a.attr(this,c,f)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(f,c,d){g[c]=!0;if(d.reflect)b.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(e){var g=d[e];g&&(g="prop"===e?a.extend({writeable:!0},g):a.extend({},
26
+ g,{writeable:!0}),l[e](f,c,g),"*"!=f&&b.cfg.extendNative&&"prop"==e&&g.value&&a.isFunction(g.value)&&m(f,c,g),d[e]=g)});d.initAttr&&r.content(f,c);return d},defineNodeNameProperties:function(a,c,d,e){for(var g in c)!e&&c[g].initAttr&&r.createTmpCache(a),d&&(c[g][d]?b.log("override: "+a+"["+g+"] for "+d):(c[g][d]={},["value","set","get"].forEach(function(a){a in c[g]&&(c[g][d][a]=c[g][a],delete c[g][a])}))),c[g]=b.defineNodeNameProperty(a,g,c[g]);e||r.flushTmpCache();return c},createElement:function(f,
27
+ c,d){var e;a.isFunction(c)&&(c={after:c});r.createTmpCache(f);c.before&&r.createElement(f,c.before);d&&(e=b.defineNodeNameProperties(f,d,!1,!0));c.after&&r.createElement(f,c.after);r.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,c,d,D){"string"==typeof b&&(b=b.split(e));a.isFunction(d)&&(d={set:d});b.forEach(function(a){s[a]||(s[a]={});"string"==typeof c&&(c=c.split(e));d.initAttr&&r.createTmpCache(a);c.forEach(function(c){s[a][c]||(s[a][c]=[],g[c]=!0);if(d.set){if(D)d.set.only=D;
28
+ s[a][c].push(d.set)}d.initAttr&&r.content(a,c)});r.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)?j: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,d){if(a.nodeName){if(d===
29
+ j)return d=(a.attributes[c]||{}).value,null==d?j:d;"boolean"==typeof d?d?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,d)}},activeLang:function(){var f=[],c={},e,g,l=/:\/\/|^\.*\//,j=function(c,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(c.loading=!0,f=f.langSrc,l.test(f)||(f=b.cfg.basePath+f),b.loader.loadScript(f+d+".js",function(){c.langObj[d]?(c.loading=!1,k(c,!0)):a(function(){c.langObj[d]&&k(c,!0);c.loading=!1})}),!0):!1},h=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
30
+ k=function(a,c){if(a.activeLang!=e&&a.activeLang!==g){var b=d[a.module].options;if(a.langObj[e]||g&&a.langObj[g])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[g],e),h(a.module);else if(!c&&!j(a,e,b)&&!j(a,g,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),h(a.module)}};return function(d){if("string"==typeof d&&d!==e)e=d,g=e.split("-")[0],e==g&&(g=!1),a.each(f,function(a,c){k(c)});else if("object"==typeof d)if(d.register)c[d.register]||(c[d.register]=[]),c[d.register].push(d),
31
+ d.callback();else{if(!d.activeLang)d.activeLang="";f.push(d);k(d)}return e}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,f,g){"string"==typeof a&&(a=a.split(e));var l={};a.forEach(function(a){l[a]=b[c](a,d,f,g)});return l}});b.isReady("webshimLocalization",!0)});
32
+ (function(a,b){var h=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<h)&&(!a.browser.msie||12>h&&7<h)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},j=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(d,e){a.each(k,function(b,g){for(var h=a(b,d).add(e.filter(b)),k=0,o=h.length;k<o;k++)j(h[k],g)});if(d===b){var h=b.getElementsByTagName("header")[0],g=b.getElementsByTagName("footer"),o=g.length;
33
+ h&&!a(h).closest("section, article")[0]&&j(h,"banner");o&&(h=g[o-1],a(h).closest("section, article")[0]||j(h,"contentinfo"))}})}})(jQuery,document);
34
+ (function(a,b,h){var k=b.audio&&b.video,j=!1;if(k)a=document.createElement("video"),b.videoBuffered="buffered"in a,j="loop"in a,h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(h.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,h,g,o){var l=b.mediaelement,s=b.cfg.mediaelement,
35
+ v=function(f,c){var f=a(f),g={src:f.attr("src")||"",elem:f,srcProp:f.prop("src")};if(!g.src)return g;var h=f.attr("type");if(h)g.type=h,g.container=a.trim(h.split(";")[0]);else if(c||(c=f[0].nodeName.toLowerCase(),"source"==c&&(c=(f.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),h=l.getTypeForSrc(g.src,c))g.type=h,g.container=h,b.warn("you should always provide a proper mime-type using the source element. "+g.src+" detected as: "+h),a.nodeName(f[0],"source")&&f.attr("type",
36
+ h);if(h=f.attr("media"))g.media=h;return g},q=swfobject.hasFlashPlayerVersion("9.0.115"),u=function(){b.ready("mediaelement-swf",function(){if(!l.createSWF)b.modules["mediaelement-swf"].test=a.noop,b.reTest(["mediaelement-swf"],k)})};l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"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","f4a","fla"],"application/x-mpegURL":["m3u8",
37
+ "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"]}};l.mimeTypes.source=a.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
38
+ var b=b.split("?")[0].split("."),b=b[b.length-1],e;a.each(l.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return e=a,!1});return e};l.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=g.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)});else{var c=[],e=b[0].nodeName.toLowerCase(),
39
+ h=v(b,e);h.src?c.push(h):a("source",b).each(function(){h=v(this,e);h.src&&c.push(h)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==o&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));l.srces(this,b);a(this).mediaLoad()})};l.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(",");
40
+ l.canSwfPlaySrces=function(b,c){var e="";q&&(b=a(b),c=c||l.srces(b),a.each(c,function(a,c){if(c.container&&c.src&&-1!=l.swfMimeTypes.indexOf(c.container))return e=c,!1}));return e};var n={};l.canNativePlaySrces=function(b,c){var e="";if(k){var b=a(b),g=(b[0].nodeName||"").toLowerCase();if(!n[g])return e;c=c||l.srces(b);a.each(c,function(a,c){if(c.type&&n[g].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};l.setError=function(f,c){c||(c="can't play sources");a(f).pause().data("mediaerror",
41
+ c);b.warn("mediaelementError: "+c);setTimeout(function(){a(f).data("mediaerror")&&a(f).trigger("mediaerror")},1)};var p=function(){var a;return function(c,d,g){b.ready("mediaelement-swf",function(){l.createSWF?l.createSWF(c,d,g):a||(a=!0,u(),p(c,d,g))})}}(),m=function(a,c,b,d,e){b||!1!==b&&c&&"flash"==c.isActive?(b=l.canSwfPlaySrces(a,d))?p(a,b,c):e?l.setError(a,!1):m(a,c,!1,d,!0):(b=l.canNativePlaySrces(a,d))?c&&"flash"==c.isActive&&l.setActive(a,"html5",c):e?(l.setError(a,!1),c&&"flash"==c.isActive&&
42
+ l.setActive(a,"html5",c)):m(a,c,!0,d,!0)},r=/^(?:embed|object|datalist)$/i,w=function(f,c){var g=b.data(f,"mediaelementBase")||b.data(f,"mediaelementBase",{}),h=l.srces(f),j=f.parentNode;clearTimeout(g.loadTimer);a.data(f,"mediaerror",!1);if(h.length&&j&&!(1!=j.nodeType||r.test(j.nodeName||"")))c=c||b.data(f,"mediaelement"),m(f,c,s.preferFlash||o,h)};a(g).bind("ended",function(f){var c=b.data(f.target,"mediaelement");(!j||c&&"html5"!=c.isActive||a.prop(f.target,"loop"))&&setTimeout(function(){!a.prop(f.target,
43
+ "paused")&&a.prop(f.target,"loop")&&a(f.target).prop("currentTime",0).play()},1)});j||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(f){var c=b.defineNodeNameProperty(f,"load",{prop:{value:function(){var a=b.data(this,"mediaelement");w(this,a);k&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});n[f]=b.defineNodeNameProperty(f,"canPlayType",{prop:{value:function(b){var c="";k&&n[f].prop._supvalue&&(c=n[f].prop._supvalue.call(this,
44
+ b),"no"==c&&(c=""));!c&&q&&(b=a.trim((b||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(b)&&(c="maybe"));return c}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,c=b.data(a,"mediaelementBase")||b.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){w(a);a=null},9)}});h=function(){b.addReady(function(f,c){a("video, audio",f).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,
45
+ "paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(k){var c,f,g=this,h=function(){var c=a.prop(g,"buffered");if(c){for(var b="",e=0,f=c.length;e<f;e++)b+=c.end(e);return b}},j=function(){var c=h();c!=f&&(f=c,a(g).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(f=h());clearTimeout(c);c=setTimeout(j,999)}).bind("emptied stalled mediaerror abort suspend",
46
+ function(a){"emptied"==a.type&&(f=!1);clearTimeout(c)})}})})};k?(b.isReady("mediaelement-core",!0),h(),q&&b.ready("WINDOWLOAD mediaelement",u)):b.ready("mediaelement-swf",h)})})(jQuery,Modernizr,jQuery.webshims);
47
+ jQuery.webshims.register("mediaelement-swf",function(a,b,h,k,j,d){var e=b.mediaelement,t=h.swfobject,g=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),l=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}},s=Object.keys(h),v={currentTime:0,volume:1,
48
+ muted:!1};Object.keys(v);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:j},h,v),u=/^jwplayer-/,n=function(a){if(a=k.getElementById(a.replace(u,"")))return a=b.data(a,"mediaelement"),"flash"==a.isActive?a:null},p=function(a){return(a=b.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},m=function(c,b){b=a.Event(b);b.preventDefault();a.event.trigger(b,j,c)},r=d.playerPath||b.cfg.basePath+
49
+ "jwplayer/"+(d.playerName||"player.swf"),w=d.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(d.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(d.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(d.jwAttrs,{bgcolor:"#000000"});var f=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(f){}c.duration&&
50
+ c.duration!=c._lastDuration?(m(c._elem,"durationchange"),("audio"==c._elemNodeName||c._callMeta)&&e.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,m(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,m(b._elem,"canplaythrough");b.readyState=a};e.jwEvents=
51
+ {View:{PLAY:function(a){var c=n(a.id);if(c&&!c.stopPlayPause&&(c._ppFlag=!0,c.paused==a.state)){c.paused=!a.state;if(c.ended)c.ended=!1;m(c._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var d=n(b.id);if(d&&"percentage"in b&&d._bufferedEnd!=b.percentage){d.networkState=100==b.percentage?1:2;(isNaN(d.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&f(d,b);if(d.ended)d.ended=!1;if(d.duration){2<b.percentage&&20>b.percentage?c(3,d):20<b.percentage&&c(4,d);if(d._bufferedEnd&&
52
+ d._bufferedEnd>b.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=b.percentage;d.buffered.length=1;if(100==b.percentage)d.networkState=1,c(4,d);a.event.trigger("progress",j,d._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:n(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=a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=
53
53
  a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&m(b._elem,"durationchange");m(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=n(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&f(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;m(b._elem,"timeupdate")}},STATE:function(a){var b=n(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);m(b._elem,"waiting");
54
- break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||f(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;m(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,m(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,m(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=n(a.id);b&&d.setError(b._elem,a.message)},SEEK:function(a){var b=n(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=
55
- a.position)b.currentTime=a.position,m(b._elem,"timeupdate")}},VOLUME:function(a){var b=n(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,m(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=n(a.id);if(b&&b.muted!=a.state)b.muted=a.state,m(b._elem,"volumechange")}}}};var g=function(b){a.each(d.jwEvents,function(c,d){a.each(d,function(a){b.jwapi["add"+c+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+c+"."+a)})})},F=function(b){b&&(b._ppFlag===i&&a.prop(b._elem,"autoplay")||
56
- !b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===i||!b.paused))try{a(b._elem).play()}catch(c){}},1)},H=function(b){if(b&&"video"==b._elemNodeName){var c,d,e,f,h,g,j,k,i=function(i,l){if(l&&i&&!(1>l||1>i||"flash"!=b.isActive))if(c&&(c.remove(),c=!1),f=i,h=l,clearTimeout(j),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){g=g||a(b._elem).getShadowElement();var m;d&&!e?(m=g.height(),i*=m/l,l=m):!d&&e&&(m=g.width(),l*=m/i,i=m);k=!0;setTimeout(function(){k=!1},9);
57
- g.css({width:i,height:l})}},l=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"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(j);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||
58
- b.offsetHeight;e&&d?(i(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;i(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(j),j=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){i(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",
59
- l).bind("swfstageresize",function(){k||i(f,h)}).bind("emptied",function(){f=void 0;h=void 0}).triggerHandler("swfstageresize");l();a.prop(b._elem,"readyState")&&i(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};d.playerResize=function(b){b&&(b=l.getElementById(b.replace(u,"")))&&a(b).triggerHandler("swfstageresize")};a(l).bind("emptied",function(a){a=p(a.target);F(a)});var C;d.jwPlayerReady=function(c){var d=n(c.id);if(d&&d.jwapi){clearTimeout(C);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");
60
- d.wasSwfReady?a(d._elem).mediaLoad():(c=parseFloat(c.version,10),(5.6>c||6<=c)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+"),a.prop(d._elem,"volume",d.volume),a.prop(d._elem,"muted",d.muted),g(d));d.wasSwfReady=!0;var c=d.actionQueue.length,e=0,f;if(c&&"flash"==d.isActive)for(;d.actionQueue.length&&c>e;)e++,f=d.actionQueue.shift(),d.jwapi[f.fn].apply(d.jwapi,f.args);if(d.actionQueue.length)d.actionQueue=[];F(d)}};var D=a.noop;if(e){var I={play:1,playing:1},z="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
61
- x=z.map(function(a){return a+".webshimspolyfill"}).join(" "),y=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("flash"==d.activating)&&(c.stopImmediatePropagation(),I[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},D=function(c){a(c).unbind(x).bind(x,y);z.forEach(function(a){b.moveToFirstEvent(c,a)})};D(l)}d.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"flash"!=d&&b.warn("wrong type for mediaelement activating: "+
62
- d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).hide().getShadowElement().show()):(a(c).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};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;
63
- for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&m(d._elem,"emptied")}}}(),G=function(b,d){var c=b._elem,e=b.shadowElem;a(c)[d?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!d?e.css({width:0,height:0}):e.css({width:c.style.width||a(c).width(),height:c.style.height||a(c).height()})};d.createSWF=function(c,f,g){if(o){1>j?j=1:j++;var i=a.extend({},h.jwVars,{image:a.prop(c,"poster")||"",file:f.srcProp}),l=a(c).data("jwvars")||{};if(g&&g.swfCreated)d.setActive(c,
64
- "flash",g),J(g),g.currentSrc=f.srcProp,a.extend(i,l),h.changeJW(i,c,f,g,"load"),A(c,"sendEvent",["LOAD",i]);else{var k=a.prop(c,"controls"),B="jwplayer-"+b.getID(c),m=a.extend({},h.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),s=a.extend({},h.jwAttrs,{name:B,id:B},a(c).data("jwattrs")),p=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+B+'"><div id="'+B+'"></div>').css({position:"relative",overflow:"hidden"}),g=b.data(c,"mediaelement",b.objectCreate(q,{actionQueue:{value:[]},
65
- shadowElem:{value:p},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:f.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=g.buffered.length)b.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));G(g,k);p.insertBefore(c);e&&a.extend(g,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(i,{id:B,
66
- controlbar:k?h.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(k&&"video"==n)},l,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+w):w;b.addShadowDom(c,p);D(c);d.setActive(c,"flash",g);h.changeJW(i,c,f,g,"embed");H(g);t.embedSWF(r,B,"100%","100%","9.0.0",!1,i,m,s,function(d){if(d.success)g.jwapi=d.ref,k||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&p[0].parentNode||
67
- "none"==d.ref.style.display)p.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),C||(clearTimeout(C),C=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"):
68
- (2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var A=function(a,b,c,d){return(d=d||p(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={},f,g=function(a){"audio"==c&&
69
- ("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=p(this);return b?b[a]:e&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var c=p(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);A(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(c.volume==a||"flash"!=c.isActive))c.volume=
70
- a,m(c._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=p(this);if(b){if(a=!!a,A(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,m(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=p(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
71
- !0;b.stopPlayPause=!1},50);A(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,m(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=p(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),A(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
72
- !0,b.paused!=("play"!=a)))b.paused="play"!=a,m(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});s.forEach(g);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=p(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{A(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&G(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});f=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=
73
- 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)&&j)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){j--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}if(!e){var E=l.createElement("a");["poster","src"].forEach(function(c){b.defineNodeNamesProperty("src"==c?["audio","video","source"]:["video"],c,{prop:{get:function(){var b=
74
- this.getAttribute(c);if(null==b)return"";E.setAttribute("href",b+"");return!a.support.hrefNormalized?E.getAttribute("href",4):E.href},set:function(b){a.attr(this,c,b)}}})});["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},
75
- NETWORK_NO_SOURCE:{value:3}},"prop")}});
54
+ break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||f(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;m(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,m(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,m(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=n(a.id);b&&e.setError(b._elem,a.message)},SEEK:function(a){var b=n(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=
55
+ a.position)b.currentTime=a.position,m(b._elem,"timeupdate")}},VOLUME:function(a){var b=n(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,m(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=n(a.id);if(b&&b.muted!=a.state)b.muted=a.state,m(b._elem,"volumechange")}}}};var i=function(b){var c=!0;a.each(e.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},D=function(a){var b=
56
+ a.actionQueue.length,c=0,d;if(b&&"flash"==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=[]},F=function(b){b&&(b._ppFlag===j&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===j||!b.paused))try{a(b._elem).play()}catch(c){}},1)},I=function(b){if(b&&"video"==b._elemNodeName){var c,d,e,f,g,h,j,l,i=function(i,k){if(k&&i&&!(1>k||1>i||"flash"!=b.isActive))if(c&&
57
+ (c.remove(),c=!1),f=i,g=k,clearTimeout(j),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(),i*=m/k,k=m):!d&&e&&(m=h.width(),k*=m/i,i=m);l=!0;setTimeout(function(){l=!1},9);h.css({width:i,height:k})}},k=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),
58
+ c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(j);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(i(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;i(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
59
+ this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(j),j=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){i(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize",function(){l||i(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");k();a.prop(b._elem,"readyState")&&i(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};e.playerResize=function(b){b&&
60
+ (b=k.getElementById(b.replace(u,"")))&&a(b).triggerHandler("swfstageresize")};a(k).bind("emptied",function(a){a=p(a.target);F(a)});var E;e.jwPlayerReady=function(c){var d=n(c.id),e=0,f=function(){if(!(9<e))if(e++,i(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var g=parseFloat(c.version,10);(5.6>g||6<=g)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;D(d);F(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,9*e),2<e&&9>d.tryedReframeing&&
61
+ (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(E);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var z=a.noop;if(g){var A={play:1,playing:1},x="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),G=x.map(function(a){return a+
62
+ ".webshimspolyfill"}).join(" "),J=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("flash"==d.activating)&&(c.stopImmediatePropagation(),A[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},z=function(c){a(c).unbind(G).bind(G,J);x.forEach(function(a){b.moveToFirstEvent(c,a)})};z(k)}e.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"flash"!=d&&b.warn("wrong type for mediaelement activating: "+d);
63
+ var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).hide().getShadowElement().show()):(a(c).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var K=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;
64
+ for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&m(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()})};e.createSWF=function(c,f,h){if(o){1>l?l=1:l++;var i=a.extend({},d.jwVars,{image:a.prop(c,"poster")||"",file:f.srcProp}),j=a(c).data("jwvars")||{};if(h&&h.swfCreated)e.setActive(c,
65
+ "flash",h),K(h),h.currentSrc=f.srcProp,a.extend(i,j),d.changeJW(i,c,f,h,"load"),B(c,"sendEvent",["LOAD",i]);else{var k=a.prop(c,"controls"),C="jwplayer-"+b.getID(c),m=a.extend({},d.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),s=a.extend({},d.jwAttrs,{name:C,id:C},a(c).data("jwattrs")),p=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+C+'"><div id="'+C+'"></div>').css({position:"relative",overflow:"hidden"}),h=b.data(c,"mediaelement",b.objectCreate(q,{actionQueue:{value:[]},
66
+ shadowElem:{value:p},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:f.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return(h.duration-h._bufferedStart)*h._bufferedEnd/100+h._bufferedStart},length:0}}}));H(h,k);p.insertBefore(c);g&&a.extend(h,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(i,{id:C,
67
+ controlbar:k?d.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(k&&"video"==n)},j,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+w):w;b.addShadowDom(c,p);z(c);e.setActive(c,"flash",h);d.changeJW(i,c,f,h,"embed");I(h);t.embedSWF(r,C,"100%","100%","9.0.0",!1,i,m,s,function(d){if(d.success)h.jwapi=d.ref,k||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&p[0].parentNode||
68
+ "none"==d.ref.style.display)p.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),E||(clearTimeout(E),E=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"):
69
+ (2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var B=function(a,b,c,d){return(d=d||p(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&&
70
+ ("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=p(this);return b?b[a]:g&&e[a].prop._supget?e[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){f(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var c=p(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);B(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(c.volume==a||"flash"!=c.isActive))c.volume=
71
+ a,m(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=p(this);if(b){if(a=!!a,B(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,m(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=p(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
72
+ !0;b.stopPlayPause=!1},50);B(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,m(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=p(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),B(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
73
+ !0,b.paused!=("play"!=a)))b.paused="play"!=a,m(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});s.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=p(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{B(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 L=
74
+ a.cleanData,M=a.browser.msie&&9>b.browserVersion,N={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&l)for(b=0;b<c;b++)if(N[a[b].nodeName]){if("sendEvent"in a[b]){l--;try{a[b].sendEvent("play",!1)}catch(e){}}if(M)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return L.apply(this,arguments)}}if(!g){var y=k.createElement("a");y.style.display="none";["poster","src"].forEach(function(c){b.defineNodeNamesProperty("src"==c?["audio","video","source"]:["video"],
75
+ c,{prop:{get:function(){var b=this.getAttribute(c),d;if(null==b)return"";y.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(y).appendTo(this),d=y.getAttribute("href",4)}catch(e){d=y.getAttribute("href",4)}a(y).detach()}return d||y.href},set:function(b){a.attr(this,c,b)}}})});["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},
76
+ HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop")}});
@@ -1,39 +1,41 @@
1
- (function(b){if(!Modernizr.genericDOM){var f=document,p,l,n=/<([\w:]+)/,k={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};b.webshims.fixHTML5=function(b){if("string"!=typeof b||k[(n.exec(b)||["",""])[1].toLowerCase()])return b;if(!l){p=f.body;if(!p)return b;l=f.createElement("div");l.style.display="none"}var m=l.cloneNode(!1);p.appendChild(m);m.innerHTML=b;p.removeChild(m);return m.childNodes}}})(jQuery);
2
- jQuery.webshims.register("dom-extend",function(b,f,p,l,n){var k=f.modules,u=/\s*,\s*/,m={},v={},r={},w={},a={},c=b.fn.val,j=function(a,e,d,g,q){return q?c.call(b(a)):c.call(b(a),d)};b.fn.val=function(a){var e=this[0];arguments.length&&null==a&&(a="");if(!arguments.length)return!e||1!==e.nodeType?c.call(this):b.prop(e,"value",a,"val",!0);if(b.isArray(a))return c.apply(this,arguments);var d=b.isFunction(a);return this.each(function(g){e=this;1===e.nodeType&&(d?(g=a.call(e,g,b.prop(e,"value",n,"val",
3
- !0)),null==g&&(g=""),b.prop(e,"value",g,"val")):b.prop(e,"value",a,"val"))})};var h="_webshimsLib"+Math.round(1E3*Math.random()),i=function(a,e,d){a=a.jquery?a[0]:a;if(!a)return d||{};var g=b.data(a,h);d!==n&&(g||(g=b.data(a,h,{})),e&&(g[e]=d));return e?g&&g[e]:g};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(a){b.fn[a.name]=function(){return this.map(function(){var b=i(this,
4
- "shadowData");return b&&b[a.prop]||this})}});["removeAttr","prop","attr"].forEach(function(o){m[o]=b[o];b[o]=function(e,d,g,q,c){var i="val"==q,h=!i?m[o]:j;if(!e||!v[d]||1!==e.nodeType||!i&&q&&"attr"==o&&b.attrFn[d])return h(e,d,g,q,c);var x=(e.nodeName||"").toLowerCase(),f=r[x],t="attr"==o&&(!1===g||null===g)?"removeAttr":o,k,l,u;f||(f=r["*"]);f&&(f=f[d]);f&&(k=f[t]);if(k){if("value"==d)l=k.isVal,k.isVal=i;if("removeAttr"===t)return k.value.call(e);if(g===n)return k.get?k.get.call(e):k.value;k.set&&
5
- ("attr"==o&&!0===g&&(g=d),u=k.set.call(e,g));if("value"==d)k.isVal=l}else u=h(e,d,g,q,c);if((g!==n||"removeAttr"===t)&&a[x]&&a[x][d]){var s;s="removeAttr"==t?!1:"prop"==t?!!g:!0;a[x][d].forEach(function(a){if(!a.only||(a.only="prop"==o)||"attr"==a.only&&"prop"!=o)a.call(e,g,s,i?"val":t,o)})}return u};w[o]=function(a,d,g){r[a]||(r[a]={});r[a][d]||(r[a][d]={});var q=r[a][d][o],c=function(a,b,e){return b&&b[a]?b[a]:e&&e[a]?e[a]:"prop"==o&&"value"==d?function(a){return g.isVal?j(this,d,a,!1,0===arguments.length):
6
- m[o](this,d,a)}:"prop"==o&&"value"==a&&g.value.apply?function(a){var b=m[o](this,d);b&&b.apply&&(b=b.apply(this,arguments));return b}:function(a){return m[o](this,d,a)}};r[a][d][o]=g;if(g.value===n){if(!g.set)g.set=g.writeable?c("set",g,q):f.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+a;}:b.noop;if(!g.get)g.get=c("get",g,q)}["value","get","set"].forEach(function(a){g[a]&&(g["_sup"+a]=c(a,q))})}});var t=!b.browser.msie||8<parseInt(b.browser.version,10),z=function(){var a=f.getPrototypeOf(l.createElement("foobar")),
7
- b=Object.prototype.hasOwnProperty;return function(d,g,q){var c=l.createElement(d),j=f.getPrototypeOf(c);if(t&&j&&a!==j&&(!c[g]||!b.call(c,g))){var h=c[g];q._supvalue=function(){return h&&h.apply?h.apply(this,arguments):h};j[g]=q.value}else q._supvalue=function(){var a=i(this,"propValue");return a&&a[g]&&a[g].apply?a[g].apply(this,arguments):a&&a[g]},s.extendValue(d,g,q.value);q.value._supvalue=q._supvalue}}(),s=function(){var a={};f.addReady(function(d,e){var g={},c=function(a){g[a]||(g[a]=b(d.getElementsByTagName(a)),
8
- e[0]&&b.nodeName(e[0],a)&&(g[a]=g[a].add(e)))};b.each(a,function(a,b){c(a);!b||!b.forEach?f.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){g[a].each(b)})});g=null});var e,d=b([]),g=function(d,g){a[d]?a[d].push(g):a[d]=[g];b.isDOMReady&&(e||b(l.getElementsByTagName(d))).each(g)};return{createTmpCache:function(a){b.isDOMReady&&(e=e||b(l.getElementsByTagName(a)));return e||d},flushTmpCache:function(){e=null},content:function(a,d){g(a,function(){var a=b.attr(this,d);null!=a&&b.attr(this,
9
- d,a)})},createElement:function(a,b){g(a,b)},extendValue:function(a,d,e){g(a,function(){b(this).each(function(){i(this,"propValue",{})[d]=this[d];this[d]=e})})}}}(),y=function(a,b){if(a.defaultValue===n)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};b.extend(f,{getID:function(){var a=(new Date).getTime();return function(e){var e=b(e),d=e.attr("id");d||(a++,d="ID-"+a,e.attr("id",d));return d}}(),extendUNDEFProp:function(a,
10
- e){b.each(e,function(b,e){b in a||(a[b]=e)})},createPropDefault:y,data:i,moveToFirstEvent:function(){var a=b._data?"_data":"data";return function(e,d,g){if((e=(b[a](e,"events")||{})[d])&&1<e.length)d=e.pop(),g||(g="bind"),"bind"==g&&e.delegateCount?e.splice(e.delegateCount,0,d):e.unshift(d)}}(),addShadowDom:function(a,e,d){d=d||{};a.jquery&&(a=a[0]);e.jquery&&(e=e[0]);if(!d.shadowFocusElement)d.shadowFocusElement=e;var g=b.data(a,h)||b.data(a,h,{}),c=b.data(e,h)||b.data(e,h,{});g.hasShadow=e;c.nativeElement=
11
- a;c.shadowData=g.shadowData={nativeElement:a,shadowElement:e,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){i(this,"shadowData",c.shadowData)});if(d.data)g.shadowData.data=d.data,c.shadowData.data=d.data;d=null},propTypes:{standard:function(a){y(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){y(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
12
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(a,e){"string"==typeof e&&(e=e.split(u));e.forEach(function(d){f.defineNodeNamesProperty(a,d,{prop:{set:function(a){b.attr(this,d,a)},get:function(){return b.attr(this,d)||""}}})})},defineNodeNameProperty:function(a,e,d){v[e]=!0;if(d.reflect)f.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(g){var c=d[g];c&&(c="prop"===g?b.extend({writeable:!0},c):b.extend({},
13
- c,{writeable:!0}),w[g](a,e,c),"*"!=a&&f.cfg.extendNative&&"prop"==g&&c.value&&b.isFunction(c.value)&&z(a,e,c),d[g]=c)});d.initAttr&&s.content(a,e);return d},defineNodeNameProperties:function(a,b,d,g){for(var c in b)!g&&b[c].initAttr&&s.createTmpCache(a),d&&(b[c][d]?f.log("override: "+a+"["+c+"] for "+d):(b[c][d]={},["value","set","get"].forEach(function(a){a in b[c]&&(b[c][d][a]=b[c][a],delete b[c][a])}))),b[c]=f.defineNodeNameProperty(a,c,b[c]);g||s.flushTmpCache();return b},createElement:function(a,
14
- e,d){var c;b.isFunction(e)&&(e={after:e});s.createTmpCache(a);e.before&&s.createElement(a,e.before);d&&(c=f.defineNodeNameProperties(a,d,!1,!0));e.after&&s.createElement(a,e.after);s.flushTmpCache();return c},onNodeNamesPropertyModify:function(c,e,d,g){"string"==typeof c&&(c=c.split(u));b.isFunction(d)&&(d={set:d});c.forEach(function(b){a[b]||(a[b]={});"string"==typeof e&&(e=e.split(u));d.initAttr&&s.createTmpCache(b);e.forEach(function(e){a[b][e]||(a[b][e]=[],v[e]=!0);if(d.set){if(g)d.set.only=g;
15
- a[b][e].push(d.set)}d.initAttr&&s.content(b,e)});s.flushTmpCache()})},defineNodeNamesBooleanProperty:function(a,e,d){d||(d={});if(b.isFunction(d))d.set=d;f.defineNodeNamesProperty(a,e,{attr:{set:function(a){this.setAttribute(e,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(e)?n:e}},removeAttr:{value:function(){this.removeAttribute(e);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===
16
- n)return d=(a.attributes[b]||{}).value,null==d?n:d;"boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var a=[],e={},d,c,j=/:\/\/|^\.*\//,i=function(a,d,c){return d&&c&&-1!==b.inArray(d,c.availabeLangs||[])?(a.loading=!0,c=c.langSrc,j.test(c)||(c=f.cfg.basePath+c),f.loader.loadScript(c+d+".js",function(){a.langObj[d]?(a.loading=!1,t(a,!0)):b(function(){a.langObj[d]&&t(a,!0);a.loading=!1})}),!0):!1},h=function(a){e[a]&&e[a].forEach(function(a){a.callback()})},
17
- t=function(a,b){if(a.activeLang!=d&&a.activeLang!==c){var e=k[a.module].options;if(a.langObj[d]||c&&a.langObj[c])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[c],d),h(a.module);else if(!b&&!i(a,d,e)&&!i(a,c,e)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),h(a.module)}};return function(i){if("string"==typeof i&&i!==d)d=i,c=d.split("-")[0],d==c&&(c=!1),b.each(a,function(a,b){t(b)});else if("object"==typeof i)if(i.register)e[i.register]||(e[i.register]=[]),e[i.register].push(i),
18
- i.callback();else{if(!i.activeLang)i.activeLang="";a.push(i);t(i)}return d}}()});b.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){f[a]=function(a,c,i,j){"string"==typeof a&&(a=a.split(u));var h={};a.forEach(function(a){h[a]=f[b](a,c,i,j)});return h}});f.isReady("webshimLocalization",!0)});
19
- (function(b,f){var p=b.webshims.browserVersion;if(!(b.browser.mozilla&&5<p)&&(!b.browser.msie||12>p&&7<p)){var l={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},n=function(b,f){b.getAttribute("role")||b.setAttribute("role",f)};b.webshims.addReady(function(k,u){b.each(l,function(f,a){for(var c=b(f,k).add(u.filter(f)),j=0,h=c.length;j<h;j++)n(c[j],a)});if(k===f){var m=f.getElementsByTagName("header")[0],p=f.getElementsByTagName("footer"),r=p.length;
20
- m&&!b(m).closest("section, article")[0]&&n(m,"banner");r&&(m=p[r-1],b(m).closest("section, article")[0]||n(m,"contentinfo"))}})}})(jQuery,document);
21
- jQuery.webshims.register("form-datalist",function(b,f,p,l,n){f.propTypes.element=function(k){f.createPropDefault(k,"attr");if(!k.prop)k.prop={get:function(){var f=k.attr.get.call(this);f&&(f=b("#"+f)[0])&&k.propNodeName&&!b.nodeName(f,k.propNodeName)&&(f=null);return f||null},writeable:!1}};(function(){if(!Modernizr.input.list){var k=0,u={submit:1,button:1,reset:1,hidden:1,range:1,date:1},m=b.browser.msie&&7>parseInt(b.browser.version,10),v={},r=function(a){if(!a)return[];if(v[a])return v[a];var b;
22
- try{b=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(j){}v[a]=b||[];return b||[]},w={_create:function(a){if(!u[b.prop(a.input,"type")]){var c=a.datalist,j=b.data(a.input,"datalistWidget");if(c&&j&&j.datalist!==c)j.datalist=c,j.id=a.id,b(j.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",b.proxy(j,"_resetListCached")),j._resetListCached();else if(c){if(!(j&&j.datalist===c)){k++;var h=this;this.hideList=b.proxy(h,"hideList");this.timedHide=function(){clearTimeout(h.hideTimer);
23
- h.hideTimer=setTimeout(h.hideList,9)};this.datalist=c;this.id=a.id;this.hasViewableData=!0;this._autocomplete=b.attr(a.input,"autocomplete");b.data(a.input,"datalistWidget",this);this.shadowList=b('<div class="datalist-polyfill" />').appendTo("body");this.index=-1;this.input=a.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",function(a){var c=b("li:not(.hidden-item)",h.shadowList),j="mousedown"==a.type||"click"==a.type;
24
- h.markItem(c.index(a.currentTarget),j,c);"click"==a.type&&h.hideList();return"mousedown"!=a.type}).bind("focusout",this.timedHide);a.input.setAttribute("autocomplete","off");b(a.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!h.triggeredByDatalist)h.changedValue=!1,h.showHideOptions()}).bind("keydown.datalistWidget",function(a){var c=a.keyCode;if(40==c&&!h.showList())return h.markItem(h.index+1,!0),!1;if(h.isListVisible){if(38==c)return h.markItem(h.index-1,!0),!1;
25
- if(!a.shiftKey&&(33==c||36==c))return h.markItem(0,!0),!1;if(!a.shiftKey&&(34==c||35==c))return a=b("li:not(.hidden-item)",h.shadowList),h.markItem(a.length-1,!0,a),!1;if(13==c||27==c)return 13==c&&h.changeValue(b("li.active-item:not(.hidden-item)",h.shadowList)),h.hideList(),!1}}).bind("focus.datalistWidget",function(){b(this).hasClass("list-focus")&&h.showList()}).bind("mousedown.datalistWidget",function(){(this==l.activeElement||b(this).is(":focus"))&&h.showList()}).bind("blur.datalistWidget",
26
- this.timedHide);b(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",b.proxy(this,"_resetListCached"));this._resetListCached();a.input.form&&a.input.id&&b(a.input.form).bind("submit.datalistWidget"+a.input.id,function(){var c=b.prop(a.input,"value"),j=(a.input.name||a.input.id)+b.prop(a.input,"type");if(!h.storedOptions)h.storedOptions=r(j);if(c&&-1==h.storedOptions.indexOf(c)&&(h.storedOptions.push(c),c=h.storedOptions,j)){c=c||[];try{localStorage.setItem("storedDatalistOptions"+
27
- j,JSON.stringify(c))}catch(f){}}});b(p).bind("unload",function(){h.destroy()})}}else j&&j.destroy()}},destroy:function(){var a=b.attr(this.input,"autocomplete");b(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();b(l).unbind(".datalist"+this.id);this.input.form&&this.input.id&&b(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");a===n?this.input.removeAttribute("autocomplete"):b(this.input).attr("autocomplete",
28
- a)},_resetListCached:function(a){var b=this,j;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(p.QUnit||(j=a&&l.activeElement==b.input)?b.updateListOptions(j):f.ready("WINDOWLOAD",function(){b.updateTimer=setTimeout(function(){b.updateListOptions();b=null;k=1},200+100*k)}))},updateListOptions:function(a){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:b.curCSS(this.input,"fontSize"),fontFamily:b.curCSS(this.input,
29
- "fontFamily")});var c=[],j=[],h=[],i,f,k,l;for(f=b.prop(this.datalist,"options"),k=0,l=f.length;k<l;k++){i=f[k];if(i.disabled)return;i={value:b(i).val()||"",text:b.trim(b.attr(i,"label")||i.textContent||i.innerText||b.text([i])||""),className:i.className||"",style:b.attr(i,"style")||""};i.text?i.text!=i.value&&(i.className+=" different-label-value"):i.text=i.value;j[k]=i.value;h[k]=i}if(!this.storedOptions)this.storedOptions=r((this.input.name||this.input.id)+b.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==
30
- j.indexOf(a)&&h.push({value:a,text:a,className:"stored-suggest",style:""})});for(k=0,l=h.length;k<l;k++)f=h[k],c[k]='<li class="'+f.className+'" style="'+f.style+'" tabindex="-1" role="listitem"><span class="option-label">'+f.text+'</span> <span class="option-value">'+f.value+"</span></li>";this.arrayOptions=h;this.shadowList.html('<ul role="list" class="'+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom">'+c.join("\n")+"</ul>");b.fn.bgIframe&&m&&this.shadowList.bgIframe();(a||this.isListVisible)&&
31
- this.showHideOptions()},showHideOptions:function(a){var c=b.prop(this.input,"value").toLowerCase();if(!(c===this.lastUpdatedValue||this.lastUnfoundValue&&0===c.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=c;var j=!1,f=b("li",this.shadowList);c?this.arrayOptions.forEach(function(a,k){if(!("lowerText"in a))a.lowerText=a.text!=a.value?a.text.toLowerCase()+a.value.toLowerCase():a.text.toLowerCase();-1!==a.lowerText.indexOf(c)?(b(f[k]).removeClass("hidden-item"),j=!0):b(f[k]).addClass("hidden-item")}):
32
- f.length&&(f.removeClass("hidden-item"),j=!0);this.hasViewableData=j;!a&&j&&this.showList();if(!j)this.lastUnfoundValue=c,this.hideList()}},setPos:function(){var a=f.getRelOffset(this.shadowList,this.input);a.top+=b(this.input).outerHeight();a.width=b(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css(a);return a},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();
33
- this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var a=this,c;a.setPos();m&&(a.shadowList.css("height","auto"),250<a.shadowList.height()&&a.shadowList.css("height",220));a.shadowList.addClass("datalist-visible");b(l).unbind(".datalist"+a.id).bind("mousedown.datalist"+a.id+" focusin.datalist"+a.id,function(c){c.target===a.input||a.shadowList[0]===c.target||b.contains(a.shadowList[0],c.target)?(clearTimeout(a.hideTimer),setTimeout(function(){clearTimeout(a.hideTimer)},
34
- 9)):a.timedHide()});b(p).unbind(".datalist"+a.id).bind("resize.datalist"+a.id+"orientationchange.datalist "+a.id+" emchange.datalist"+a.id,function(){clearTimeout(c);c=setTimeout(function(){a.setPos()},9)});clearTimeout(c);return!0},hideList:function(){if(!this.isListVisible)return!1;var a=this,c=function(){a.changedValue&&b(a.input).trigger("change");a.changedValue=!1};a.shadowList.removeClass("datalist-visible list-item-active").scrollTop(0).find("li.active-item").removeClass("active-item");a.index=
35
- -1;a.isListVisible=!1;if(a.changedValue){a.triggeredByDatalist=!0;f.triggerInlineForm&&f.triggerInlineForm(a.input,"input");if(a.input==l.activeElement||b(a.input).is(":focus"))b(a.input).one("blur",c);else c();a.triggeredByDatalist=!1}b(l).unbind(".datalist"+a.id);b(p).unbind(".datalist"+a.id);return!0},scrollIntoView:function(a){var c=b("> ul",this.shadowList),f=a.position();f.top-=(parseInt(c.css("paddingTop"),10)||0)+(parseInt(c.css("marginTop"),10)||0)+(parseInt(c.css("borderTopWidth"),10)||
36
- 0);0>f.top?this.shadowList.scrollTop(this.shadowList.scrollTop()+f.top-2):(f.top+=a.outerHeight(),a=this.shadowList.height(),f.top>a&&this.shadowList.scrollTop(this.shadowList.scrollTop()+(f.top-a)+2))},changeValue:function(a){if(a[0]){var a=b("span.option-value",a).text(),c=b.prop(this.input,"value");if(a!=c)b(this.input).prop("value",a).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(a,c,f){f=f||b("li:not(.hidden-item)",this.shadowList);if(f.length)0>a?a=f.length-1:a>=f.length&&
37
- (a=0),f.removeClass("active-item"),this.shadowList.addClass("list-item-active"),f=f.filter(":eq("+a+")").addClass("active-item"),c&&(this.changeValue(f),this.scrollIntoView(f)),this.index=a}};(function(){f.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var a=b("select",this);a[0]?a=a[0].options:(a=b("option",this).get(),a.length&&f.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return a}}});f.defineNodeNameProperties("input",
38
- {selectedOption:{prop:{writeable:!1,get:function(){var a=b.prop(this,"list"),c=null,f;if(!a)return c;f=b.attr(this,"value");if(!f)return c;a=b.prop(a,"options");if(!a.length)return c;b.each(a,function(a,i){if(f==b.prop(i,"value"))return c=i,!1});return c}}},autocomplete:{attr:{get:function(){var a=b.data(this,"datalistWidget");return a?a._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(a){var c=b.data(this,"datalistWidget");c?(c._autocomplete=a,
39
- "off"==a&&c.hideList()):"autocomplete"in this?this.autocomplete=a:this.setAttribute("autocomplete",a)}}},list:{attr:{get:function(){var a=f.contentAttr(this,"list");return null==a?n:a},set:function(a){f.contentAttr(this,"list",a);f.objectCreate(w,n,{input:this,id:a,datalist:b.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}});if(b.event.customEvent)b.event.customEvent.updateDatalist=!0,b.event.customEvent.updateInput=!0;f.addReady(function(a,b){b.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
1
+ (function(a){if(!Modernizr.genericDOM){var g=document,q,k,o=/<([\w:]+)/,r={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||r[(o.exec(a)||["",""])[1].toLowerCase()])return a;if(!k){q=g.body;if(!q)return a;k=g.createElement("div");k.style.display="none"}var m=k.cloneNode(!1);q.appendChild(m);m.innerHTML=a;q.removeChild(m);return m.childNodes}}})(jQuery);
2
+ jQuery.webshims.register("dom-extend",function(a,g,q,k,o){var r=g.modules,p=/\s*,\s*/,m={},y={},s={},x={},t={},w=a.fn.val,b=function(i,d,h,b,c){return c?w.call(a(i)):w.call(a(i),h)};a.fn.val=function(i){var d=this[0];arguments.length&&null==i&&(i="");if(!arguments.length)return!d||1!==d.nodeType?w.call(this):a.prop(d,"value",i,"val",!0);if(a.isArray(i))return w.apply(this,arguments);var h=a.isFunction(i);return this.each(function(b){d=this;1===d.nodeType&&(h?(b=i.call(d,b,a.prop(d,"value",o,"val",
3
+ !0)),null==b&&(b=""),a.prop(d,"value",b,"val")):a.prop(d,"value",i,"val"))})};var c="_webshimsLib"+Math.round(1E3*Math.random()),e=function(i,d,h){i=i.jquery?i[0]:i;if(!i)return h||{};var b=a.data(i,c);h!==o&&(b||(b=a.data(i,c,{})),d&&(b[d]=h));return d?b&&b[d]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(i){a.fn[i.name]=function(){return this.map(function(){var a=e(this,
4
+ "shadowData");return a&&a[i.prop]||this})}});["removeAttr","prop","attr"].forEach(function(i){m[i]=a[i];a[i]=function(d,h,c,u,e){var f="val"==u,l=!f?m[i]:b;if(!d||!y[h]||1!==d.nodeType||!f&&u&&"attr"==i&&a.attrFn[h])return l(d,h,c,u,e);var v=(d.nodeName||"").toLowerCase(),n=s[v],g="attr"==i&&(!1===c||null===c)?"removeAttr":i,j,r,p;n||(n=s["*"]);n&&(n=n[h]);n&&(j=n[g]);if(j){if("value"==h)r=j.isVal,j.isVal=f;if("removeAttr"===g)return j.value.call(d);if(c===o)return j.get?j.get.call(d):j.value;j.set&&
5
+ ("attr"==i&&!0===c&&(c=h),p=j.set.call(d,c));if("value"==h)j.isVal=r}else p=l(d,h,c,u,e);if((c!==o||"removeAttr"===g)&&t[v]&&t[v][h]){var k;k="removeAttr"==g?!1:"prop"==g?!!c:!0;t[v][h].forEach(function(a){if(!a.only||(a.only="prop"==i)||"attr"==a.only&&"prop"!=i)a.call(d,c,k,f?"val":g,i)})}return p};x[i]=function(d,h,c){s[d]||(s[d]={});s[d][h]||(s[d][h]={});var u=s[d][h][i],e=function(a,d,v){return d&&d[a]?d[a]:v&&v[a]?v[a]:"prop"==i&&"value"==h?function(a){return c.isVal?b(this,h,a,!1,0===arguments.length):
6
+ m[i](this,h,a)}:"prop"==i&&"value"==a&&c.value.apply?function(a){var d=m[i](this,h);d&&d.apply&&(d=d.apply(this,arguments));return d}:function(a){return m[i](this,h,a)}};s[d][h][i]=c;if(c.value===o){if(!c.set)c.set=c.writeable?e("set",c,u):g.cfg.useStrict&&"prop"==h?function(){throw h+" is readonly on "+d;}:a.noop;if(!c.get)c.get=e("get",c,u)}["value","get","set"].forEach(function(a){c[a]&&(c["_sup"+a]=e(a,u))})}});var f=!a.browser.msie||8<parseInt(a.browser.version,10),n=function(){var a=g.getPrototypeOf(k.createElement("foobar")),
7
+ d=Object.prototype.hasOwnProperty;return function(h,b,c){var n=k.createElement(h),j=g.getPrototypeOf(n);if(f&&j&&a!==j&&(!n[b]||!d.call(n,b))){var p=n[b];c._supvalue=function(){return p&&p.apply?p.apply(this,arguments):p};j[b]=c.value}else c._supvalue=function(){var a=e(this,"propValue");return a&&a[b]&&a[b].apply?a[b].apply(this,arguments):a&&a[b]},l.extendValue(h,b,c.value);c.value._supvalue=c._supvalue}}(),l=function(){var b={};g.addReady(function(d,h){var c={},e=function(b){c[b]||(c[b]=a(d.getElementsByTagName(b)),
8
+ h[0]&&a.nodeName(h[0],b)&&(c[b]=c[b].add(h)))};a.each(b,function(a,d){e(a);!d||!d.forEach?g.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){c[a].each(d)})});c=null});var d,h=a([]),c=function(c,h){b[c]?b[c].push(h):b[c]=[h];a.isDOMReady&&(d||a(k.getElementsByTagName(c))).each(h)};return{createTmpCache:function(b){a.isDOMReady&&(d=d||a(k.getElementsByTagName(b)));return d||h},flushTmpCache:function(){d=null},content:function(d,b){c(d,function(){var d=a.attr(this,b);null!=d&&a.attr(this,
9
+ b,d)})},createElement:function(a,d){c(a,d)},extendValue:function(d,b,h){c(d,function(){a(this).each(function(){e(this,"propValue",{})[b]=this[b];this[b]=h})})}}}(),j=function(a,d){if(a.defaultValue===o)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[d||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(g,{getID:function(){var b=(new Date).getTime();return function(d){var d=a(d),c=d.attr("id");c||(b++,c="ID-"+b,d.attr("id",c));return c}}(),extendUNDEFProp:function(b,
10
+ d){a.each(d,function(a,d){a in b||(b[a]=d)})},createPropDefault:j,data:e,moveToFirstEvent:function(){var b=a._data?"_data":"data";return function(d,c,e){if((d=(a[b](d,"events")||{})[c])&&1<d.length)c=d.pop(),e||(e="bind"),"bind"==e&&d.delegateCount?d.splice(d.delegateCount,0,c):d.unshift(c)}}(),addShadowDom:function(b,d,h){h=h||{};b.jquery&&(b=b[0]);d.jquery&&(d=d[0]);if(!h.shadowFocusElement)h.shadowFocusElement=d;var n=a.data(b,c)||a.data(b,c,{}),f=a.data(d,c)||a.data(d,c,{});n.hasShadow=d;f.nativeElement=
11
+ b;f.shadowData=n.shadowData={nativeElement:b,shadowElement:d,shadowFocusElement:h.shadowFocusElement};h.shadowChilds&&h.shadowChilds.each(function(){e(this,"shadowData",f.shadowData)});if(h.data)n.shadowData.data=h.data,f.shadowData.data=h.data;h=null},propTypes:{standard:function(a){j(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){j(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
12
+ ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(b,d){"string"==typeof d&&(d=d.split(p));d.forEach(function(d){g.defineNodeNamesProperty(b,d,{prop:{set:function(b){a.attr(this,d,b)},get:function(){return a.attr(this,d)||""}}})})},defineNodeNameProperty:function(b,d,c){y[d]=!0;if(c.reflect)g.propTypes[c.propType||"standard"](c);["prop","attr","removeAttr"].forEach(function(e){var f=c[e];f&&(f="prop"===e?a.extend({writeable:!0},f):a.extend({},
13
+ f,{writeable:!0}),x[e](b,d,f),"*"!=b&&g.cfg.extendNative&&"prop"==e&&f.value&&a.isFunction(f.value)&&n(b,d,f),c[e]=f)});c.initAttr&&l.content(b,d);return c},defineNodeNameProperties:function(a,b,c,e){for(var f in b)!e&&b[f].initAttr&&l.createTmpCache(a),c&&(b[f][c]?g.log("override: "+a+"["+f+"] for "+c):(b[f][c]={},["value","set","get"].forEach(function(a){a in b[f]&&(b[f][c][a]=b[f][a],delete b[f][a])}))),b[f]=g.defineNodeNameProperty(a,f,b[f]);e||l.flushTmpCache();return b},createElement:function(b,
14
+ c,h){var f;a.isFunction(c)&&(c={after:c});l.createTmpCache(b);c.before&&l.createElement(b,c.before);h&&(f=g.defineNodeNameProperties(b,h,!1,!0));c.after&&l.createElement(b,c.after);l.flushTmpCache();return f},onNodeNamesPropertyModify:function(b,c,h,f){"string"==typeof b&&(b=b.split(p));a.isFunction(h)&&(h={set:h});b.forEach(function(a){t[a]||(t[a]={});"string"==typeof c&&(c=c.split(p));h.initAttr&&l.createTmpCache(a);c.forEach(function(b){t[a][b]||(t[a][b]=[],y[b]=!0);if(h.set){if(f)h.set.only=f;
15
+ t[a][b].push(h.set)}h.initAttr&&l.content(a,b)});l.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,c,h){h||(h={});if(a.isFunction(h))h.set=h;g.defineNodeNamesProperty(b,c,{attr:{set:function(a){this.setAttribute(c,a);h.set&&h.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?o:c}},removeAttr:{value:function(){this.removeAttribute(c);h.set&&h.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:h.initAttr||!1})},contentAttr:function(a,b,c){if(a.nodeName){if(c===
16
+ o)return c=(a.attributes[b]||{}).value,null==c?o:c;"boolean"==typeof c?c?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,c)}},activeLang:function(){var b=[],c={},h,f,e=/:\/\/|^\.*\//,n=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,e.test(d)||(d=g.cfg.basePath+d),g.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},l=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
17
+ j=function(a,b){if(a.activeLang!=h&&a.activeLang!==f){var c=r[a.module].options;if(a.langObj[h]||f&&a.langObj[f])a.activeLang=h,a.callback(a.langObj[h]||a.langObj[f],h),l(a.module);else if(!b&&!n(a,h,c)&&!n(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],h),l(a.module)}};return function(e){if("string"==typeof e&&e!==h)h=e,f=h.split("-")[0],h==f&&(f=!1),a.each(b,function(a,b){j(b)});else if("object"==typeof e)if(e.register)c[e.register]||(c[e.register]=[]),c[e.register].push(e),
18
+ e.callback();else{if(!e.activeLang)e.activeLang="";b.push(e);j(e)}return h}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){g[a]=function(a,c,e,f){"string"==typeof a&&(a=a.split(p));var n={};a.forEach(function(a){n[a]=g[b](a,c,e,f)});return n}});g.isReady("webshimLocalization",!0)});
19
+ (function(a,g){var q=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<q)&&(!a.browser.msie||12>q&&7<q)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},o=function(a,g){a.getAttribute("role")||a.setAttribute("role",g)};a.webshims.addReady(function(r,p){a.each(k,function(g,k){for(var m=a(g,r).add(p.filter(g)),b=0,c=m.length;b<c;b++)o(m[b],k)});if(r===g){var m=g.getElementsByTagName("header")[0],q=g.getElementsByTagName("footer"),s=q.length;
20
+ m&&!a(m).closest("section, article")[0]&&o(m,"banner");s&&(m=q[s-1],a(m).closest("section, article")[0]||o(m,"contentinfo"))}})}})(jQuery,document);
21
+ jQuery.webshims.register("form-datalist",function(a,g,q,k,o){g.propTypes.element=function(k){g.createPropDefault(k,"attr");if(!k.prop)k.prop={get:function(){var g=k.attr.get.call(this);g&&(g=a("#"+g)[0])&&k.propNodeName&&!a.nodeName(g,k.propNodeName)&&(g=null);return g||null},writeable:!1}};(function(){var r=a.webshims.cfg.forms,p=Modernizr.input.list;if(!p||r.customDatalist){var m=0,y={submit:1,button:1,reset:1,hidden:1,range:1,date:1},s=a.browser.msie&&7>parseInt(a.browser.version,10),x={},t=function(a){if(!a)return[];
22
+ if(x[a])return x[a];var c;try{c=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(e){}x[a]=c||[];return c||[]},w={_create:function(b){if(!y[a.prop(b.input,"type")]){var c=b.datalist,e=a.data(b.input,"datalistWidget");if(c&&e&&e.datalist!==c)e.datalist=c,e.id=b.id,a(e.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(e,"_resetListCached")),e._resetListCached();else if(c){if(!(e&&e.datalist===c)){m++;var f=this;this.hideList=a.proxy(f,"hideList");
23
+ this.timedHide=function(){clearTimeout(f.hideTimer);f.hideTimer=setTimeout(f.hideList,9)};this.datalist=c;this.id=b.id;this.hasViewableData=!0;this._autocomplete=a.attr(b.input,"autocomplete");a.data(b.input,"datalistWidget",this);this.shadowList=a('<div class="datalist-polyfill" />');r.positionDatalist?this.shadowList.insertAfter(b.input):this.shadowList.appendTo("body");this.index=-1;this.input=b.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",
24
+ function(c){var e=a("li:not(.hidden-item)",f.shadowList),g="mousedown"==c.type||"click"==c.type;f.markItem(e.index(c.currentTarget),g,e);"click"==c.type&&(f.hideList(),a(b.input).trigger("datalistselect"));return"mousedown"!=c.type}).bind("focusout",this.timedHide);b.input.setAttribute("autocomplete","off");a(b.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!f.triggeredByDatalist)f.changedValue=!1,f.showHideOptions()}).bind("keydown.datalistWidget",function(c){var e=
25
+ c.keyCode,g;if(40==e&&!f.showList())return f.markItem(f.index+1,!0),!1;if(f.isListVisible){if(38==e)return f.markItem(f.index-1,!0),!1;if(!c.shiftKey&&(33==e||36==e))return f.markItem(0,!0),!1;if(!c.shiftKey&&(34==e||35==e))return c=a("li:not(.hidden-item)",f.shadowList),f.markItem(c.length-1,!0,c),!1;if(13==e||27==e)return 13==e&&(g=a("li.active-item:not(.hidden-item)",f.shadowList),f.changeValue(a("li.active-item:not(.hidden-item)",f.shadowList))),f.hideList(),g&&g[0]&&a(b.input).trigger("datalistselect"),
26
+ !1}}).bind("focus.datalistWidget",function(){a(this).hasClass("list-focus")&&f.showList()}).bind("mousedown.datalistWidget",function(){(this==k.activeElement||a(this).is(":focus"))&&f.showList()}).bind("blur.datalistWidget",this.timedHide);a(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(this,"_resetListCached"));this._resetListCached();b.input.form&&b.input.id&&a(b.input.form).bind("submit.datalistWidget"+b.input.id,function(){var c=a.prop(b.input,
27
+ "value"),e=(b.input.name||b.input.id)+a.prop(b.input,"type");if(!f.storedOptions)f.storedOptions=t(e);if(c&&-1==f.storedOptions.indexOf(c)&&(f.storedOptions.push(c),c=f.storedOptions,e)){c=c||[];try{localStorage.setItem("storedDatalistOptions"+e,JSON.stringify(c))}catch(g){}}});a(q).bind("unload",function(){f.destroy()})}}else e&&e.destroy()}},destroy:function(){var b=a.attr(this.input,"autocomplete");a(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();a(k).unbind(".datalist"+
28
+ this.id);this.input.form&&this.input.id&&a(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===o?this.input.removeAttribute("autocomplete"):a(this.input).attr("autocomplete",b)},_resetListCached:function(a){var c=this,e;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(q.QUnit||(e=a&&k.activeElement==c.input)?c.updateListOptions(e):g.ready("WINDOWLOAD",function(){c.updateTimer=setTimeout(function(){c.updateListOptions();
29
+ c=null;m=1},200+100*m)}))},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:a.curCSS(this.input,"fontSize"),fontFamily:a.curCSS(this.input,"fontFamily")});this.searchStart=a(this.input).hasClass("search-start");var c=[],e=[],f=[],g,l,j,i;for(l=a.prop(this.datalist,"options"),j=0,i=l.length;j<i;j++){g=l[j];if(g.disabled)return;g={value:a(g).val()||"",text:a.trim(a.attr(g,"label")||g.textContent||g.innerText||a.text([g])||
30
+ ""),className:g.className||"",style:a.attr(g,"style")||""};g.text?g.text!=g.value&&(g.className+=" different-label-value"):g.text=g.value;e[j]=g.value;f[j]=g}if(!this.storedOptions)this.storedOptions=t((this.input.name||this.input.id)+a.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==e.indexOf(a)&&f.push({value:a,text:a,className:"stored-suggest",style:""})});for(j=0,i=f.length;j<i;j++)l=f[j],c[j]='<li class="'+l.className+'" style="'+l.style+'" tabindex="-1" role="listitem"><span class="option-label">'+
31
+ l.text+'</span> <span class="option-value">'+l.value+"</span></li>";this.arrayOptions=f;this.shadowList.html('<div><ul role="list" class="'+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom">'+c.join("\n")+"</ul></div>");a.fn.bgIframe&&s&&this.shadowList.bgIframe();(b||this.isListVisible)&&this.showHideOptions()},showHideOptions:function(b){var c=a.prop(this.input,"value").toLowerCase();if(!(c===this.lastUpdatedValue||this.lastUnfoundValue&&0===c.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=
32
+ c;var e=!1,f=this.searchStart,g=a("li",this.shadowList);c?this.arrayOptions.forEach(function(b,j){var i;if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.text.toLowerCase()+b.value.toLowerCase():b.text.toLowerCase();i=b.lowerText.indexOf(c);(i=f?!i:-1!==i)?(a(g[j]).removeClass("hidden-item"),e=!0):a(g[j]).addClass("hidden-item")}):g.length&&(g.removeClass("hidden-item"),e=!0);this.hasViewableData=e;!b&&e&&this.showList();if(!e)this.lastUnfoundValue=c,this.hideList()}},setPos:function(){var b=r.positionDatalist?
33
+ a(this.input).position():g.getRelOffset(this.shadowList,this.input);b.top+=a(this.input).outerHeight();b.width=a(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css(b);return b},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var b=this,c;b.setPos();b.shadowList.addClass("datalist-visible");
34
+ a(k).unbind(".datalist"+b.id).bind("mousedown.datalist"+b.id+" focusin.datalist"+b.id,function(c){c.target===b.input||b.shadowList[0]===c.target||a.contains(b.shadowList[0],c.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},9)):b.timedHide()});a(q).unbind(".datalist"+b.id).bind("resize.datalist"+b.id+"orientationchange.datalist "+b.id+" emchange.datalist"+b.id,function(){clearTimeout(c);c=setTimeout(function(){b.setPos()},9)});clearTimeout(c);return!0},hideList:function(){if(!this.isListVisible)return!1;
35
+ var b=this,c=function(){b.changedValue&&a(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active").scrollTop(0).find("li.active-item").removeClass("active-item");b.index=-1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=!0;g.triggerInlineForm&&g.triggerInlineForm(b.input,"input");if(b.input==k.activeElement||a(b.input).is(":focus"))a(b.input).one("blur",c);else c();b.triggeredByDatalist=!1}a(k).unbind(".datalist"+b.id);a(q).unbind(".datalist"+
36
+ b.id);return!0},scrollIntoView:function(b){var c=a("ul",this.shadowList),e=a("div",this.shadowList),f=b.position();f.top-=(parseInt(c.css("paddingTop"),10)||0)+(parseInt(c.css("marginTop"),10)||0)+(parseInt(c.css("borderTopWidth"),10)||0);0>f.top?e.scrollTop(e.scrollTop()+f.top-2):(f.top+=b.outerHeight(),b=e.height(),f.top>b&&e.scrollTop(e.scrollTop()+(f.top-b)+2))},changeValue:function(b){if(b[0]){var b=a("span.option-value",b).text(),c=a.prop(this.input,"value");if(b!=c)a(this.input).prop("value",
37
+ b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,c,e){e=e||a("li:not(.hidden-item)",this.shadowList);if(e.length)0>b?b=e.length-1:b>=e.length&&(b=0),e.removeClass("active-item"),this.shadowList.addClass("list-item-active"),e=e.filter(":eq("+b+")").addClass("active-item"),c&&(this.changeValue(e),this.scrollIntoView(e)),this.index=b}};(function(){p||g.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=a("select",this);b[0]?b=b[0].options:
38
+ (b=a("option",this).get(),b.length&&g.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return b}}});var b={autocomplete:{attr:{get:function(){var b=a.data(this,"datalistWidget");return b?b._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(b){var e=a.data(this,"datalistWidget");e?(e._autocomplete=b,"off"==b&&e.hideList()):"autocomplete"in this?this.autocomplete=b:this.setAttribute("autocomplete",
39
+ b)}}}};if(!p||!1 in a("<input />")[0])b.selectedOption={prop:{writeable:!1,get:function(){var b=a.prop(this,"list"),e=null,f;if(!b)return e;f=a.attr(this,"value");if(!f)return e;b=a.prop(b,"options");if(!b.length)return e;a.each(b,function(b,c){if(f==a.prop(c,"value"))return e=c,!1});return e}}};b.list=p?{attr:{get:function(){var b=g.contentAttr(this,"list");null!=b?this.removeAttribute("list"):b=a.data(this,"datalistListAttr");return null==b?o:b},set:function(b){a.data(this,"datalistListAttr",b);
40
+ g.objectCreate(w,o,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}:{attr:{get:function(){var a=g.contentAttr(this,"list");return null==a?o:a},set:function(b){g.contentAttr(this,"list",b);g.objectCreate(w,o,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"};g.defineNodeNameProperties("input",b);if(a.event.customEvent)a.event.customEvent.updateDatalist=!0,a.event.customEvent.updateInput=
41
+ !0,a.event.customEvent.datalistselect=!0;g.addReady(function(a,b){b.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
@@ -25,14 +25,14 @@ e);if(e=a.attr("media"))d.media=e;return d},w=swfobject.hasFlashPlayerVersion("9
25
25
  var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(f.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};f.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(b)||(b=[b]),b.forEach(function(b){var d=j.createElement("source");"string"==typeof b&&(b={src:b});d.setAttribute("src",b.src);b.type&&d.setAttribute("type",b.type);b.media&&d.setAttribute("media",b.media);a.append(d)});else{var b=[],d=a[0].nodeName.toLowerCase(),
26
26
  e=t(a,d);e.src?b.push(e):c("source",a).each(function(){e=t(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==n&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));f.srces(this,a);c(this).mediaLoad()})};f.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(",");
27
27
  f.canSwfPlaySrces=function(a,b){var d="";w&&(a=c(a),b=b||f.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&-1!=f.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var r={};f.canNativePlaySrces=function(a,b){var d="";if(i){var a=c(a),e=(a[0].nodeName||"").toLowerCase();if(!r[e])return d;b=b||f.srces(a);c.each(b,function(b,c){if(c.type&&r[e].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};f.setError=function(a,b){b||(b="can't play sources");c(a).pause().data("mediaerror",
28
- b);h.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var z=function(){var a;return function(b,d,c){h.ready("mediaelement-swf",function(){f.createSWF?f.createSWF(b,d,c):a||(a=!0,p(),z(b,d,c))})}}(),x=function(a,b,d,c,h){d||!1!==d&&b&&"flash"==b.isActive?(d=f.canSwfPlaySrces(a,c))?z(a,d,b):h?f.setError(a,!1):x(a,b,!1,c,!0):(d=f.canNativePlaySrces(a,c))?b&&"flash"==b.isActive&&f.setActive(a,"html5",b):h?(f.setError(a,!1),b&&"flash"==b.isActive&&
28
+ b);h.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var z=function(){var a;return function(b,d,c){h.ready("mediaelement-swf",function(){f.createSWF?f.createSWF(b,d,c):a||(a=!0,p(),z(b,d,c))})}}(),x=function(a,b,d,c,g){d||!1!==d&&b&&"flash"==b.isActive?(d=f.canSwfPlaySrces(a,c))?z(a,d,b):g?f.setError(a,!1):x(a,b,!1,c,!0):(d=f.canNativePlaySrces(a,c))?b&&"flash"==b.isActive&&f.setActive(a,"html5",b):g?(f.setError(a,!1),b&&"flash"==b.isActive&&
29
29
  f.setActive(a,"html5",b)):x(a,b,!0,c,!0)},q=/^(?:embed|object|datalist)$/i,v=function(a,b){var d=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{}),e=f.srces(a),g=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(e.length&&g&&!(1!=g.nodeType||q.test(g.nodeName||"")))b=b||h.data(a,"mediaelement"),x(a,b,s.preferFlash||n,e)};c(j).bind("ended",function(a){var b=h.data(a.target,"mediaelement");(!l||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,
30
30
  "paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});l||h.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=h.defineNodeNameProperty(a,"load",{prop:{value:function(){var a=h.data(this,"mediaelement");v(this,a);i&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});r[a]=h.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var e="";i&&r[a].prop._supvalue&&(e=r[a].prop._supvalue.call(this,
31
- b),"no"==e&&(e=""));!e&&w&&(b=c.trim((b||"").split(";")[0]),-1!=f.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){v(a);a=null},9)}});i&&h.isReady("mediaelement-core",!0);h.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<h.browserVersion&&
32
- c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():v(this);if(i){var a,b,f=this,g=function(){var a=c.prop(f,"buffered");if(a){for(var b="",d=0,e=a.length;d<e;d++)b+=a.end(d);return b}},n=function(){var a=g();a!=b&&(b=a,c(f).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=g());clearTimeout(a);a=setTimeout(n,999)}).bind("emptied stalled mediaerror abort suspend",
33
- function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})});i&&w&&h.ready("WINDOWLOAD mediaelement",p)})})(jQuery,Modernizr,jQuery.webshims);
34
- jQuery.webshims.register("details",function(c,g,j,i,l,o){var h=function(g){var f=c(g).parent("details");if(f[0]&&f.children(":first").get(0)===g)return f},m=function(g,f){var g=c(g),f=c(f),h=c.data(f[0],"summaryElement");c.data(g[0],"detailsElement",f);if(!h||g[0]!==h[0])h&&(h.hasClass("fallback-summary")?h.remove():h.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),c.data(f[0],
35
- "summaryElement",g),f.prop("open",f.prop("open"))};g.createElement("summary",function(){var i=h(this);if(i&&!c.data(this,"detailsElement")){var f,j,l=c.attr(this,"tabIndex")||"0";m(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill",
31
+ b),"no"==e&&(e=""));!e&&w&&(b=c.trim((b||"").split(";")[0]),-1!=f.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){v(a);a=null},9)}});g=function(){h.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<h.browserVersion&&c.prop(this,
32
+ "paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():v(this);if(i){var a,b,f=this,g=function(){var a=c.prop(f,"buffered");if(a){for(var b="",d=0,e=a.length;d<e;d++)b+=a.end(d);return b}},n=function(){var a=g();a!=b&&(b=a,c(f).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=g());clearTimeout(a);a=setTimeout(n,999)}).bind("emptied stalled mediaerror abort suspend",
33
+ function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};i?(h.isReady("mediaelement-core",!0),g(),w&&h.ready("WINDOWLOAD mediaelement",p)):h.ready("mediaelement-swf",g)})})(jQuery,Modernizr,jQuery.webshims);
34
+ jQuery.webshims.register("details",function(c,g,j,i,l,o){var h=function(g){var f=c(g).parent("details");if(f[0]&&f.children(":first").get(0)===g)return f},m=function(g,f){var g=c(g),f=c(f),h=c.data(f[0],"summaryElement");c.data(g[0],"detailsElement",f);if(!h||g[0]!==h[0])h&&(h.hasClass("fallback-summary")?h.remove():h.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),
35
+ c.data(f[0],"summaryElement",g),f.prop("open",f.prop("open"))};g.createElement("summary",function(){var i=h(this);if(i&&!c.data(this,"detailsElement")){var f,j,l=c.attr(this,"tabIndex")||"0";m(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill",
36
36
  function(g){var i=h(this);if(i){if(!j&&g.originalEvent)return j=!0,g.stopImmediatePropagation(),g.preventDefault(),c(this).trigger("click"),j=!1;clearTimeout(f);f=setTimeout(function(){g.isDefaultPrevented()||i.prop("open",!i.prop("open"))},0)}}).bind("keydown.summaryPolyfill",function(f){if((13==f.keyCode||32==f.keyCode)&&!f.isDefaultPrevented())j=!0,f.preventDefault(),c(this).trigger("click"),j=!1}).attr({tabindex:l,role:"button"}).prepend('<span class="details-open-indicator" />');g.moveToFirstEvent(this,
37
37
  "click")}});var u;g.defineNodeNamesBooleanProperty("details","open",function(g){var f=c(c.data(this,"summaryElement"));if(f){var h=g?"removeClass":"addClass",i=c(this);if(!u&&o.animate){i.stop().css({width:"",height:""});var j={width:i.width(),height:i.height()}}f.attr("aria-expanded",""+g);i[h]("closed-details-summary").children().not(f[0])[h]("closed-details-child");!u&&o.animate&&(g={width:i.width(),height:i.height()},i.css(j).animate(g,{complete:function(){c(this).css({width:"",height:""})}}))}});
38
38
  g.createElement("details",function(){u=!0;var g=c.data(this,"summaryElement");g||(g=c("> summary:first-child",this),g[0]?m(g,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+o.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));u=!1})});
@@ -1,53 +1,54 @@
1
- (function(c){if(!Modernizr.genericDOM){var f=document,k,h,n=/<([\w:]+)/,q={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};c.webshims.fixHTML5=function(c){if("string"!=typeof c||q[(n.exec(c)||["",""])[1].toLowerCase()])return c;if(!h){k=f.body;if(!k)return c;h=f.createElement("div");h.style.display="none"}var o=h.cloneNode(!1);k.appendChild(o);o.innerHTML=c;k.removeChild(o);return o.childNodes}}})(jQuery);
2
- jQuery.webshims.register("dom-extend",function(c,f,k,h,n){var q=f.modules,x=/\s*,\s*/,o={},t={},p={},l={},u={},s=c.fn.val,y=function(b,a,e,g,r){return r?s.call(c(b)):s.call(c(b),e)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?s.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return s.apply(this,arguments);var e=c.isFunction(b);return this.each(function(g){a=this;1===a.nodeType&&(e?(g=b.call(a,g,c.prop(a,"value",n,"val",
3
- !0)),null==g&&(g=""),c.prop(a,"value",g,"val")):c.prop(a,"value",b,"val"))})};var w="_webshimsLib"+Math.round(1E3*Math.random()),v=function(b,a,e){b=b.jquery?b[0]:b;if(!b)return e||{};var g=c.data(b,w);e!==n&&(g||(g=c.data(b,w,{})),a&&(g[a]=e));return a?g&&g[a]:g};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=v(this,
4
- "shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){o[b]=c[b];c[b]=function(a,e,g,r,d){var j="val"==r,f=!j?o[b]:y;if(!a||!t[e]||1!==a.nodeType||!j&&r&&"attr"==b&&c.attrFn[e])return f(a,e,g,r,d);var z=(a.nodeName||"").toLowerCase(),q=p[z],m="attr"==b&&(!1===g||null===g)?"removeAttr":b,i,h,l;q||(q=p["*"]);q&&(q=q[e]);q&&(i=q[m]);if(i){if("value"==e)h=i.isVal,i.isVal=j;if("removeAttr"===m)return i.value.call(a);if(g===n)return i.get?i.get.call(a):i.value;i.set&&
5
- ("attr"==b&&!0===g&&(g=e),l=i.set.call(a,g));if("value"==e)i.isVal=h}else l=f(a,e,g,r,d);if((g!==n||"removeAttr"===m)&&u[z]&&u[z][e]){var k;k="removeAttr"==m?!1:"prop"==m?!!g:!0;u[z][e].forEach(function(e){if(!e.only||(e.only="prop"==b)||"attr"==e.only&&"prop"!=b)e.call(a,g,k,j?"val":m,b)})}return l};l[b]=function(a,e,g){p[a]||(p[a]={});p[a][e]||(p[a][e]={});var r=p[a][e][b],d=function(a,c,r){return c&&c[a]?c[a]:r&&r[a]?r[a]:"prop"==b&&"value"==e?function(a){return g.isVal?y(this,e,a,!1,0===arguments.length):
6
- o[b](this,e,a)}:"prop"==b&&"value"==a&&g.value.apply?function(a){var c=o[b](this,e);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return o[b](this,e,a)}};p[a][e][b]=g;if(g.value===n){if(!g.set)g.set=g.writeable?d("set",g,r):f.cfg.useStrict&&"prop"==e?function(){throw e+" is readonly on "+a;}:c.noop;if(!g.get)g.get=d("get",g,r)}["value","get","set"].forEach(function(a){g[a]&&(g["_sup"+a]=d(a,r))})}});var d=!c.browser.msie||8<parseInt(c.browser.version,10),m=function(){var b=f.getPrototypeOf(h.createElement("foobar")),
7
- a=Object.prototype.hasOwnProperty;return function(e,c,r){var q=h.createElement(e),m=f.getPrototypeOf(q);if(d&&m&&b!==m&&(!q[c]||!a.call(q,c))){var i=q[c];r._supvalue=function(){return i&&i.apply?i.apply(this,arguments):i};m[c]=r.value}else r._supvalue=function(){var a=v(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},j.extendValue(e,c,r.value);r.value._supvalue=r._supvalue}}(),j=function(){var b={};f.addReady(function(a,e){var g={},d=function(b){g[b]||(g[b]=c(a.getElementsByTagName(b)),
8
- e[0]&&c.nodeName(e[0],b)&&(g[b]=g[b].add(e)))};c.each(b,function(a,b){d(a);!b||!b.forEach?f.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){g[a].each(b)})});g=null});var a,e=c([]),g=function(e,g){b[e]?b[e].push(g):b[e]=[g];c.isDOMReady&&(a||c(h.getElementsByTagName(e))).each(g)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(h.getElementsByTagName(b)));return a||e},flushTmpCache:function(){a=null},content:function(a,b){g(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
9
- b,a)})},createElement:function(a,b){g(a,b)},extendValue:function(a,b,e){g(a,function(){c(this).each(function(){v(this,"propValue",{})[b]=this[b];this[b]=e})})}}}(),i=function(b,a){if(b.defaultValue===n)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}}};c.extend(f,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),e=a.attr("id");e||(b++,e="ID-"+b,a.attr("id",e));return e}}(),extendUNDEFProp:function(b,
10
- a){c.each(a,function(a,c){a in b||(b[a]=c)})},createPropDefault:i,data:v,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,e,g){if((a=(c[b](a,"events")||{})[e])&&1<a.length)e=a.pop(),g||(g="bind"),"bind"==g&&a.delegateCount?a.splice(a.delegateCount,0,e):a.unshift(e)}}(),addShadowDom:function(b,a,e){e=e||{};b.jquery&&(b=b[0]);a.jquery&&(a=a[0]);if(!e.shadowFocusElement)e.shadowFocusElement=a;var g=c.data(b,w)||c.data(b,w,{}),d=c.data(a,w)||c.data(a,w,{});g.hasShadow=a;d.nativeElement=
11
- b;d.shadowData=g.shadowData={nativeElement:b,shadowElement:a,shadowFocusElement:e.shadowFocusElement};e.shadowChilds&&e.shadowChilds.each(function(){v(this,"shadowData",d.shadowData)});if(e.data)g.shadowData.data=e.data,d.shadowData.data=e.data;e=null},propTypes:{standard:function(b){i(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){i(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,
12
- ""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(x));a.forEach(function(a){f.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,e){t[a]=!0;if(e.reflect)f.propTypes[e.propType||"standard"](e);["prop","attr","removeAttr"].forEach(function(g){var d=e[g];d&&(d="prop"===g?c.extend({writeable:!0},d):c.extend({},
13
- d,{writeable:!0}),l[g](b,a,d),"*"!=b&&f.cfg.extendNative&&"prop"==g&&d.value&&c.isFunction(d.value)&&m(b,a,d),e[g]=d)});e.initAttr&&j.content(b,a);return e},defineNodeNameProperties:function(b,a,e,c){for(var d in a)!c&&a[d].initAttr&&j.createTmpCache(b),e&&(a[d][e]?f.log("override: "+b+"["+d+"] for "+e):(a[d][e]={},["value","set","get"].forEach(function(b){b in a[d]&&(a[d][e][b]=a[d][b],delete a[d][b])}))),a[d]=f.defineNodeNameProperty(b,d,a[d]);c||j.flushTmpCache();return a},createElement:function(b,
14
- a,e){var g;c.isFunction(a)&&(a={after:a});j.createTmpCache(b);a.before&&j.createElement(b,a.before);e&&(g=f.defineNodeNameProperties(b,e,!1,!0));a.after&&j.createElement(b,a.after);j.flushTmpCache();return g},onNodeNamesPropertyModify:function(b,a,e,g){"string"==typeof b&&(b=b.split(x));c.isFunction(e)&&(e={set:e});b.forEach(function(b){u[b]||(u[b]={});"string"==typeof a&&(a=a.split(x));e.initAttr&&j.createTmpCache(b);a.forEach(function(a){u[b][a]||(u[b][a]=[],t[a]=!0);if(e.set){if(g)e.set.only=g;
15
- u[b][a].push(e.set)}e.initAttr&&j.content(b,a)});j.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,e){e||(e={});if(c.isFunction(e))e.set=e;f.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?n:a}},removeAttr:{value:function(){this.removeAttribute(a);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(b,a,e){if(b.nodeName){if(e===
16
- n)return e=(b.attributes[a]||{}).value,null==e?n:e;"boolean"==typeof e?e?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,e)}},activeLang:function(){var b=[],a={},e,g,d=/:\/\/|^\.*\//,j=function(a,b,e){return b&&e&&-1!==c.inArray(b,e.availabeLangs||[])?(a.loading=!0,e=e.langSrc,d.test(e)||(e=f.cfg.basePath+e),f.loader.loadScript(e+b+".js",function(){a.langObj[b]?(a.loading=!1,i(a,!0)):c(function(){a.langObj[b]&&i(a,!0);a.loading=!1})}),!0):!1},m=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},
17
- i=function(a,b){if(a.activeLang!=e&&a.activeLang!==g){var c=q[a.module].options;if(a.langObj[e]||g&&a.langObj[g])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[g],e),m(a.module);else if(!b&&!j(a,e,c)&&!j(a,g,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),m(a.module)}};return function(d){if("string"==typeof d&&d!==e)e=d,g=e.split("-")[0],e==g&&(g=!1),c.each(b,function(a,b){i(b)});else if("object"==typeof d)if(d.register)a[d.register]||(a[d.register]=[]),a[d.register].push(d),
18
- d.callback();else{if(!d.activeLang)d.activeLang="";b.push(d);i(d)}return e}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){f[b]=function(b,c,d,j){"string"==typeof b&&(b=b.split(x));var i={};b.forEach(function(b){i[b]=f[a](b,c,d,j)});return i}});f.isReady("webshimLocalization",!0)});
19
- (function(c,f){var k=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<k)&&(!c.browser.msie||12>k&&7<k)){var h={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},n=function(c,f){c.getAttribute("role")||c.setAttribute("role",f)};c.webshims.addReady(function(q,k){c.each(h,function(f,h){for(var t=c(f,q).add(k.filter(f)),p=0,o=t.length;p<o;p++)n(t[p],h)});if(q===f){var o=f.getElementsByTagName("header")[0],t=f.getElementsByTagName("footer"),p=t.length;
20
- o&&!c(o).closest("section, article")[0]&&n(o,"banner");p&&(o=t[p-1],c(o).closest("section, article")[0]||n(o,"contentinfo"))}})}})(jQuery,document);
21
- (function(c,f,k){var h=f.audio&&f.video,n=!1;if(h)c=document.createElement("video"),f.videoBuffered="buffered"in c,n="loop"in c,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),f.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:f.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(c,f,k,t,p){var l=f.mediaelement,u=f.cfg.mediaelement,
22
- s=function(b,a){var b=c(b),e={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!e.src)return e;var d=b.attr("type");if(d)e.type=d,e.container=c.trim(d.split(";")[0]);else if(a||(a=b[0].nodeName.toLowerCase(),"source"==a&&(a=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),d=l.getTypeForSrc(e.src,a))e.type=d,e.container=d,f.warn("you should always provide a proper mime-type using the source element. "+e.src+" detected as: "+d),c.nodeName(b[0],"source")&&b.attr("type",
23
- d);if(d=b.attr("media"))e.media=d;return e},y=swfobject.hasFlashPlayerVersion("9.0.115"),w=function(){f.ready("mediaelement-swf",function(){if(!l.createSWF)f.modules["mediaelement-swf"].test=c.noop,f.reTest(["mediaelement-swf"],h)})};l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"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","f4a","fla"],"application/x-mpegURL":["m3u8",
24
- "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"]}};l.mimeTypes.source=c.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(b,a){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
25
- var b=b.split("?")[0].split("."),b=b[b.length-1],e;c.each(l.mimeTypes[a],function(a,c){if(-1!==c.indexOf(b))return e=a,!1});return e};l.srces=function(b,a){b=c(b);if(a)b.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(a)||(a=[a]),a.forEach(function(a){var c=t.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)});else{var a=[],e=b[0].nodeName.toLowerCase(),
26
- d=s(b,e);d.src?a.push(d):c("source",b).each(function(){d=s(this,e);d.src&&a.push(d)});return a}};c.fn.loadMediaSrc=function(b,a){return this.each(function(){a!==p&&(c(this).removeAttr("poster"),a&&c.attr(this,"poster",a));l.srces(this,b);c(this).mediaLoad()})};l.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(",");
27
- l.canSwfPlaySrces=function(b,a){var e="";y&&(b=c(b),a=a||l.srces(b),c.each(a,function(a,b){if(b.container&&b.src&&-1!=l.swfMimeTypes.indexOf(b.container))return e=b,!1}));return e};var v={};l.canNativePlaySrces=function(b,a){var e="";if(h){var b=c(b),d=(b[0].nodeName||"").toLowerCase();if(!v[d])return e;a=a||l.srces(b);c.each(a,function(a,c){if(c.type&&v[d].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};l.setError=function(b,a){a||(a="can't play sources");c(b).pause().data("mediaerror",
28
- a);f.warn("mediaelementError: "+a);setTimeout(function(){c(b).data("mediaerror")&&c(b).trigger("mediaerror")},1)};var d=function(){var b;return function(a,c,g){f.ready("mediaelement-swf",function(){l.createSWF?l.createSWF(a,c,g):b||(b=!0,w(),d(a,c,g))})}}(),m=function(b,a,c,g,f){c||!1!==c&&a&&"flash"==a.isActive?(c=l.canSwfPlaySrces(b,g))?d(b,c,a):f?l.setError(b,!1):m(b,a,!1,g,!0):(c=l.canNativePlaySrces(b,g))?a&&"flash"==a.isActive&&l.setActive(b,"html5",a):f?(l.setError(b,!1),a&&"flash"==a.isActive&&
29
- l.setActive(b,"html5",a)):m(b,a,!0,g,!0)},j=/^(?:embed|object|datalist)$/i,i=function(b,a){var e=f.data(b,"mediaelementBase")||f.data(b,"mediaelementBase",{}),d=l.srces(b),i=b.parentNode;clearTimeout(e.loadTimer);c.data(b,"mediaerror",!1);if(d.length&&i&&!(1!=i.nodeType||j.test(i.nodeName||"")))a=a||f.data(b,"mediaelement"),m(b,a,u.preferFlash||p,d)};c(t).bind("ended",function(b){var a=f.data(b.target,"mediaelement");(!n||a&&"html5"!=a.isActive||c.prop(b.target,"loop"))&&setTimeout(function(){!c.prop(b.target,
30
- "paused")&&c.prop(b.target,"loop")&&c(b.target).prop("currentTime",0).play()},1)});n||f.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var a=f.defineNodeNameProperty(b,"load",{prop:{value:function(){var b=f.data(this,"mediaelement");i(this,b);h&&(!b||"html5"==b.isActive)&&a.prop._supvalue&&a.prop._supvalue.apply(this,arguments)}}});v[b]=f.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(a){var d="";h&&v[b].prop._supvalue&&(d=v[b].prop._supvalue.call(this,
31
- a),"no"==d&&(d=""));!d&&y&&(a=c.trim((a||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(a)&&(d="maybe"));return d}}})});f.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var b=this,a=f.data(b,"mediaelementBase")||f.data(b,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){i(b);b=null},9)}});h&&f.isReady("mediaelement-core",!0);f.addReady(function(b,a){c("video, audio",b).add(a.filter("video, audio")).each(function(){c.browser.msie&&8<f.browserVersion&&
32
- c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():i(this);if(h){var a,b,d=this,j=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,g=a.length;e<g;e++)b+=a.end(e);return b}},m=function(){var a=j();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=j());clearTimeout(a);a=setTimeout(m,999)}).bind("emptied stalled mediaerror abort suspend",
33
- function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})});h&&y&&f.ready("WINDOWLOAD mediaelement",w)})})(jQuery,Modernizr,jQuery.webshims);jQuery.webshims.gcEval=function(c,f){with(f&&f.form||window)with(f||window)return function(c){eval(c)}.call(f||window,c)};
34
- (function(c){var f=window.Modernizr,k=c.webshims;k.capturingEventPrevented=function(f){if(!f._isPolyfilled){var h=f.isDefaultPrevented,k=f.preventDefault;f.preventDefault=function(){clearTimeout(c.data(f.target,f.type+"DefaultPrevented"));c.data(f.target,f.type+"DefaultPrevented",setTimeout(function(){c.removeData(f.target,f.type+"DefaultPrevented")},30));return k.apply(this,arguments)};f.isDefaultPrevented=function(){return!(!h.apply(this,arguments)&&!c.data(f.target,f.type+"DefaultPrevented"))};
35
- f._isPolyfilled=!0}};if(f.formvalidation){var h=c('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select /><input type="date" required name="a" /><input type="submit" /></form>');f.bugfreeformvalidation=f.requiredSelect=!!("required"in c("select",h)[0]);if(window.opera||c.browser.webkit||window.testGoodWithFix){var n=c("input",h).eq(0),q,x=function(o){var p=["form-extend","form-message","form-native-fix"];o&&(o.preventDefault(),o.stopImmediatePropagation());clearTimeout(q);setTimeout(function(){h&&
36
- (h.remove(),h=n=null)},9);if(!f.bugfreeformvalidation||!f.requiredSelect)k.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),k.modules["form-extend"].test=c.noop;k.isReady("form-number-date-api")&&p.push("form-number-date-api");k.reTest(p);if(c.browser.opera||window.testGoodWithFix)k.loader.loadList(["dom-extend"]),k.ready("dom-extend",function(){var h=function(c){c.preventDefault()};["form","input","textarea","select"].forEach(function(f){var n=k.defineNodeNameProperty(f,"checkValidity",
37
- {prop:{value:function(){k.fromSubmit||c(this).bind("invalid.checkvalidity",h);k.fromCheckValidity=!0;var f=n.prop._supvalue.apply(this,arguments);k.fromSubmit||c(this).unbind("invalid.checkvalidity",h);k.fromCheckValidity=!1;return f}}})});f.input.list&&!(c("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&k.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var f=this.options||[];if(!f.length){var h=c("select",this);if(h[0]&&h[0].options&&
38
- h[0].options.length)f=h[0].options}return f}}})})};h.appendTo("head");if(window.opera||window.testGoodWithFix){k.bugs.validationMessage=!n.prop("validationMessage");if((f.inputtypes||{}).date){try{n.prop("valueAsNumber",0)}catch(o){}k.bugs.valueAsNumberSet="1970-01-01"!=n.prop("value")}n.prop("value","")}h.bind("submit",function(c){f.bugfreeformvalidation=!1;x(c)});q=setTimeout(function(){h&&h.triggerHandler("submit")},9);k.capturingEvents(["input"]);k.capturingEvents(["invalid"],!0);c("input, select",
39
- h).bind("invalid",x).filter('[type="submit"]').bind("click",function(c){c.stopImmediatePropagation()}).trigger("click")}else k.capturingEvents(["input"]),k.capturingEvents(["invalid"],!0)}})(jQuery);
40
- jQuery.webshims.register("form-core",function(c,f,k,h,n,q){var x={radio:1},o={checkbox:1,radio:1},t=c([]),p=function(d){var d=c(d),f=d[0].name;return x[d[0].type]&&f?c(d[0].form&&d[0].form[f]||h.getElementsByName(f)).not(d[0]):t},l=f.getContentValidationMessage=function(d,m){var j=d.getAttribute("x-moz-errormessage")||d.getAttribute("data-errormessage")||"";if(j&&-1!=j.indexOf("{")){try{j=jQuery.parseJSON(j)}catch(i){return j}"object"==typeof j&&(m=m||c.prop(d,"validity")||{valid:1},m.valid||c.each(m,
41
- function(b,a){if(a&&"valid"!=b&&j[b])return j=j[b],!1}));f.data(d,"contentErrorMessage",j);if("object"==typeof j)j=j.defaultMessage}return j||""},u={number:1,range:1,date:1,time:1,"datetime-local":1,datetime:1,month:1,week:1};c.extend(c.expr.filters,{"valid-element":function(d){return!(!c.prop(d,"willValidate")||!(c.prop(d,"validity")||{valid:1}).valid)},"invalid-element":function(d){return!(!c.prop(d,"willValidate")||(c.prop(d,"validity")||{valid:1}).valid)},"required-element":function(d){return!(!c.prop(d,
42
- "willValidate")||!c.prop(d,"required"))},"optional-element":function(d){return!!(c.prop(d,"willValidate")&&!1===c.prop(d,"required"))},"in-range":function(d){if(!u[c.prop(d,"type")]||!c.prop(d,"willValidate"))return!1;d=c.prop(d,"validity");return!(!d||d.rangeOverflow||d.rangeUnderflow)},"out-of-range":function(d){if(!u[c.prop(d,"type")]||!c.prop(d,"willValidate"))return!1;d=c.prop(d,"validity");return!(!d||!d.rangeOverflow&&!d.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(d){c.expr.filters[d]=
43
- c.expr.filters[d+"-element"]});var s=c.event.customEvent||{},y=c.prop,w={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};c.prop=function(d,f,j){var i=y.apply(this,arguments);if(d&&"form"in d&&w[f]&&j!==n&&c(d).hasClass("form-ui-invalid")&&(c.prop(d,"validity")||{valid:1}).valid)c(d).getShadowElement().removeClass("form-ui-invalid"),"checked"==f&&j&&p(d).removeClass("form-ui-invalid").removeAttr("aria-invalid");return i};var v=function(d,f){var j;c.each(d,function(d,b){if(b)return j="customError"==
44
- d?c.prop(f,"validationMessage"):d,!1});return j};c(h).bind("focusout change refreshvalidityui",function(d){if(d.target&&"submit"!=d.target.type&&c.prop(d.target,"willValidate")){var f=c.data(d.target,"webshimsswitchvalidityclass");f&&clearTimeout(f);c.data(d.target,"webshimsswitchvalidityclass",setTimeout(function(){var f=c(d.target).getNativeElement()[0],i=c.prop(f,"validity"),b=c(f).getShadowElement(),a,e,g,h;i.valid?b.hasClass("form-ui-valid")||(a="form-ui-valid",e="form-ui-invalid",h="changedvaliditystate",
45
- g="changedvalid",o[f.type]&&f.checked&&p(f).removeClass(e).addClass(a).removeAttr("aria-invalid"),c.removeData(f,"webshimsinvalidcause")):(i=v(i,f),c.data(f,"webshimsinvalidcause")!=i&&(c.data(f,"webshimsinvalidcause",i),h="changedvaliditystate"),b.hasClass("form-ui-invalid")||(a="form-ui-invalid",e="form-ui-valid",o[f.type]&&!f.checked&&p(f).removeClass(e).addClass(a),g="changedinvalid"));a&&(b.addClass(a).removeClass(e),setTimeout(function(){c(f).trigger(g)},0));h&&setTimeout(function(){c(f).trigger(h)},
46
- 0);c.removeData(d.target,"webshimsswitchvalidityclass")},9))}});s.changedvaliditystate=!0;s.changedvalid=!0;s.changedinvalid=!0;s.refreshvalidityui=!0;f.triggerInlineForm=function(d,h){d.jquery&&(d=d[0]);var j="on"+h,i=d[j]||d.getAttribute(j)||"",b,a,h=c.Event({type:h,target:d,currentTarget:d});i&&(f.warn(j+" used. we will drop inline event handler support, with next release. use event binding: $.bind instead"),"string"==typeof i&&(a=f.gcEval(i,d),d[j]&&(b=!0,d[j]=!1)));!1===a&&(h.stopPropagation(),
47
- h.preventDefault());c(d).trigger(h);b&&(d[j]=i);return a};s=function(){f.scrollRoot=c.browser.webkit||"BackCompat"==h.compatMode?c(h.body):c(h.documentElement)};s();f.ready("DOM",s);f.getRelOffset=function(d,f){var d=c(d),h=c(f).offset(),i;c.swap(c(d)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){i=d.offset()});h.top-=i.top;h.left-=i.left;return h};f.validityAlert=function(){var d=!c.browser.msie||7<parseInt(c.browser.version,10)?"span":"label",m,j=!1,i=!1,b,a={hideDelay:5E3,
48
- showFor:function(e,d,f,h){a._create();var e=c(e),l=c(e).getShadowElement(),n=a.getOffsetFromBody(l);a.clear();h?this.hide():(this.getMessage(e,d),this.position(l,n),m.css({fontSize:e.css("fontSize"),fontFamily:e.css("fontFamily")}),this.show(),this.hideDelay&&(j=setTimeout(b,this.hideDelay)),c(k).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(i);i=setTimeout(function(){a.position(l)},9)}));f||this.setFocus(l,n)},getOffsetFromBody:function(a){return f.getRelOffset(m,
49
- a)},setFocus:function(a,g){var i=c(a).getShadowFocusElement(),j=f.scrollRoot.scrollTop(),k=(g||i.offset()).top-30,l;f.getID&&"label"==d&&m.attr("for",f.getID(i));j>k&&(f.scrollRoot.animate({scrollTop:k-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(j-k)),80)}),l=!0);try{i[0].focus()}catch(n){}l&&(f.scrollRoot.scrollTop(j),setTimeout(function(){f.scrollRoot.scrollTop(j)},0));setTimeout(function(){c(h).bind("focusout.validityalert",b)},10)},getMessage:function(a,b){c("span.va-box",m).text(b||l(a[0])||
50
- a.prop("validationMessage"))},position:function(b,d){d=d?c.extend({},d):a.getOffsetFromBody(b);d.top+=b.outerHeight();m.css(d)},show:function(){"none"===m.css("display")&&m.css({opacity:0}).show();m.addClass("va-visible").fadeTo(400,1)},hide:function(){m.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(j);c(h).unbind(".validityalert");c(k).unbind(".validityalert");m.stop().removeAttr("for")},_create:function(){if(!m)m=a.errorBubble=c("<"+d+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+
51
- d+">").css({position:"absolute",display:"none"}),f.ready("DOM",function(){m.appendTo("body");c.fn.bgIframe&&c.browser.msie&&7>parseInt(c.browser.version,10)&&m.bgIframe()})}};b=c.proxy(a,"hide");return a}();(function(){var d,f=[],j;c(h).bind("invalid",function(i){if(!i.wrongWebkitInvalid){var b=c(i.target),a=b.getShadowElement();a.hasClass("form-ui-invalid")||(a.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){c(i.target).trigger("changedinvalid").trigger("changedvaliditystate")},
52
- 0));if(!d)d=c.Event("firstinvalid"),d.isInvalidUIPrevented=i.isDefaultPrevented,a=c.Event("firstinvalidsystem"),c(h).triggerHandler(a,{element:i.target,form:i.target.form,isInvalidUIPrevented:i.isDefaultPrevented}),b.trigger(d);d&&d.isDefaultPrevented()&&i.preventDefault();f.push(i.target);i.extraData="fix";clearTimeout(j);j=setTimeout(function(){var a={type:"lastinvalid",cancelable:!1,invalidlist:c(f)};d=!1;f=[];c(i.target).trigger(a,a)},9);a=b=null}})})();q.replaceValidationUI&&f.ready("DOM",function(){c(h).bind("firstinvalid",
53
- function(d){d.isInvalidUIPrevented()||(d.preventDefault(),c.webshims.validityAlert.showFor(d.target,c(d.target).prop("customValidationMessage")))})})});
1
+ (function(c){if(!Modernizr.genericDOM){var e=document,j,k,l=/<([\w:]+)/,m={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};c.webshims.fixHTML5=function(c){if("string"!=typeof c||m[(l.exec(c)||["",""])[1].toLowerCase()])return c;if(!k){j=e.body;if(!j)return c;k=e.createElement("div");k.style.display="none"}var r=k.cloneNode(!1);j.appendChild(r);r.innerHTML=c;j.removeChild(r);return r.childNodes}}})(jQuery);
2
+ jQuery.webshims.register("dom-extend",function(c,e,j,k,l){var m=e.modules,q=/\s*,\s*/,r={},s={},p={},h={},u={},x=c.fn.val,v=function(a,b,d,f,n){return n?x.call(c(a)):x.call(c(a),d)};c.fn.val=function(a){var b=this[0];arguments.length&&null==a&&(a="");if(!arguments.length)return!b||1!==b.nodeType?x.call(this):c.prop(b,"value",a,"val",!0);if(c.isArray(a))return x.apply(this,arguments);var d=c.isFunction(a);return this.each(function(f){b=this;1===b.nodeType&&(d?(f=a.call(b,f,c.prop(b,"value",l,"val",
3
+ !0)),null==f&&(f=""),c.prop(b,"value",f,"val")):c.prop(b,"value",a,"val"))})};var w="_webshimsLib"+Math.round(1E3*Math.random()),t=function(a,b,d){a=a.jquery?a[0]:a;if(!a)return d||{};var f=c.data(a,w);d!==l&&(f||(f=c.data(a,w,{})),b&&(f[b]=d));return b?f&&f[b]:f};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(a){c.fn[a.name]=function(){return this.map(function(){var b=t(this,
4
+ "shadowData");return b&&b[a.prop]||this})}});["removeAttr","prop","attr"].forEach(function(a){r[a]=c[a];c[a]=function(b,d,f,n,g){var i="val"==n,h=!i?r[a]:v;if(!b||!s[d]||1!==b.nodeType||!i&&n&&"attr"==a&&c.attrFn[d])return h(b,d,f,n,g);var z=(b.nodeName||"").toLowerCase(),o=p[z],e="attr"==a&&(!1===f||null===f)?"removeAttr":a,m,q,k;o||(o=p["*"]);o&&(o=o[d]);o&&(m=o[e]);if(m){if("value"==d)q=m.isVal,m.isVal=i;if("removeAttr"===e)return m.value.call(b);if(f===l)return m.get?m.get.call(b):m.value;m.set&&
5
+ ("attr"==a&&!0===f&&(f=d),k=m.set.call(b,f));if("value"==d)m.isVal=q}else k=h(b,d,f,n,g);if((f!==l||"removeAttr"===e)&&u[z]&&u[z][d]){var j;j="removeAttr"==e?!1:"prop"==e?!!f:!0;u[z][d].forEach(function(d){if(!d.only||(d.only="prop"==a)||"attr"==d.only&&"prop"!=a)d.call(b,f,j,i?"val":e,a)})}return k};h[a]=function(b,d,f){p[b]||(p[b]={});p[b][d]||(p[b][d]={});var n=p[b][d][a],g=function(b,c,n){return c&&c[b]?c[b]:n&&n[b]?n[b]:"prop"==a&&"value"==d?function(b){return f.isVal?v(this,d,b,!1,0===arguments.length):
6
+ r[a](this,d,b)}:"prop"==a&&"value"==b&&f.value.apply?function(b){var c=r[a](this,d);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(b){return r[a](this,d,b)}};p[b][d][a]=f;if(f.value===l){if(!f.set)f.set=f.writeable?g("set",f,n):e.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+b;}:c.noop;if(!f.get)f.get=g("get",f,n)}["value","get","set"].forEach(function(a){f[a]&&(f["_sup"+a]=g(a,n))})}});var y=!c.browser.msie||8<parseInt(c.browser.version,10),g=function(){var a=e.getPrototypeOf(k.createElement("foobar")),
7
+ b=Object.prototype.hasOwnProperty;return function(d,c,n){var g=k.createElement(d),i=e.getPrototypeOf(g);if(y&&i&&a!==i&&(!g[c]||!b.call(g,c))){var h=g[c];n._supvalue=function(){return h&&h.apply?h.apply(this,arguments):h};i[c]=n.value}else n._supvalue=function(){var a=t(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},o.extendValue(d,c,n.value);n.value._supvalue=n._supvalue}}(),o=function(){var a={};e.addReady(function(b,d){var f={},g=function(a){f[a]||(f[a]=c(b.getElementsByTagName(a)),
8
+ d[0]&&c.nodeName(d[0],a)&&(f[a]=f[a].add(d)))};c.each(a,function(a,b){g(a);!b||!b.forEach?e.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){f[a].each(b)})});f=null});var b,d=c([]),f=function(d,f){a[d]?a[d].push(f):a[d]=[f];c.isDOMReady&&(b||c(k.getElementsByTagName(d))).each(f)};return{createTmpCache:function(a){c.isDOMReady&&(b=b||c(k.getElementsByTagName(a)));return b||d},flushTmpCache:function(){b=null},content:function(a,b){f(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
9
+ b,a)})},createElement:function(a,b){f(a,b)},extendValue:function(a,b,d){f(a,function(){c(this).each(function(){t(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),i=function(a,b){if(a.defaultValue===l)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};c.extend(e,{getID:function(){var a=(new Date).getTime();return function(b){var b=c(b),d=b.attr("id");d||(a++,d="ID-"+a,b.attr("id",d));return d}}(),extendUNDEFProp:function(a,
10
+ b){c.each(b,function(b,c){b in a||(a[b]=c)})},createPropDefault:i,data:t,moveToFirstEvent:function(){var a=c._data?"_data":"data";return function(b,d,f){if((b=(c[a](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(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);if(!d.shadowFocusElement)d.shadowFocusElement=b;var f=c.data(a,w)||c.data(a,w,{}),g=c.data(b,w)||c.data(b,w,{});f.hasShadow=b;g.nativeElement=
11
+ a;g.shadowData=f.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){t(this,"shadowData",g.shadowData)});if(d.data)f.shadowData.data=d.data,g.shadowData.data=d.data;d=null},propTypes:{standard:function(a){i(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){i(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
12
+ ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(a,b){"string"==typeof b&&(b=b.split(q));b.forEach(function(b){e.defineNodeNamesProperty(a,b,{prop:{set:function(a){c.attr(this,b,a)},get:function(){return c.attr(this,b)||""}}})})},defineNodeNameProperty:function(a,b,d){s[b]=!0;if(d.reflect)e.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(f){var n=d[f];n&&(n="prop"===f?c.extend({writeable:!0},n):c.extend({},
13
+ n,{writeable:!0}),h[f](a,b,n),"*"!=a&&e.cfg.extendNative&&"prop"==f&&n.value&&c.isFunction(n.value)&&g(a,b,n),d[f]=n)});d.initAttr&&o.content(a,b);return d},defineNodeNameProperties:function(a,b,d,c){for(var g in b)!c&&b[g].initAttr&&o.createTmpCache(a),d&&(b[g][d]?e.log("override: "+a+"["+g+"] for "+d):(b[g][d]={},["value","set","get"].forEach(function(a){a in b[g]&&(b[g][d][a]=b[g][a],delete b[g][a])}))),b[g]=e.defineNodeNameProperty(a,g,b[g]);c||o.flushTmpCache();return b},createElement:function(a,
14
+ b,d){var f;c.isFunction(b)&&(b={after:b});o.createTmpCache(a);b.before&&o.createElement(a,b.before);d&&(f=e.defineNodeNameProperties(a,d,!1,!0));b.after&&o.createElement(a,b.after);o.flushTmpCache();return f},onNodeNamesPropertyModify:function(a,b,d,f){"string"==typeof a&&(a=a.split(q));c.isFunction(d)&&(d={set:d});a.forEach(function(a){u[a]||(u[a]={});"string"==typeof b&&(b=b.split(q));d.initAttr&&o.createTmpCache(a);b.forEach(function(b){u[a][b]||(u[a][b]=[],s[b]=!0);if(d.set){if(f)d.set.only=f;
15
+ u[a][b].push(d.set)}d.initAttr&&o.content(a,b)});o.flushTmpCache()})},defineNodeNamesBooleanProperty:function(a,b,d){d||(d={});if(c.isFunction(d))d.set=d;e.defineNodeNamesProperty(a,b,{attr:{set:function(a){this.setAttribute(b,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(b)?l: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===
16
+ l)return d=(a.attributes[b]||{}).value,null==d?l:d;"boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var a=[],b={},d,f,g=/:\/\/|^\.*\//,i=function(a,b,d){return b&&d&&-1!==c.inArray(b,d.availabeLangs||[])?(a.loading=!0,d=d.langSrc,g.test(d)||(d=e.cfg.basePath+d),e.loader.loadScript(d+b+".js",function(){a.langObj[b]?(a.loading=!1,o(a,!0)):c(function(){a.langObj[b]&&o(a,!0);a.loading=!1})}),!0):!1},h=function(a){b[a]&&b[a].forEach(function(a){a.callback()})},
17
+ o=function(a,b){if(a.activeLang!=d&&a.activeLang!==f){var c=m[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&&!i(a,d,c)&&!i(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),h(a.module)}};return function(g){if("string"==typeof g&&g!==d)d=g,f=d.split("-")[0],d==f&&(f=!1),c.each(a,function(a,b){o(b)});else if("object"==typeof g)if(g.register)b[g.register]||(b[g.register]=[]),b[g.register].push(g),
18
+ g.callback();else{if(!g.activeLang)g.activeLang="";a.push(g);o(g)}return d}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){e[a]=function(a,c,g,i){"string"==typeof a&&(a=a.split(q));var h={};a.forEach(function(a){h[a]=e[b](a,c,g,i)});return h}});e.isReady("webshimLocalization",!0)});
19
+ (function(c,e){var j=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<j)&&(!c.browser.msie||12>j&&7<j)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},l=function(c,e){c.getAttribute("role")||c.setAttribute("role",e)};c.webshims.addReady(function(m,q){c.each(k,function(h,e){for(var j=c(h,m).add(q.filter(h)),k=0,p=j.length;k<p;k++)l(j[k],e)});if(m===e){var j=e.getElementsByTagName("header")[0],s=e.getElementsByTagName("footer"),p=s.length;
20
+ j&&!c(j).closest("section, article")[0]&&l(j,"banner");p&&(j=s[p-1],c(j).closest("section, article")[0]||l(j,"contentinfo"))}})}})(jQuery,document);
21
+ (function(c,e,j){var k=e.audio&&e.video,l=!1;if(k)c=document.createElement("video"),e.videoBuffered="buffered"in c,l="loop"in c,j.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),e.videoBuffered||(j.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:e.videoBuffered,d:["dom-support"]}),j.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(c,e,j,s,p){var h=e.mediaelement,u=e.cfg.mediaelement,
22
+ x=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var f=a.attr("type");if(f)d.type=f,d.container=c.trim(f.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),f=h.getTypeForSrc(d.src,b))d.type=f,d.container=f,e.warn("you should always provide a proper mime-type using the source element. "+d.src+" detected as: "+f),c.nodeName(a[0],"source")&&a.attr("type",
23
+ f);if(f=a.attr("media"))d.media=f;return d},v=swfobject.hasFlashPlayerVersion("9.0.115"),w=function(){e.ready("mediaelement-swf",function(){if(!h.createSWF)e.modules["mediaelement-swf"].test=c.noop,e.reTest(["mediaelement-swf"],k)})};h.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"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","f4a","fla"],"application/x-mpegURL":["m3u8",
24
+ "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"]}};h.mimeTypes.source=c.extend({},h.mimeTypes.audio,h.mimeTypes.video);h.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||-1!=a.indexOf("youtube.com/v/"))return"video/youtube";
25
+ var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(h.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};h.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(b)||(b=[b]),b.forEach(function(b){var c=s.createElement("source");"string"==typeof b&&(b={src:b});c.setAttribute("src",b.src);b.type&&c.setAttribute("type",b.type);b.media&&c.setAttribute("media",b.media);a.append(c)});else{var b=[],d=a[0].nodeName.toLowerCase(),
26
+ f=x(a,d);f.src?b.push(f):c("source",a).each(function(){f=x(this,d);f.src&&b.push(f)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==p&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));h.srces(this,a);c(this).mediaLoad()})};h.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(",");
27
+ h.canSwfPlaySrces=function(a,b){var d="";v&&(a=c(a),b=b||h.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&-1!=h.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var t={};h.canNativePlaySrces=function(a,b){var d="";if(k){var a=c(a),f=(a[0].nodeName||"").toLowerCase();if(!t[f])return d;b=b||h.srces(a);c.each(b,function(b,c){if(c.type&&t[f].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};h.setError=function(a,b){b||(b="can't play sources");c(a).pause().data("mediaerror",
28
+ b);e.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var y=function(){var a;return function(b,c,f){e.ready("mediaelement-swf",function(){h.createSWF?h.createSWF(b,c,f):a||(a=!0,w(),y(b,c,f))})}}(),g=function(a,b,c,f,e){c||!1!==c&&b&&"flash"==b.isActive?(c=h.canSwfPlaySrces(a,f))?y(a,c,b):e?h.setError(a,!1):g(a,b,!1,f,!0):(c=h.canNativePlaySrces(a,f))?b&&"flash"==b.isActive&&h.setActive(a,"html5",b):e?(h.setError(a,!1),b&&"flash"==b.isActive&&
29
+ h.setActive(a,"html5",b)):g(a,b,!0,f,!0)},o=/^(?:embed|object|datalist)$/i,i=function(a,b){var d=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{}),f=h.srces(a),i=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(f.length&&i&&!(1!=i.nodeType||o.test(i.nodeName||"")))b=b||e.data(a,"mediaelement"),g(a,b,u.preferFlash||p,f)};c(s).bind("ended",function(a){var b=e.data(a.target,"mediaelement");(!l||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,
30
+ "paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});l||e.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=e.defineNodeNameProperty(a,"load",{prop:{value:function(){var a=e.data(this,"mediaelement");i(this,a);k&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});t[a]=e.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var f="";k&&t[a].prop._supvalue&&(f=t[a].prop._supvalue.call(this,
31
+ b),"no"==f&&(f=""));!f&&v&&(b=c.trim((b||"").split(";")[0]),-1!=h.swfMimeTypes.indexOf(b)&&(f="maybe"));return f}}})});e.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){i(a);a=null},9)}});j=function(){e.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<e.browserVersion&&c.prop(this,
32
+ "paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():i(this);if(k){var a,b,g=this,h=function(){var a=c.prop(g,"buffered");if(a){for(var b="",d=0,f=a.length;d<f;d++)b+=a.end(d);return b}},o=function(){var a=h();a!=b&&(b=a,c(g).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=h());clearTimeout(a);a=setTimeout(o,999)}).bind("emptied stalled mediaerror abort suspend",
33
+ function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};k?(e.isReady("mediaelement-core",!0),j(),v&&e.ready("WINDOWLOAD mediaelement",w)):e.ready("mediaelement-swf",j)})})(jQuery,Modernizr,jQuery.webshims);
34
+ (function(c){var e=window.Modernizr,j=c.webshims,k=j.bugs,l=c('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>'),m=function(){if(l[0].querySelector)try{k.findRequired=!l[0].querySelector("select:required")}catch(c){k.findRequired=!1}};k.findRequired=!1;k.validationMessage=!1;k.valueAsNumberSet=!1;j.capturingEventPrevented=function(e){if(!e._isPolyfilled){var j=e.isDefaultPrevented,
35
+ k=e.preventDefault;e.preventDefault=function(){clearTimeout(c.data(e.target,e.type+"DefaultPrevented"));c.data(e.target,e.type+"DefaultPrevented",setTimeout(function(){c.removeData(e.target,e.type+"DefaultPrevented")},30));return k.apply(this,arguments)};e.isDefaultPrevented=function(){return!(!j.apply(this,arguments)&&!c.data(e.target,e.type+"DefaultPrevented"))};e._isPolyfilled=!0}};if(!e.formvalidation||k.bustedValidity)m();else{e.bugfreeformvalidation=!0;if(window.opera||c.browser.webkit||window.testGoodWithFix){var q=
36
+ c("input",l).eq(0),r,s=function(h){var k=["form-extend","form-message","form-native-fix"];h&&(h.preventDefault(),h.stopImmediatePropagation());clearTimeout(r);setTimeout(function(){l&&(l.remove(),l=q=null)},9);if(!e.bugfreeformvalidation)j.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),j.modules["form-extend"].test=c.noop;j.isReady("form-number-date-api")&&k.push("form-number-date-api");j.reTest(k);if(c.browser.opera||window.testGoodWithFix)j.loader.loadList(["dom-extend"]),j.ready("dom-extend",
37
+ function(){var h=function(c){c.preventDefault()};["form","input","textarea","select"].forEach(function(e){var k=j.defineNodeNameProperty(e,"checkValidity",{prop:{value:function(){j.fromSubmit||c(this).bind("invalid.checkvalidity",h);j.fromCheckValidity=!0;var e=k.prop._supvalue.apply(this,arguments);j.fromSubmit||c(this).unbind("invalid.checkvalidity",h);j.fromCheckValidity=!1;return e}}})});e.input.list&&!(c("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&
38
+ j.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var e=this.options||[];if(!e.length){var h=c("select",this);if(h[0]&&h[0].options&&h[0].options.length)e=h[0].options}return e}}})})};l.appendTo("head");if(window.opera||window.testGoodWithFix){m();k.validationMessage=!q.prop("validationMessage");if((e.inputtypes||{}).date){try{q.prop("valueAsNumber",0)}catch(p){}k.valueAsNumberSet="1970-01-01"!=q.prop("value")}q.prop("value","")}l.bind("submit",function(c){e.bugfreeformvalidation=
39
+ !1;s(c)});r=setTimeout(function(){l&&l.triggerHandler("submit")},9);j.capturingEvents(["input"]);j.capturingEvents(["invalid"],!0);c("input, select",l).bind("invalid",s).filter('[type="submit"]').bind("click",function(c){c.stopImmediatePropagation()}).trigger("click")}j.capturingEvents(["input"]);j.capturingEvents(["invalid"],!0)}})(jQuery);
40
+ jQuery.webshims.register("form-core",function(c,e,j,k,l,m){var q={radio:1},r={checkbox:1,radio:1},s=c([]),p=e.bugs,h=function(g){var g=c(g),e,i;e=s;if(q[g[0].type])i=g.prop("form"),e=(e=g[0].name)?i?c(i[e]):c(k.getElementsByName(e)).filter(function(){return!c.prop(this,"form")}):g,e=e.filter('[type="radio"]');return e},u=e.getContentValidationMessage=function(g,h){var i=g.getAttribute("x-moz-errormessage")||g.getAttribute("data-errormessage")||"";if(i&&-1!=i.indexOf("{")){try{i=jQuery.parseJSON(i)}catch(a){return i}"object"==
41
+ typeof i&&(h=h||c.prop(g,"validity")||{valid:1},h.valid||c.each(h,function(a,c){if(c&&"valid"!=a&&i[a])return i=i[a],!1}));e.data(g,"contentErrorMessage",i);if("object"==typeof i)i=i.defaultMessage}return i||""},x={number:1,range:1,date:1};c.extend(c.expr.filters,{"valid-element":function(g){return!(!c.prop(g,"willValidate")||!(c.prop(g,"validity")||{valid:1}).valid)},"invalid-element":function(g){return!(!c.prop(g,"willValidate")||(c.prop(g,"validity")||{valid:1}).valid)},"required-element":function(g){return!(!c.prop(g,
42
+ "willValidate")||!c.prop(g,"required"))},"optional-element":function(g){return!!(c.prop(g,"willValidate")&&!1===c.prop(g,"required"))},"in-range":function(g){if(!x[c.prop(g,"type")]||!c.prop(g,"willValidate"))return!1;g=c.prop(g,"validity");return!(!g||g.rangeOverflow||g.rangeUnderflow)},"out-of-range":function(g){if(!x[c.prop(g,"type")]||!c.prop(g,"willValidate"))return!1;g=c.prop(g,"validity");return!(!g||!g.rangeOverflow&&!g.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(g){c.expr.filters[g]=
43
+ c.expr.filters[g+"-element"]});var v=c.event.customEvent||{};(p.bustedValidity||p.findRequired)&&function(){var g=c.find,e=c.find.matchesSelector,i=/(\:valid|\:invalid|\:optional|\:required|\:in-range|\:out-of-range)(?=[\s\[\~\.\+\>\:\#*]|$)/ig,a=function(a){return a+"-element"};c.find=function(){var b=Array.prototype.slice,c=function(c){var d=arguments,d=b.call(d,1,d.length);d.unshift(c.replace(i,a));return g.apply(this,d)},f;for(f in g)g.hasOwnProperty(f)&&(c[f]=g[f]);return c}();if(!Modernizr.prefixed||
44
+ Modernizr.prefixed("matchesSelector",k.documentElement))c.find.matchesSelector=function(b,c){c=c.replace(i,a);return e.call(this,b,c)}}();var w=c.prop,t={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};c.prop=function(g,e,i){var a=w.apply(this,arguments);if(g&&"form"in g&&t[e]&&i!==l&&c(g).hasClass("form-ui-invalid")&&(c.prop(g,"validity")||{valid:1}).valid)c(g).getShadowElement().removeClass("form-ui-invalid"),"checked"==e&&i&&h(g).not(g).removeClass("form-ui-invalid").removeAttr("aria-invalid");
45
+ return a};var y=function(g,e){var i;c.each(g,function(a,b){if(b)return i="customError"==a?c.prop(e,"validationMessage"):a,!1});return i};c(k).bind("focusout change refreshvalidityui",function(g){if(g.target&&"submit"!=g.target.type&&c.prop(g.target,"willValidate")){var e=c.data(g.target,"webshimsswitchvalidityclass");e&&clearTimeout(e);c.data(g.target,"webshimsswitchvalidityclass",setTimeout(function(){var e=c(g.target).getNativeElement()[0],a=c.prop(e,"validity"),b=c(e).getShadowElement(),d,f,k,
46
+ j;a.valid?b.hasClass("form-ui-valid")||(d="form-ui-valid",f="form-ui-invalid",j="changedvaliditystate",k="changedvalid",r[e.type]&&e.checked&&h(e).not(e).removeClass(f).addClass(d).removeAttr("aria-invalid"),c.removeData(e,"webshimsinvalidcause")):(a=y(a,e),c.data(e,"webshimsinvalidcause")!=a&&(c.data(e,"webshimsinvalidcause",a),j="changedvaliditystate"),b.hasClass("form-ui-invalid")||(d="form-ui-invalid",f="form-ui-valid",r[e.type]&&!e.checked&&h(e).not(e).removeClass(f).addClass(d),k="changedinvalid"));
47
+ d&&(b.addClass(d).removeClass(f),setTimeout(function(){c(e).trigger(k)},0));j&&setTimeout(function(){c(e).trigger(j)},0);c.removeData(g.target,"webshimsswitchvalidityclass")},9))}});v.changedvaliditystate=!0;v.changedvalid=!0;v.changedinvalid=!0;v.refreshvalidityui=!0;e.triggerInlineForm=function(e,h){c(e).trigger(h)};e.modules["form-core"].getGroupElements=h;p=function(){e.scrollRoot=c.browser.webkit||"BackCompat"==k.compatMode?c(k.body):c(k.documentElement)};p();e.ready("DOM",p);e.getRelOffset=
48
+ function(e,h){var e=c(e),i=c(h).offset(),a;c.swap(c(e)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){a=e.offset()});i.top-=a.top;i.left-=a.left;return i};e.validityAlert=function(){var g=!c.browser.msie||7<parseInt(c.browser.version,10)?"span":"label",h,i=!1,a=!1,b,d={hideDelay:5E3,showFor:function(e,g,k,l){d._create();var e=c(e),m=c(e).getShadowElement(),p=d.getOffsetFromBody(m);d.clear();l?this.hide():(this.getMessage(e,g),this.position(m,p),h.css({fontSize:e.css("fontSize"),
49
+ fontFamily:e.css("fontFamily")}),this.show(),this.hideDelay&&(i=setTimeout(b,this.hideDelay)),c(j).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(a);a=setTimeout(function(){d.position(m)},9)}));k||this.setFocus(m,p)},getOffsetFromBody:function(a){return e.getRelOffset(h,a)},setFocus:function(a,d){var i=c(a).getShadowFocusElement(),j=e.scrollRoot.scrollTop(),l=(d||i.offset()).top-30,m;e.getID&&"label"==g&&h.attr("for",e.getID(i));j>l&&(e.scrollRoot.animate({scrollTop:l-
50
+ 5},{queue:!1,duration:Math.max(Math.min(600,1.5*(j-l)),80)}),m=!0);try{i[0].focus()}catch(p){}m&&(e.scrollRoot.scrollTop(j),setTimeout(function(){e.scrollRoot.scrollTop(j)},0));setTimeout(function(){c(k).bind("focusout.validityalert",b)},10)},getMessage:function(a,b){c("span.va-box",h).text(b||u(a[0])||a.prop("validationMessage"))},position:function(a,b){b=b?c.extend({},b):d.getOffsetFromBody(a);b.top+=a.outerHeight();h.css(b)},show:function(){"none"===h.css("display")&&h.css({opacity:0}).show();
51
+ h.addClass("va-visible").fadeTo(400,1)},hide:function(){h.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(i);c(k).unbind(".validityalert");c(j).unbind(".validityalert");h.stop().removeAttr("for")},_create:function(){if(!h)h=d.errorBubble=c("<"+g+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+g+">").css({position:"absolute",display:"none"}),
52
+ e.ready("DOM",function(){h.appendTo("body");c.fn.bgIframe&&c.browser.msie&&7>parseInt(c.browser.version,10)&&h.bgIframe()})}};b=c.proxy(d,"hide");return d}();(function(){var e,h=[],i;c(k).bind("invalid",function(a){if(!a.wrongWebkitInvalid){var b=c(a.target),d=b.getShadowElement();d.hasClass("form-ui-invalid")||(d.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){c(a.target).trigger("changedinvalid").trigger("changedvaliditystate")},0));if(!e)e=c.Event("firstinvalid"),
53
+ e.isInvalidUIPrevented=a.isDefaultPrevented,d=c.Event("firstinvalidsystem"),c(k).triggerHandler(d,{element:a.target,form:a.target.form,isInvalidUIPrevented:a.isDefaultPrevented}),b.trigger(e);e&&e.isDefaultPrevented()&&a.preventDefault();h.push(a.target);a.extraData="fix";clearTimeout(i);i=setTimeout(function(){var b={type:"lastinvalid",cancelable:!1,invalidlist:c(h)};e=!1;h=[];c(a.target).trigger(b,b)},9);d=b=null}})})();m.replaceValidationUI&&e.ready("DOM",function(){c(k).bind("firstinvalid",function(e){e.isInvalidUIPrevented()||
54
+ (e.preventDefault(),c.webshims.validityAlert.showFor(e.target,c(e.target).prop("customValidationMessage")))})})});