webshims-rails 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webshims-rails/version.rb +2 -2
- data/vendor/assets/javascripts/webshims/extras/custom-validity.js +261 -261
- data/vendor/assets/javascripts/webshims/extras/modernizr-custom.js +534 -534
- data/vendor/assets/javascripts/webshims/extras/mousepress.js +60 -60
- data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +1 -1
- data/vendor/assets/javascripts/webshims/minified/polyfiller.js +24 -24
- data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/README +82 -82
- data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +35 -34
- data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +79 -82
- data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +45 -44
- data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +43 -42
- data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +28 -27
- data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +4 -4
- data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +57 -59
- data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +64 -66
- data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +53 -54
- data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +64 -66
- data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +72 -73
- data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +42 -46
- data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +52 -50
- data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +55 -59
- data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +66 -64
- data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +80 -82
- data/vendor/assets/javascripts/webshims/minified/shims/combos/25.js +60 -59
- data/vendor/assets/javascripts/webshims/minified/shims/combos/26.js +79 -81
- data/vendor/assets/javascripts/webshims/minified/shims/combos/27.js +101 -104
- data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +94 -95
- data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +26 -29
- data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +33 -36
- data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +51 -54
- data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +27 -28
- data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +27 -28
- data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +39 -38
- data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +65 -68
- data/vendor/assets/javascripts/webshims/minified/shims/details.js +4 -4
- data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +23 -22
- data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +19 -22
- data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +14 -14
- data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +9 -9
- data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +18 -19
- data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +45 -43
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -33
- data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -34
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +12 -12
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-jaris.js +23 -0
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +1 -1
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +26 -30
- data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-yt.js +3 -3
- data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +689 -686
- data/vendor/assets/javascripts/webshims/minified/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/minified/shims/track-ui.js +9 -9
- data/vendor/assets/javascripts/webshims/minified/shims/track.js +21 -21
- data/vendor/assets/javascripts/webshims/polyfiller.js +1191 -1175
- data/vendor/assets/javascripts/webshims/shims/combos/1.js +1754 -1714
- data/vendor/assets/javascripts/webshims/shims/combos/10.js +3247 -3320
- data/vendor/assets/javascripts/webshims/shims/combos/11.js +1633 -1588
- data/vendor/assets/javascripts/webshims/shims/combos/12.js +1636 -1591
- data/vendor/assets/javascripts/webshims/shims/combos/13.js +1100 -1058
- data/vendor/assets/javascripts/webshims/shims/combos/14.js +476 -476
- data/vendor/assets/javascripts/webshims/shims/combos/15.js +316 -314
- data/vendor/assets/javascripts/webshims/shims/combos/16.js +2094 -2104
- data/vendor/assets/javascripts/webshims/shims/combos/17.js +2258 -2267
- data/vendor/assets/javascripts/webshims/shims/combos/18.js +1380 -1364
- data/vendor/assets/javascripts/webshims/shims/combos/19.js +2239 -2247
- data/vendor/assets/javascripts/webshims/shims/combos/2.js +2339 -2294
- data/vendor/assets/javascripts/webshims/shims/combos/20.js +1493 -1606
- data/vendor/assets/javascripts/webshims/shims/combos/21.js +1733 -1635
- data/vendor/assets/javascripts/webshims/shims/combos/22.js +2295 -2408
- data/vendor/assets/javascripts/webshims/shims/combos/23.js +2269 -2168
- data/vendor/assets/javascripts/webshims/shims/combos/24.js +2775 -2780
- data/vendor/assets/javascripts/webshims/shims/combos/25.js +1505 -1456
- data/vendor/assets/javascripts/webshims/shims/combos/26.js +2111 -2115
- data/vendor/assets/javascripts/webshims/shims/combos/27.js +3264 -3331
- data/vendor/assets/javascripts/webshims/shims/combos/3.js +3020 -2970
- data/vendor/assets/javascripts/webshims/shims/combos/4.js +770 -822
- data/vendor/assets/javascripts/webshims/shims/combos/5.js +1025 -1077
- data/vendor/assets/javascripts/webshims/shims/combos/59.js +1706 -1753
- data/vendor/assets/javascripts/webshims/shims/combos/6.js +444 -433
- data/vendor/assets/javascripts/webshims/shims/combos/7.js +699 -688
- data/vendor/assets/javascripts/webshims/shims/combos/8.js +1488 -1445
- data/vendor/assets/javascripts/webshims/shims/combos/9.js +2445 -2518
- data/vendor/assets/javascripts/webshims/shims/details.js +148 -146
- data/vendor/assets/javascripts/webshims/shims/dom-extend.js +952 -912
- data/vendor/assets/javascripts/webshims/shims/es5.js +802 -802
- data/vendor/assets/javascripts/webshims/shims/excanvas.js +924 -924
- data/vendor/assets/javascripts/webshims/shims/form-core.js +606 -659
- data/vendor/assets/javascripts/webshims/shims/form-datalist.js +681 -676
- data/vendor/assets/javascripts/webshims/shims/form-message.js +164 -163
- data/vendor/assets/javascripts/webshims/shims/form-native-extend.js +255 -255
- data/vendor/assets/javascripts/webshims/shims/form-number-date-api.js +383 -383
- data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +61 -50
- data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +1569 -1472
- data/vendor/assets/javascripts/webshims/shims/geolocation.js +168 -168
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ar.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ch-ZN.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-de.txt +33 -33
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-el.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-en.txt +34 -34
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-es.js +31 -31
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-fr.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-he.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hi.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-hu.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-it.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ja.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-nl.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-pt-PT.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-ru.js +31 -31
- data/vendor/assets/javascripts/webshims/shims/i18n/errormessages-sv.js +32 -32
- data/vendor/assets/javascripts/webshims/shims/json-storage.js +308 -308
- data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +536 -533
- data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +861 -0
- data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +98 -98
- data/vendor/assets/javascripts/webshims/shims/mediaelement-swf.js +957 -1073
- data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +543 -543
- data/vendor/assets/javascripts/webshims/shims/styles/shim.css +689 -686
- data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/track-ui.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/track.js +17 -11
- metadata +6 -6
- data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +0 -7
- data/vendor/assets/javascripts/webshims/shims/FlashCanvas/README +0 -62
- data/vendor/assets/javascripts/webshims/shims/FlashCanvasPro/README +0 -82
- data/vendor/assets/javascripts/webshims/shims/form-native-fix.js +0 -261
@@ -1,44 +1,45 @@
|
|
1
|
-
jQuery.webshims.register("dom-extend",function(a,
|
2
|
-
!0)),null==
|
3
|
-
"shadowData");return a&&a[g.prop]||this})}});["removeAttr","prop","attr"].forEach(function(g){q[g]=a[g];a[g]=function(
|
4
|
-
("attr"==g&&!0===
|
5
|
-
q[g](this,
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
return b}}(),extendUNDEFProp:function(g,
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
"
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
a.
|
20
|
-
|
21
|
-
(
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
a(
|
26
|
-
(
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
"
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
f=f.
|
42
|
-
|
43
|
-
|
44
|
-
"list",b);
|
1
|
+
jQuery.webshims.register("dom-extend",function(a,f,n,o,p){var m=f.modules,r=/\s*,\s*/,q={},x={},s={},w={},t={},u=a.fn.val,b=function(g,c,i,h,b){return b?u.call(a(g)):u.call(a(g),i)};a.fn.val=function(g){var c=this[0];arguments.length&&null==g&&(g="");if(!arguments.length)return!c||1!==c.nodeType?u.call(this):a.prop(c,"value",g,"val",!0);if(a.isArray(g))return u.apply(this,arguments);var i=a.isFunction(g);return this.each(function(h){c=this;1===c.nodeType&&(i?(h=g.call(c,h,a.prop(c,"value",p,"val",
|
2
|
+
!0)),null==h&&(h=""),a.prop(c,"value",h,"val")):a.prop(c,"value",g,"val"))})};var d="_webshimsLib"+Math.round(1E3*Math.random()),e=function(g,c,i){g=g.jquery?g[0]:g;if(!g)return i||{};var h=a.data(g,d);i!==p&&(h||(h=a.data(g,d,{})),c&&(h[c]=i));return c?h&&h[c]:h};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(g){a.fn[g.name]=function(){return this.map(function(){var a=e(this,
|
3
|
+
"shadowData");return a&&a[g.prop]||this})}});["removeAttr","prop","attr"].forEach(function(g){q[g]=a[g];a[g]=function(c,i,h,y,d){var e="val"==y,v=!e?q[g]:b;if(!c||!x[i]||1!==c.nodeType||!e&&y&&"attr"==g&&a.attrFn[i])return v(c,i,h,y,d);var z=(c.nodeName||"").toLowerCase(),j=s[z],l="attr"==g&&(!1===h||null===h)?"removeAttr":g,f,k,m;j||(j=s["*"]);j&&(j=j[i]);j&&(f=j[l]);if(f){if("value"==i)k=f.isVal,f.isVal=e;if("removeAttr"===l)return f.value.call(c);if(h===p)return f.get?f.get.call(c):f.value;f.set&&
|
4
|
+
("attr"==g&&!0===h&&(h=i),m=f.set.call(c,h));if("value"==i)f.isVal=k}else m=v(c,i,h,y,d);if((h!==p||"removeAttr"===l)&&t[z]&&t[z][i]){var r;r="removeAttr"==l?!1:"prop"==l?!!h:!0;t[z][i].forEach(function(a){if(!a.only||(a.only="prop"==g)||"attr"==a.only&&"prop"!=g)a.call(c,h,r,e?"val":l,g)})}return m};w[g]=function(c,i,h){s[c]||(s[c]={});s[c][i]||(s[c][i]={});var d=s[c][i][g],e=function(a,c,d){return c&&c[a]?c[a]:d&&d[a]?d[a]:"prop"==g&&"value"==i?function(a){return h.isVal?b(this,i,a,!1,0===arguments.length):
|
5
|
+
q[g](this,i,a)}:"prop"==g&&"value"==a&&h.value.apply?function(a){var c=q[g](this,i);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return q[g](this,i,a)}};s[c][i][g]=h;if(h.value===p){if(!h.set)h.set=h.writeable?e("set",h,d):f.cfg.useStrict&&"prop"==i?function(){throw i+" is readonly on "+c;}:a.noop;if(!h.get)h.get=e("get",h,d)}["value","get","set"].forEach(function(a){h[a]&&(h["_sup"+a]=e(a,d))})}});var v=!a.browser.msie||8<parseInt(a.browser.version,10),j=function(){var a=f.getPrototypeOf(o.createElement("foobar")),
|
6
|
+
c=Object.prototype.hasOwnProperty;return function(i,h,b){var d=o.createElement(i),j=f.getPrototypeOf(d);if(v&&j&&a!==j&&(!d[h]||!c.call(d,h))){var k=d[h];b._supvalue=function(){return k&&k.apply?k.apply(this,arguments):k};j[h]=b.value}else b._supvalue=function(){var a=e(this,"propValue");return a&&a[h]&&a[h].apply?a[h].apply(this,arguments):a&&a[h]},l.extendValue(i,h,b.value);b.value._supvalue=b._supvalue}}(),l=function(){var g={};f.addReady(function(c,b){var i={},h=function(g){i[g]||(i[g]=a(c.getElementsByTagName(g)),
|
7
|
+
b[0]&&a.nodeName(b[0],g)&&(i[g]=i[g].add(b)))};a.each(g,function(a,g){h(a);!g||!g.forEach?f.warn("Error: with "+a+"-property. methods: "+g):g.forEach(function(g){i[a].each(g)})});i=null});var c,b=a([]),h=function(b,i){g[b]?g[b].push(i):g[b]=[i];a.isDOMReady&&(c||a(o.getElementsByTagName(b))).each(i)};return{createTmpCache:function(g){a.isDOMReady&&(c=c||a(o.getElementsByTagName(g)));return c||b},flushTmpCache:function(){c=null},content:function(g,c){h(g,function(){var g=a.attr(this,c);null!=g&&a.attr(this,
|
8
|
+
c,g)})},createElement:function(a,g){h(a,g)},extendValue:function(g,c,b){h(g,function(){a(this).each(function(){e(this,"propValue",{})[c]=this[c];this[c]=b})})}}}(),k=function(a,c){if(a.defaultValue===p)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(f,{getID:function(){var g=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(g++,b="ID-"+g,c.attr("id",b));
|
9
|
+
return b}}(),extendUNDEFProp:function(g,c){a.each(c,function(a,c){a in g||(g[a]=c)})},createPropDefault:k,data:e,moveToFirstEvent:function(){var g=a._data?"_data":"data";return function(c,b,h){if((c=(a[g](c,"events")||{})[b])&&1<c.length)b=c.pop(),h||(h="bind"),"bind"==h&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(){var g,c,b,h={init:!1,runs:0,test:function(){var a=h.getHeight(),c=h.getWidth();a!=h.height||c!=h.width?(h.height=a,h.width=c,h.handler({type:"docresize"}),
|
10
|
+
h.runs++,30>h.runs&&setTimeout(h.test,30)):h.runs=0},handler:function(d){clearTimeout(g);g=setTimeout(function(){if("resize"==d.type){var g=a(n).width(),e=a(n).width();if(e==c&&g==b)return;c=e;b=g;h.height=h.getHeight();h.width=h.getWidth()}a.event.trigger("updateshadowdom")},"resize"==d.type?50:9)},_create:function(){a.each({Height:"getHeight",Width:"getWidth"},function(a,c){var g=o.body,b=o.documentElement;h[c]=function(){return Math.max(g["scroll"+a],b["scroll"+a],g["offset"+a],b["offset"+a],b["client"+
|
11
|
+
a])}})},start:function(){if(!this.init&&o.body)this.init=!0,this._create(),this.height=h.getHeight(),this.width=h.getWidth(),setInterval(this.test,400),a(this.test),a(n).bind("load",this.test),a(n).bind("resize",this.handler),function(){var g=a.fn.animate,c;a.fn.animate=function(){clearTimeout(c);c=setTimeout(function(){h.test();h.handler({type:"animationstart"})},19);return g.apply(this,arguments)}}()}};a.event.customEvent.updateshadowdom=!0;f.docObserve=function(){f.ready("DOM",function(){h.start()})};
|
12
|
+
return function(c,g,b){b=b||{};c.jquery&&(c=c[0]);g.jquery&&(g=g[0]);var h=a.data(c,d)||a.data(c,d,{}),i=a.data(g,d)||a.data(g,d,{}),j={};if(b.shadowFocusElement){if(b.shadowFocusElement){if(b.shadowFocusElement.jquery)b.shadowFocusElement=b.shadowFocusElement[0];j=a.data(b.shadowFocusElement,d)||a.data(b.shadowFocusElement,d,j)}}else b.shadowFocusElement=g;h.hasShadow=g;j.nativeElement=i.nativeElement=c;j.shadowData=i.shadowData=h.shadowData={nativeElement:c,shadowElement:g,shadowFocusElement:b.shadowFocusElement};
|
13
|
+
b.shadowChilds&&b.shadowChilds.each(function(){e(this,"shadowData",i.shadowData)});if(b.data)j.shadowData.data=i.shadowData.data=h.shadowData.data=b.data;b=null;f.docObserve()}}(),propTypes:{standard:function(a){k(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){k(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},
|
14
|
+
src:function(){var b=o.createElement("a");b.style.display="none";return function(c,i){k(c);if(!c.prop)c.prop={set:function(a){c.attr.set.call(this,a)},get:function(){var c=this.getAttribute(i),d;if(null==c)return"";b.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(b).insertAfter(this),d=b.getAttribute("href",4)}catch(e){d=b.getAttribute("href",4)}a(b).detach()}return d||b.href}}}}(),enumarated:function(a){k(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,c)},get:function(){var c=
|
15
|
+
(a.attr.get.call(this)||"").toLowerCase();if(!c||-1==a.limitedTo.indexOf(c))c=a.defaultValue;return c}}}},reflectProperties:function(b,c){"string"==typeof c&&(c=c.split(r));c.forEach(function(c){f.defineNodeNamesProperty(b,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(b,c,i){x[c]=!0;if(i.reflect)f.propTypes[i.propType||"standard"](i,c);["prop","attr","removeAttr"].forEach(function(h){var d=i[h];d&&(d="prop"===h?a.extend({writeable:!0},
|
16
|
+
d):a.extend({},d,{writeable:!0}),w[h](b,c,d),"*"!=b&&f.cfg.extendNative&&"prop"==h&&d.value&&a.isFunction(d.value)&&j(b,c,d),i[h]=d)});i.initAttr&&l.content(b,c);return i},defineNodeNameProperties:function(a,b,d,h){for(var e in b)!h&&b[e].initAttr&&l.createTmpCache(a),d&&!b[e][d]&&(b[e][d]={},["value","set","get"].forEach(function(a){a in b[e]&&(b[e][d][a]=b[e][a],delete b[e][a])})),b[e]=f.defineNodeNameProperty(a,e,b[e]);h||l.flushTmpCache();return b},createElement:function(b,c,d){var h;a.isFunction(c)&&
|
17
|
+
(c={after:c});l.createTmpCache(b);c.before&&l.createElement(b,c.before);d&&(h=f.defineNodeNameProperties(b,d,!1,!0));c.after&&l.createElement(b,c.after);l.flushTmpCache();return h},onNodeNamesPropertyModify:function(b,c,d,h){"string"==typeof b&&(b=b.split(r));a.isFunction(d)&&(d={set:d});b.forEach(function(a){t[a]||(t[a]={});"string"==typeof c&&(c=c.split(r));d.initAttr&&l.createTmpCache(a);c.forEach(function(b){t[a][b]||(t[a][b]=[],x[b]=!0);if(d.set){if(h)d.set.only=h;t[a][b].push(d.set)}d.initAttr&&
|
18
|
+
l.content(a,b)});l.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,c,d){d||(d={});if(a.isFunction(d))d.set=d;f.defineNodeNamesProperty(b,c,{attr:{set:function(a){this.setAttribute(c,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?p: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,b,d){if(a.nodeName){if(d===p)return a=a.attributes[b]||{},
|
19
|
+
d=a.specified?a.value:null,null==d?p:d;"boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var b=[],c={},d,h,e=/:\/\/|^\.*\//,j=function(b,d,c){return d&&c&&-1!==a.inArray(d,c.availabeLangs||[])?(b.loading=!0,c=c.langSrc,e.test(c)||(c=f.cfg.basePath+c),f.loader.loadScript(c+d+".js",function(){b.langObj[d]?(b.loading=!1,l(b,!0)):a(function(){b.langObj[d]&&l(b,!0);b.loading=!1})}),!0):!1},v=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
|
20
|
+
l=function(a,b){if(a.activeLang!=d&&a.activeLang!==h){var c=m[a.module].options;if(a.langObj[d]||h&&a.langObj[h])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[h],d),v(a.module);else if(!b&&!j(a,d,c)&&!j(a,h,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),v(a.module)}};return function(e){if("string"==typeof e&&e!==d)d=e,h=d.split("-")[0],d==h&&(h=!1),a.each(b,function(a,b){l(b)});else if("object"==typeof e)if(e.register)c[e.register]||(c[e.register]=[]),c[e.register].push(e),
|
21
|
+
e.callback();else{if(!e.activeLang)e.activeLang="";b.push(e);l(e)}return d}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){f[a]=function(a,d,g,e){"string"==typeof a&&(a=a.split(r));var j={};a.forEach(function(a){j[a]=f[b](a,d,g,e)});return j}});f.isReady("webshimLocalization",!0)});
|
22
|
+
(function(a,f){var n=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<n)&&(!a.browser.msie||12>n&&7<n)){var o={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(a,f){a.getAttribute("role")||a.setAttribute("role",f)};a.webshims.addReady(function(m,r){a.each(o,function(f,n){for(var o=a(f,m).add(r.filter(f)),b=0,d=o.length;b<d;b++)p(o[b],n)});if(m===f){var q=f.getElementsByTagName("header")[0],n=f.getElementsByTagName("footer"),s=n.length;
|
23
|
+
q&&!a(q).closest("section, article")[0]&&p(q,"banner");s&&(q=n[s-1],a(q).closest("section, article")[0]||p(q,"contentinfo"))}})}})(jQuery,document);
|
24
|
+
jQuery.webshims.register("form-datalist",function(a,f,n,o,p){f.propTypes.element=function(m){f.createPropDefault(m,"attr");if(!m.prop)m.prop={get:function(){var f=m.attr.get.call(this);f&&(f=o.getElementById(f))&&m.propNodeName&&!a.nodeName(f,m.propNodeName)&&(f=null);return f||null},writeable:!1}};(function(){var m=a.webshims.cfg.forms,r=Modernizr.input.list;if(!r||m.customDatalist){var q=0,x={submit:1,button:1,reset:1,hidden:1,range:1,date:1},s=a.browser.msie&&7>parseInt(a.browser.version,10),w=
|
25
|
+
{},t=function(a){if(!a)return[];if(w[a])return w[a];var d;try{d=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(e){}w[a]=d||[];return d||[]},u={_create:function(b){if(!x[a.prop(b.input,"type")]){var d=b.datalist,e=a.data(b.input,"datalistWidget");if(d&&e&&e.datalist!==d)e.datalist=d,e.id=b.id,e.shadowList.prop("className","datalist-polyfill "+(e.datalist.className||"")+" "+e.datalist.id+"-shadowdom"),m.positionDatalist?e.shadowList.insertAfter(b.input):e.shadowList.appendTo("body"),
|
26
|
+
a(e.datalist).off("updateDatalist.datalistWidget").on("updateDatalist.datalistWidget",a.proxy(e,"_resetListCached")),e._resetListCached();else if(d){if(!(e&&e.datalist===d)){q++;var f=this;this.hideList=a.proxy(f,"hideList");this.timedHide=function(){clearTimeout(f.hideTimer);f.hideTimer=setTimeout(f.hideList,9)};this.datalist=d;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 '+
|
27
|
+
(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom" />');m.positionDatalist||a(b.input).hasClass("position-datalist")?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",function(d){var e=a("li:not(.hidden-item)",f.shadowList),k="mousedown"==d.type||"click"==d.type;f.markItem(e.index(d.currentTarget),k,e);"click"==
|
28
|
+
d.type&&(f.hideList(),m.customDatalist&&a(b.input).trigger("datalistselect"));return"mousedown"!=d.type}).on("focusout",this.timedHide);b.input.setAttribute("autocomplete","off");a(b.input).attr({"aria-haspopup":"true"}).on({"input.datalistWidget":function(){if(!f.triggeredByDatalist)f.changedValue=!1,f.showHideOptions()},"keydown.datalistWidget":function(d){var e=d.keyCode,k;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;
|
29
|
+
if(!d.shiftKey&&(33==e||36==e))return f.markItem(0,!0),!1;if(!d.shiftKey&&(34==e||35==e))return d=a("li:not(.hidden-item)",f.shadowList),f.markItem(d.length-1,!0,d),!1;if(13==e||27==e)return 13==e&&(k=a("li.active-item:not(.hidden-item)",f.shadowList),f.changeValue(a("li.active-item:not(.hidden-item)",f.shadowList))),f.hideList(),m.customDatalist&&k&&k[0]&&a(b.input).trigger("datalistselect"),!1}},"focus.datalistWidget":function(){a(this).hasClass("list-focus")&&f.showList()},"mousedown.datalistWidget":function(){a(this).is(":focus")&&
|
30
|
+
f.showList()},"blur.datalistWidget":this.timedHide});a(this.datalist).off("updateDatalist.datalistWidget").on("updateDatalist.datalistWidget",a.proxy(this,"_resetListCached"));this._resetListCached();if(b.input.form&&(b.input.name||b.input.id))a(b.input.form).on("submit.datalistWidget"+b.input.id,function(){if(!a(b.input).hasClass("no-datalist-cache")&&"off"!=f._autocomplete){var d=a.prop(b.input,"value"),e=(b.input.name||b.input.id)+a.prop(b.input,"type");if(!f.storedOptions)f.storedOptions=t(e);
|
31
|
+
if(d&&-1==f.storedOptions.indexOf(d)&&(f.storedOptions.push(d),d=f.storedOptions,e)){d=d||[];try{localStorage.setItem("storedDatalistOptions"+e,JSON.stringify(d))}catch(k){}}}});a(n).on("unload.datalist"+this.id+" beforeunload.datalist"+this.id,function(){f.destroy()})}}else e&&e.destroy()}},destroy:function(){var b=a.attr(this.input,"autocomplete");a(this.input).off(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();a(o).off(".datalist"+this.id);a(n).off(".datalist"+this.id);
|
32
|
+
this.input.form&&this.input.id&&a(this.input.form).off("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===p?this.input.removeAttribute("autocomplete"):a(this.input).attr("autocomplete",b)},_resetListCached:function(a){var d=this,e;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(n.QUnit||(e=a&&o.activeElement==d.input)?d.updateListOptions(e):f.ready("WINDOWLOAD",function(){d.updateTimer=setTimeout(function(){d.updateListOptions();
|
33
|
+
d=null;q=1},200+100*q)}))},maskHTML:function(a){return a.replace(/</g,"<").replace(/>/g,">")},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:a.css(this.input,"fontSize"),fontFamily:a.css(this.input,"fontFamily")});this.searchStart=m.customDatalist&&a(this.input).hasClass("search-start");var d=[],e=[],f=[],j,l,k,g;for(l=a.prop(this.datalist,"options"),k=0,g=l.length;k<g;k++){j=l[k];if(j.disabled)return;j={value:a(j).val()||
|
34
|
+
"",text:a.trim(a.attr(j,"label")||j.textContent||j.innerText||a.text([j])||""),className:j.className||"",style:a.attr(j,"style")||""};j.text?j.text!=j.value&&(j.className+=" different-label-value"):j.text=j.value;e[k]=j.value;f[k]=j}if(!this.storedOptions)this.storedOptions=a(this.input).hasClass("no-datalist-cache")||"off"==this._autocomplete?[]: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",
|
35
|
+
style:""})});for(k=0,g=f.length;k<g;k++)l=f[k],d[k]='<li class="'+l.className+'" style="'+l.style+'" tabindex="-1" role="listitem"><span class="option-label">'+this.maskHTML(l.text)+'</span> <span class="option-value">'+this.maskHTML(l.value)+"</span></li>";this.arrayOptions=f;this.shadowList.html('<div class="datalist-outer-box"><div class="datalist-box"><ul role="list">'+d.join("\n")+"</ul></div></div>");a.fn.bgIframe&&s&&this.shadowList.bgIframe();(b||this.isListVisible)&&this.showHideOptions()},
|
36
|
+
showHideOptions:function(b){var d=a.prop(this.input,"value").toLowerCase();if(!(d===this.lastUpdatedValue||this.lastUnfoundValue&&0===d.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=d;var e=!1,f=this.searchStart,j=a("li",this.shadowList);d?this.arrayOptions.forEach(function(b,k){var g;if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.value.toLowerCase()+b.text.toLowerCase():b.text.toLowerCase();g=b.lowerText.indexOf(d);(g=f?!g:-1!==g)?(a(j[k]).removeClass("hidden-item"),e=!0):a(j[k]).addClass("hidden-item")}):
|
37
|
+
j.length&&(j.removeClass("hidden-item"),e=!0);this.hasViewableData=e;!b&&e&&this.showList();if(!e)this.lastUnfoundValue=d,this.hideList()}},setPos:function(){this.shadowList.css({marginTop:0,marginLeft:0,marginRight:0,marginBottom:0});var b=m.positionDatalist?a(this.input).position():f.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"),
|
38
|
+
10)||0);this.shadowList.css({marginTop:"",marginLeft:"",marginRight:"",marginBottom:""}).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;b.setPos();b.shadowList.addClass("datalist-visible").find("li.active-item").removeClass("active-item");a(n).unbind(".datalist"+b.id);a(o).off(".datalist"+b.id).on("mousedown.datalist"+b.id+" focusin.datalist"+
|
39
|
+
b.id,function(d){d.target===b.input||b.shadowList[0]===d.target||a.contains(b.shadowList[0],d.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},9)):b.timedHide()}).on("updateshadowdom.datalist"+b.id,function(){b.setPos()});return!0},hideList:function(){if(!this.isListVisible)return!1;var b=this,d=function(){b.changedValue&&a(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active");b.index=-1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=
|
40
|
+
!0;f.triggerInlineForm&&f.triggerInlineForm(b.input,"input");if(a(b.input).is(":focus"))a(b.input).one("blur",d);else d();b.triggeredByDatalist=!1}a(o).unbind(".datalist"+b.id);a(n).off(".datalist"+b.id).one("resize.datalist"+b.id,function(){b.shadowList.css({top:0,left:0})});return!0},scrollIntoView:function(b){var d=a("ul",this.shadowList),e=a("div.datalist-box",this.shadowList),f=b.position();f.top-=(parseInt(d.css("paddingTop"),10)||0)+(parseInt(d.css("marginTop"),10)||0)+(parseInt(d.css("borderTopWidth"),
|
41
|
+
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(),d=a.prop(this.input,"value");if(b!=d)a(this.input).prop("value",b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,d,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"),
|
42
|
+
e=e.filter(":eq("+b+")").addClass("active-item"),d&&(this.changeValue(e),this.scrollIntoView(e)),this.index=b}};(function(){r||f.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=a("select",this);b[0]?b=b[0].options:(b=a("option",this).get(),b.length&&f.warn("you should wrap your 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?
|
43
|
+
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",b)}}}};r?((a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length||f.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var e=a("select",this);
|
44
|
+
if(e[0]&&e[0].options&&e[0].options.length)b=e[0].options}return b}}}),b.list={attr:{get:function(){var b=f.contentAttr(this,"list");null!=b?this.removeAttribute("list"):b=a.data(this,"datalistListAttr");return null==b?p:b},set:function(b){a.data(this,"datalistListAttr",b);f.objectCreate(u,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}):b.list={attr:{get:function(){var a=f.contentAttr(this,"list");return null==a?p:a},set:function(b){f.contentAttr(this,
|
45
|
+
"list",b);f.objectCreate(u,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"};f.defineNodeNameProperties("input",b);if(a.event.customEvent)a.event.customEvent.updateDatalist=!0,a.event.customEvent.updateInput=!0,a.event.customEvent.datalistselect=!0;f.addReady(function(a,b){b.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
|
@@ -1,43 +1,44 @@
|
|
1
|
-
jQuery.webshims.register("dom-extend",function(c,h,
|
2
|
-
!0)),null==e&&(e=""),c.prop(a,"value",e,"val")):c.prop(a,"value",b,"val"))})};var
|
3
|
-
"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){
|
4
|
-
("attr"==b&&!0===e&&(e=d),l=
|
5
|
-
|
6
|
-
a=Object.prototype.hasOwnProperty;return function(d,c
|
7
|
-
d[0]&&c.nodeName(d[0],
|
8
|
-
b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,d){e(a,function(){c(this).each(function(){C(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),
|
9
|
-
return d}}(),extendUNDEFProp:function(b,a){c.each(a,function(a,
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
b.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
(
|
22
|
-
|
23
|
-
(
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
g
|
28
|
-
|
1
|
+
jQuery.webshims.register("dom-extend",function(c,g,h,n,p){var v=g.modules,q=/\s*,\s*/,o={},s={},i={},z={},m={},f=c.fn.val,j=function(b,a,d,e,t){return t?f.call(c(b)):f.call(c(b),d)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?f.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return f.apply(this,arguments);var d=c.isFunction(b);return this.each(function(e){a=this;1===a.nodeType&&(d?(e=b.call(a,e,c.prop(a,"value",p,"val",
|
2
|
+
!0)),null==e&&(e=""),c.prop(a,"value",e,"val")):c.prop(a,"value",b,"val"))})};var y="_webshimsLib"+Math.round(1E3*Math.random()),C=function(b,a,d){b=b.jquery?b[0]:b;if(!b)return d||{};var e=c.data(b,y);d!==p&&(e||(e=c.data(b,y,{})),a&&(e[a]=d));return a?e&&e[a]:e};[{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=C(this,
|
3
|
+
"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){o[b]=c[b];c[b]=function(a,d,e,t,D){var w="val"==t,r=!w?o[b]:j;if(!a||!s[d]||1!==a.nodeType||!w&&t&&"attr"==b&&c.attrFn[d])return r(a,d,e,t,D);var k=(a.nodeName||"").toLowerCase(),A=i[k],B="attr"==b&&(!1===e||null===e)?"removeAttr":b,f,g,l;A||(A=i["*"]);A&&(A=A[d]);A&&(f=A[B]);if(f){if("value"==d)g=f.isVal,f.isVal=w;if("removeAttr"===B)return f.value.call(a);if(e===p)return f.get?f.get.call(a):f.value;f.set&&
|
4
|
+
("attr"==b&&!0===e&&(e=d),l=f.set.call(a,e));if("value"==d)f.isVal=g}else l=r(a,d,e,t,D);if((e!==p||"removeAttr"===B)&&m[k]&&m[k][d]){var h;h="removeAttr"==B?!1:"prop"==B?!!e:!0;m[k][d].forEach(function(k){if(!k.only||(k.only="prop"==b)||"attr"==k.only&&"prop"!=b)k.call(a,e,h,w?"val":B,b)})}return l};z[b]=function(a,d,e){i[a]||(i[a]={});i[a][d]||(i[a][d]={});var t=i[a][d][b],f=function(a,r,k){return r&&r[a]?r[a]:k&&k[a]?k[a]:"prop"==b&&"value"==d?function(a){return e.isVal?j(this,d,a,!1,0===arguments.length):
|
5
|
+
o[b](this,d,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var k=o[b](this,d);k&&k.apply&&(k=k.apply(this,arguments));return k}:function(k){return o[b](this,d,k)}};i[a][d][b]=e;if(e.value===p){if(!e.set)e.set=e.writeable?f("set",e,t):g.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+a;}:c.noop;if(!e.get)e.get=f("get",e,t)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=f(a,t))})}});var E=!c.browser.msie||8<parseInt(c.browser.version,10),l=function(){var b=g.getPrototypeOf(n.createElement("foobar")),
|
6
|
+
a=Object.prototype.hasOwnProperty;return function(d,e,c){var f=n.createElement(d),w=g.getPrototypeOf(f);if(E&&w&&b!==w&&(!f[e]||!a.call(f,e))){var r=f[e];c._supvalue=function(){return r&&r.apply?r.apply(this,arguments):r};w[e]=c.value}else c._supvalue=function(){var a=C(this,"propValue");return a&&a[e]&&a[e].apply?a[e].apply(this,arguments):a&&a[e]},u.extendValue(d,e,c.value);c.value._supvalue=c._supvalue}}(),u=function(){var b={};g.addReady(function(a,d){var e={},r=function(k){e[k]||(e[k]=c(a.getElementsByTagName(k)),
|
7
|
+
d[0]&&c.nodeName(d[0],k)&&(e[k]=e[k].add(d)))};c.each(b,function(a,b){r(a);!b||!b.forEach?g.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){e[a].each(b)})});e=null});var a,d=c([]),e=function(d,e){b[d]?b[d].push(e):b[d]=[e];c.isDOMReady&&(a||c(n.getElementsByTagName(d))).each(e)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(n.getElementsByTagName(b)));return a||d},flushTmpCache:function(){a=null},content:function(a,b){e(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
|
8
|
+
b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,d){e(a,function(){c(this).each(function(){C(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),x=function(b,a){if(b.defaultValue===p)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}};if(!b.attr)b.attr={}};c.extend(g,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),d=a.attr("id");d||(b++,d="ID-"+b,a.attr("id",d));
|
9
|
+
return d}}(),extendUNDEFProp:function(b,a){c.each(a,function(a,e){a in b||(b[a]=e)})},createPropDefault:x,data:C,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,d,e){if((a=(c[b](a,"events")||{})[d])&&1<a.length)d=a.pop(),e||(e="bind"),"bind"==e&&a.delegateCount?a.splice(a.delegateCount,0,d):a.unshift(d)}}(),addShadowDom:function(){var b,a,d,e={init:!1,runs:0,test:function(){var a=e.getHeight(),b=e.getWidth();a!=e.height||b!=e.width?(e.height=a,e.width=b,e.handler({type:"docresize"}),
|
10
|
+
e.runs++,30>e.runs&&setTimeout(e.test,30)):e.runs=0},handler:function(f){clearTimeout(b);b=setTimeout(function(){if("resize"==f.type){var b=c(h).width(),j=c(h).width();if(j==a&&b==d)return;a=j;d=b;e.height=e.getHeight();e.width=e.getWidth()}c.event.trigger("updateshadowdom")},"resize"==f.type?50:9)},_create:function(){c.each({Height:"getHeight",Width:"getWidth"},function(a,b){var d=n.body,c=n.documentElement;e[b]=function(){return Math.max(d["scroll"+a],c["scroll"+a],d["offset"+a],c["offset"+a],c["client"+
|
11
|
+
a])}})},start:function(){if(!this.init&&n.body)this.init=!0,this._create(),this.height=e.getHeight(),this.width=e.getWidth(),setInterval(this.test,400),c(this.test),c(h).bind("load",this.test),c(h).bind("resize",this.handler),function(){var a=c.fn.animate,b;c.fn.animate=function(){clearTimeout(b);b=setTimeout(function(){e.test();e.handler({type:"animationstart"})},19);return a.apply(this,arguments)}}()}};c.event.customEvent.updateshadowdom=!0;g.docObserve=function(){g.ready("DOM",function(){e.start()})};
|
12
|
+
return function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var e=c.data(a,y)||c.data(a,y,{}),k=c.data(b,y)||c.data(b,y,{}),f={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];f=c.data(d.shadowFocusElement,y)||c.data(d.shadowFocusElement,y,f)}}else d.shadowFocusElement=b;e.hasShadow=b;f.nativeElement=k.nativeElement=a;f.shadowData=k.shadowData=e.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};
|
13
|
+
d.shadowChilds&&d.shadowChilds.each(function(){C(this,"shadowData",k.shadowData)});if(d.data)f.shadowData.data=k.shadowData.data=e.shadowData.data=d.data;d=null;g.docObserve()}}(),propTypes:{standard:function(b){x(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){x(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}},
|
14
|
+
src:function(){var b=n.createElement("a");b.style.display="none";return function(a,d){x(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(d),f;if(null==a)return"";b.setAttribute("href",a+"");if(!c.support.hrefNormalized){try{c(b).insertAfter(this),f=b.getAttribute("href",4)}catch(j){f=b.getAttribute("href",4)}c(b).detach()}return f||b.href}}}}(),enumarated:function(b){x(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var a=
|
15
|
+
(b.attr.get.call(this)||"").toLowerCase();if(!a||-1==b.limitedTo.indexOf(a))a=b.defaultValue;return a}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(q));a.forEach(function(a){g.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,d){s[a]=!0;if(d.reflect)g.propTypes[d.propType||"standard"](d,a);["prop","attr","removeAttr"].forEach(function(e){var f=d[e];f&&(f="prop"===e?c.extend({writeable:!0},
|
16
|
+
f):c.extend({},f,{writeable:!0}),z[e](b,a,f),"*"!=b&&g.cfg.extendNative&&"prop"==e&&f.value&&c.isFunction(f.value)&&l(b,a,f),d[e]=f)});d.initAttr&&u.content(b,a);return d},defineNodeNameProperties:function(b,a,d,e){for(var c in a)!e&&a[c].initAttr&&u.createTmpCache(b),d&&!a[c][d]&&(a[c][d]={},["value","set","get"].forEach(function(b){b in a[c]&&(a[c][d][b]=a[c][b],delete a[c][b])})),a[c]=g.defineNodeNameProperty(b,c,a[c]);e||u.flushTmpCache();return a},createElement:function(b,a,d){var e;c.isFunction(a)&&
|
17
|
+
(a={after:a});u.createTmpCache(b);a.before&&u.createElement(b,a.before);d&&(e=g.defineNodeNameProperties(b,d,!1,!0));a.after&&u.createElement(b,a.after);u.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,a,d,e){"string"==typeof b&&(b=b.split(q));c.isFunction(d)&&(d={set:d});b.forEach(function(b){m[b]||(m[b]={});"string"==typeof a&&(a=a.split(q));d.initAttr&&u.createTmpCache(b);a.forEach(function(a){m[b][a]||(m[b][a]=[],s[a]=!0);if(d.set){if(e)d.set.only=e;m[b][a].push(d.set)}d.initAttr&&
|
18
|
+
u.content(b,a)});u.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,d){d||(d={});if(c.isFunction(d))d.set=d;g.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?p:a}},removeAttr:{value:function(){this.removeAttribute(a);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(b,a,d){if(b.nodeName){if(d===p)return b=b.attributes[a]||{},
|
19
|
+
d=b.specified?b.value:null,null==d?p:d;"boolean"==typeof d?d?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,d)}},activeLang:function(){var b=[],a={},d,e,f=/:\/\/|^\.*\//,j=function(a,b,d){return b&&d&&-1!==c.inArray(b,d.availabeLangs||[])?(a.loading=!0,d=d.langSrc,f.test(d)||(d=g.cfg.basePath+d),g.loader.loadScript(d+b+".js",function(){a.langObj[b]?(a.loading=!1,r(a,!0)):c(function(){a.langObj[b]&&r(a,!0);a.loading=!1})}),!0):!1},i=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},
|
20
|
+
r=function(a,b){if(a.activeLang!=d&&a.activeLang!==e){var c=v[a.module].options;if(a.langObj[d]||e&&a.langObj[e])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[e],d),i(a.module);else if(!b&&!j(a,d,c)&&!j(a,e,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),i(a.module)}};return function(k){if("string"==typeof k&&k!==d)d=k,e=d.split("-")[0],d==e&&(e=!1),c.each(b,function(a,b){r(b)});else if("object"==typeof k)if(k.register)a[k.register]||(a[k.register]=[]),a[k.register].push(k),
|
21
|
+
k.callback();else{if(!k.activeLang)k.activeLang="";b.push(k);r(k)}return d}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){g[b]=function(b,c,f,j){"string"==typeof b&&(b=b.split(q));var i={};b.forEach(function(b){i[b]=g[a](b,c,f,j)});return i}});g.isReady("webshimLocalization",!0)});
|
22
|
+
(function(c,g){var h=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<h)&&(!c.browser.msie||12>h&&7<h)){var n={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(c,g){c.getAttribute("role")||c.setAttribute("role",g)};c.webshims.addReady(function(h,q){c.each(n,function(i,g){for(var f=c(i,h).add(q.filter(i)),j=0,y=f.length;j<y;j++)p(f[j],g)});if(h===g){var o=g.getElementsByTagName("header")[0],s=g.getElementsByTagName("footer"),i=s.length;
|
23
|
+
o&&!c(o).closest("section, article")[0]&&p(o,"banner");i&&(o=s[i-1],c(o).closest("section, article")[0]||p(o,"contentinfo"))}})}})(jQuery,document);
|
24
|
+
(function(c,g,h){var n=g.audio&&g.video,p=!1,v=h.cfg.mediaelement,q=h.bugs,o="jwplayer"==v.player?"mediaelement-swf":"mediaelement-jaris",s=function(){h.ready(o,function(){if(!h.mediaelement.createSWF)h.mediaelement.loadSwf=!0,h.reTest([o],n)})},i;if(n){var z=document.createElement("video");g.videoBuffered="buffered"in z;p="loop"in z;h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));g.videoBuffered||(h.addPolyfill("mediaelement-native-fix",
|
25
|
+
{f:"mediaelement",test:g.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"))}if(n&&!v.preferFlash){var m=function(f){var j=f.target.parentNode;!v.preferFlash&&(c(f.target).is("audio, video")||j&&c("source:last",j)[0]==f.target)&&h.ready("DOM mediaelement",function(){i&&s();h.ready("WINDOWLOAD "+o,function(){setTimeout(function(){i&&!v.preferFlash&&h.mediaelement.createSWF&&!c(f.target).closest("audio, video").is(".nonnative-api-active")?(v.preferFlash=!0,document.removeEventListener("error",
|
26
|
+
m,!0),c("audio, video").mediaLoad(),h.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+f.target.src)):i||document.removeEventListener("error",m,!0)},20)})})};document.addEventListener("error",m,!0);c("audio, video").each(function(){this.error&&m({target:this})})}q.track=!1;g.track&&function(){if(!q.track)q.track="number"!=typeof c("<track />")[0].readyState;if(!q.track)try{new TextTrackCue(2,3,"")}catch(f){q.track=!0}var j=h.cfg.track,i=function(f){c(f.target).filter("track").each(g)},
|
27
|
+
g=function(){if(q.track||!j.override&&3==c.prop(this,"readyState"))j.override=!0,h.reTest("track"),document.removeEventListener("error",i,!0),this&&c.nodeName(this,"track")?h.error("track support was overwritten. Please check your vtt including your vtt mime-type"):h.info("track support was overwritten. due to bad browser support")},m=function(){document.addEventListener("error",i,!0);q.track?g():c("track").each(g)};j.override||(h.isReady("track")?m():c(m))}();h.register("mediaelement-core",function(c,
|
28
|
+
j,h,m,z){i=swfobject.hasFlashPlayerVersion("9.0.115");var l=j.mediaelement,u=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},x=!i&&"postMessage"in h&&n,b=
|
29
|
+
function(){var a;return function(){!a&&x&&(a=!0,j.loader.loadScript("https://www.youtube.com/player_api"),c(function(){j.polyfill("mediaelement-yt")}))}}(),a=function(){i?s():b()};j.addPolyfill("mediaelement-yt",{test:!x,d:["dom-support"]});l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
|
29
30
|
"f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};l.mimeTypes.source=c.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||
|
30
|
-
-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(l.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};l.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=
|
31
|
-
else{var b=[],d=a[0].nodeName.toLowerCase(),e=
|
32
|
-
l.canThirdPlaySrces=function(a,b){var d="";if(
|
33
|
-
c(a).pause().data("mediaerror",b);
|
34
|
-
|
35
|
-
|
36
|
-
"
|
37
|
-
|
38
|
-
c.type&&(b
|
39
|
-
jQuery.webshims.register("details",function(c,h,
|
40
|
-
c.data(
|
41
|
-
function(
|
42
|
-
"click")}});var
|
43
|
-
|
31
|
+
-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(l.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};l.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=m.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)});
|
32
|
+
else{var b=[],d=a[0].nodeName.toLowerCase(),e=u(a,d);e.src?b.push(e):c("source",a).each(function(){e=u(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==z&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));l.srces(this,a);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(",");
|
33
|
+
l.canThirdPlaySrces=function(a,b){var d="";if(i||x)a=c(a),b=b||l.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(i&&-1!=l.swfMimeTypes.indexOf(b.container)||x&&"video/youtube"==b.container))return d=b,!1});return d};var d={};l.canNativePlaySrces=function(a,b){var e="";if(n){var a=c(a),j=(a[0].nodeName||"").toLowerCase();if(!d[j])return e;b=b||l.srces(a);c.each(b,function(b,c){if(c.type&&d[j].prop._supvalue.call(a[0],c.type))return e=c,!1})}return e};l.setError=function(a,b){b||(b="can't play sources");
|
34
|
+
c(a).pause().data("mediaerror",b);j.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var e=function(){var c;return function(d,f,g){j.ready(i?o:"mediaelement-yt",function(){l.createSWF?l.createSWF(d,f,g):c||(c=!0,a(),e(d,f,g))});!c&&x&&!l.createSWF&&b()}}(),t=function(a,b,c,d,f){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,d))?e(a,c,b):f?l.setError(a,!1):t(a,b,!1,d,!0):(c=l.canNativePlaySrces(a,d))?b&&"third"==b.isActive&&l.setActive(a,
|
35
|
+
"html5",b):f?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):t(a,b,!0,d,!0)},D=/^(?:embed|object|datalist)$/i,w=function(a,b){var d=j.data(a,"mediaelementBase")||j.data(a,"mediaelementBase",{}),e=l.srces(a),i=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(e.length&&i&&!(1!=i.nodeType||D.test(i.nodeName||"")))b=b||j.data(a,"mediaelement"),t(a,b,v.preferFlash||z,e)};c(m).on("ended",function(a){var b=j.data(a.target,"mediaelement");(!p||b&&"html5"!=b.isActive||
|
36
|
+
c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});p||j.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=j.defineNodeNameProperty(a,"load",{prop:{value:function(){var a=j.data(this,"mediaelement");w(this,a);n&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});d[a]=j.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var e=
|
37
|
+
"";n&&d[a].prop._supvalue&&(e=d[a].prop._supvalue.call(this,b),"no"==e&&(e=""));!e&&i&&(b=c.trim((b||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});j.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=j.data(a,"mediaelementBase")||j.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){w(a);a=null},9)}});h=function(){j.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&
|
38
|
+
8<j.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():w(this);if(n){var a,b,d=this,e=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,i=a.length;e<i;e++)b+=a.end(e);return b}},i=function(){var a=e();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).on({"play loadstart progress":function(c){"progress"==c.type&&(b=e());clearTimeout(a);a=setTimeout(i,999)},"emptied stalled mediaerror abort suspend":function(c){"emptied"==
|
39
|
+
c.type&&(b=!1);clearTimeout(a)}})}})})};g.track&&!q.track&&j.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});n?(j.isReady("mediaelement-core",!0),h(),j.ready("WINDOWLOAD mediaelement",a)):j.ready(o,h);c(function(){j.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
|
40
|
+
jQuery.webshims.register("details",function(c,g,h,n,p,v){var q=function(i){var g=c(i).parent("details");if(g[0]&&g.children(":first").get(0)===i)return g},o=function(i,g){var i=c(i),g=c(g),h=c.data(g[0],"summaryElement");c.data(i[0],"detailsElement",g);if(!h||i[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()),
|
41
|
+
c.data(g[0],"summaryElement",i),g.prop("open",g.prop("open"))};g.createElement("summary",function(){var i=q(this);if(i&&!c.data(this,"detailsElement")){var h,m,f=c.attr(this,"tabIndex")||"0";o(this,i);c(this).on({"focus.summaryPolyfill":function(){c(this).addClass("summary-has-focus")},"blur.summaryPolyfill":function(){c(this).removeClass("summary-has-focus")},"mouseenter.summaryPolyfill":function(){c(this).addClass("summary-has-hover")},"mouseleave.summaryPolyfill":function(){c(this).removeClass("summary-has-hover")},
|
42
|
+
"click.summaryPolyfill":function(f){var g=q(this);if(g){if(!m&&f.originalEvent)return m=!0,f.stopImmediatePropagation(),f.preventDefault(),c(this).trigger("click"),m=!1;clearTimeout(h);h=setTimeout(function(){f.isDefaultPrevented()||g.prop("open",!g.prop("open"))},0)}},"keydown.summaryPolyfill":function(f){if((13==f.keyCode||32==f.keyCode)&&!f.isDefaultPrevented())m=!0,f.preventDefault(),c(this).trigger("click"),m=!1}}).attr({tabindex:f,role:"button"}).prepend('<span class="details-open-indicator" />');
|
43
|
+
g.moveToFirstEvent(this,"click")}});var s;g.defineNodeNamesBooleanProperty("details","open",function(g){var h=c(c.data(this,"summaryElement"));if(h){var m=g?"removeClass":"addClass",f=c(this);if(!s&&v.animate){f.stop().css({width:"",height:""});var j={width:f.width(),height:f.height()}}h.attr("aria-expanded",""+g);f[m]("closed-details-summary").children().not(h[0])[m]("closed-details-child");!s&&v.animate&&(g={width:f.width(),height:f.height()},f.css(j).animate(g,{complete:function(){c(this).css({width:"",
|
44
|
+
height:""})}}))}});g.createElement("details",function(){s=!0;var g=c.data(this,"summaryElement");g||(g=c("> summary:first-child",this),g[0]?o(g,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+v.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));s=!1})});
|
@@ -1,27 +1,28 @@
|
|
1
|
-
jQuery.webshims.register("dom-extend",function(d,
|
2
|
-
!0)),null==e&&(e=""),d.prop(a,"value",e,"val")):d.prop(a,"value",b,"val"))})};var
|
3
|
-
"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){l[b]=d[b];d[b]=function(a,c,e,
|
4
|
-
("attr"==b&&!0===e&&(e=c),
|
5
|
-
l[b](this,c,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var
|
6
|
-
a=Object.prototype.hasOwnProperty;return function(c,d
|
7
|
-
c[0]&&d.nodeName(c[0],b)&&(e[b]=e[b].add(c)))};d.each(b,function(a,b){
|
8
|
-
b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,c){e(a,function(){d(this).each(function(){
|
9
|
-
return c}}(),extendUNDEFProp:function(b,a){d.each(a,function(a,
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
b.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
(
|
22
|
-
|
23
|
-
|
24
|
-
"
|
25
|
-
|
26
|
-
"click
|
27
|
-
|
1
|
+
jQuery.webshims.register("dom-extend",function(d,g,p,m,n){var z=g.modules,t=/\s*,\s*/,l={},q={},h={},f={},j={},k=d.fn.val,x=function(b,a,c,e,i){return i?k.call(d(b)):k.call(d(b),c)};d.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?k.call(this):d.prop(a,"value",b,"val",!0);if(d.isArray(b))return k.apply(this,arguments);var c=d.isFunction(b);return this.each(function(e){a=this;1===a.nodeType&&(c?(e=b.call(a,e,d.prop(a,"value",n,"val",
|
2
|
+
!0)),null==e&&(e=""),d.prop(a,"value",e,"val")):d.prop(a,"value",b,"val"))})};var o="_webshimsLib"+Math.round(1E3*Math.random()),A=function(b,a,c){b=b.jquery?b[0]:b;if(!b)return c||{};var e=d.data(b,o);c!==n&&(e||(e=d.data(b,o,{})),a&&(e[a]=c));return a?e&&e[a]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){d.fn[b.name]=function(){return this.map(function(){var a=A(this,
|
3
|
+
"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){l[b]=d[b];d[b]=function(a,c,e,i,r){var v="val"==i,g=!v?l[b]:x;if(!a||!q[c]||1!==a.nodeType||!v&&i&&"attr"==b&&d.attrFn[c])return g(a,c,e,i,r);var u=(a.nodeName||"").toLowerCase(),w=h[u],y="attr"==b&&(!1===e||null===e)?"removeAttr":b,f,k,o;w||(w=h["*"]);w&&(w=w[c]);w&&(f=w[y]);if(f){if("value"==c)k=f.isVal,f.isVal=v;if("removeAttr"===y)return f.value.call(a);if(e===n)return f.get?f.get.call(a):f.value;f.set&&
|
4
|
+
("attr"==b&&!0===e&&(e=c),o=f.set.call(a,e));if("value"==c)f.isVal=k}else o=g(a,c,e,i,r);if((e!==n||"removeAttr"===y)&&j[u]&&j[u][c]){var m;m="removeAttr"==y?!1:"prop"==y?!!e:!0;j[u][c].forEach(function(c){if(!c.only||(c.only="prop"==b)||"attr"==c.only&&"prop"!=b)c.call(a,e,m,v?"val":y,b)})}return o};f[b]=function(a,c,e){h[a]||(h[a]={});h[a][c]||(h[a][c]={});var i=h[a][c][b],r=function(a,d,i){return d&&d[a]?d[a]:i&&i[a]?i[a]:"prop"==b&&"value"==c?function(a){return e.isVal?x(this,c,a,!1,0===arguments.length):
|
5
|
+
l[b](this,c,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var e=l[b](this,c);e&&e.apply&&(e=e.apply(this,arguments));return e}:function(a){return l[b](this,c,a)}};h[a][c][b]=e;if(e.value===n){if(!e.set)e.set=e.writeable?r("set",e,i):g.cfg.useStrict&&"prop"==c?function(){throw c+" is readonly on "+a;}:d.noop;if(!e.get)e.get=r("get",e,i)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=r(a,i))})}});var C=!d.browser.msie||8<parseInt(d.browser.version,10),D=function(){var b=g.getPrototypeOf(m.createElement("foobar")),
|
6
|
+
a=Object.prototype.hasOwnProperty;return function(c,e,d){var r=m.createElement(c),v=g.getPrototypeOf(r);if(C&&v&&b!==v&&(!r[e]||!a.call(r,e))){var f=r[e];d._supvalue=function(){return f&&f.apply?f.apply(this,arguments):f};v[e]=d.value}else d._supvalue=function(){var a=A(this,"propValue");return a&&a[e]&&a[e].apply?a[e].apply(this,arguments):a&&a[e]},s.extendValue(c,e,d.value);d.value._supvalue=d._supvalue}}(),s=function(){var b={};g.addReady(function(a,c){var e={},f=function(b){e[b]||(e[b]=d(a.getElementsByTagName(b)),
|
7
|
+
c[0]&&d.nodeName(c[0],b)&&(e[b]=e[b].add(c)))};d.each(b,function(a,b){f(a);!b||!b.forEach?g.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){e[a].each(b)})});e=null});var a,c=d([]),e=function(e,c){b[e]?b[e].push(c):b[e]=[c];d.isDOMReady&&(a||d(m.getElementsByTagName(e))).each(c)};return{createTmpCache:function(b){d.isDOMReady&&(a=a||d(m.getElementsByTagName(b)));return a||c},flushTmpCache:function(){a=null},content:function(a,b){e(a,function(){var a=d.attr(this,b);null!=a&&d.attr(this,
|
8
|
+
b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,c){e(a,function(){d(this).each(function(){A(this,"propValue",{})[b]=this[b];this[b]=c})})}}}(),B=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)}};if(!b.attr)b.attr={}};d.extend(g,{getID:function(){var b=(new Date).getTime();return function(a){var a=d(a),c=a.attr("id");c||(b++,c="ID-"+b,a.attr("id",c));
|
9
|
+
return c}}(),extendUNDEFProp:function(b,a){d.each(a,function(a,e){a in b||(b[a]=e)})},createPropDefault:B,data:A,moveToFirstEvent:function(){var b=d._data?"_data":"data";return function(a,c,e){if((a=(d[b](a,"events")||{})[c])&&1<a.length)c=a.pop(),e||(e="bind"),"bind"==e&&a.delegateCount?a.splice(a.delegateCount,0,c):a.unshift(c)}}(),addShadowDom:function(){var b,a,c,e={init:!1,runs:0,test:function(){var a=e.getHeight(),b=e.getWidth();a!=e.height||b!=e.width?(e.height=a,e.width=b,e.handler({type:"docresize"}),
|
10
|
+
e.runs++,30>e.runs&&setTimeout(e.test,30)):e.runs=0},handler:function(i){clearTimeout(b);b=setTimeout(function(){if("resize"==i.type){var b=d(p).width(),f=d(p).width();if(f==a&&b==c)return;a=f;c=b;e.height=e.getHeight();e.width=e.getWidth()}d.event.trigger("updateshadowdom")},"resize"==i.type?50:9)},_create:function(){d.each({Height:"getHeight",Width:"getWidth"},function(a,b){var c=m.body,d=m.documentElement;e[b]=function(){return Math.max(c["scroll"+a],d["scroll"+a],c["offset"+a],d["offset"+a],d["client"+
|
11
|
+
a])}})},start:function(){if(!this.init&&m.body)this.init=!0,this._create(),this.height=e.getHeight(),this.width=e.getWidth(),setInterval(this.test,400),d(this.test),d(p).bind("load",this.test),d(p).bind("resize",this.handler),function(){var a=d.fn.animate,b;d.fn.animate=function(){clearTimeout(b);b=setTimeout(function(){e.test();e.handler({type:"animationstart"})},19);return a.apply(this,arguments)}}()}};d.event.customEvent.updateshadowdom=!0;g.docObserve=function(){g.ready("DOM",function(){e.start()})};
|
12
|
+
return function(a,b,c){c=c||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var e=d.data(a,o)||d.data(a,o,{}),u=d.data(b,o)||d.data(b,o,{}),f={};if(c.shadowFocusElement){if(c.shadowFocusElement){if(c.shadowFocusElement.jquery)c.shadowFocusElement=c.shadowFocusElement[0];f=d.data(c.shadowFocusElement,o)||d.data(c.shadowFocusElement,o,f)}}else c.shadowFocusElement=b;e.hasShadow=b;f.nativeElement=u.nativeElement=a;f.shadowData=u.shadowData=e.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:c.shadowFocusElement};
|
13
|
+
c.shadowChilds&&c.shadowChilds.each(function(){A(this,"shadowData",u.shadowData)});if(c.data)f.shadowData.data=u.shadowData.data=e.shadowData.data=c.data;c=null;g.docObserve()}}(),propTypes:{standard:function(b){B(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){B(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}},
|
14
|
+
src:function(){var b=m.createElement("a");b.style.display="none";return function(a,c){B(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(c),i;if(null==a)return"";b.setAttribute("href",a+"");if(!d.support.hrefNormalized){try{d(b).insertAfter(this),i=b.getAttribute("href",4)}catch(f){i=b.getAttribute("href",4)}d(b).detach()}return i||b.href}}}}(),enumarated:function(b){B(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var a=
|
15
|
+
(b.attr.get.call(this)||"").toLowerCase();if(!a||-1==b.limitedTo.indexOf(a))a=b.defaultValue;return a}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(t));a.forEach(function(a){g.defineNodeNamesProperty(b,a,{prop:{set:function(b){d.attr(this,a,b)},get:function(){return d.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,c){q[a]=!0;if(c.reflect)g.propTypes[c.propType||"standard"](c,a);["prop","attr","removeAttr"].forEach(function(e){var i=c[e];i&&(i="prop"===e?d.extend({writeable:!0},
|
16
|
+
i):d.extend({},i,{writeable:!0}),f[e](b,a,i),"*"!=b&&g.cfg.extendNative&&"prop"==e&&i.value&&d.isFunction(i.value)&&D(b,a,i),c[e]=i)});c.initAttr&&s.content(b,a);return c},defineNodeNameProperties:function(b,a,c,e){for(var d in a)!e&&a[d].initAttr&&s.createTmpCache(b),c&&!a[d][c]&&(a[d][c]={},["value","set","get"].forEach(function(b){b in a[d]&&(a[d][c][b]=a[d][b],delete a[d][b])})),a[d]=g.defineNodeNameProperty(b,d,a[d]);e||s.flushTmpCache();return a},createElement:function(b,a,c){var e;d.isFunction(a)&&
|
17
|
+
(a={after:a});s.createTmpCache(b);a.before&&s.createElement(b,a.before);c&&(e=g.defineNodeNameProperties(b,c,!1,!0));a.after&&s.createElement(b,a.after);s.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,a,c,e){"string"==typeof b&&(b=b.split(t));d.isFunction(c)&&(c={set:c});b.forEach(function(b){j[b]||(j[b]={});"string"==typeof a&&(a=a.split(t));c.initAttr&&s.createTmpCache(b);a.forEach(function(a){j[b][a]||(j[b][a]=[],q[a]=!0);if(c.set){if(e)c.set.only=e;j[b][a].push(c.set)}c.initAttr&&
|
18
|
+
s.content(b,a)});s.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,c){c||(c={});if(d.isFunction(c))c.set=c;g.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);c.set&&c.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?n:a}},removeAttr:{value:function(){this.removeAttribute(a);c.set&&c.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:c.initAttr||!1})},contentAttr:function(b,a,c){if(b.nodeName){if(c===n)return b=b.attributes[a]||{},
|
19
|
+
c=b.specified?b.value:null,null==c?n:c;"boolean"==typeof c?c?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,c)}},activeLang:function(){var b=[],a={},c,e,f=/:\/\/|^\.*\//,h=function(a,b,c){return b&&c&&-1!==d.inArray(b,c.availabeLangs||[])?(a.loading=!0,c=c.langSrc,f.test(c)||(c=g.cfg.basePath+c),g.loader.loadScript(c+b+".js",function(){a.langObj[b]?(a.loading=!1,k(a,!0)):d(function(){a.langObj[b]&&k(a,!0);a.loading=!1})}),!0):!1},j=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},
|
20
|
+
k=function(a,b){if(a.activeLang!=c&&a.activeLang!==e){var d=z[a.module].options;if(a.langObj[c]||e&&a.langObj[e])a.activeLang=c,a.callback(a.langObj[c]||a.langObj[e],c),j(a.module);else if(!b&&!h(a,c,d)&&!h(a,e,d)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],c),j(a.module)}};return function(f){if("string"==typeof f&&f!==c)c=f,e=c.split("-")[0],c==e&&(e=!1),d.each(b,function(a,b){k(b)});else if("object"==typeof f)if(f.register)a[f.register]||(a[f.register]=[]),a[f.register].push(f),
|
21
|
+
f.callback();else{if(!f.activeLang)f.activeLang="";b.push(f);k(f)}return c}}()});d.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){g[b]=function(b,d,f,h){"string"==typeof b&&(b=b.split(t));var j={};b.forEach(function(b){j[b]=g[a](b,d,f,h)});return j}});g.isReady("webshimLocalization",!0)});
|
22
|
+
(function(d,g){var p=d.webshims.browserVersion;if(!(d.browser.mozilla&&5<p)&&(!d.browser.msie||12>p&&7<p)){var m={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},n=function(d,g){d.getAttribute("role")||d.setAttribute("role",g)};d.webshims.addReady(function(p,t){d.each(m,function(f,h){for(var g=d(f,p).add(t.filter(f)),x=0,o=g.length;x<o;x++)n(g[x],h)});if(p===g){var l=g.getElementsByTagName("header")[0],q=g.getElementsByTagName("footer"),h=q.length;
|
23
|
+
l&&!d(l).closest("section, article")[0]&&n(l,"banner");h&&(l=q[h-1],d(l).closest("section, article")[0]||n(l,"contentinfo"))}})}})(jQuery,document);
|
24
|
+
jQuery.webshims.register("details",function(d,g,p,m,n,z){var t=function(h){var f=d(h).parent("details");if(f[0]&&f.children(":first").get(0)===h)return f},l=function(h,f){var h=d(h),f=d(f),g=d.data(f[0],"summaryElement");d.data(h[0],"detailsElement",f);if(!g||h[0]!==g[0])g&&(g.hasClass("fallback-summary")?g.remove():g.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),d.data(f[0],
|
25
|
+
"summaryElement",h),f.prop("open",f.prop("open"))};g.createElement("summary",function(){var h=t(this);if(h&&!d.data(this,"detailsElement")){var f,j,k=d.attr(this,"tabIndex")||"0";l(this,h);d(this).on({"focus.summaryPolyfill":function(){d(this).addClass("summary-has-focus")},"blur.summaryPolyfill":function(){d(this).removeClass("summary-has-focus")},"mouseenter.summaryPolyfill":function(){d(this).addClass("summary-has-hover")},"mouseleave.summaryPolyfill":function(){d(this).removeClass("summary-has-hover")},
|
26
|
+
"click.summaryPolyfill":function(g){var h=t(this);if(h){if(!j&&g.originalEvent)return j=!0,g.stopImmediatePropagation(),g.preventDefault(),d(this).trigger("click"),j=!1;clearTimeout(f);f=setTimeout(function(){g.isDefaultPrevented()||h.prop("open",!h.prop("open"))},0)}},"keydown.summaryPolyfill":function(f){if((13==f.keyCode||32==f.keyCode)&&!f.isDefaultPrevented())j=!0,f.preventDefault(),d(this).trigger("click"),j=!1}}).attr({tabindex:k,role:"button"}).prepend('<span class="details-open-indicator" />');
|
27
|
+
g.moveToFirstEvent(this,"click")}});var q;g.defineNodeNamesBooleanProperty("details","open",function(g){var f=d(d.data(this,"summaryElement"));if(f){var j=g?"removeClass":"addClass",k=d(this);if(!q&&z.animate){k.stop().css({width:"",height:""});var l={width:k.width(),height:k.height()}}f.attr("aria-expanded",""+g);k[j]("closed-details-summary").children().not(f[0])[j]("closed-details-child");!q&&z.animate&&(g={width:k.width(),height:k.height()},k.css(l).animate(g,{complete:function(){d(this).css({width:"",
|
28
|
+
height:""})}}))}});g.createElement("details",function(){q=!0;var g=d.data(this,"summaryElement");g||(g=d("> summary:first-child",this),g[0]?l(g,this):(d(this).prependPolyfill('<summary class="fallback-summary">'+z.text+"</summary>"),d.data(this,"summaryElement")));d.prop(this,"open",d.prop(this,"open"));q=!1})});
|
@@ -1,8 +1,8 @@
|
|
1
1
|
jQuery.webshims.register("details",function(a,h,j,l,c,i){var n=function(b){var e=a(b).parent("details");if(e[0]&&e.children(":first").get(0)===b)return e},f=function(b,e){var b=a(b),e=a(e),d=a.data(e[0],"summaryElement");a.data(b[0],"detailsElement",e);if(!d||b[0]!==d[0])d&&(d.hasClass("fallback-summary")?d.remove():d.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),
|
2
|
-
a.data(e[0],"summaryElement",b),e.prop("open",e.prop("open"))};h.createElement("summary",function(){var b=n(this);if(b&&!a.data(this,"detailsElement")){var e,d,c=a.attr(this,"tabIndex")||"0";f(this,b);a(this).
|
3
|
-
function(b){var c=n(this);if(c){if(!d&&b.originalEvent)return d=!0,b.stopImmediatePropagation(),b.preventDefault(),a(this).trigger("click"),d=!1;clearTimeout(e);e=setTimeout(function(){b.isDefaultPrevented()||c.prop("open",!c.prop("open"))},0)}}
|
4
|
-
"click")}});var g;h.defineNodeNamesBooleanProperty("details","open",function(b){var c=a(a.data(this,"summaryElement"));if(c){var d=b?"removeClass":"addClass",f=a(this);if(!g&&i.animate){f.stop().css({width:"",height:""});var h={width:f.width(),height:f.height()}}c.attr("aria-expanded",""+b);f[d]("closed-details-summary").children().not(c[0])[d]("closed-details-child");!g&&i.animate&&(b={width:f.width(),height:f.height()},f.css(h).animate(b,{complete:function(){a(this).css({width:"",
|
5
|
-
h.createElement("details",function(){g=!0;var b=a.data(this,"summaryElement");b||(b=a("> summary:first-child",this),b[0]?f(b,this):(a(this).prependPolyfill('<summary class="fallback-summary">'+i.text+"</summary>"),a.data(this,"summaryElement")));a.prop(this,"open",a.prop(this,"open"));g=!1})});
|
2
|
+
a.data(e[0],"summaryElement",b),e.prop("open",e.prop("open"))};h.createElement("summary",function(){var b=n(this);if(b&&!a.data(this,"detailsElement")){var e,d,c=a.attr(this,"tabIndex")||"0";f(this,b);a(this).on({"focus.summaryPolyfill":function(){a(this).addClass("summary-has-focus")},"blur.summaryPolyfill":function(){a(this).removeClass("summary-has-focus")},"mouseenter.summaryPolyfill":function(){a(this).addClass("summary-has-hover")},"mouseleave.summaryPolyfill":function(){a(this).removeClass("summary-has-hover")},
|
3
|
+
"click.summaryPolyfill":function(b){var c=n(this);if(c){if(!d&&b.originalEvent)return d=!0,b.stopImmediatePropagation(),b.preventDefault(),a(this).trigger("click"),d=!1;clearTimeout(e);e=setTimeout(function(){b.isDefaultPrevented()||c.prop("open",!c.prop("open"))},0)}},"keydown.summaryPolyfill":function(b){if((13==b.keyCode||32==b.keyCode)&&!b.isDefaultPrevented())d=!0,b.preventDefault(),a(this).trigger("click"),d=!1}}).attr({tabindex:c,role:"button"}).prepend('<span class="details-open-indicator" />');
|
4
|
+
h.moveToFirstEvent(this,"click")}});var g;h.defineNodeNamesBooleanProperty("details","open",function(b){var c=a(a.data(this,"summaryElement"));if(c){var d=b?"removeClass":"addClass",f=a(this);if(!g&&i.animate){f.stop().css({width:"",height:""});var h={width:f.width(),height:f.height()}}c.attr("aria-expanded",""+b);f[d]("closed-details-summary").children().not(c[0])[d]("closed-details-child");!g&&i.animate&&(b={width:f.width(),height:f.height()},f.css(h).animate(b,{complete:function(){a(this).css({width:"",
|
5
|
+
height:""})}}))}});h.createElement("details",function(){g=!0;var b=a.data(this,"summaryElement");b||(b=a("> summary:first-child",this),b[0]?f(b,this):(a(this).prependPolyfill('<summary class="fallback-summary">'+i.text+"</summary>"),a.data(this,"summaryElement")));a.prop(this,"open",a.prop(this,"open"));g=!1})});
|
6
6
|
(function(a){if(!navigator.geolocation){var h=function(){setTimeout(function(){throw"document.write is overwritten by geolocation shim. This method is incompatible with this plugin";},1)},j=0,l=a.webshims.cfg.geolocation.options||{};navigator.geolocation=function(){var c,i={getCurrentPosition:function(i,f,g){var b=2,e,d,j,k=function(){if(!j)if(c){if(j=!0,i(a.extend({timestamp:(new Date).getTime()},c)),m(),window.JSON&&window.sessionStorage)try{sessionStorage.setItem("storedGeolocationData654321",
|
7
7
|
JSON.stringify(c))}catch(d){}}else f&&!b&&(j=!0,m(),f({code:2,message:"POSITION_UNAVAILABLE"}))},p=function(){b--;o();k()},m=function(){a(document).unbind("google-loader",m);clearTimeout(d);clearTimeout(e)},o=function(){if(c||!window.google||!google.loader||!google.loader.ClientLocation)return!1;var b=google.loader.ClientLocation;c={coords:{latitude:b.latitude,longitude:b.longitude,altitude:null,accuracy:43E3,altitudeAccuracy:null,heading:parseInt("NaN",10),velocity:null},address:a.extend({streetNumber:"",
|
8
8
|
street:"",premises:"",county:"",postalCode:""},b.address)};return!0};if(!c&&(o(),!c&&window.JSON&&window.sessionStorage))try{c=(c=sessionStorage.getItem("storedGeolocationData654321"))?JSON.parse(c):!1,c.coords||(c=!1)}catch(q){c=!1}c?setTimeout(k,1):l.confirmText&&!confirm(l.confirmText.replace("{location}",location.hostname))?f&&f({code:1,message:"PERMISSION_DENIED"}):(a.ajax({url:"http://freegeoip.net/json/",dataType:"jsonp",cache:!0,jsonp:"callback",success:function(a){b--;a&&(c=c||{coords:{latitude:a.latitude,
|
@@ -1,60 +1,58 @@
|
|
1
|
-
jQuery.webshims.register("dom-extend",function(a,
|
2
|
-
!0)),null==
|
3
|
-
"shadowData");return a&&a[
|
4
|
-
("attr"==
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
b
|
9
|
-
return
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
a.
|
20
|
-
|
21
|
-
(
|
22
|
-
|
23
|
-
(
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
1
|
+
jQuery.webshims.register("dom-extend",function(a,g,f,i,o){var v=g.modules,q=/\s*,\s*/,p={},w={},j={},t={},r={},l=a.fn.val,A=function(e,d,b,c,h){return h?l.call(a(e)):l.call(a(e),b)};a.fn.val=function(e){var d=this[0];arguments.length&&null==e&&(e="");if(!arguments.length)return!d||1!==d.nodeType?l.call(this):a.prop(d,"value",e,"val",!0);if(a.isArray(e))return l.apply(this,arguments);var b=a.isFunction(e);return this.each(function(c){d=this;1===d.nodeType&&(b?(c=e.call(d,c,a.prop(d,"value",o,"val",
|
2
|
+
!0)),null==c&&(c=""),a.prop(d,"value",c,"val")):a.prop(d,"value",e,"val"))})};var x="_webshimsLib"+Math.round(1E3*Math.random()),B=function(e,d,b){e=e.jquery?e[0]:e;if(!e)return b||{};var c=a.data(e,x);b!==o&&(c||(c=a.data(e,x,{})),d&&(c[d]=b));return d?c&&c[d]:c};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(e){a.fn[e.name]=function(){return this.map(function(){var a=B(this,
|
3
|
+
"shadowData");return a&&a[e.prop]||this})}});["removeAttr","prop","attr"].forEach(function(e){p[e]=a[e];a[e]=function(d,b,c,h,y){var u="val"==h,k=!u?p[e]:A;if(!d||!w[b]||1!==d.nodeType||!u&&h&&"attr"==e&&a.attrFn[b])return k(d,b,c,h,y);var m=(d.nodeName||"").toLowerCase(),C=j[m],D="attr"==e&&(!1===c||null===c)?"removeAttr":e,l,g,f;C||(C=j["*"]);C&&(C=C[b]);C&&(l=C[D]);if(l){if("value"==b)g=l.isVal,l.isVal=u;if("removeAttr"===D)return l.value.call(d);if(c===o)return l.get?l.get.call(d):l.value;l.set&&
|
4
|
+
("attr"==e&&!0===c&&(c=b),f=l.set.call(d,c));if("value"==b)l.isVal=g}else f=k(d,b,c,h,y);if((c!==o||"removeAttr"===D)&&r[m]&&r[m][b]){var i;i="removeAttr"==D?!1:"prop"==D?!!c:!0;r[m][b].forEach(function(b){if(!b.only||(b.only="prop"==e)||"attr"==b.only&&"prop"!=e)b.call(d,c,i,u?"val":D,e)})}return f};t[e]=function(d,b,c){j[d]||(j[d]={});j[d][b]||(j[d][b]={});var h=j[d][b][e],y=function(a,k,m){return k&&k[a]?k[a]:m&&m[a]?m[a]:"prop"==e&&"value"==b?function(a){return c.isVal?A(this,b,a,!1,0===arguments.length):
|
5
|
+
p[e](this,b,a)}:"prop"==e&&"value"==a&&c.value.apply?function(a){var c=p[e](this,b);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return p[e](this,b,a)}};j[d][b][e]=c;if(c.value===o){if(!c.set)c.set=c.writeable?y("set",c,h):g.cfg.useStrict&&"prop"==b?function(){throw b+" is readonly on "+d;}:a.noop;if(!c.get)c.get=y("get",c,h)}["value","get","set"].forEach(function(b){c[b]&&(c["_sup"+b]=y(b,h))})}});var E=!a.browser.msie||8<parseInt(a.browser.version,10),n=function(){var a=g.getPrototypeOf(i.createElement("foobar")),
|
6
|
+
d=Object.prototype.hasOwnProperty;return function(b,c,h){var y=i.createElement(b),u=g.getPrototypeOf(y);if(E&&u&&a!==u&&(!y[c]||!d.call(y,c))){var k=y[c];h._supvalue=function(){return k&&k.apply?k.apply(this,arguments):k};u[c]=h.value}else h._supvalue=function(){var b=B(this,"propValue");return b&&b[c]&&b[c].apply?b[c].apply(this,arguments):b&&b[c]},s.extendValue(b,c,h.value);h.value._supvalue=h._supvalue}}(),s=function(){var e={};g.addReady(function(b,c){var d={},k=function(m){d[m]||(d[m]=a(b.getElementsByTagName(m)),
|
7
|
+
c[0]&&a.nodeName(c[0],m)&&(d[m]=d[m].add(c)))};a.each(e,function(b,a){k(b);!a||!a.forEach?g.warn("Error: with "+b+"-property. methods: "+a):a.forEach(function(a){d[b].each(a)})});d=null});var d,b=a([]),c=function(b,c){e[b]?e[b].push(c):e[b]=[c];a.isDOMReady&&(d||a(i.getElementsByTagName(b))).each(c)};return{createTmpCache:function(c){a.isDOMReady&&(d=d||a(i.getElementsByTagName(c)));return d||b},flushTmpCache:function(){d=null},content:function(b,d){c(b,function(){var b=a.attr(this,d);null!=b&&a.attr(this,
|
8
|
+
d,b)})},createElement:function(b,a){c(b,a)},extendValue:function(b,d,e){c(b,function(){a(this).each(function(){B(this,"propValue",{})[d]=this[d];this[d]=e})})}}}(),z=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)}};if(!a.attr)a.attr={}};a.extend(g,{getID:function(){var e=(new Date).getTime();return function(d){var d=a(d),b=d.attr("id");b||(e++,b="ID-"+e,d.attr("id",b));
|
9
|
+
return b}}(),extendUNDEFProp:function(e,d){a.each(d,function(b,a){b in e||(e[b]=a)})},createPropDefault:z,data:B,moveToFirstEvent:function(){var e=a._data?"_data":"data";return function(d,b,c){if((d=(a[e](d,"events")||{})[b])&&1<d.length)b=d.pop(),c||(c="bind"),"bind"==c&&d.delegateCount?d.splice(d.delegateCount,0,b):d.unshift(b)}}(),addShadowDom:function(){var e,d,b,c={init:!1,runs:0,test:function(){var b=c.getHeight(),a=c.getWidth();b!=c.height||a!=c.width?(c.height=b,c.width=a,c.handler({type:"docresize"}),
|
10
|
+
c.runs++,30>c.runs&&setTimeout(c.test,30)):c.runs=0},handler:function(h){clearTimeout(e);e=setTimeout(function(){if("resize"==h.type){var e=a(f).width(),u=a(f).width();if(u==d&&e==b)return;d=u;b=e;c.height=c.getHeight();c.width=c.getWidth()}a.event.trigger("updateshadowdom")},"resize"==h.type?50:9)},_create:function(){a.each({Height:"getHeight",Width:"getWidth"},function(b,a){var d=i.body,k=i.documentElement;c[a]=function(){return Math.max(d["scroll"+b],k["scroll"+b],d["offset"+b],k["offset"+b],k["client"+
|
11
|
+
b])}})},start:function(){if(!this.init&&i.body)this.init=!0,this._create(),this.height=c.getHeight(),this.width=c.getWidth(),setInterval(this.test,400),a(this.test),a(f).bind("load",this.test),a(f).bind("resize",this.handler),function(){var b=a.fn.animate,d;a.fn.animate=function(){clearTimeout(d);d=setTimeout(function(){c.test();c.handler({type:"animationstart"})},19);return b.apply(this,arguments)}}()}};a.event.customEvent.updateshadowdom=!0;g.docObserve=function(){g.ready("DOM",function(){c.start()})};
|
12
|
+
return function(b,c,d){d=d||{};b.jquery&&(b=b[0]);c.jquery&&(c=c[0]);var k=a.data(b,x)||a.data(b,x,{}),m=a.data(c,x)||a.data(c,x,{}),e={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];e=a.data(d.shadowFocusElement,x)||a.data(d.shadowFocusElement,x,e)}}else d.shadowFocusElement=c;k.hasShadow=c;e.nativeElement=m.nativeElement=b;e.shadowData=m.shadowData=k.shadowData={nativeElement:b,shadowElement:c,shadowFocusElement:d.shadowFocusElement};
|
13
|
+
d.shadowChilds&&d.shadowChilds.each(function(){B(this,"shadowData",m.shadowData)});if(d.data)e.shadowData.data=m.shadowData.data=k.shadowData.data=d.data;d=null;g.docObserve()}}(),propTypes:{standard:function(a){z(a);if(!a.prop)a.prop={set:function(d){a.attr.set.call(this,""+d)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){z(a);if(!a.prop)a.prop={set:function(d){d?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},
|
14
|
+
src:function(){var e=i.createElement("a");e.style.display="none";return function(d,b){z(d);if(!d.prop)d.prop={set:function(b){d.attr.set.call(this,b)},get:function(){var c=this.getAttribute(b),d;if(null==c)return"";e.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(e).insertAfter(this),d=e.getAttribute("href",4)}catch(y){d=e.getAttribute("href",4)}a(e).detach()}return d||e.href}}}}(),enumarated:function(a){z(a);if(!a.prop)a.prop={set:function(d){a.attr.set.call(this,d)},get:function(){var d=
|
15
|
+
(a.attr.get.call(this)||"").toLowerCase();if(!d||-1==a.limitedTo.indexOf(d))d=a.defaultValue;return d}}}},reflectProperties:function(e,d){"string"==typeof d&&(d=d.split(q));d.forEach(function(b){g.defineNodeNamesProperty(e,b,{prop:{set:function(c){a.attr(this,b,c)},get:function(){return a.attr(this,b)||""}}})})},defineNodeNameProperty:function(e,d,b){w[d]=!0;if(b.reflect)g.propTypes[b.propType||"standard"](b,d);["prop","attr","removeAttr"].forEach(function(c){var h=b[c];h&&(h="prop"===c?a.extend({writeable:!0},
|
16
|
+
h):a.extend({},h,{writeable:!0}),t[c](e,d,h),"*"!=e&&g.cfg.extendNative&&"prop"==c&&h.value&&a.isFunction(h.value)&&n(e,d,h),b[c]=h)});b.initAttr&&s.content(e,d);return b},defineNodeNameProperties:function(a,d,b,c){for(var h in d)!c&&d[h].initAttr&&s.createTmpCache(a),b&&!d[h][b]&&(d[h][b]={},["value","set","get"].forEach(function(a){a in d[h]&&(d[h][b][a]=d[h][a],delete d[h][a])})),d[h]=g.defineNodeNameProperty(a,h,d[h]);c||s.flushTmpCache();return d},createElement:function(e,d,b){var c;a.isFunction(d)&&
|
17
|
+
(d={after:d});s.createTmpCache(e);d.before&&s.createElement(e,d.before);b&&(c=g.defineNodeNameProperties(e,b,!1,!0));d.after&&s.createElement(e,d.after);s.flushTmpCache();return c},onNodeNamesPropertyModify:function(e,d,b,c){"string"==typeof e&&(e=e.split(q));a.isFunction(b)&&(b={set:b});e.forEach(function(a){r[a]||(r[a]={});"string"==typeof d&&(d=d.split(q));b.initAttr&&s.createTmpCache(a);d.forEach(function(d){r[a][d]||(r[a][d]=[],w[d]=!0);if(b.set){if(c)b.set.only=c;r[a][d].push(b.set)}b.initAttr&&
|
18
|
+
s.content(a,d)});s.flushTmpCache()})},defineNodeNamesBooleanProperty:function(e,d,b){b||(b={});if(a.isFunction(b))b.set=b;g.defineNodeNamesProperty(e,d,{attr:{set:function(a){this.setAttribute(d,a);b.set&&b.set.call(this,!0)},get:function(){return null==this.getAttribute(d)?o:d}},removeAttr:{value:function(){this.removeAttribute(d);b.set&&b.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:b.initAttr||!1})},contentAttr:function(a,d,b){if(a.nodeName){if(b===o)return a=a.attributes[d]||{},
|
19
|
+
b=a.specified?a.value:null,null==b?o:b;"boolean"==typeof b?b?a.setAttribute(d,d):a.removeAttribute(d):a.setAttribute(d,b)}},activeLang:function(){var e=[],d={},b,c,h=/:\/\/|^\.*\//,l=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,h.test(d)||(d=g.cfg.basePath+d),g.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,k(b,!0)):a(function(){b.langObj[c]&&k(b,!0);b.loading=!1})}),!0):!1},f=function(b){d[b]&&d[b].forEach(function(b){b.callback()})},
|
20
|
+
k=function(a,d){if(a.activeLang!=b&&a.activeLang!==c){var k=v[a.module].options;if(a.langObj[b]||c&&a.langObj[c])a.activeLang=b,a.callback(a.langObj[b]||a.langObj[c],b),f(a.module);else if(!d&&!l(a,b,k)&&!l(a,c,k)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],b),f(a.module)}};return function(m){if("string"==typeof m&&m!==b)b=m,c=b.split("-")[0],b==c&&(c=!1),a.each(e,function(a,b){k(b)});else if("object"==typeof m)if(m.register)d[m.register]||(d[m.register]=[]),d[m.register].push(m),
|
21
|
+
m.callback();else{if(!m.activeLang)m.activeLang="";e.push(m);k(m)}return b}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,d){g[a]=function(a,c,e,l){"string"==typeof a&&(a=a.split(q));var f={};a.forEach(function(a){f[a]=g[d](a,c,e,l)});return f}});g.isReady("webshimLocalization",!0)});
|
22
|
+
(function(a,g){var f=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<f)&&(!a.browser.msie||12>f&&7<f)){var i={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(f,q){a.each(i,function(g,i){for(var l=a(g,f).add(q.filter(g)),A=0,j=l.length;A<j;A++)o(l[A],i)});if(f===g){var p=g.getElementsByTagName("header")[0],w=g.getElementsByTagName("footer"),j=w.length;
|
23
|
+
p&&!a(p).closest("section, article")[0]&&o(p,"banner");j&&(p=w[j-1],a(p).closest("section, article")[0]||o(p,"contentinfo"))}})}})(jQuery,document);
|
24
|
+
(function(a,g,f){var i=g.audio&&g.video,o=!1,v=f.cfg.mediaelement,q=f.bugs,p="jwplayer"==v.player?"mediaelement-swf":"mediaelement-jaris",w=function(){f.ready(p,function(){if(!f.mediaelement.createSWF)f.mediaelement.loadSwf=!0,f.reTest([p],i)})},j;if(i){var t=document.createElement("video");g.videoBuffered="buffered"in t;o="loop"in t;f.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));g.videoBuffered||(f.addPolyfill("mediaelement-native-fix",
|
25
|
+
{f:"mediaelement",test:g.videoBuffered,d:["dom-support"]}),f.reTest("mediaelement-native-fix"))}if(i&&!v.preferFlash){var r=function(l){var g=l.target.parentNode;!v.preferFlash&&(a(l.target).is("audio, video")||g&&a("source:last",g)[0]==l.target)&&f.ready("DOM mediaelement",function(){j&&w();f.ready("WINDOWLOAD "+p,function(){setTimeout(function(){j&&!v.preferFlash&&f.mediaelement.createSWF&&!a(l.target).closest("audio, video").is(".nonnative-api-active")?(v.preferFlash=!0,document.removeEventListener("error",
|
26
|
+
r,!0),a("audio, video").mediaLoad(),f.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+l.target.src)):j||document.removeEventListener("error",r,!0)},20)})})};document.addEventListener("error",r,!0);a("audio, video").each(function(){this.error&&r({target:this})})}q.track=!1;g.track&&function(){if(!q.track)q.track="number"!=typeof a("<track />")[0].readyState;if(!q.track)try{new TextTrackCue(2,3,"")}catch(l){q.track=!0}var g=f.cfg.track,i=function(l){a(l.target).filter("track").each(j)},
|
27
|
+
j=function(){if(q.track||!g.override&&3==a.prop(this,"readyState"))g.override=!0,f.reTest("track"),document.removeEventListener("error",i,!0),this&&a.nodeName(this,"track")?f.error("track support was overwritten. Please check your vtt including your vtt mime-type"):f.info("track support was overwritten. due to bad browser support")},w=function(){document.addEventListener("error",i,!0);q.track?j():a("track").each(j)};g.override||(f.isReady("track")?w():a(w))}();f.register("mediaelement-core",function(a,
|
28
|
+
f,t,r,E){j=swfobject.hasFlashPlayerVersion("9.0.115");var n=f.mediaelement,s=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=n.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},z=!j&&"postMessage"in t&&i,e=
|
29
|
+
function(){var b;return function(){!b&&z&&(b=!0,f.loader.loadScript("https://www.youtube.com/player_api"),a(function(){f.polyfill("mediaelement-yt")}))}}(),d=function(){j?w():e()};f.addPolyfill("mediaelement-yt",{test:!z,d:["dom-support"]});n.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
|
29
30
|
"f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};n.mimeTypes.source=a.extend({},n.mimeTypes.audio,n.mimeTypes.video);n.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||
|
30
|
-
-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(n.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};n.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=
|
31
|
-
else{var c=[],d=b[0].nodeName.toLowerCase(),
|
32
|
-
n.canThirdPlaySrces=function(b,c){var d="";if(
|
33
|
-
a(b).pause().data("mediaerror",c);
|
34
|
-
|
35
|
-
|
36
|
-
"
|
37
|
-
|
38
|
-
a.type&&(c
|
39
|
-
(function(a){var
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
e+">").css({position:"absolute",display:"none"}),h.ready("DOM",function(){f.appendTo("body");a.fn.bgIframe&&a.browser.msie&&7>parseInt(a.browser.version,10)&&f.bgIframe()})}};b=a.proxy(d,"hide");return d}();(function(){var e,f=[],g;a(j).bind("invalid",function(c){if(!c.wrongWebkitInvalid){var b=a(c.target),d=b.getShadowElement();d.hasClass("form-ui-invalid")||(d.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){a(c.target).trigger("changedinvalid").trigger("changedvaliditystate")},
|
59
|
-
0));if(!e)e=a.Event("firstinvalid"),e.isInvalidUIPrevented=c.isDefaultPrevented,d=a.Event("firstinvalidsystem"),a(j).triggerHandler(d,{element:c.target,form:c.target.form,isInvalidUIPrevented:c.isDefaultPrevented}),b.trigger(e);e&&e.isDefaultPrevented()&&c.preventDefault();f.push(c.target);c.extraData="fix";clearTimeout(g);g=setTimeout(function(){var b={type:"lastinvalid",cancelable:!1,invalidlist:a(f)};e=!1;f=[];a(c.target).trigger(b,b)},9);d=b=null}})})();a.fn.getErrorMessage=function(){var e="",
|
60
|
-
f=this[0];f&&(e=k(f)||a.prop(f,"customValidationMessage")||a.prop(f,"validationMessage"));return e};u.replaceValidationUI&&h.ready("DOM forms",function(){a(j).bind("firstinvalid",function(e){e.isInvalidUIPrevented()||(e.preventDefault(),a.webshims.validityAlert.showFor(e.target,a(e.target).prop("customValidationMessage")))})})});
|
31
|
+
-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(n.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};n.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=r.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)});
|
32
|
+
else{var c=[],d=b[0].nodeName.toLowerCase(),e=s(b,d);e.src?c.push(e):a("source",b).each(function(){e=s(this,d);e.src&&c.push(e)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==E&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));n.srces(this,b);a(this).mediaLoad()})};n.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(",");
|
33
|
+
n.canThirdPlaySrces=function(b,c){var d="";if(j||z)b=a(b),c=c||n.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(j&&-1!=n.swfMimeTypes.indexOf(b.container)||z&&"video/youtube"==b.container))return d=b,!1});return d};var b={};n.canNativePlaySrces=function(c,d){var e="";if(i){var c=a(c),f=(c[0].nodeName||"").toLowerCase();if(!b[f])return e;d=d||n.srces(c);a.each(d,function(a,d){if(d.type&&b[f].prop._supvalue.call(c[0],d.type))return e=d,!1})}return e};n.setError=function(b,c){c||(c="can't play sources");
|
34
|
+
a(b).pause().data("mediaerror",c);f.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var c=function(){var a;return function(b,h,g){f.ready(j?p:"mediaelement-yt",function(){n.createSWF?n.createSWF(b,h,g):a||(a=!0,d(),c(b,h,g))});!a&&z&&!n.createSWF&&e()}}(),h=function(a,b,d,e,f){d||!1!==d&&b&&"third"==b.isActive?(d=n.canThirdPlaySrces(a,e))?c(a,d,b):f?n.setError(a,!1):h(a,b,!1,e,!0):(d=n.canNativePlaySrces(a,e))?b&&"third"==b.isActive&&n.setActive(a,
|
35
|
+
"html5",b):f?(n.setError(a,!1),b&&"third"==b.isActive&&n.setActive(a,"html5",b)):h(a,b,!0,e,!0)},y=/^(?:embed|object|datalist)$/i,u=function(b,c){var d=f.data(b,"mediaelementBase")||f.data(b,"mediaelementBase",{}),e=n.srces(b),g=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(e.length&&g&&!(1!=g.nodeType||y.test(g.nodeName||"")))c=c||f.data(b,"mediaelement"),h(b,c,v.preferFlash||E,e)};a(r).on("ended",function(b){var c=f.data(b.target,"mediaelement");(!o||c&&"html5"!=c.isActive||
|
36
|
+
a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});o||f.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(c){var d=f.defineNodeNameProperty(c,"load",{prop:{value:function(){var a=f.data(this,"mediaelement");u(this,a);i&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});b[c]=f.defineNodeNameProperty(c,"canPlayType",{prop:{value:function(d){var e=
|
37
|
+
"";i&&b[c].prop._supvalue&&(e=b[c].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&j&&(d=a.trim((d||"").split(";")[0]),-1!=n.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});f.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=f.data(a,"mediaelementBase")||f.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){u(a);a=null},9)}});t=function(){f.addReady(function(b,c){a("video, audio",b).add(c.filter("video, audio")).each(function(){a.browser.msie&&
|
38
|
+
8<f.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():u(this);if(i){var b,c,d=this,e=function(){var b=a.prop(d,"buffered");if(b){for(var c="",e=0,f=b.length;e<f;e++)c+=b.end(e);return c}},h=function(){var b=e();b!=c&&(c=b,a(d).triggerHandler("progress"))};a(this).on({"play loadstart progress":function(a){"progress"==a.type&&(c=e());clearTimeout(b);b=setTimeout(h,999)},"emptied stalled mediaerror abort suspend":function(a){"emptied"==
|
39
|
+
a.type&&(c=!1);clearTimeout(b)}})}})})};g.track&&!q.track&&f.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});i?(f.isReady("mediaelement-core",!0),t(),f.ready("WINDOWLOAD mediaelement",d)):f.ready(p,t);a(function(){f.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
|
40
|
+
(function(a){var g=window.Modernizr,f=a.webshims,i=f.bugs,o=a('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input required="" name="a" /></form>'),v=function(){if(o[0].querySelector)try{i.findRequired=!o[0].querySelector("select:required")}catch(a){i.findRequired=!1}},q=a("input",o).eq(0),p=function(a){f.loader.loadList(["dom-extend"]);f.ready("dom-extend",a)};i.findRequired=!1;i.validationMessage=!1;f.capturingEventPrevented=function(f){if(!f._isPolyfilled){var g=
|
41
|
+
f.isDefaultPrevented,i=f.preventDefault;f.preventDefault=function(){clearTimeout(a.data(f.target,f.type+"DefaultPrevented"));a.data(f.target,f.type+"DefaultPrevented",setTimeout(function(){a.removeData(f.target,f.type+"DefaultPrevented")},30));return i.apply(this,arguments)};f.isDefaultPrevented=function(){return!(!g.apply(this,arguments)&&!a.data(f.target,f.type+"DefaultPrevented"))};f._isPolyfilled=!0}};if(!g.formvalidation||i.bustedValidity)v();else{f.capturingEvents(["input"]);f.capturingEvents(["invalid"],
|
42
|
+
!0);if(window.opera||window.testGoodWithFix)o.appendTo("head"),v(),i.validationMessage=!q.prop("validationMessage"),f.reTest(["form-extend","form-message"]),o.remove(),a(function(){p(function(){var g=function(a){a.preventDefault()};["form","input","textarea","select"].forEach(function(i){var o=f.defineNodeNameProperty(i,"checkValidity",{prop:{value:function(){if(!f.fromSubmit)a(this).on("invalid.checkvalidity",g);f.fromCheckValidity=!0;var i=o.prop._supvalue.apply(this,arguments);f.fromSubmit||a(this).unbind("invalid.checkvalidity",
|
43
|
+
g);f.fromCheckValidity=!1;return i}}})})})});a.browser.webkit&&!f.bugs.bustedValidity&&function(){var f=/^(?:textarea|input)$/i,g=!1;document.addEventListener("contextmenu",function(a){f.test(a.target.nodeName||"")&&(g=a.target.form)&&setTimeout(function(){g=!1},1)},!1);a(window).on("invalid",function(a){if(a.originalEvent&&g&&g==a.target.form)a.wrongWebkitInvalid=!0,a.stopImmediatePropagation()})}()}})(jQuery);
|
44
|
+
jQuery.webshims.register("form-core",function(a,g,f,i,o,v){var q={radio:1},p={checkbox:1,radio:1},w=a([]),j=g.bugs,t=function(b){var b=a(b),c,d;c=w;if(q[b[0].type])d=b.prop("form"),c=(c=b[0].name)?d?a(d[c]):a(i.getElementsByName(c)).filter(function(){return!a.prop(this,"form")}):b,c=c.filter('[type="radio"]');return c},r=g.getContentValidationMessage=function(b,c,d){var e=a(b).data("errormessage")||b.getAttribute("x-moz-errormessage")||"";d&&e[d]&&(e=e[d]);"object"==typeof e&&(c=c||a.prop(b,"validity")||
|
45
|
+
{valid:1},c.valid||a.each(c,function(a,b){if(b&&"valid"!=a&&e[a])return e=e[a],!1}));if("object"==typeof e)e=e.defaultMessage;return e||""},l={number:1,range:1,date:1},A=function(b){var c=!1;a(a.prop(b,"elements")).each(function(){if(c=a(this).is(":invalid"))return!1});return c};a.extend(a.expr[":"],{"valid-element":function(b){return a.nodeName(b,"form")?!A(b):!(!a.prop(b,"willValidate")||!B(b))},"invalid-element":function(b){return a.nodeName(b,"form")?A(b):!(!a.prop(b,"willValidate")||B(b))},"required-element":function(b){return!(!a.prop(b,
|
46
|
+
"willValidate")||!a.prop(b,"required"))},"user-error":function(b){return a.prop(b,"willValidate")&&a(b).hasClass("user-error")},"optional-element":function(b){return!!(a.prop(b,"willValidate")&&!1===a.prop(b,"required"))},"in-range":function(b){if(!l[a.prop(b,"type")]||!a.prop(b,"willValidate"))return!1;b=a.prop(b,"validity");return!(!b||b.rangeOverflow||b.rangeUnderflow)},"out-of-range":function(b){if(!l[a.prop(b,"type")]||!a.prop(b,"willValidate"))return!1;b=a.prop(b,"validity");return!(!b||!b.rangeOverflow&&
|
47
|
+
!b.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(b){a.expr[":"][b]=a.expr.filters[b+"-element"]});a.expr[":"].focus=function(a){try{var c=a.ownerDocument;return a===c.activeElement&&(!c.hasFocus||c.hasFocus())}catch(d){}return!1};var x=a.event.customEvent||{},B=function(b){return(a.prop(b,"validity")||{valid:1}).valid};(j.bustedValidity||j.findRequired)&&function(){var b=a.find,c=a.find.matchesSelector,d=/(\:valid|\:invalid|\:optional|\:required|\:in-range|\:out-of-range)(?=[\s\[\~\.\+\>\:\#*]|$)/ig,
|
48
|
+
e=function(a){return a+"-element"};a.find=function(){var a=Array.prototype.slice,c=function(c){var f=arguments,f=a.call(f,1,f.length);f.unshift(c.replace(d,e));return b.apply(this,f)},f;for(f in b)b.hasOwnProperty(f)&&(c[f]=b[f]);return c}();if(!Modernizr.prefixed||Modernizr.prefixed("matchesSelector",i.documentElement))a.find.matchesSelector=function(a,b){b=b.replace(d,e);return c.call(this,a,b)}}();var E=a.prop,n={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};a.prop=function(b,c,f){var g=
|
49
|
+
E.apply(this,arguments);b&&"form"in b&&n[c]&&f!==o&&a(b).hasClass(e)&&B(b)&&(a(b).getShadowElement().removeClass(d),"checked"==c&&f&&t(b).not(b).removeClass(d).removeAttr("aria-invalid"));return g};var s=function(b,c){var d;a.each(b,function(b,e){if(e)return d="customError"==b?a.prop(c,"validationMessage"):b,!1});return d},z=function(a){var c;try{c=i.activeElement.name===a}catch(d){}return c},e="user-error",d="user-error form-ui-invalid";a(i).on(v.validityUIEvents||"focusout change refreshvalidityui",
|
50
|
+
function(b){var c,f;if(b.target&&(c=a(b.target).getNativeElement()[0],"submit"!=c.type&&a.prop(c,"willValidate"))){f=a.data(c,"webshimsswitchvalidityclass");var g=function(){if(!("focusout"==b.type&&"radio"==c.type&&z(c.name))){var f=a.prop(c,"validity"),g=a(c).getShadowElement(),h,i,l,j;a(c).trigger("refreshCustomValidityRules");f.valid?g.hasClass("user-success")||(h="user-success form-ui-valid",i=d,j="changedvaliditystate",l="changedvalid",p[c.type]&&c.checked&&t(c).not(c).removeClass(i).addClass(h).removeAttr("aria-invalid"),
|
51
|
+
a.removeData(c,"webshimsinvalidcause")):(f=s(f,c),a.data(c,"webshimsinvalidcause")!=f&&(a.data(c,"webshimsinvalidcause",f),j="changedvaliditystate"),g.hasClass(e)||(h=d,i="user-success form-ui-valid",p[c.type]&&!c.checked&&t(c).not(c).removeClass(i).addClass(h),l="changedinvalid"));h&&(g.addClass(h).removeClass(i),setTimeout(function(){a(c).trigger(l)},0));j&&setTimeout(function(){a(c).trigger(j)},0);a.removeData(b.target,"webshimsswitchvalidityclass")}};f&&clearTimeout(f);"refreshvalidityui"==b.type?
|
52
|
+
g():a.data(c,"webshimsswitchvalidityclass",setTimeout(g,9))}});x.changedvaliditystate=!0;x.refreshCustomValidityRules=!0;x.changedvalid=!0;x.changedinvalid=!0;x.refreshvalidityui=!0;g.triggerInlineForm=function(b,c){a(b).trigger(c)};g.modules["form-core"].getGroupElements=t;j=function(){g.scrollRoot=a.browser.webkit||"BackCompat"==i.compatMode?a(i.body):a(i.documentElement)};j();g.ready("DOM",j);g.getRelOffset=function(b,c){var b=a(b),d=a(c).offset(),e;a.swap(a(b)[0],{visibility:"hidden",display:"inline-block",
|
53
|
+
left:0,top:0},function(){e=b.offset()});d.top-=e.top;d.left-=e.left;return d};g.validityAlert=function(){var b=!a.browser.msie||7<parseInt(a.browser.version,10)?"span":"label",c,d=!1,e=!1,l,k={hideDelay:5E3,showFor:function(b,c,g,i){k._create();var b=a(b),j=a(b).getShadowElement(),n=k.getOffsetFromBody(j);k.clear();i?this.hide():(this.getMessage(b,c),this.position(j,n),this.show(),this.hideDelay&&(d=setTimeout(l,this.hideDelay)),a(f).on("resize.validityalert",function(){clearTimeout(e);e=setTimeout(function(){k.position(j)},
|
54
|
+
9)}));g||this.setFocus(j,n)},getOffsetFromBody:function(a){return g.getRelOffset(c,a)},setFocus:function(d,e){var f=a(d).getShadowFocusElement(),h=g.scrollRoot.scrollTop(),j=(e||f.offset()).top-30,k;g.getID&&"label"==b&&c.attr("for",g.getID(f));h>j&&(g.scrollRoot.animate({scrollTop:j-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(h-j)),80)}),k=!0);try{f[0].focus()}catch(n){}k&&(g.scrollRoot.scrollTop(h),setTimeout(function(){g.scrollRoot.scrollTop(h)},0));setTimeout(function(){a(i).on("focusout.validityalert",
|
55
|
+
l)},10)},getMessage:function(b,d){d||(d=r(b[0])||b.prop("validationMessage"));d?a("span.va-box",c).text(d):this.hide()},position:function(b,d){d=d?a.extend({},d):k.getOffsetFromBody(b);d.top+=b.outerHeight();c.css(d)},show:function(){"none"===c.css("display")&&c.css({opacity:0}).show();c.addClass("va-visible").fadeTo(400,1)},hide:function(){c.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(d);a(i).unbind(".validityalert");a(f).unbind(".validityalert");c.stop().removeAttr("for")},
|
56
|
+
_create:function(){if(!c)c=k.errorBubble=a("<"+b+' 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></'+b+">").css({position:"absolute",display:"none"}),g.ready("DOM",function(){c.appendTo("body");a.fn.bgIframe&&a.browser.msie&&7>parseInt(a.browser.version,10)&&c.bgIframe()})}};l=a.proxy(k,"hide");return k}();(function(){var b,c=[],f;a(i).on("invalid",function(g){if(!g.wrongWebkitInvalid){var j=
|
57
|
+
a(g.target),k=j.getShadowElement();k.hasClass(e)||(k.addClass(d).removeClass("user-success form-ui-valid"),setTimeout(function(){a(g.target).trigger("changedinvalid").trigger("changedvaliditystate")},0));if(!b)b=a.Event("firstinvalid"),b.isInvalidUIPrevented=g.isDefaultPrevented,k=a.Event("firstinvalidsystem"),a(i).triggerHandler(k,{element:g.target,form:g.target.form,isInvalidUIPrevented:g.isDefaultPrevented}),j.trigger(b);b&&b.isDefaultPrevented()&&g.preventDefault();c.push(g.target);g.extraData=
|
58
|
+
"fix";clearTimeout(f);f=setTimeout(function(){var d={type:"lastinvalid",cancelable:!1,invalidlist:a(c)};b=!1;c=[];a(g.target).trigger(d,d)},9);k=j=null}})})();a.fn.getErrorMessage=function(){var b="",c=this[0];c&&(b=r(c)||a.prop(c,"customValidationMessage")||a.prop(c,"validationMessage"));return b};v.replaceValidationUI&&g.ready("DOM forms",function(){a(i).on("firstinvalid",function(b){b.isInvalidUIPrevented()||(b.preventDefault(),a.webshims.validityAlert.showFor(b.target,a(b.target).prop("customValidationMessage")))})})});
|
@@ -1,68 +1,66 @@
|
|
1
|
-
jQuery.webshims.register("dom-extend",function(a,g,
|
2
|
-
!0)),null==
|
3
|
-
"shadowData");return a&&a[
|
4
|
-
("attr"==
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
b
|
9
|
-
return
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
a.
|
20
|
-
|
21
|
-
(
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
1
|
+
jQuery.webshims.register("dom-extend",function(a,f,g,k,r){var u=f.modules,n=/\s*,\s*/,s={},l={},i={},m={},t={},h=a.fn.val,z=function(e,d,b,c,j){return j?h.call(a(e)):h.call(a(e),b)};a.fn.val=function(e){var d=this[0];arguments.length&&null==e&&(e="");if(!arguments.length)return!d||1!==d.nodeType?h.call(this):a.prop(d,"value",e,"val",!0);if(a.isArray(e))return h.apply(this,arguments);var b=a.isFunction(e);return this.each(function(c){d=this;1===d.nodeType&&(b?(c=e.call(d,c,a.prop(d,"value",r,"val",
|
2
|
+
!0)),null==c&&(c=""),a.prop(d,"value",c,"val")):a.prop(d,"value",e,"val"))})};var x="_webshimsLib"+Math.round(1E3*Math.random()),A=function(e,d,b){e=e.jquery?e[0]:e;if(!e)return b||{};var c=a.data(e,x);b!==r&&(c||(c=a.data(e,x,{})),d&&(c[d]=b));return d?c&&c[d]:c};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(e){a.fn[e.name]=function(){return this.map(function(){var a=A(this,
|
3
|
+
"shadowData");return a&&a[e.prop]||this})}});["removeAttr","prop","attr"].forEach(function(e){s[e]=a[e];a[e]=function(d,b,c,j,v){var B="val"==j,q=!B?s[e]:z;if(!d||!l[b]||1!==d.nodeType||!B&&j&&"attr"==e&&a.attrFn[b])return q(d,b,c,j,v);var o=(d.nodeName||"").toLowerCase(),C=i[o],D="attr"==e&&(!1===c||null===c)?"removeAttr":e,h,f,g;C||(C=i["*"]);C&&(C=C[b]);C&&(h=C[D]);if(h){if("value"==b)f=h.isVal,h.isVal=B;if("removeAttr"===D)return h.value.call(d);if(c===r)return h.get?h.get.call(d):h.value;h.set&&
|
4
|
+
("attr"==e&&!0===c&&(c=b),g=h.set.call(d,c));if("value"==b)h.isVal=f}else g=q(d,b,c,j,v);if((c!==r||"removeAttr"===D)&&t[o]&&t[o][b]){var m;m="removeAttr"==D?!1:"prop"==D?!!c:!0;t[o][b].forEach(function(b){if(!b.only||(b.only="prop"==e)||"attr"==b.only&&"prop"!=e)b.call(d,c,m,B?"val":D,e)})}return g};m[e]=function(d,b,c){i[d]||(i[d]={});i[d][b]||(i[d][b]={});var j=i[d][b][e],v=function(a,q,o){return q&&q[a]?q[a]:o&&o[a]?o[a]:"prop"==e&&"value"==b?function(a){return c.isVal?z(this,b,a,!1,0===arguments.length):
|
5
|
+
s[e](this,b,a)}:"prop"==e&&"value"==a&&c.value.apply?function(a){var c=s[e](this,b);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return s[e](this,b,a)}};i[d][b][e]=c;if(c.value===r){if(!c.set)c.set=c.writeable?v("set",c,j):f.cfg.useStrict&&"prop"==b?function(){throw b+" is readonly on "+d;}:a.noop;if(!c.get)c.get=v("get",c,j)}["value","get","set"].forEach(function(b){c[b]&&(c["_sup"+b]=v(b,j))})}});var E=!a.browser.msie||8<parseInt(a.browser.version,10),p=function(){var a=f.getPrototypeOf(k.createElement("foobar")),
|
6
|
+
d=Object.prototype.hasOwnProperty;return function(b,c,j){var v=k.createElement(b),h=f.getPrototypeOf(v);if(E&&h&&a!==h&&(!v[c]||!d.call(v,c))){var q=v[c];j._supvalue=function(){return q&&q.apply?q.apply(this,arguments):q};h[c]=j.value}else j._supvalue=function(){var b=A(this,"propValue");return b&&b[c]&&b[c].apply?b[c].apply(this,arguments):b&&b[c]},w.extendValue(b,c,j.value);j.value._supvalue=j._supvalue}}(),w=function(){var e={};f.addReady(function(b,c){var d={},q=function(o){d[o]||(d[o]=a(b.getElementsByTagName(o)),
|
7
|
+
c[0]&&a.nodeName(c[0],o)&&(d[o]=d[o].add(c)))};a.each(e,function(b,a){q(b);!a||!a.forEach?f.warn("Error: with "+b+"-property. methods: "+a):a.forEach(function(a){d[b].each(a)})});d=null});var d,b=a([]),c=function(b,c){e[b]?e[b].push(c):e[b]=[c];a.isDOMReady&&(d||a(k.getElementsByTagName(b))).each(c)};return{createTmpCache:function(c){a.isDOMReady&&(d=d||a(k.getElementsByTagName(c)));return d||b},flushTmpCache:function(){d=null},content:function(b,d){c(b,function(){var b=a.attr(this,d);null!=b&&a.attr(this,
|
8
|
+
d,b)})},createElement:function(b,a){c(b,a)},extendValue:function(b,d,e){c(b,function(){a(this).each(function(){A(this,"propValue",{})[d]=this[d];this[d]=e})})}}}(),y=function(a,d){if(a.defaultValue===r)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[d||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(f,{getID:function(){var e=(new Date).getTime();return function(d){var d=a(d),b=d.attr("id");b||(e++,b="ID-"+e,d.attr("id",b));
|
9
|
+
return b}}(),extendUNDEFProp:function(e,d){a.each(d,function(b,a){b in e||(e[b]=a)})},createPropDefault:y,data:A,moveToFirstEvent:function(){var e=a._data?"_data":"data";return function(d,b,c){if((d=(a[e](d,"events")||{})[b])&&1<d.length)b=d.pop(),c||(c="bind"),"bind"==c&&d.delegateCount?d.splice(d.delegateCount,0,b):d.unshift(b)}}(),addShadowDom:function(){var e,d,b,c={init:!1,runs:0,test:function(){var b=c.getHeight(),a=c.getWidth();b!=c.height||a!=c.width?(c.height=b,c.width=a,c.handler({type:"docresize"}),
|
10
|
+
c.runs++,30>c.runs&&setTimeout(c.test,30)):c.runs=0},handler:function(j){clearTimeout(e);e=setTimeout(function(){if("resize"==j.type){var e=a(g).width(),h=a(g).width();if(h==d&&e==b)return;d=h;b=e;c.height=c.getHeight();c.width=c.getWidth()}a.event.trigger("updateshadowdom")},"resize"==j.type?50:9)},_create:function(){a.each({Height:"getHeight",Width:"getWidth"},function(b,a){var d=k.body,q=k.documentElement;c[a]=function(){return Math.max(d["scroll"+b],q["scroll"+b],d["offset"+b],q["offset"+b],q["client"+
|
11
|
+
b])}})},start:function(){if(!this.init&&k.body)this.init=!0,this._create(),this.height=c.getHeight(),this.width=c.getWidth(),setInterval(this.test,400),a(this.test),a(g).bind("load",this.test),a(g).bind("resize",this.handler),function(){var b=a.fn.animate,d;a.fn.animate=function(){clearTimeout(d);d=setTimeout(function(){c.test();c.handler({type:"animationstart"})},19);return b.apply(this,arguments)}}()}};a.event.customEvent.updateshadowdom=!0;f.docObserve=function(){f.ready("DOM",function(){c.start()})};
|
12
|
+
return function(b,c,d){d=d||{};b.jquery&&(b=b[0]);c.jquery&&(c=c[0]);var q=a.data(b,x)||a.data(b,x,{}),o=a.data(c,x)||a.data(c,x,{}),e={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];e=a.data(d.shadowFocusElement,x)||a.data(d.shadowFocusElement,x,e)}}else d.shadowFocusElement=c;q.hasShadow=c;e.nativeElement=o.nativeElement=b;e.shadowData=o.shadowData=q.shadowData={nativeElement:b,shadowElement:c,shadowFocusElement:d.shadowFocusElement};
|
13
|
+
d.shadowChilds&&d.shadowChilds.each(function(){A(this,"shadowData",o.shadowData)});if(d.data)e.shadowData.data=o.shadowData.data=q.shadowData.data=d.data;d=null;f.docObserve()}}(),propTypes:{standard:function(a){y(a);if(!a.prop)a.prop={set:function(d){a.attr.set.call(this,""+d)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){y(a);if(!a.prop)a.prop={set:function(d){d?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},
|
14
|
+
src:function(){var e=k.createElement("a");e.style.display="none";return function(d,b){y(d);if(!d.prop)d.prop={set:function(b){d.attr.set.call(this,b)},get:function(){var c=this.getAttribute(b),d;if(null==c)return"";e.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(e).insertAfter(this),d=e.getAttribute("href",4)}catch(h){d=e.getAttribute("href",4)}a(e).detach()}return d||e.href}}}}(),enumarated:function(a){y(a);if(!a.prop)a.prop={set:function(d){a.attr.set.call(this,d)},get:function(){var d=
|
15
|
+
(a.attr.get.call(this)||"").toLowerCase();if(!d||-1==a.limitedTo.indexOf(d))d=a.defaultValue;return d}}}},reflectProperties:function(e,d){"string"==typeof d&&(d=d.split(n));d.forEach(function(b){f.defineNodeNamesProperty(e,b,{prop:{set:function(c){a.attr(this,b,c)},get:function(){return a.attr(this,b)||""}}})})},defineNodeNameProperty:function(e,d,b){l[d]=!0;if(b.reflect)f.propTypes[b.propType||"standard"](b,d);["prop","attr","removeAttr"].forEach(function(c){var j=b[c];j&&(j="prop"===c?a.extend({writeable:!0},
|
16
|
+
j):a.extend({},j,{writeable:!0}),m[c](e,d,j),"*"!=e&&f.cfg.extendNative&&"prop"==c&&j.value&&a.isFunction(j.value)&&p(e,d,j),b[c]=j)});b.initAttr&&w.content(e,d);return b},defineNodeNameProperties:function(a,d,b,c){for(var j in d)!c&&d[j].initAttr&&w.createTmpCache(a),b&&!d[j][b]&&(d[j][b]={},["value","set","get"].forEach(function(a){a in d[j]&&(d[j][b][a]=d[j][a],delete d[j][a])})),d[j]=f.defineNodeNameProperty(a,j,d[j]);c||w.flushTmpCache();return d},createElement:function(e,d,b){var c;a.isFunction(d)&&
|
17
|
+
(d={after:d});w.createTmpCache(e);d.before&&w.createElement(e,d.before);b&&(c=f.defineNodeNameProperties(e,b,!1,!0));d.after&&w.createElement(e,d.after);w.flushTmpCache();return c},onNodeNamesPropertyModify:function(e,d,b,c){"string"==typeof e&&(e=e.split(n));a.isFunction(b)&&(b={set:b});e.forEach(function(a){t[a]||(t[a]={});"string"==typeof d&&(d=d.split(n));b.initAttr&&w.createTmpCache(a);d.forEach(function(d){t[a][d]||(t[a][d]=[],l[d]=!0);if(b.set){if(c)b.set.only=c;t[a][d].push(b.set)}b.initAttr&&
|
18
|
+
w.content(a,d)});w.flushTmpCache()})},defineNodeNamesBooleanProperty:function(e,d,b){b||(b={});if(a.isFunction(b))b.set=b;f.defineNodeNamesProperty(e,d,{attr:{set:function(a){this.setAttribute(d,a);b.set&&b.set.call(this,!0)},get:function(){return null==this.getAttribute(d)?r:d}},removeAttr:{value:function(){this.removeAttribute(d);b.set&&b.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:b.initAttr||!1})},contentAttr:function(a,d,b){if(a.nodeName){if(b===r)return a=a.attributes[d]||{},
|
19
|
+
b=a.specified?a.value:null,null==b?r:b;"boolean"==typeof b?b?a.setAttribute(d,d):a.removeAttribute(d):a.setAttribute(d,b)}},activeLang:function(){var e=[],d={},b,c,h=/:\/\/|^\.*\//,v=function(b,c,d){return c&&d&&-1!==a.inArray(c,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,h.test(d)||(d=f.cfg.basePath+d),f.loader.loadScript(d+c+".js",function(){b.langObj[c]?(b.loading=!1,q(b,!0)):a(function(){b.langObj[c]&&q(b,!0);b.loading=!1})}),!0):!1},l=function(a){d[a]&&d[a].forEach(function(a){a.callback()})},
|
20
|
+
q=function(a,d){if(a.activeLang!=b&&a.activeLang!==c){var q=u[a.module].options;if(a.langObj[b]||c&&a.langObj[c])a.activeLang=b,a.callback(a.langObj[b]||a.langObj[c],b),l(a.module);else if(!d&&!v(a,b,q)&&!v(a,c,q)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],b),l(a.module)}};return function(o){if("string"==typeof o&&o!==b)b=o,c=b.split("-")[0],b==c&&(c=!1),a.each(e,function(a,b){q(b)});else if("object"==typeof o)if(o.register)d[o.register]||(d[o.register]=[]),d[o.register].push(o),
|
21
|
+
o.callback();else{if(!o.activeLang)o.activeLang="";e.push(o);q(o)}return b}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,d){f[a]=function(a,c,e,h){"string"==typeof a&&(a=a.split(n));var l={};a.forEach(function(a){l[a]=f[d](a,c,e,h)});return l}});f.isReady("webshimLocalization",!0)});
|
22
|
+
(function(a,f){var g=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<g)&&(!a.browser.msie||12>g&&7<g)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},r=function(a,f){a.getAttribute("role")||a.setAttribute("role",f)};a.webshims.addReady(function(g,n){a.each(k,function(f,l){for(var h=a(f,g).add(n.filter(f)),z=0,i=h.length;z<i;z++)r(h[z],l)});if(g===f){var s=f.getElementsByTagName("header")[0],l=f.getElementsByTagName("footer"),i=l.length;
|
23
|
+
s&&!a(s).closest("section, article")[0]&&r(s,"banner");i&&(s=l[i-1],a(s).closest("section, article")[0]||r(s,"contentinfo"))}})}})(jQuery,document);
|
24
|
+
(function(a,f,g){var k=f.audio&&f.video,r=!1,u=g.cfg.mediaelement,n=g.bugs,s="jwplayer"==u.player?"mediaelement-swf":"mediaelement-jaris",l=function(){g.ready(s,function(){if(!g.mediaelement.createSWF)g.mediaelement.loadSwf=!0,g.reTest([s],k)})},i;if(k){var m=document.createElement("video");f.videoBuffered="buffered"in m;r="loop"in m;g.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));f.videoBuffered||(g.addPolyfill("mediaelement-native-fix",
|
25
|
+
{f:"mediaelement",test:f.videoBuffered,d:["dom-support"]}),g.reTest("mediaelement-native-fix"))}if(k&&!u.preferFlash){var t=function(h){var f=h.target.parentNode;!u.preferFlash&&(a(h.target).is("audio, video")||f&&a("source:last",f)[0]==h.target)&&g.ready("DOM mediaelement",function(){i&&l();g.ready("WINDOWLOAD "+s,function(){setTimeout(function(){i&&!u.preferFlash&&g.mediaelement.createSWF&&!a(h.target).closest("audio, video").is(".nonnative-api-active")?(u.preferFlash=!0,document.removeEventListener("error",
|
26
|
+
t,!0),a("audio, video").mediaLoad(),g.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+h.target.src)):i||document.removeEventListener("error",t,!0)},20)})})};document.addEventListener("error",t,!0);a("audio, video").each(function(){this.error&&t({target:this})})}n.track=!1;f.track&&function(){if(!n.track)n.track="number"!=typeof a("<track />")[0].readyState;if(!n.track)try{new TextTrackCue(2,3,"")}catch(h){n.track=!0}var f=g.cfg.track,l=function(h){a(h.target).filter("track").each(i)},
|
27
|
+
i=function(){if(n.track||!f.override&&3==a.prop(this,"readyState"))f.override=!0,g.reTest("track"),document.removeEventListener("error",l,!0),this&&a.nodeName(this,"track")?g.error("track support was overwritten. Please check your vtt including your vtt mime-type"):g.info("track support was overwritten. due to bad browser support")},m=function(){document.addEventListener("error",l,!0);n.track?i():a("track").each(i)};f.override||(g.isReady("track")?m():a(m))}();g.register("mediaelement-core",function(a,
|
28
|
+
g,m,t,E){i=swfobject.hasFlashPlayerVersion("9.0.115");var p=g.mediaelement,w=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=p.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},y=!i&&"postMessage"in m&&k,e=
|
29
|
+
function(){var b;return function(){!b&&y&&(b=!0,g.loader.loadScript("https://www.youtube.com/player_api"),a(function(){g.polyfill("mediaelement-yt")}))}}(),d=function(){i?l():e()};g.addPolyfill("mediaelement-yt",{test:!y,d:["dom-support"]});p.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
|
29
30
|
"f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};p.mimeTypes.source=a.extend({},p.mimeTypes.audio,p.mimeTypes.video);p.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||
|
30
|
-
-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(p.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};p.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=
|
31
|
-
else{var c=[],d=b[0].nodeName.toLowerCase(),
|
32
|
-
p.canThirdPlaySrces=function(b,c){var d="";if(
|
33
|
-
a(b).pause().data("mediaerror",c);
|
34
|
-
|
35
|
-
|
36
|
-
"
|
37
|
-
|
38
|
-
a.type&&(c
|
39
|
-
(function(a){var
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
jQuery.webshims.register("form-message",function(a,g,i,l,n,t){var k=g.validityMessages,i=t.overrideMessages||t.customMessages?["customValidationMessage"]:[];k.en=a.extend(!0,{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
|
62
|
-
stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}},k.en||k["en-US"]||{});["select","radio"].forEach(function(a){k.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){k.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date",
|
63
|
-
"time","datetime-local"].forEach(function(a){k.en.rangeOverflow[a]="Value must be at or before {%max}."});k["en-US"]=k["en-US"]||k.en;k[""]=k[""]||k["en-US"];k.de=a.extend(!0,{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
|
31
|
+
-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(p.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};p.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=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)});
|
32
|
+
else{var c=[],d=b[0].nodeName.toLowerCase(),e=w(b,d);e.src?c.push(e):a("source",b).each(function(){e=w(this,d);e.src&&c.push(e)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==E&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));p.srces(this,b);a(this).mediaLoad()})};p.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
|
33
|
+
p.canThirdPlaySrces=function(b,c){var d="";if(i||y)b=a(b),c=c||p.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(i&&-1!=p.swfMimeTypes.indexOf(b.container)||y&&"video/youtube"==b.container))return d=b,!1});return d};var b={};p.canNativePlaySrces=function(c,d){var e="";if(k){var c=a(c),f=(c[0].nodeName||"").toLowerCase();if(!b[f])return e;d=d||p.srces(c);a.each(d,function(a,d){if(d.type&&b[f].prop._supvalue.call(c[0],d.type))return e=d,!1})}return e};p.setError=function(b,c){c||(c="can't play sources");
|
34
|
+
a(b).pause().data("mediaerror",c);g.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var c=function(){var a;return function(b,f,j){g.ready(i?s:"mediaelement-yt",function(){p.createSWF?p.createSWF(b,f,j):a||(a=!0,d(),c(b,f,j))});!a&&y&&!p.createSWF&&e()}}(),j=function(a,b,d,e,f){d||!1!==d&&b&&"third"==b.isActive?(d=p.canThirdPlaySrces(a,e))?c(a,d,b):f?p.setError(a,!1):j(a,b,!1,e,!0):(d=p.canNativePlaySrces(a,e))?b&&"third"==b.isActive&&p.setActive(a,
|
35
|
+
"html5",b):f?(p.setError(a,!1),b&&"third"==b.isActive&&p.setActive(a,"html5",b)):j(a,b,!0,e,!0)},v=/^(?:embed|object|datalist)$/i,B=function(b,c){var d=g.data(b,"mediaelementBase")||g.data(b,"mediaelementBase",{}),e=p.srces(b),f=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||v.test(f.nodeName||"")))c=c||g.data(b,"mediaelement"),j(b,c,u.preferFlash||E,e)};a(t).on("ended",function(b){var c=g.data(b.target,"mediaelement");(!r||c&&"html5"!=c.isActive||
|
36
|
+
a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});r||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(c){var d=g.defineNodeNameProperty(c,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");B(this,a);k&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});b[c]=g.defineNodeNameProperty(c,"canPlayType",{prop:{value:function(d){var e=
|
37
|
+
"";k&&b[c].prop._supvalue&&(e=b[c].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&i&&(d=a.trim((d||"").split(";")[0]),-1!=p.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});g.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){B(a);a=null},9)}});m=function(){g.addReady(function(b,c){a("video, audio",b).add(c.filter("video, audio")).each(function(){a.browser.msie&&
|
38
|
+
8<g.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():B(this);if(k){var b,c,d=this,e=function(){var b=a.prop(d,"buffered");if(b){for(var c="",e=0,f=b.length;e<f;e++)c+=b.end(e);return c}},f=function(){var b=e();b!=c&&(c=b,a(d).triggerHandler("progress"))};a(this).on({"play loadstart progress":function(a){"progress"==a.type&&(c=e());clearTimeout(b);b=setTimeout(f,999)},"emptied stalled mediaerror abort suspend":function(a){"emptied"==
|
39
|
+
a.type&&(c=!1);clearTimeout(b)}})}})})};f.track&&!n.track&&g.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(g.isReady("mediaelement-core",!0),m(),g.ready("WINDOWLOAD mediaelement",d)):g.ready(s,m);a(function(){g.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
|
40
|
+
(function(a){var f=window.Modernizr,g=a.webshims,k=g.bugs,r=a('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input required="" name="a" /></form>'),u=function(){if(r[0].querySelector)try{k.findRequired=!r[0].querySelector("select:required")}catch(a){k.findRequired=!1}},n=a("input",r).eq(0),s=function(a){g.loader.loadList(["dom-extend"]);g.ready("dom-extend",a)};k.findRequired=!1;k.validationMessage=!1;g.capturingEventPrevented=function(f){if(!f._isPolyfilled){var g=
|
41
|
+
f.isDefaultPrevented,m=f.preventDefault;f.preventDefault=function(){clearTimeout(a.data(f.target,f.type+"DefaultPrevented"));a.data(f.target,f.type+"DefaultPrevented",setTimeout(function(){a.removeData(f.target,f.type+"DefaultPrevented")},30));return m.apply(this,arguments)};f.isDefaultPrevented=function(){return!(!g.apply(this,arguments)&&!a.data(f.target,f.type+"DefaultPrevented"))};f._isPolyfilled=!0}};if(!f.formvalidation||k.bustedValidity)u();else{g.capturingEvents(["input"]);g.capturingEvents(["invalid"],
|
42
|
+
!0);if(window.opera||window.testGoodWithFix)r.appendTo("head"),u(),k.validationMessage=!n.prop("validationMessage"),g.reTest(["form-extend","form-message"]),r.remove(),a(function(){s(function(){var f=function(a){a.preventDefault()};["form","input","textarea","select"].forEach(function(i){var m=g.defineNodeNameProperty(i,"checkValidity",{prop:{value:function(){if(!g.fromSubmit)a(this).on("invalid.checkvalidity",f);g.fromCheckValidity=!0;var i=m.prop._supvalue.apply(this,arguments);g.fromSubmit||a(this).unbind("invalid.checkvalidity",
|
43
|
+
f);g.fromCheckValidity=!1;return i}}})})})});a.browser.webkit&&!g.bugs.bustedValidity&&function(){var f=/^(?:textarea|input)$/i,g=!1;document.addEventListener("contextmenu",function(a){f.test(a.target.nodeName||"")&&(g=a.target.form)&&setTimeout(function(){g=!1},1)},!1);a(window).on("invalid",function(a){if(a.originalEvent&&g&&g==a.target.form)a.wrongWebkitInvalid=!0,a.stopImmediatePropagation()})}()}})(jQuery);
|
44
|
+
jQuery.webshims.register("form-core",function(a,f,g,k,r,u){var n={radio:1},s={checkbox:1,radio:1},l=a([]),i=f.bugs,m=function(b){var b=a(b),c,d;c=l;if(n[b[0].type])d=b.prop("form"),c=(c=b[0].name)?d?a(d[c]):a(k.getElementsByName(c)).filter(function(){return!a.prop(this,"form")}):b,c=c.filter('[type="radio"]');return c},t=f.getContentValidationMessage=function(b,c,d){var e=a(b).data("errormessage")||b.getAttribute("x-moz-errormessage")||"";d&&e[d]&&(e=e[d]);"object"==typeof e&&(c=c||a.prop(b,"validity")||
|
45
|
+
{valid:1},c.valid||a.each(c,function(a,b){if(b&&"valid"!=a&&e[a])return e=e[a],!1}));if("object"==typeof e)e=e.defaultMessage;return e||""},h={number:1,range:1,date:1},z=function(b){var c=!1;a(a.prop(b,"elements")).each(function(){if(c=a(this).is(":invalid"))return!1});return c};a.extend(a.expr[":"],{"valid-element":function(b){return a.nodeName(b,"form")?!z(b):!(!a.prop(b,"willValidate")||!A(b))},"invalid-element":function(b){return a.nodeName(b,"form")?z(b):!(!a.prop(b,"willValidate")||A(b))},"required-element":function(b){return!(!a.prop(b,
|
46
|
+
"willValidate")||!a.prop(b,"required"))},"user-error":function(b){return a.prop(b,"willValidate")&&a(b).hasClass("user-error")},"optional-element":function(b){return!!(a.prop(b,"willValidate")&&!1===a.prop(b,"required"))},"in-range":function(b){if(!h[a.prop(b,"type")]||!a.prop(b,"willValidate"))return!1;b=a.prop(b,"validity");return!(!b||b.rangeOverflow||b.rangeUnderflow)},"out-of-range":function(b){if(!h[a.prop(b,"type")]||!a.prop(b,"willValidate"))return!1;b=a.prop(b,"validity");return!(!b||!b.rangeOverflow&&
|
47
|
+
!b.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(b){a.expr[":"][b]=a.expr.filters[b+"-element"]});a.expr[":"].focus=function(a){try{var c=a.ownerDocument;return a===c.activeElement&&(!c.hasFocus||c.hasFocus())}catch(d){}return!1};var x=a.event.customEvent||{},A=function(b){return(a.prop(b,"validity")||{valid:1}).valid};(i.bustedValidity||i.findRequired)&&function(){var b=a.find,c=a.find.matchesSelector,d=/(\:valid|\:invalid|\:optional|\:required|\:in-range|\:out-of-range)(?=[\s\[\~\.\+\>\:\#*]|$)/ig,
|
48
|
+
e=function(a){return a+"-element"};a.find=function(){var a=Array.prototype.slice,c=function(c){var f=arguments,f=a.call(f,1,f.length);f.unshift(c.replace(d,e));return b.apply(this,f)},f;for(f in b)b.hasOwnProperty(f)&&(c[f]=b[f]);return c}();if(!Modernizr.prefixed||Modernizr.prefixed("matchesSelector",k.documentElement))a.find.matchesSelector=function(a,b){b=b.replace(d,e);return c.call(this,a,b)}}();var E=a.prop,p={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};a.prop=function(b,c,f){var g=
|
49
|
+
E.apply(this,arguments);b&&"form"in b&&p[c]&&f!==r&&a(b).hasClass(e)&&A(b)&&(a(b).getShadowElement().removeClass(d),"checked"==c&&f&&m(b).not(b).removeClass(d).removeAttr("aria-invalid"));return g};var w=function(b,c){var d;a.each(b,function(b,e){if(e)return d="customError"==b?a.prop(c,"validationMessage"):b,!1});return d},y=function(a){var c;try{c=k.activeElement.name===a}catch(d){}return c},e="user-error",d="user-error form-ui-invalid";a(k).on(u.validityUIEvents||"focusout change refreshvalidityui",
|
50
|
+
function(b){var c,f;if(b.target&&(c=a(b.target).getNativeElement()[0],"submit"!=c.type&&a.prop(c,"willValidate"))){f=a.data(c,"webshimsswitchvalidityclass");var g=function(){if(!("focusout"==b.type&&"radio"==c.type&&y(c.name))){var f=a.prop(c,"validity"),g=a(c).getShadowElement(),j,h,l,i;a(c).trigger("refreshCustomValidityRules");f.valid?g.hasClass("user-success")||(j="user-success form-ui-valid",h=d,i="changedvaliditystate",l="changedvalid",s[c.type]&&c.checked&&m(c).not(c).removeClass(h).addClass(j).removeAttr("aria-invalid"),
|
51
|
+
a.removeData(c,"webshimsinvalidcause")):(f=w(f,c),a.data(c,"webshimsinvalidcause")!=f&&(a.data(c,"webshimsinvalidcause",f),i="changedvaliditystate"),g.hasClass(e)||(j=d,h="user-success form-ui-valid",s[c.type]&&!c.checked&&m(c).not(c).removeClass(h).addClass(j),l="changedinvalid"));j&&(g.addClass(j).removeClass(h),setTimeout(function(){a(c).trigger(l)},0));i&&setTimeout(function(){a(c).trigger(i)},0);a.removeData(b.target,"webshimsswitchvalidityclass")}};f&&clearTimeout(f);"refreshvalidityui"==b.type?
|
52
|
+
g():a.data(c,"webshimsswitchvalidityclass",setTimeout(g,9))}});x.changedvaliditystate=!0;x.refreshCustomValidityRules=!0;x.changedvalid=!0;x.changedinvalid=!0;x.refreshvalidityui=!0;f.triggerInlineForm=function(b,c){a(b).trigger(c)};f.modules["form-core"].getGroupElements=m;i=function(){f.scrollRoot=a.browser.webkit||"BackCompat"==k.compatMode?a(k.body):a(k.documentElement)};i();f.ready("DOM",i);f.getRelOffset=function(b,c){var b=a(b),d=a(c).offset(),e;a.swap(a(b)[0],{visibility:"hidden",display:"inline-block",
|
53
|
+
left:0,top:0},function(){e=b.offset()});d.top-=e.top;d.left-=e.left;return d};f.validityAlert=function(){var b=!a.browser.msie||7<parseInt(a.browser.version,10)?"span":"label",c,d=!1,e=!1,h,l={hideDelay:5E3,showFor:function(b,c,f,i){l._create();var b=a(b),m=a(b).getShadowElement(),k=l.getOffsetFromBody(m);l.clear();i?this.hide():(this.getMessage(b,c),this.position(m,k),this.show(),this.hideDelay&&(d=setTimeout(h,this.hideDelay)),a(g).on("resize.validityalert",function(){clearTimeout(e);e=setTimeout(function(){l.position(m)},
|
54
|
+
9)}));f||this.setFocus(m,k)},getOffsetFromBody:function(a){return f.getRelOffset(c,a)},setFocus:function(d,e){var g=a(d).getShadowFocusElement(),l=f.scrollRoot.scrollTop(),j=(e||g.offset()).top-30,i;f.getID&&"label"==b&&c.attr("for",f.getID(g));l>j&&(f.scrollRoot.animate({scrollTop:j-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(l-j)),80)}),i=!0);try{g[0].focus()}catch(m){}i&&(f.scrollRoot.scrollTop(l),setTimeout(function(){f.scrollRoot.scrollTop(l)},0));setTimeout(function(){a(k).on("focusout.validityalert",
|
55
|
+
h)},10)},getMessage:function(b,d){d||(d=t(b[0])||b.prop("validationMessage"));d?a("span.va-box",c).text(d):this.hide()},position:function(b,d){d=d?a.extend({},d):l.getOffsetFromBody(b);d.top+=b.outerHeight();c.css(d)},show:function(){"none"===c.css("display")&&c.css({opacity:0}).show();c.addClass("va-visible").fadeTo(400,1)},hide:function(){c.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(d);a(k).unbind(".validityalert");a(g).unbind(".validityalert");c.stop().removeAttr("for")},
|
56
|
+
_create:function(){if(!c)c=l.errorBubble=a("<"+b+' 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></'+b+">").css({position:"absolute",display:"none"}),f.ready("DOM",function(){c.appendTo("body");a.fn.bgIframe&&a.browser.msie&&7>parseInt(a.browser.version,10)&&c.bgIframe()})}};h=a.proxy(l,"hide");return l}();(function(){var b,c=[],f;a(k).on("invalid",function(g){if(!g.wrongWebkitInvalid){var h=
|
57
|
+
a(g.target),l=h.getShadowElement();l.hasClass(e)||(l.addClass(d).removeClass("user-success form-ui-valid"),setTimeout(function(){a(g.target).trigger("changedinvalid").trigger("changedvaliditystate")},0));if(!b)b=a.Event("firstinvalid"),b.isInvalidUIPrevented=g.isDefaultPrevented,l=a.Event("firstinvalidsystem"),a(k).triggerHandler(l,{element:g.target,form:g.target.form,isInvalidUIPrevented:g.isDefaultPrevented}),h.trigger(b);b&&b.isDefaultPrevented()&&g.preventDefault();c.push(g.target);g.extraData=
|
58
|
+
"fix";clearTimeout(f);f=setTimeout(function(){var d={type:"lastinvalid",cancelable:!1,invalidlist:a(c)};b=!1;c=[];a(g.target).trigger(d,d)},9);l=h=null}})})();a.fn.getErrorMessage=function(){var b="",c=this[0];c&&(b=t(c)||a.prop(c,"customValidationMessage")||a.prop(c,"validationMessage"));return b};u.replaceValidationUI&&f.ready("DOM forms",function(){a(k).on("firstinvalid",function(b){b.isInvalidUIPrevented()||(b.preventDefault(),a.webshims.validityAlert.showFor(b.target,a(b.target).prop("customValidationMessage")))})})});
|
59
|
+
jQuery.webshims.register("form-message",function(a,f,g,k,r,u){var n=f.validityMessages,g=u.overrideMessages||u.customMessages?["customValidationMessage"]:[];n.en=a.extend(!0,{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
|
60
|
+
stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}},n.en||n["en-US"]||{});["select","radio"].forEach(function(a){n.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){n.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date",
|
61
|
+
"time","datetime-local"].forEach(function(a){n.en.rangeOverflow[a]="Value must be at or before {%max}."});n["en-US"]=n["en-US"]||n.en;n[""]=n[""]||n["en-US"];n.de=a.extend(!0,{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
|
64
62
|
rangeOverflow:{defaultMessage:"{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen k\u00f6nnen."},stepMismatch:"Der Wert {%value} ist in diesem Feld nicht zul\u00e4ssig. Hier sind nur bestimmte Werte zul\u00e4ssig. {%title}",tooLong:"Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",patternMismatch:"{%value} hat f\u00fcr dieses Eingabefeld ein falsches Format! {%title}",valueMissing:{defaultMessage:"Bitte geben Sie einen Wert ein",
|
65
|
-
checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}},
|
66
|
-
var
|
67
|
-
|
68
|
-
"willValidate"))return
|
63
|
+
checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}},n.de||{});["select","radio"].forEach(function(a){n.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){n.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){n.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});
|
64
|
+
var s=n[""];f.createValidationMessage=function(g,i){var m=s[i];m&&"string"!==typeof m&&(m=m[a.prop(g,"type")]||m[(g.nodeName||"").toLowerCase()]||m.defaultMessage);m&&"value,min,max,title,maxlength,label".split(",").forEach(function(k){if(-1!==m.indexOf("{%"+k)){var h=("label"==k?a.trim(a('label[for="'+g.id+'"]',g.form).text()).replace(/\*$|:$/,""):a.attr(g,k))||"";"patternMismatch"==i&&"title"==k&&!h&&f.error("no title for patternMismatch provided. Always add a title attribute.");m=m.replace("{%"+
|
65
|
+
k+"}",h);"value"==k&&(m=m.replace("{%valueLen}",h.length))}});return m||""};(f.bugs.validationMessage||!Modernizr.formvalidation||f.bugs.bustedValidity)&&g.push("validationMessage");f.activeLang({langObj:n,module:"form-core",callback:function(a){s=a}});g.forEach(function(g){f.defineNodeNamesProperty(["fieldset","output","button"],g,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(i){var k=f.defineNodeNameProperty(i,g,{prop:{get:function(){var g=this,h="";if(!a.prop(g,
|
66
|
+
"willValidate"))return h;var i=a.prop(g,"validity")||{valid:1};if(i.valid||(h=f.getContentValidationMessage(g,i)))return h;if(i.customError&&g.nodeName&&(h=Modernizr.formvalidation&&!f.bugs.bustedValidity&&k.prop._supget?k.prop._supget.call(g):f.data(g,"customvalidationMessage")))return h;a.each(i,function(a,i){if("valid"!=a&&i&&(h=f.createValidationMessage(g,a)))return!1});return h||""},writeable:!1}})})})});
|