1window.matrix=new function(){var n=this,l={},s=!1,p=!1,t=!1,d=0,o=!1;return n.update_elements=function(){l={$nav_wrap:$(".top-nav-outer")},(s=0<l.$nav_wrap.length)&&(l.$nav_outer=$(".top-nav"),l.$nav_ul=l.$nav_outer.children("ul"),l.items=[],l.$nav_ul.children(":not(.waffle)").each(function(){var e=$(this);l.items.push({$item:e,matrixed:!1})}),l.$waffle=l.$nav_ul.children(".waffle").click(function(){return n.toggle_menu(),!1}),l.$waffle_a=l.$waffle.children("a"),l.$waffle_icon=l.$waffle.find(".waffle-icon"),l.$expand_outer=l.$nav_wrap.find(".expand-menu-outer"),0<l.$expand_outer.length?(l.$expand_inner=l.$expand_outer.children(".expand-menu"),l.$expand_ul=l.$expand_inner.children("ul")):(l.$expand_outer=$("<div />").addClass("expand-menu-outer").appendTo(l.$nav_outer).on("touchstart",function(e){e.stopPropagation()}),l.$expand_inner=$("<div />").addClass("expand-menu").appendTo(l.$expand_outer),l.$expand_ul=$("<ul />").appendTo(l.$expand_inner))),t=p=!1,d=0},n.refresh=function(){if(s){var e=$(".top-nav-outer").width();if(e!=d)if($(".header-inner").get(0)){if(d=e,p){for(var n in l.items)(i=l.items[n]).matrixed&&(i.$item.insertBefore(l.$waffle),i.matrixed=!1);l.$waffle.appendTo(l.$nav_ul)}l.$waffle.hide();function t(){return 0<a.position().left}var o=l.$nav_ul.get(0).offset_width<400||$(document.body).width()<400,a=l.$nav_ul.children().first();if(o||!t()){l.$waffle.show();for(var i,r=0,u=l.items.length-1;(o||!t())&&0<=u;)(i=l.items[u]).$item.appendTo(l.$expand_ul),i.matrixed=!0,r+=1,u--;0!=r?p=!0:l.$waffle.hide()}}}},n.show_menu=function(){n.toggle_menu(!0)},n.hide_menu=function(){n.toggle_menu(!1)},n.toggle_menu=function(e){l.$expand_outer.toggleClass("expanded",e)},n.add_global_events=function(){var e;o||(o=!0,$(document).click(function(e){t&&0==e.button&&(!$(e.target).is("a")&&0!=$(e.target).closest(".expand-menu").length||n.hide_menu())}),$(window).on("resize",function(){clearTimeout(e),e=setTimeout(function(){n.refresh()},100)}))},n.init=function(){n.add_global_events(),n.update_elements(),n.refresh()},n};var matrix_window_loaded=!1;function chars_left(e,n){var t=$(e),e=n-t.val().length;e<0&&(t.val(t.val().substr(0,n)),e=0),t.next(".characters-left").find("span").text(e)}$(function(){matrix.init(),matrix.refresh();function e(){matrix_window_loaded||setTimeout(function(){matrix.refresh(),e()},100)}e()}),$(window).on("load resize",function(){matrix_window_loaded=!0,matrix.refresh()}),window.popup_manager=function(){var i=[];return{show:function(e,n,t){return o=e,a=n,t=(t=t)||"popup",void $.get("/"+t+"/"+o,function(e){var n,t=$(document.body);e&&!t.hasClass("preview-lock")?((n=$('<div class="popup-container popup-container-'+o+'" />').attr("data-id",o)).html(e),t.append(n).addClass("has-popup"),i.push(n),a&&a(n)):a&&a()});var o,a},close:function(e){return function(e){var n,t=[];for(n in i)i[n].attr("data-id")==e&&t.push(n);for(n in t=t.reverse()){var o=t[n];i[o].remove(),i.splice(o,1)}0==i.length&&$(document.body).removeClass("has-popup")}(e),this},close_top:function(){var e;return 0<i.length&&(e=i.length-1,i[e].remove(),i.splice(e,1),0==i.length&&$(document.body).removeClass("has-popup")),this},close_all:function(){return function(){for(var e in i)i[e].remove();i=[],$(document.body).removeClass("has-popup")}(),this}}}(),window.popup_open=function(e){popup_manager.show(e)},window.popup_close_all=function(){popup_manager.close_all()},window.popup_close=function(e){popup_manager.close_top()}
1,$(function(){$(".show-popup-open").each(function(){var e=$(this);setTimeout(function(){popup_manager.show(e.attr("data-popup-id"),null,e.attr("data-popup-type"))},parseInt(1e3*e.attr("data-popup-delay")))})}),window.post_comment=function(e,n){n&&(selected+="-"+n),$(".add-comment-"+e).toggle()},$(function(){var e,n;$('[type="reset"]').click(function(e){e.preventDefault(),$("body").append('<div class="dialog" style="display: none;">Are you sure you want to clear this form?</div>'),$dialog=$(".dialog"),$dialog.dialog({title:"Reset Form",modal:!0,resizable:!1,buttons:{No:function(){$(this).dialog("close")},Yes:function(){$(this).dialog("close"),$(".contactform").each(function(){this.reset()})}},close:function(){$dialog.remove()}})}),$("#accept_cookies").click(function(){return $.get("/accept_cookies"),$("#cookie_alert").remove(),!1}),0<$(".shopbar-full").length&&(e=$(".shopbar-full form"),n=$('input[name="search"]'),$('select[name="category"],select[name="subcategory"]').change(function(){n.val(""),e.submit()}),$('select[name="sort"]').change(function(){e.submit()})),$(".side-nav-arrow").click(function(){$(this).parent().toggleClass("side-nav-expanded")});
1function t(){$(".side-nav-outer").each(function(){var e=$(this),n=$("#main"),t=e.offset().top-n.offset().top;n.css({"min-height":Math.ceil(t+e.outerHeight())})})}t(),$(window).on("load resize",function(){t()})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.