lib/resources/assets/revealjs-redhat/lib/js/head.min.js in hyla-1.0.7.pre.6 vs lib/resources/assets/revealjs-redhat/lib/js/head.min.js in hyla-1.0.7.pre.7
- old
+ new
@@ -1,15 +1,30 @@
-!function(n){function t(){p||(p=!0,u(y,function(n){f(n)}))}function e(t,e){var a=n.createElement("script");a.type="text/"+(t.type||"javascript"),a.src=t.src||t,a.async=!1,a.onreadystatechange=a.onload=function(){var n=a.readyState;!e.done&&(!n||/loaded|complete/.test(n))&&(e.done=!0,e())},(n.body||v).appendChild(a)}function a(n,t){return n.state==O?t&&t():n.state==b?E.ready(n.name,t):n.state==S?n.onpreload.push(function(){a(n,t)}):(n.state=b,void e(n.url,function(){n.state=O,t&&t(),u(h[n.name],function(n){f(n)}),c()&&p&&u(h.ALL,function(n){f(n)})}))}function o(n){void 0===n.state&&(n.state=S,n.onpreload=[],e({src:n.url,type:"cache"},function(){r(n)}))}function r(n){n.state=j,u(n.onpreload,function(n){n.call()})}function c(n){n=n||w;var t;for(var e in n){if(n.hasOwnProperty(e)&&n[e].state!=O)return!1;t=!0}return t}function i(n){return"[object Function]"==Object.prototype.toString.call(n)}function u(n,t){if(n){"object"==typeof n&&(n=[].slice.call(n));for(var e=0;e<n.length;e++)t.call(n,n[e],e)}}function d(n){var t;if("object"==typeof n)for(var e in n)n[e]&&(t={name:e,url:n[e]});else t={name:l(n),url:n};var a=w[t.name];return a&&a.url===t.url?a:(w[t.name]=t,t)}function l(n){var t=n.split("/"),e=t[t.length-1],a=e.indexOf("?");return-1!=a?e.substring(0,a):e}function f(n){n._done||(n(),n._done=1)}var s,p,v=n.documentElement,y=[],m=[],h={},w={},L=n.createElement("script").async===!0||"MozAppearance"in n.documentElement.style||window.opera,g=window.head_conf&&head_conf.head||"head",E=window[g]=window[g]||function(){E.ready.apply(null,arguments)},j=1,S=2,b=3,O=4;if(E.js=L?function(){var n=arguments,t=n[n.length-1],e={};return i(t)||(t=null),u(n,function(o,r){o!=t&&(o=d(o),e[o.name]=o,a(o,t&&r==n.length-2?function(){c(e)&&f(t)}:null))}),E}:function(){var n=arguments,t=[].slice.call(n,1),e=t[0];return s?(e?(u(t,function(n){i(n)||o(d(n))}),a(d(n[0]),i(e)?e:function(){E.js.apply(null,t)})):a(d(n[0])),E):(m.push(function(){E.js.apply(null,n)}),E)},E.ready=function(t,e){if(t==n)return p?f(e):y.push(e),E;if(i(t)&&(e=t,t="ALL"),"string"!=typeof t||!i(e))return E;var a=w[t];if(a&&a.state==O||"ALL"==t&&c()&&p)return f(e),E;var o=h[t];return o?o.push(e):o=h[t]=[e],E},E.ready(n,function(){c()&&u(h.ALL,function(n){f(n)}),E.feature&&E.feature("domloaded",!0)}),window.addEventListener)n.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1);else if(window.attachEvent){n.attachEvent("onreadystatechange",function(){"complete"===n.readyState&&t()});var A=1;try{A=window.frameElement}catch(C){}!A&&v.doScroll&&function(){try{v.doScroll("left"),t()}catch(n){return void setTimeout(arguments.callee,1)}}(),window.attachEvent("onload",t)}!n.readyState&&n.addEventListener&&(n.readyState="loading",n.addEventListener("DOMContentLoaded",handler=function(){n.removeEventListener("DOMContentLoaded",handler,!1),n.readyState="complete"},!1)),setTimeout(function(){s=!0,u(m,function(n){n()})},300)}(document);
+(function(a){function z(){d||(d=!0,s(e,function(a){p(a)}))}
+function y(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.async=!1,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.done=!0,d())},(a.body||b).appendChild(e)}
+function x(a,b){if(a.state==o)return b&&b();if(a.state==n)return k.ready(a.name,b);if(a.state==m)return a.onpreload.push(function(){x(a,b)});a.state=n,y(a.url,function(){a.state=o,b&&b(),s(g[a.name],function(a){p(a)}),u()&&d&&s(g.ALL,function(a){p(a)})})}
+function w(a,b){a.state===undefined&&(a.state=m,a.onpreload=[],y({src:a.url,type:"cache"},function(){v(a)}))}
+function v(a){a.state=l,s(a.onpreload,function(a){a.call()})}
+function u(a){a=a||h;var b;for(var c in a){if(a.hasOwnProperty(c)&&a[c].state!=o)return!1;b=!0}
+return b}
+function t(a){return Object.prototype.toString.call(a)=="[object Function]"}
+function s(a,b){if(!!a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c<a.length;c++)b.call(a,a[c],c)}}
+function r(a){var b;if(typeof a=="object")for(var c in a)a[c]&&(b={name:c,url:a[c]});else b={name:q(a),url:a};var d=h[b.name];if(d&&d.url===b.url)return d;h[b.name]=b;return b}
+function q(a){var b=a.split("/"),c=b[b.length-1],d=c.indexOf("?");return d!=-1?c.substring(0,d):c}
+function p(a){a._done||(a(),a._done=1)}
+var b=a.documentElement,c,d,e=[],f=[],g={},h={},i=a.createElement("script").async===!0||"MozAppearance"in a.documentElement.style||window.opera,j=window.head_conf&&head_conf.head||"head",k=window[j]=window[j]||function(){k.ready.apply(null,arguments)},l=1,m=2,n=3,o=4;i?k.js=function(){var a=arguments,b=a[a.length-1],c={};t(b)||(b=null),s(a,function(d,e){d!=b&&(d=r(d),c[d.name]=d,x(d,b&&e==a.length-2?function(){u(c)&&p(b)}:null))});return k}:k.js=function(){var a=arguments,b=[].slice.call(a,1),d=b[0];if(!c){f.push(function(){k.js.apply(null,a)});return k}
+d?(s(b,function(a){t(a)||w(r(a))}),x(r(a[0]),t(d)?d:function(){k.js.apply(null,b)})):x(r(a[0]));return k},k.ready=function(b,c){if(b==a){d?p(c):e.push(c);return k}
+t(b)&&(c=b,b="ALL");if(typeof b!="string"||!t(c))return k;var f=h[b];if(f&&f.state==o||b=="ALL"&&u()&&d){p(c);return k}
+var i=g[b];i?i.push(c):i=g[b]=[c];return k},k.ready(a,function(){u()&&s(g.ALL,function(a){p(a)}),k.feature&&k.feature("domloaded",!0)});if(window.addEventListener)a.addEventListener("DOMContentLoaded",z,!1),window.addEventListener("load",z,!1);else if(window.attachEvent){a.attachEvent("onreadystatechange",function(){a.readyState==="complete"&&z()});var A=1;try{A=window.frameElement}catch(B){}!A&&b.doScroll&&function(){try{b.doScroll("left"),z()}catch(a){setTimeout(arguments.callee,1);return}}(),window.attachEvent("onload",z)}!a.readyState&&a.addEventListener&&(a.readyState="loading",a.addEventListener("DOMContentLoaded",handler=function(){a.removeEventListener("DOMContentLoaded",handler,!1),a.readyState="complete"},!1)),setTimeout(function(){c=!0,s(f,function(a){a()})},300)})(document)
\ No newline at end of file