|
@@ -360,7 +360,7 @@ k;f++)if(g=C[f],g.src===a&&(g.Mu()||c))return g.tag=b,g;a=this.Nj(a,c);if(!a.ca)
|
|
|
b,c,e,d){!P&&(e=v(e),I=this.Oj(this.b.rh+b.toLowerCase()+(S?".ogg":".m4a"),d,1===a,0!==c,e))&&(I.Pk(!1),I.play(0!==c,e,0,this.pk),this.pk=0)};J.prototype.Nt=function(a){if(!P){var b=a[1];a=this.b.rh+a[0]+(S?".ogg":".m4a");3===D?this.b.pb?AppMobi.context.loadSound(a):AppMobi.player.loadSound(a):2!==D&&this.Oj(a,"<preload>",b,!1)}};J.prototype.eu=function(a,b){W(a);0>b&&(b=0);var c,e;c=0;for(e=ra.length;c<e;c++)ra[c].vy(b)};J.prototype.Fo=function(a){W(a);var b;a=0;for(b=ra.length;a<b;a++)ra[a].stop()};
|
|
|
J.prototype.pu=function(){var a,b;a=0;for(b=C.length;a<b;a++)C[a].stop()};J.prototype.du=function(a,b){W(a);var c,e;c=0;for(e=ra.length;c<e;c++)0===b?ra[c].pause():ra[c].mr()};M.e=new J;M.g=new function(){}})();function vc(h){this.b=h}
|
|
|
(function(){function h(){b&&d&&window.OfflineClientInfo&&window.OfflineClientInfo.SetMessageCallback(function(a){l.Jx(a)})}function r(){}function p(){}function t(a){console&&console.warn&&console.warn("Fullscreen request failed: ",a);f.setSize(window.innerWidth,window.innerHeight)}function v(){}var n=vc.prototype;n.W=function(a){this.X=a;this.b=a.b};var g=n.W.prototype;g.D=function(){};var b=!1,d=!1;document.addEventListener("DOMContentLoaded",function(){if(window.C2_RegisterSW&&navigator.serviceWorker){var a=
|
|
|
-document.createElement("script");a.onload=function(){b=!0;h()};a.src="js/offlineClient.js";document.head.appendChild(a)}});var l=null;g.Oq=function(){d=!0;h()};n.S=function(a){this.type=a;this.b=a.b};g=n.S.prototype;g.D=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(vc.prototype.c.Bt,a)});l=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(vc.prototype.c.yt,a)}),window.addEventListener("offline",function(){a.b.trigger(vc.prototype.c.wt,
|
|
|
+document.createElement("script");a.onload=function(){b=!0;h()};a.src="offlineClient.js";document.head.appendChild(a)}});var l=null;g.Oq=function(){d=!0;h()};n.S=function(a){this.type=a;this.b=a.b};g=n.S.prototype;g.D=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(vc.prototype.c.Bt,a)});l=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(vc.prototype.c.yt,a)}),window.addEventListener("offline",function(){a.b.trigger(vc.prototype.c.wt,
|
|
|
a)}));this.b.pb||(document.addEventListener("appMobi.device.update.available",function(){a.b.trigger(vc.prototype.c.Wi,a)}),document.addEventListener("backbutton",function(){a.b.trigger(vc.prototype.c.Ri,a)}),document.addEventListener("menubutton",function(){a.b.trigger(vc.prototype.c.vo,a)}),document.addEventListener("searchbutton",function(){a.b.trigger(vc.prototype.c.Ct,a)}),document.addEventListener("tizenhwkey",function(b){var c;switch(b.keyName){case "back":c=a.b.trigger(vc.prototype.c.Ri,a);
|
|
|
!c&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(c=a.b.trigger(vc.prototype.c.vo,a))||b.preventDefault()}}));this.b.$j&&"undefined"!==typeof Windows?Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener("backrequested",function(b){a.b.trigger(vc.prototype.c.Ri,a)&&(b.handled=!0)}):this.b.Qp&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!a.b.trigger(vc.prototype.c.Ri,a)});this.b.No(function(b){b?a.b.trigger(vc.prototype.c.zt,
|
|
|
a):a.b.trigger(vc.prototype.c.At,a)})};g.Jx=function(a){a=a.data.type;"downloading-update"===a?this.b.trigger(vc.prototype.c.Ao,this):"update-ready"===a||"update-pending"===a?this.b.trigger(vc.prototype.c.Wi,this):"offline-ready"===a&&this.b.trigger(vc.prototype.c.xt,this)};r.prototype.yt=function(){return!0};r.prototype.wt=function(){return!0};r.prototype.Wi=function(){return!0};r.prototype.At=function(){return!0};r.prototype.zt=function(){return!0};r.prototype.Bt=function(){return!0};r.prototype.Ri=
|