mu,net.ni,net.pl,net.sb,net.sc,nom.ni,off.ai,org.ag,org.aiorg.do,org.es,org.gl,org.kg,org.ki,org.lc,org.mg,org.ms,org.nf,org.ni,org.plorg.sb,org.sc".split(",");e=e.toLowerCase();var n=e.split("."),r=n.length;if(r<2)return e;var i=n.slice(-2).join(".");return r>=3&&o.inArray(i,t)>=0?n.slice(-3).join("."):i}function s(e,t){t!="localhost"&&!parseInt(t.split(".").slice(-1),null)&&(t=i(t));var n=0;for(var r=t.length-1;r>=0;r--)n+=t.charCodeAt(r)*41742681301;n=(""+n).substring(0,7);for(r=0;r<e.length;r++)if(n===e[r].substring(1,8))return 1}var o=t,u=e.conf,a=u.swf.indexOf("flowplayer.org")&&u.e&&n.data("origin"),f=a?r(a):location.hostname,l=u.key;location.protocol=="file:"&&(f="localhost"),e.load.ed=1,u.hostname=f,u.origin=a||location.href,a&&n.addClass("is-embedded"),typeof l=="string"&&(l=l.split(/,\s*/));if(l&&typeof s=="function"&&s(l,f))u.logo&&n.append(o("<a>",{"class":"fp-logo",href:a}).append(o("<img/>",{src:u.logo})));else{var c=o("<a/>").attr("href","http://flowplayer.org").appendTo(n),h=o(".fp-controls",n);e.bind("pause resume finish unload",function(t){/pause|resume/.test(t.type)&&e.engine!="flash"?(c.show().css({position:"absolute",left:16,bottom:36,zIndex:99999,width:100,height:20}),e.load.ed=c.is(":visible"),e.load.ed||e.pause()):c.hide()})}})}),define("plugins/jquery.hoverIntent",["require","jquery"],function(e){var t=e("jquery");(function(e){e.fn.hoverIntent=function(t,n,r){var i={interval:100,sensitivity:7,timeout:0};typeof t=="object"?i=e.extend(i,t):e.isFunction(n)?i=e.extend(i,{over:t,out:n,selector:r}):i=e.extend(i,{over:t,out:t,selector:n});var s,o,u,a,f=function(e){s=e.pageX,o=e.pageY},l=function(t,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);if(Math.abs(u-s)+Math.abs(a-o)<i.sensitivity)return e(n).off("mousemove.hoverIntent",f),n.hoverIntent_s=1,i.over.apply(n,[t]);u=s,a=o,n.hoverIntent_t=setTimeout(function(){l(t,n)},i.interval)},c=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,i.out.apply(t,[e])},h=function(t){var n=e.extend({},t),r=this;r.hoverIntent_t&&(r.hoverIntent_t=clearTimeout(r.hoverIntent_t)),t.type=="mouseenter"?(u=n.pageX,a=n.pageY,e(r).on("mousemove.hoverIntent",f),r.hoverIntent_s!=1&&(r.hoverIntent_t=setTimeout(function(){l(n,r)},i.interval))):(e(r).off("mousemove.hoverIntent",f),r.hoverIntent_s==1&&(r.hoverIntent_t=setTimeout(function(){c(n,r)},i.timeout)))};return this.on({"mouseenter.hoverIntent":h,"mouseleave.hoverIntent":h},i.selector)}})(t)}),define("plugins/jquery.viewport",["require","jquery"],function(e){var t=e("jquery");t.belowthefold=function(e,n){var r=t(window).height()+t(window).scrollTop();return r<=t(e).offset().top-n.threshold},t.abovethetop=function(e,n){var r=t(window).scrollTop();return r>=t(e).offset().top+t(e).height()-n.threshold},t.rightofscreen=function(e,n){var r=t(window).width()+t(window).scrollLeft();return r<=t(e).offset().left-n.threshold},t.leftofscreen=function(e,n){var r=t(window).scrollLeft();return r>=t(e).offset().left+t(e).width()-n.threshold},t.inviewport=function(e,n){var r=t(e),i=r.offset(),s=t(window),o=s.scrollTop(),u=n.threshold;if(i.top-u<o){if(!(i.top+r.height()+u>=o))return!1}else if(!(i.top-u<=o+s.height()))return!1;var a=s.scrollLeft();if(i.left-u<a){if(!(i.left+r.width()+u>=a))return!1}else if(!(i.left-u<=a+s.width()))return!1;return!0},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return t.abovethetop(e,{threshold:0})},"left-of-screen":function(e){return t.leftofscreen(e,{threshold:0})},"right-of-screen":function(e){return t.rightofscreen(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})}})}),define("plugins/jquery.scrollStop",["require","jquery"],function(e){var t=e("jquery"),n=t.event.special,r="D"+ +(new Date),i="D"+(+(new Date)+1);n.scrollstart={setup:function(){var e,i=function(r){var i=this,s=arguments;e?clearTimeout(e):(r.type="scrollstart",t.event.dispatch.apply(i,s)),e=setTimeout(function(){e=null},n.scrollstop.latency)};t(this).bind("scroll",i).data(r,i)},teardown:function(){t(this).unbind("scroll",t(this).data(r))}},n.scrollstop={latency:250,setup:function(){var e,r=function(r){var i=this,s=arguments;e&&clearTimeout(e),e=setTimeout(function(){e=null,r.type="scrollstop",t.event.dispatch.apply(i,s)},n.scrollstop.latency)};t(this).bind("scroll",r).data(i,r)},teardown:function(){t(this).unbind("scroll",t(this).data(i))}}}),define("plugins/index",["require","jquery","plugins/jquery.imagesloaded","plugins/jquery.infinitescroll","plugins/jquery.throttle-debounce","plugins/rAF","plugins/sony-iscroll","plugins/jquery.bez","plugins/jquery.hammer","plugins/jquery.flowplayer","plugins/jquery.hoverIntent","plugins/jquery.viewport","plugins/jquery.scrollStop"],function(e){var t=e("jquery");return{imagesLoaded:e("plugins/jquery.imagesloaded"),infiniteScroll:e("plugins/jquery.infinitescroll"),throttleDebounce:e("plugins/jquery.throttle-debounce"),rAF:e("plugins/rAF"),sonyIScroll:e("plugins/sony-iscroll"),bez:e("plugins/jquery.bez"),hammer:e("plugins/jquery.hammer"),flowplayer:e("plugins/jquery.flowplayer"),hoverIntent:e("plugins/jquery.hoverIntent"),viewport:e("plugins/jquery.viewport"),scrollStop:e("plugins/jquery.scrollStop")}}),define("require/sony-global-settings",["require","jquery","modernizr","plugins/index"],function(e){var t=e("jquery"),n=e("modernizr"),r=e("plugins/index").bez,i={},s=navigator.userAgent,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"};return i.$window=t(window),i.$document=t(document),i.$html=t(document.documentElement),i.$body=t(document.body),i.isIPhone=/iphone|ipod/gi.test(s),i.isIOS=/iphone|ipod|ipad/gi.test(s),i.isIPad=/ipad/gi.test(s),i.isAndroid=/android/gi.test(s),i.isPS3=/playstation 3/gi.test(s),i.isSonyTabletS=/sony tablet s/gi.test(s),i.isSonyTabletP=/sony tablet p/gi.test(s),i.isVita=/vita/gi.test(s),i.isGoogleTV=/GoogleTV/gi.test(s),i.isModern=i.$html.hasClass("modern"),i.isModern?i.isLTIE8=i.isLTIE9=i.isLTIE10=!1:(i.isLTIE8=i.$html.hasClass("lt-ie8"),i.isLTIE9=i.

Prev | Next
Pg.: 1 ... 16 17 18 19 20 21 22 23 24 25 26 ... 66


Back to home | File page

Subscribe | Register | Login | N