1Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n!=1)); }, 'strings': {"":{"An AJAX HTTP error occurred.":"\u05ea\u05e7\u05dc\u05ea AJAX HTTP \u05e7\u05e8\u05ea\u05d4.","HTTP Result Code: !status":"\u05e7\u05d5\u05d3 \u05ea\u05d5\u05e6\u05d0\u05ea HTTP: !status","An AJAX HTTP request terminated abnormally.":"\u05d1\u05e7\u05e9\u05ea AJAX HTTP \u05d4\u05d5\u05e4\u05e1\u05e7\u05d4 \u05d1\u05d8\u05e8\u05dd \u05e2\u05ea.","Debugging information follows.":"\u05de\u05d9\u05d3\u05e2 \u05dc\u05e0\u05d9\u05e4\u05d5\u05d9 \u05e9\u05d2\u05d9\u05d0\u05d5\u05ea \u05de\u05d5\u05e6\u05d2 \u05dc\u05d4\u05dc\u05df.","Path: !uri":"\u05e0\u05ea\u05d9\u05d1: !uri","StatusText: !statusText":"\u05d8\u05e7\u05e1\u05d8 \u05e1\u05d8\u05d8\u05d5\u05e1: !statusText","ResponseText: !responseText":"\u05d8\u05e7\u05e1\u05d8 \u05ea\u05d2\u05d5\u05d1\u05d4: !responseText","ReadyState: !readyState":"\u05de\u05e6\u05d1 \u05de\u05d5\u05db\u05e0\u05d5\u05ea: !readyState","All":"\u05d4\u05db\u05dc","Configure":"\u05d4\u05d2\u05d3\u05e8","Re-order rows by numerical weight instead of dragging.":"\u05e1\u05d3\u05e8 \u05de\u05d7\u05d3\u05e9 \u05e9\u05d5\u05e8\u05d5\u05ea \u05e2\u05e4\u0022\u05d9 \u05d7\u05e9\u05d9\u05d1\u05d5\u05ea \u05de\u05e1\u05e4\u05e8\u
105d9\u05ea \u05d1\u05de\u05e7\u05d5\u05dd \u05d2\u05e8\u05d9\u05e8\u05d4.","Show row weights":"\u05d4\u05e6\u05d2 \u05de\u05e9\u05e7\u05dc\u05d9 \u05e9\u05d5\u05e8\u05d5\u05ea","Hide row weights":"\u05d4\u05e1\u05ea\u05e8 \u05de\u05e9\u05e7\u05dc\u05d9 \u05e9\u05d5\u05e8\u05d5\u05ea","Drag to re-order":"\u05d2\u05e8\u05d5\u05e8 \u05dc\u05e1\u05d9\u05d3\u05d5\u05e8","Changes made in this table will not be saved until the form is submitted.":"\u05e9\u05d9\u05e0\u05d5\u05d9\u05d9\u05dd \u05d1\u05d8\u05d1\u05dc\u05d4 \u05d6\u05d5 \u05dc\u05d0 \u05d9\u05e9\u05de\u05e8\u05d5 \u05e2\u05d3 \u05dc\u05e9\u05dc\u05d9\u05d7\u05ea \u05d4\u05d8\u05d5\u05e4\u05e1.","Hide":"\u05d4\u05e1\u05ea\u05e8\u05d4","Show":"\u05d4\u05e6\u05d2","Disabled":"\u05de\u05d1\u05d5\u05d8\u05dc","Enabled":"\u05d6\u05de\u05d9\u05df","Edit":"\u05e2\u05e8\u05d9\u05db\u05d4","Search":"\u05d7\u05d9\u05e4\u05d5\u05e9","Add":"\u05d4\u05d5\u05e1\u05e3","Menu":"\u05ea\u05e4\u05e8\u05d9\u05d8","Upload":"\u05d4\u05e2\u05dc\u05d0\u05d4","This field is required.":"\u05d7\u05d5\u05d1\u05d4 \u05dc\u05de\u05dc\u05d0 \u05e9\u05d3\u05d4 \u05d6\u05d4.","Select all rows in this table":"\u05d1\u05d7\u05e8 \u05d0\u05ea \u05db\u05dc \u05d4\u05e9\u05d5\u05e8\u05d5\u05ea \u05d1\u05d8\u05d1\u05dc\u05d4","Deselect all rows in this table":"\u05d1\u05d8\u05dc \u05d1\u05d7\u05d9\u05e8\u05ea \u05db\u05dc \u05d4\u05e9\u05d5\u05e8\u05d5\u05ea \u05d1\u05d8\u05d1\u05dc\u05d4","Not published":"\u05d8\u05e8\u05dd \u05e4\u05d5\u05e8\u05e1\u05dd","Shortcuts":"\u05e7\u05d9\u05e6\u05d5\u05e8\u05d9\u05dd","Please wait...":"\u05d4\u05de\u05ea\u05df \u05d1\u05d1\u05e7\u05e9\u05d4...","Only files with the following extensions are allowed: %files-allowed.":"\u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05e8\u05e7 \u05d1\u05e7\u05d1\u05e6\u05d9\u05dd \u05d1\u05e2\u05dc\u05d9 \u05d4\u05e1\u05d9\u05d5\u05de\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea: %files-allowed.","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"\u05d4\u05e9\u05d9\u05e0\u05d5\u05d9\u05d9\u05dd \u05dc\u05d1\u05dc\u05d5\u05e7\u05d9\u05dd \u05d0\u05dc\u05d5 \u05dc\u05d0 \u05d9\u05e9\u05de\u05e8\u05d5 \u05e2\u05d3 \u05dc\u05dc\u05d7\u05d9\u05e6\u05d4 \u05e2\u05dc \u05db\u05e4\u05ea\u05d5\u05e8 \u003Cem\u003E\u05e9\u05de\u05d5\u05e8 \u05d1\u05dc\u05d5\u05e7\u05d9\u05dd\u003C\/em\u003E.","(active tab)":"(\u05dc\u05e9\u05d5\u05e0\u05d9\u05ea \u05e4\u05e2\u05d9\u05dc\u05d4)","Not customizable":"\u05d0\u05d9\u05e0\u05d5 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05ea\u05d0\u05de\u05d4 \u05d0\u05d9\u05e9\u05d9\u05ea","Searching for matches...":"\u05de\u05d7\u05e4\u05e9 \u05e2\u05d1\u05d5\u05e8 \u05ea\u05d0\u05d9\u05de\u05d5\u05d9\u05d5\u05ea...","Close":"\u05e1\u05d2\u05d5\u05e8"}} };; 2/*! 3 Colorbox 1.6.4 4 license: MIT 5 http://www.jacklmoore.com/colorbox 6*/ 7(function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("
7className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHe
vendor: 3,812 bytes, line 7
7ight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHe
7ight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);; 8/** 9 * @file 10 * Colorbox module init js. 11 */ 12 13(function ($) { 14 15Drupal.behaviors.initColorbox = { 16 attach: function (context, settings) { 17 if (!$.isFunction($.colorbox) || typeof settings.colorbox === 'undefined') { 18 return; 19 } 20 21 if (settings.colorbox.mobiledetect && window.matchMedia) { 22 // Disable Colorbox for small screens. 23 var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")"); 24 if (mq.matches) { 25 return; 26 } 27 } 28 29 // Use "data-colorbox-gallery" if set otherwise use "rel". 30 settings.colorbox.rel = function () { 31 if ($(this).data('colorbox-gallery')) { 32 return $(this).data('colorbox-gallery'); 33 } 34 else { 35 return $(this).attr('rel'); 36 } 37 }; 38 39 $('.colorbox', context) 40 .once('init-colorbox') 41 .colorbox(settings.colorbox); 42 43 $(context).bind('cbox_complete', function () { 44 Drupal.attachBehaviors('#cboxLoadedContent'); 45 }); 46 } 47}; 48 49})(jQuery); 50; 51/** 52 * @file 53 * Colorbox module style js. 54 */ 55 56(function ($) { 57 58Drupal.behaviors.initColorboxDefaultStyle = { 59 attach: function (context, settings) { 60 $(context).bind('cbox_complete', function () { 61 // Only run if there is a title. 62 if ($('#cboxTitle:empty', context).length == false) { 63 $('#cboxLoadedContent img', context).bind('mouseover', function () { 64 $('#cboxTitle', context).slideDown(); 65 }); 66 $('#cboxOverlay', context).bind('mouseover', function () { 67 $('#cboxTitle', context).slideUp(); 68 }); 69 } 70 else { 71 $('#cboxTitle', context).hide(); 72 } 73 }); 74 } 75}; 76 77})(jQuery); 78; 79jQuery(document).ready(function ($) { 80 81 var port_width = $( window ).width(); 82 83 //******************************/ 84 //******* SLIDER **********/ 85 //******************************/ 86 if(port_width <= 580) { 87 $('html[dir="ltr"] .our-activity .container').slick({ 88 dots: false, 89 speed: 300, 90 infinite: true, 91 slidesToScroll: 1, 92 slidesToShow: 1, 93 autoplay: true, 94 autoplaySpeed: 8000, 95 }); 96 $('html[dir="rtl"] .our-activity .container').slick({ 97 dots: false, 98 speed: 300, 99 infinite: true, 100 slidesToScroll: 1, 101 slidesToShow: 1, 102 autoplay: true, 103 autoplaySpeed: 8000, 104 rtl: true 105 }); 106 } 107 108}); 109 110 111; 112(function($) { 113Drupal.nagish = Drupal.nagish || {}; 114 115Drupal.behaviors.nagishZoomIn = { 116 attach: function(context, settings) { 117 var currentSize = Drupal.nagish.getSetting('nagish_zoom') || 0; 118 $("body").removeClass (function (index, css) { 119 return (css.match (/(^|\s)nagish-zoom-\S+/g) || []).join(' '); 120 }).addClass('nagish-zoom-' + currentSize); 121 122 $('*[data-nagish="zoom"]', context).bind('click', function(e) { 123 e.preventDefault(); 124 125 Drupal.nagish.active($(this), 'nagish-zoom'); 126 127 if($(this).data('nagish_zoom_behaviors') == 'in') { 128 currentSize++; 129 } 130 if($(this).data('nagish_zoom_behaviors') == 'out') { 131 currentSize--; 132 } 133 134 if (currentSize > 10) { 135 currentSize = 10; 136 } 137 if (currentSize < -10) { 138 currentSize = -10; 139 } 140 141 $("body").removeClass (function (index, css) { 142 return (css.match (/(^|\s)nagish-zoom-\S+/g) || []).join(' '); 143 }).addClass('nagish-zoom-' + currentSize); 144 145 Drupal.nagish.setSetting('nagish_zoom', currentSize); 146 }); 147 } 148} 149 150})(jQuery); 151; 152(function($) { 153 154Drupal.behaviors.nagishContrast = { 155 attach: function(context, settings) { 156 $('*[data-nagish="contrast"]', context).bind('click', function(e) { 157 e.preventDefault(); 158 Drupal.nagish.active($(this), 'nagish-contrast'); 159 }); 160 } 161} 162 163})(jQuery);; 164(function($) { 165 166Drupal.behaviors.nagishGrayscale = { 167 attach: function(context, settings) { 168 $('*[data-nagish="grayscale"]', context).bind('click', function(e) { 169 e.preventDefault(); 170 Drupal.nagish.active($(this), 'nagish-grayscale'); 171 }); 172 } 173} 174 175})(jQuery);; 176(function($) { 177 178Drupal.behaviors.nagishInvert = { 179 attach: function(context, settings) { 180 $('*[data-nagish="invert"]', context).bind('click', function(e) { 181 e.preventDefault(); 182 Drupal.nagish.active($(this), 'nagish-invert'); 183 }); 184 } 185} 186 187})(jQuery);; 188(function($) { 189 190Drupal.behaviors.nagishReset = { 191 attach: function(context, settings) { 192 $('*[data-nagish="reset"]', context).bind('click', function(e) { 193 e.preventDefault(); 194 $('body').removeClass(Drupal.nagish.getSetting('active')); 195 Drupal.nagish.resetSettings(); 196 location.reload(); 197 }); 198 } 199} 200 201})(jQuery);; 202/** 203 * @file 204 * Simple responsification of menus. 205 */ 206(function ($) { 207 /** 208 * Handle clicks & toggling the menu. 209 */ 210 var toggler_click = function() { 211 $(this).parent().toggleClass('responsive-toggled'); 212 }; 213 /**
214 * Unbind other mouse events on the menu items. 215 * 216 * @todo 217 * Not sure if it works 100%. 218 * Doesn't restore binds when out-of-responsive (if window dragging). 219 */ 220 function remove_mouse_events(menuElement) { 221 // Determine jQuery version and what disable options we have. 222 var jqVersion = $.fn.jquery; 223 if (jqVersion < 1.7) { 224 $(menuElement).die('mouseover mouseout mouseenter mouseleave'); 225 $(menuElement + ' li').die('mouseover mouseout mouseenter mouseleave'); 226 $(menuElement + ' li a').die('mouseover mouseout mouseenter mouseleave'); 227 } 228 else { 229 $(menuElement).off('hover'); 230 $(menuElement + ' li').off('hover'); 231 $(menuElement + ' li a').off('hover'); 232 } 233 $(menuElement).unbind('mouseover mouseout mouseenter mouseleave'); 234 $(menuElement + ' li').unbind('mouseover mouseout mouseenter mouseleave'); 235 $(menuElement + ' li a').unbind('mouseover mouseout mouseenter mouseleave'); 236 } 237 238 /** 239 * Store classes & IDs for restoring later (if window dragging). 240 */ 241 function store_classes_ids(menuElement) { 242 if (!$(menuElement).attr('id')) { 243 $(menuElement).attr('id', 'rm-no-id-main'); 244 } 245 if (!$(menuElement).attr('class')) { 246 $(menuElement).attr('class', 'rm-no-class'); 247 } 248 $(menuElement).data('removeattr', true) 249 .data('rmids', $(menuElement).attr('id')) 250 .data('rmclasses', $(menuElement).attr('class')); 251 // Handle ULs if selector is parent div. 252 var incr = 0; 253 $(menuElement).find('ul').each(function() { 254 incr++; 255 // Prevent error if there is no id. 256 if (!$(this).attr('id')) { 257 $(this).attr('id', 'rm-no-id-' + incr); 258 } 259 // Prevent error if there is no class. 260 if (!$(this).attr('class')) { 261 $(this).attr('class', 'rm-no-class'); 262 } 263 $(this).data('removeattr', true) 264 .data('rmids', $(this).attr('id')) 265 .data('rmclasses', $(this).attr('class')); 266 }); 267 // Finally, add our class to the parent. 268 $(menuElement).addClass('responsive-menus-simple'); 269 } 270 271 /** 272 * Remove classes & IDs from original menu for easier theming. 273 */ 274 function remove_classes_ids(menuElement) { 275 // Handle ULs if selector is parent div. 276 $(menuElement).find('ul').each(function() { 277 $(this).attr('class', 'rm-removed').attr('id', 'rm-removed'); 278 }); 279 // Remove classes/IDs. 280 $(menuElement).attr('class', 'responsive-menus-simple').attr('id', 'rm-removed'); 281 } 282 283 // Iterate through selectors, check window sizes, add some classes. 284 Drupal.behaviors.responsive_menus = { 285 attach: function (context, settings) { 286 settings.responsive_menus = settings.responsive_menus || {}; 287 $('body').once('responsive-menus-load', function() { 288 // Only doing this themes that don't include a viewport attribute. 289 // e.g. Bartik for testing out-of-the-box... yeah, stupid. 290 if (!$('meta[name=viewport]').length > 0) { 291 $('head').append('<meta name="viewport" content="width=device-width, initial-scale=1.0">'); 292 } 293 // Window width with legacy browsers. 294 var windowWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 295 $.each(settings.responsive_menus, function(ind, iteration) { 296 if (iteration.responsive_menus_style != 'responsive_menus_simple') { 297 return true; 298 } 299 if (!iteration.selectors.length) { 300 return true; 301 } 302 var $media_unit = iteration.media_unit || 'px'; 303 if ($media_unit === 'em') { 304 var $base_font_size = parseFloat($('body').css('font-size')); 305 var $media_size = iteration.media_size * $base_font_size || 768; 306 } 307 else { 308 var $media_size = iteration.media_size || 768; 309 } 310 311 // Handle clicks & toggling. 312 var toggler_class = ''; 313 var toggler_text = iteration.toggler_text; 314 // Iterate through our selectors. 315 $.each(iteration.selectors, function(index, value) { 316 // Stop if there is no menu element. 317 if ($(value).length < 1) { 318 return true; 319 } 320 // Handle nested menus. Make sure we get the first, but not children. 321 if ($(value).length > 1) { 322 $(value).each(function(val_index) { 323 if (!$(this).parents('ul').length) { 324 if (!$(this).hasClass('responsive-menus-simple')) { 325 toggler_class = 'responsive-menus-' + ind + '-' + index + '-' + val_index; 326 // Store classes & IDs before removing. 327 if (iteration.remove_attributes) { 328 store_classes_ids(this); 329 } 330 $(this).wrap('<div data-mediasize="' + $media_size + '" class="responsive-menus ' + toggler_class + '" />'); 331 $('.' + toggler_class).prepend('<span class="toggler">' + toggler_text + '</span>'); 332 $('.' + toggler_class + ' .toggler').bind('click', toggler_click);
333 // Unbind other mouse events. 334 if (iteration.disable_mouse_events) { 335 //$(this).data('disablemouse', true); 336 remove_mouse_events(this); 337 } 338 // Use absolute positioning. 339 if (iteration.absolute) { 340 $('.' + toggler_class).addClass('absolute'); 341 } 342 // Handle first size check. 343 if (windowWidth <= $media_size) { 344 // Remove attributes setting. 345 if (iteration.remove_attributes) { 346 remove_classes_ids(this); 347 } 348 $('.' + toggler_class).addClass('responsified'); 349 } 350 } 351 } 352 }); 353 } 354 else { 355 // Single level menus. 356 if (!$(value).hasClass('responsive-menus-simple')) { 357 toggler_class = 'responsive-menus-' + ind + '-' + index; 358 // Store classes & IDs before removing. 359 if (iteration.remove_attributes) { 360 store_classes_ids(value); 361 } 362 $(value).wrap('<div data-mediasize="' + $media_size + '" class="responsive-menus ' + toggler_class + '" />'); 363 $('.' + toggler_class).prepend('<span class="toggler">' + toggler_text + '</span>'); 364 $('.' + toggler_class + ' .toggler').bind('click', toggler_click); 365 // Unbind other mouse events. 366 if (iteration.disable_mouse_events) { 367 // @todo For rebinding mouse events. 368 /*if ($(value + ' li a').data('events')) { 369 $(value).data('tmpevents', $(value + ' li a').data('events')); 370 }*/ 371 remove_mouse_events(value); 372 } 373 // Use absolute positioning. 374 if (iteration.absolute) { 375 $('.' + toggler_class).addClass('absolute'); 376 } 377 // Handle first size check. 378 if (windowWidth <= $media_size) { 379 // Remove attributes setting. 380 if (iteration.remove_attributes) { 381 remove_classes_ids(value); 382 } 383 $('.' + toggler_class).addClass('responsified'); 384 } 385 } 386 } 387 }); 388 }); 389 // Handle window resizing. 390 $(window).resize(function() {
391 // Window width with legacy browsers. 392 windowWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 393 $('.responsive-menus').each(function(menuIndex, menuValue) { 394 var mediasize = $(this).data('mediasize') || 768; 395 // Prevent menu from going off the screen. This only happens in 396 // non-responsive themes (like Bartik default), but it looks bad. 397 if ($(this).width() > windowWidth) { 398 $(this).data('nonresponsive', true); 399 $(this).width(windowWidth); 400 } 401 var menuElement = $(this).find('.responsive-menus-simple'); 402 if (windowWidth >= mediasize) { 403 if (menuElement.data('removeattr')) { 404 menuElement.addClass(menuElement.data('rmclasses')); 405 menuElement.attr('id', menuElement.data('rmids')); 406 menuElement.find('ul').each(function() { 407 $(this).addClass($(this).data('rmclasses')); 408 $(this).attr('id', $(this).data('rmids')); 409 }); 410 } 411 $(this).removeClass('responsified'); 412 } 413 if (windowWidth <= mediasize) { 414 // Now fix repercussions for handling non-responsive themes above. 415 // Stretch width back out w/ the screen. 416 if ($(this).data('nonresponsive') && $(this).width() < windowWidth) { 417 $(this).width(windowWidth); 418 } 419 if (menuElement.data('removeattr')) { 420 remove_classes_ids(menuElement); 421 } 422 $(this).addClass('responsified'); 423 } 424 }); 425 }); 426 }); 427 } 428 }; 429 430}(jQuery)); 431;
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.