offsetWidth===42,r.removeChild(s),{matches:e,media:t}}},P=function(){var t=e.matchMedia||e.msMatchMedia,n=e.document.documentElement,r=n.clientWidth,i=e.innerWidth;return t&&r<i&&!0===t("(min-width:"+i+"px)").matches?e.innerWidth:n.clientWidth},H=function(){return g<=P()},B=function(){H()?L():(o.removeClass("unav-open unav-open-until-transition-end"),s.css("margin-top",""))};return{init:N}}(window,document,t);t(function(){t("#universal-nav").length&&n.init(t("#nav-li-link-universal"),t("#page-wrap-inner"),t("#page-wrap-outer"),768)})}),define("modules/header/index",["require","modules/header/module","login","modules/header/cart.module","modules/header/universal.nav"],function(e){var t=e("modules/header/module"),n=e("login"),r=e("modules/header/cart.module"),i=e("modules/header/universal.nav");return n.init(t.init),r.init(),{GlobalHeaderFooter:t,LoginModule:n}}),define("modules/footnotes/module",["require","jquery","require/sony-global-router"],function(e){var t=e("jquery"),n=e("require/sony-global-router");n.init();var r={init:function(){t(".footnotes-wrapper").each(function(){new i(this)})}},i=function(e){var n=this;n.$el=t(e),n.init()};return i.prototype={constructor:i,init:function(){var e=this;e.renderDesktop(),n.on("footnotes(/:a)",t.proxy(e.onRouteMatch,e))},renderDesktop:function(){var e=this;e.$el.on("click","h2",function(){e.$el.hasClass("open")?e.closeNav():e.openNav()})},openNav:function(){var e=this;e.$el.addClass("open").find(".list").slideDown(200)},closeNav:function(){var e=this;e.$el.removeClass("open").find(".list").slideUp(200)},onRouteMatch:function(e){var n=this,r=n.$el.find("li"),i;n.openNav();if(!e||e>r.length)e=1;i=r.eq(e-1).offset().top,t(window).scrollTop(i-200)}},r}),define("modules/footnotes/footnoteModule",["require","jquery"],function(e){function s(){return t(t(r).find("li .note"))}function o(e,n){for(var r=0;r<n.length;r++)if(t(n[r]).text().toLowerCase()==e.toLowerCase())return r+1;return-1}var t=e("jquery"),n="in_context",r,i=function(e,i){var u=s(),a=o(e,u);if(i===n&&a!=-1)return a;var f=t(r).find(".list ol"),l=u.length+1;return f.append(t("<li>").addClass("p3").append(t("<a>").attr("name","fn-"+l)).append(t("<span>").addClass("num").html(l)).append(t("<span>").addClass("note").addClass(i).text(e))),t(r).show(),l},u=function(){return s().length},a=function(e){t(r).hasClass("open")||t(r).addClass("open").find(".list").slideDown(200);if(e!==undefined){var n=t(e.target).attr("name");t("html, body").animate({scrollTop:t("a[name=fn-"+n+"]").offset().top},0),e.preventDefault(),e.stopPropagation()}},f=function(){var e=[];return t(r).find("li .note:not(.in_context)").each(function(){e.push(t(this).text())}),e},l=function(){t(r).find("li").each(function(){t(this).remove()})},c=function(){u()==0&&(t(r).find("li").remove(),t(r).hide())},h=function(){return r.length>0},p=function(e){r=t(e)};return p.prototype={clearFootnotes:l,getFootnotes:f,appendFootNote:i,getFootnoteNumber:u,removeFootNoteModule:c,openFootnoteSection:a,modulePresent:h},p}),define("modules/footnotes/moduleFootnoteHandler",["jquery","modules/footnotes/footnoteModule"],function(e,t){var n,r,i=function(){var e=r.data("footnote"),t=n.appendFootNote(e,"in_context"),i="<a name='"+t+"' href='javascript:void(0)' style='display:inline !important;'>"+t+"</a>";r.empty().append(i),r.children(":first").click(n.openFootnoteSection),r.addClass("footNoteNumber_done")},s=function(i,s){r=e(i),n=new t(s)};return s.prototype={numberFootnote:i},s}),define("modules/footnotes/pageFootnoteHandler",["jquery","modules/footnotes/moduleFootnoteHandler","modules/footnotes/footnoteModule"],function(e,t,n){var r,i,s=function(){var t=[];return i.find(".footNoteNumber").each(function(){t.push(e(this).text())}),t},o=function(){if(r.modulePresent()){var n=r.getFootnotes();r.clearFootnotes();var s=e(i.find(".footnotes-wrapper")).first();e(i.find(".footNoteNumber")).each(function(n,r){e(r).parents(".off-screen").length==0&&(new t(e(r),s)).numberFootnote()}),e.each(n,function(e,t){r.appendFootNote(t)}),u(),r.removeFootNoteModule()}},u=function(){var t=e(i.find("#footnotes")).data("pricingFootnote");t!=null&&a()&&r.appendFootNote(t,"in_context"),e(i.find("#footnotes")).removeAttr("data-pricing-footnote")},a=function(){return e(i.find(".product-price .price")).length||e(i.find(".price-content .price")).length},f=function(t){i=e(t),r=new n(e(t).find(".footnotes-wrapper").first())};return f.prototype={numberStaticFootnotes:o,getStaticFootnotes:s},f}),define("modules/footnotes/index",["require","modules/footnotes/module","modules/footnotes/pageFootnoteHandler"],function(e){var t=e("modules/footnotes/module"),n=e("modules/footnotes/pageFootnoteHandler");return t.init(),(new n(document)).numberStaticFootnotes(),{FootnotesModule:t}}),define("secondary/jquery.shuffle",["require","jquery","modernizr"],function(e){var t=e("jquery"),n=e("modernizr");t.fn.sorted=function(e){var n=t.extend({},t.fn.sorted.defaults,e),r=this.get(),i=!1;return r.length?n.randomize?t.fn.sorted.randomize(r):(n.by!==t.noop&&n.by!==null&&n.by!==undefined&&r.sort(function(e,r){if(i)return 0;var s=n.by(t(e)),o=n.by(t(r));return s===undefined&&o===undefined?(i=!0,0):s==="sortFirst"||o==="sortLast"?-1:s==="sortLast"||o==="sortFirst"?1:s<o?-1:s>o?1:0}),i?this.get():(n.reverse&&r.reverse(),r)):[]},t.fn.sorted.defaults={reverse:!1,by:null,randomize:!1},t.fn.sorted.randomize=function(e){var t=e.length,n,r;if(!t)return e;while(--t)r=Math.floor(Math.random()*(t+1)),n=e[r],e[r]=e[t],e[t]=n;return e};var r=function(e,n){var r=this;t.extend(r,t.fn.shuffle.options,n,t.fn.shuffle.settings),r.$container=e.addClass("shuffle"),r.$window=t(window),r.unique="shuffle_"+t.now(),r.fire("loading"),r._init(),r.fire("done")};r.prototype={constructor:r,_init:function(){var e=this,n,r,i,s,o,u;e.$items=e._getItems().addClass("shuffle-item filtered"),e.transitionName=e.prefixed("transition"),e.transitionDelayName=e.prefixed("transitionDelay"),e.transitionDuration=e.prefixed("transitionDuration"),e.transform=e.getPrefixed("transform"),e.isFluid=e.columnWidth&&typeof e.columnWidth=="function",r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},e.

Prev | Next
Pg.: 1 ... 30 31 32 33 34 35 36 37 38 39 40 ... 66


Back to home | File page

Subscribe | Register | Login | N