PageSourceSearch

https://valdirmateriaisconstrucao.com.br/sites/default/files/js/js…UcWe9O55JxR4xwj7kmBe-93jZGjts6TytCtqPE14.js

js valdirmateriaisconstrucao.com.br collected 2026-10-04 11:03:44 UTC 39,375 bytes, 618 lines download raw bytes

1Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n!=1)); }, 'strings': {"":{"An AJAX HTTP error occurred.":"Ocorreu um erro HTTP no AJAX","HTTP Result Code: !status":"C\u00f3digo do Resultado HTTP:  !status","An AJAX HTTP request terminated abnormally.":"Uma requisi\u00e7\u00e3o HTTP AJAX terminou de forma inesperada.","Debugging information follows.":"Estas s\u00e3o as informa\u00e7\u00f5es de depura\u00e7\u00e3o.","Path: !uri":"Caminho: !uri","StatusText: !statusText":"Texto de Status: !statusText","ResponseText: !responseText":"Texto de Resposta: !responseText","ReadyState: !readyState":"ReadyState: !readyState","Loading":"Carregando","(active tab)":"(aba ativa)","Hide":"Ocultar","Show":"Exibir","@title dialog":"Di\u00e1logo @title","Please wait...":"Por favor, aguarde...","Re-order rows by numerical weight instead of dragging.":"Re-ordernar as linhas por campos n\u00famericos de peso ao inv\u00e9s de arrastar-e-soltar.","Show row weights":"Exibir pesos das linhas","Hide row weights":"Ocultar pesos das linhas","Drag to re-order":"Arraste para reordenar","Changes made in this table will not be saved until the form is submitted.":"As mudan\u00e7as feitas nesta tabela n\u00e3o v\u00e3o ser salvas antes do formul\u00e1rio ser enviado.","Next":"Pr\u00f3ximo","delete":"apagar","Status":"Status","Delete":"Apagar","Cancel":"Cancelar","Remove":"Remover","Yes":"Sim","No":"N\u00e3o","view":"ver","Edit":"Editar","Size":"Tamanho","none":"nenhum","Preview":"Pr\u00e9-visualizar","Default":"Padr\u00e3o","Sunday":"domingo","Monday":"segunda-feira","Tuesday":"ter\u00e7a-feira","Wednesday":"quarta-feira","Thursday":"quinta-feira","Friday":"sexta-feira","Saturday":"s\u00e1bado","Add":"Adicionar","Filename":"Nome do arquivo","Configure":"Configurar","Done":"Conclu\u00eddo","N\/A":"-","OK":"OK","Prev":"Anterior","Mon":"seg","Tue":"ter","Wed":"qua","Thu":"qui","Fri":"sex","Sat":"sab","Sun":"dom","January":"janeiro","February":"fevereiro","March":"mar\u00e7o","April":"abril","May":"mai","June":"junho","July":"julho","August":"agosto","September":"setembro","October":"outubro","November":"novembro","December":"dezembro","Key":"Chave","Select all rows in this table":"Selecionar todas as linhas da tabela","Deselect all rows in this table":"Desmarcar todas as linhas da tabela","Your search yielded no results":"Nenhum resultado foi encontrado.","Today":"Hoje","Jan":"jan","Feb":"fev","Mar":"mar","Apr":"abr","Jun":"jun","Jul":"jul","Aug":"ago","Sep":"set","Oct":"out","Nov":"nov","Dec":"dez","Su":"Dom","Mo":"Seg","Tu":"Ter","We":"Qua","Th":"Qui","Fr":"Sex","Sa":"S\u00e1b","Not published":"N\u00e3o publicado","mm\/dd\/yy":"mm\/dd\/yy","By @name on @date":"Por @name em @date","By @name":"Por @name","Not in menu":"Fora do menu","Alias: @alias":"URL Alternativa: @alias","No alias":"Nenhuma URL alternativa","New revision":"Nova revis\u00e3o","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"As altera\u00e7\u00f5es nesses blocos n\u00e3o v\u00e3o ser salvas enquanto o bot\u00e3o \u003Cem\u003ESalvar Blocos\u003C\/em\u003E n\u00e3o for clicado.","Show shortcuts":"Mostrar atalhos","This permission is inherited from the authenticated user role.":"Essa permiss\u00e3o \u00e9 herdada do papel de usu\u00e1rio autenticado.","No revision":"Sem revis\u00e3o","@number comments per page":"@number coment\u00e1rios por p\u00e1gina","Requires a title":"T\u00edtulo requerido","Not restricted":"Sem restri\u00e7\u00f5es","Not customizable":"N\u00e3o \u00e9 personaliz\u00e1vel","Restricted to certain pages":"Restrito para certas p\u00e1ginas","The block cannot be placed in this region.":"O bloco n\u00e3o pode ser colocado nessa regi\u00e3o.","Customize dashboard":"Personalizar painel","Hide summary":"Ocultar sum\u00e1rio","Edit summary":"Editar resumo","Don\u0027t display post information":"N\u00e3o exibir informa\u00e7\u00f5es de postagem","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"O arquivo selecionado %filename n\u00e3o p\u00f4de ser transferido. Somente arquivos com as seguintes extens\u00f5es s\u00e3o permitidos: %extensions.","Autocomplete popup":"Popup de autocompletar","Searching for matches...":"Procurando por dados correspondentes...","Hide shortcuts":"Esconder atalhos"}} };;
vendor: 11,960 bytes, lines 2-7
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("className")),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",innerHeight:!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.innerHeight,"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);
7;
8/**
9 * @file
10 * Colorbox module init js.
11 */
12
13(function ($) {
14
15Drupal.behaviors.initColorbox = {
16  attach: function (context, settings) {
17    if (!$.isFunction($('a, area, input', context).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').each(function(){
41        // Only images are supported for the "colorbox" class.
42        // The "photo" setting forces the href attribute to be treated as an image.
43        var extendParams = {
44          photo: true
45        };
46        // If a title attribute is supplied, sanitize it.
47        var title = $(this).attr('title');
48        if (title) {
49          extendParams.title = Drupal.colorbox.sanitizeMarkup(title);
50        }
51        $(this).colorbox($.extend({}, settings.colorbox, extendParams));
52      });
53
54    $(context).bind('cbox_complete', function () {
55      Drupal.attachBehaviors('#cboxLoadedContent');
56    });
57  }
58};
59
60// Create colorbox namespace if it doesn't exist.
61if (!Drupal.hasOwnProperty('colorbox')) {
62  Drupal.colorbox = {};
63}
64
65/**
66 * Global function to allow sanitizing captions and control strings.
67 *
68 * @param markup
69 *   String containing potential markup.
70 * @return @string
71 *  Sanitized string with potentially dangerous markup removed.
72 */
73Drupal.colorbox.sanitizeMarkup = function(markup) {
74  // If DOMPurify installed, allow some HTML. Otherwise, treat as plain text.
75  if (typeof DOMPurify !== 'undefined') {
76    var purifyConfig = {
77      ALLOWED_TAGS: [
78        'a',
79        'b',
80        'strong',
81        'i',
82        'em',
83        'u',
84        'cite',
85        'code',
86        'br'
87      ],
88      ALLOWED_ATTR: [
89        'href',
90        'hreflang',
91        'title',
92        'target'
93      ]
94    }
95    if (Drupal.settings.hasOwnProperty('dompurify_custom_config')) {
96      purifyConfig = Drupal.settings.dompurify_custom_config;
97    }
98    return DOMPurify.sanitize(markup, purifyConfig);
99  }
100  else {
101    return Drupal.checkPlain(markup);
102  }
103}
104
105})(jQuery);
106;
107/**
108 * @file
109 * Colorbox module style js.
110 */
111
112(function ($) {
113
114Drupal.behaviors.initColorboxDefaultStyle = {
115  attach: function (context, settings) {
116    $(context).bind('cbox_complete', function () {
117      // Only run if there is a title.
118      if ($('#cboxTitle:empty', context).length == false) {
119        $('#cboxLoadedContent img', context).bind('mouseover', function () {
120          $('#cboxTitle', context).slideDown();
121        });
122        $('#cboxOverlay', context).bind('mouseover', function () {
vendor: 5,395 bytes, lines 123-288
123          $('#cboxTitle', context).slideUp();
124        });
125      }
126      else {
127        $('#cboxTitle', context).hide();
128      }
129    });
130  }
131};
132
133})(jQuery);
134;
135/**
136 * Timeago is a jQuery plugin that makes it easy to support automatically
137 * updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
138 *
139 * @name timeago
140 * @version 1.6.7
141 * @requires jQuery >=1.5.0 <4.0
142 * @author Ryan McGeary
143 * @license MIT License - http://www.opensource.org/licenses/mit-license.php
144 *
145 * For usage and examples, visit:
146 * http://timeago.yarp.com/
147 *
148 * Copyright (c) 2008-2019, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
149 */
150
151(function (factory) {
152  if (typeof define === 'function' && define.amd) {
153    // AMD. Register as an anonymous module.
154    define(['jquery'], factory);
155  } else if (typeof module === 'object' && typeof module.exports === 'object') {
156    factory(require('jquery'));
157  } else {
158    // Browser globals
159    factory(jQuery);
160  }
161}(function ($) {
162  $.timeago = function(timestamp) {
163    if (timestamp instanceof Date) {
164      return inWords(timestamp);
165    } else if (typeof timestamp === "string") {
166      return inWords($.timeago.parse(timestamp));
167    } else if (typeof timestamp === "number") {
168      return inWords(new Date(timestamp));
169    } else {
170      return inWords($.timeago.datetime(timestamp));
171    }
172  };
173  var $t = $.timeago;
174
175  $.extend($.timeago, {
176    settings: {
177      refreshMillis: 60000,
178      allowPast: true,
179      allowFuture: false,
180      localeTitle: false,
181      cutoff: 0,
182      autoDispose: true,
183      strings: {
184        prefixAgo: null,
185        prefixFromNow: null,
186        suffixAgo: "ago",
187        suffixFromNow: "from now",
188        inPast: 'any moment now',
189        seconds: "less than a minute",
190        minute: "about a minute",
191        minutes: "%d minutes",
192        hour: "about an hour",
193        hours: "about %d hours",
194        day: "a day",
195        days: "%d days",
196        month: "about a month",
197        months: "%d months",
198        year: "about a year",
199        years: "%d years",
200        wordSeparator: " ",
201        numbers: []
202      }
203    },
204
205    inWords: function(distanceMillis) {
206      if (!this.settings.allowPast && ! this.settings.allowFuture) {
207          throw 'timeago allowPast and allowFuture settings can not both be set to false.';
208      }
209
210      var $l = this.settings.strings;
211      var prefix = $l.prefixAgo;
212      var suffix = $l.suffixAgo;
213      if (this.settings.allowFuture) {
214        if (distanceMillis < 0) {
215          prefix = $l.prefixFromNow;
216          suffix = $l.suffixFromNow;
217        }
218      }
219
220      if (!this.settings.allowPast && distanceMillis >= 0) {
221        return this.settings.strings.inPast;
222      }
223
224      var seconds = Math.abs(distanceMillis) / 1000;
225      var minutes = seconds / 60;
226      var hours = minutes / 60;
227      var days = hours / 24;
228      var years = days / 365;
229
230      function substitute(stringOrFunction, number) {
231        var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
232        var value = ($l.numbers && $l.numbers[number]) || number;
233        return string.replace(/%d/i, value);
234      }
235
236      var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
237        seconds < 90 && substitute($l.minute, 1) ||
238        minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
239        minutes < 90 && substitute($l.hour, 1) ||
240        hours < 24 && substitute($l.hours, Math.round(hours)) ||
241        hours < 42 && substitute($l.day, 1) ||
242        days < 30 && substitute($l.days, Math.round(days)) ||
243        days < 45 && substitute($l.month, 1) ||
244        days < 365 && substitute($l.months, Math.round(days / 30)) ||
245        years < 1.5 && substitute($l.year, 1) ||
246        substitute($l.years, Math.round(years));
247
248      var separator = $l.wordSeparator || "";
249      if ($l.wordSeparator === undefined) { separator = " "; }
250      return $.trim([prefix, words, suffix].join(separator));
251    },
252
253    parse: function(iso8601) {
254      var s = $.trim(iso8601);
255      s = s.replace(/\.\d+/,""); // remove milliseconds
256      s = s.replace(/-/,"/").replace(/-/,"/");
257      s = s.replace(/T/," ").replace(/Z/," UTC");
258      s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
259      s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
260      return new Date(s);
261    },
262    datetime: function(elem) {
263      var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
264      return $t.parse(iso8601);
265    },
266    isTime: function(elem) {
267      // jQuery's `is()` doesn't play well with HTML5 in IE
268      return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
269    }
270  });
271
272  // functions that can be called via $(el).timeago('action')
273  // init is default when no action is given
274  // functions are called with context of a single element
275  var functions = {
276    init: function() {
277      functions.dispose.call(this);
278      var refresh_el = $.proxy(refresh, this);
279      refresh_el();
280      var $s = $t.settings;
281      if ($s.refreshMillis > 0) {
282        this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
283      }
284    },
285    update: function(timestamp) {
286      var date = (timestamp instanceof Date) ? timestamp : $t.parse(timestamp);
287      $(this).data('timeago', { datetime: date });
288      if ($t.settings.localeTitle) {
289        $(this).attr("title", date.toLocaleString());
290      }
291      refresh.apply(this);
292    },
293    updateFromDOM: function() {
294      $(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) });
295      refresh.apply(this);
296    },
297    dispose: function () {
298      if (this._timeagoInterval) {
299        window.clearInterval(this._timeagoInterval);
300        this._timeagoInterval = null;
301      }
302    }
303  };
304
305  $.fn.timeago = function(action, options) {
306    var fn = action ? functions[action] : functions.init;
307    if (!fn) {
308      throw new Error("Unknown function name '"+ action +"' for timeago");
309    }
310    // each over objects here and call the requested function
311    this.each(function() {
312      fn.call(this, options);
313    });
314    return this;
315  };
316
317  function refresh() {
318    var $s = $t.settings;
319
320    //check if it's still visible
321    if ($s.autoDispose && !$.contains(document.documentElement,this)) {
322      //stop if it has been removed
323      $(this).timeago("dispose");
324      return this;
325    }
326
327    var data = prepareData(this);
328
329    if (!isNaN(data.datetime)) {
330      if ( $s.cutoff === 0 || Math.abs(distance(data.datetime)) < $s.cutoff) {
331        $(this).text(inWords(data.datetime));
332      } else {
333        if ($(this).attr('title').length > 0) {
334            $(this).text($(this).attr('title'));
335        }
336      }
337    }
338    return this;
339  }
340
341  function prepareData(element) {
342    element = $(element);
343    if (!element.data("timeago")) {
344      element.data("timeago", { datetime: $t.datetime(element) });
345      var text = $.trim(element.text());
346      if ($t.settings.localeTitle) {
347        element.attr("title", element.data('timeago').datetime.toLocaleString());
348      } else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
349        element.attr("title", text);
350      }
351    }
352    return element.data("timeago");
353  }
354
355  function inWords(date) {
356    return $t.inWords(distance(date));
357  }
358
359  function distance(date) {
360    return (new Date().getTime() - date.getTime());
361  }
362
363  // fix for IE6 suckage
364  document.createElement("abbr");
365  document.createElement("time");
366}));
367;
368(function ($) {
369  Drupal.behaviors.timeago = {
370    attach: function (context) {
371      $.extend($.timeago.settings, Drupal.settings.timeago);
372      $('abbr.timeago, span.timeago, time.timeago', context).timeago();
373    }
374  };
375})(jQuery);
376;
377!function(e){"use strict";e.fn.meanmenu=function(n){var a={meanMenuTarget:jQuery(this),meanMenuContainer:"body",meanMenuClose:"X",meanMenuCloseSize:"18px",meanMenuOpen:"<span /><span /><span />",meanRevealPosition:"right",meanRevealPositionDistance:"0",meanRevealColour:"",meanScreenWidth:"480",meanNavPush:"",meanShowChildren:!0,meanExpandableChildren:!0,meanExpand:"+",meanContract:"-",meanRemoveAttrs:!1,onePage:!1,meanDisplay:"block",removeElements:""};n=e.extend(a,n);var t=document.documentElement.clientWidth||document.body.clientWidth;return this.each(function(){var e=n.meanMenuTarget,a=n.meanMenuTarget.clone();a.find(".contextual-links-wrapper").remove().find("ul.contextual-links").remove();var r=n.meanMenuContainer,i=n.meanMenuClose,u=n.meanMenuCloseSize,m=n.meanMenuOpen,s=n.meanRevealPosition,l=n.meanRevealPositionDistance,o=n.meanRevealColour,c=n.meanScreenWidth,d=n.meanNavPush,v=".meanmenu-reveal",h=n.meanShowChildren,y=n.meanExpandableChildren,j=n.meanExpand,Q=n.meanContract,f=n.meanRemoveAttrs,g=n.onePage,p=n.meanDisplay,C=n.removeElements,x=!1;(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/Blackberry/i)||navigator.userAgent.match(/Windows Phone/i))&&(x=!0),(navigator.userAgent.match(/MSIE 8/i)||navigator.userAgent.match(/MSIE 7/i))&&jQuery("html").css("overflow-y","scroll");var w="",b=function(){if("center"===s){var e=document.documentElement.clientWidth||document.body.clientWidth,n=e/2-22+"px";w="left:"+n+";right:auto;",x?jQuery(".meanmenu-reveal").animate({left:n}):jQuery(".meanmenu-reveal").css("left",n)}},A=!1,M=!1;"right"===s&&(w="right:"+l+";
377left:auto;"),"left"===s&&(w="left:"+l+";right:auto;"),b();var E="",P=function(){E.html(jQuery(E).is(".meanmenu-reveal.meanclose")?i:m)},W=function(){jQuery(".mean-bar,.mean-push").remove(),jQuery(r).removeClass("mean-container"),jQuery(e).css("display",p),A=!1,M=!1,jQuery(C).removeClass("mean-remove")},k=function(){var n="background:"+o+";color:"+o+";"+w;if(c>=t){jQuery(C).addClass("mean-remove"),M=!0,jQuery(r).addClass("mean-container"),jQuery(".mean-container").prepend('<div class="mean-bar"><a href="#nav" class="meanmenu-reveal" style="'+n+'">Show Navigation</a><nav class="mean-nav"></nav></div>');var i=jQuery(a).html();jQuery(".mean-nav").html(i),f&&jQuery("nav.mean-nav ul, nav.mean-nav ul *").each(function(){jQuery(this).is(".mean-remove")?jQuery(this).attr("class","mean-remove"):jQuery(this).removeAttr("class"),jQuery(this).removeAttr("id")}),jQuery(e).before('<div class="mean-push" />'),jQuery(".mean-push").css("margin-top",d),jQuery(e).hide(),jQuery(".meanmenu-reveal").show(),jQuery(v).html(m),E=jQuery(v),jQuery(".mean-nav ul").hide(),h?y?(jQuery(".mean-nav ul ul").each(function(){jQuery(this).children().length&&jQuery(this,"li:first").parent().append('<a class="mean-expand" href="#" style="font-size: '+u+'">'+j+"</a>")}),jQuery(".mean-expand").on("click",function(e){e.preventDefault(),jQuery(this).hasClass("mean-clicked")?(jQuery(this).text(j),jQuery(this).prev("ul").slideUp(300,function(){})):(jQuery(this).text(Q),jQuery(this).prev("ul").slideDown(300,function(){})),jQuery(this).toggleClass("mean-clicked")})):jQuery(".mean-nav ul ul").show():jQuery(".mean-nav ul ul").hide(),jQuery(".mean-nav ul li").last().addClass("mean-last"),E.removeClass("meanclose"),jQuery(E).click(function(e){e.preventDefault(),A===!1?(E.css("text-align","center"),E.css("text-indent","0"),E.css("font-size",u),jQuery(".mean-nav ul:first").slideDown(),A=!0):(jQuery(".mean-nav ul:first").slideUp(),A=!1),E.toggleClass("meanclose"),P(),jQuery(C).addClass("mean-remove")}),g&&jQuery(".mean-nav ul > li > a:first-child").on("click",function(){jQuery(".mean-nav ul:first").slideUp(),A=!1,jQuery(E).toggleClass("meanclose").html(m)})}else W()};x||jQuery(window).resize(function(){t=document.documentElement.clientWidth||document.body.clientWidth,t>c,W(),c>=t?(k(),b()):W()}),jQuery(window).resize(function(){t=document.documentElement.clientWidth||document.body.clientWidth,x?(b(),c>=t?M===!1&&k():W()):(W(),c>=t&&(k(),b()))}),k()})}}(jQuery);;
378/**
379 * @file
380 * Integrate Mean Menu library with Responsive Menus module.
381 */
382(function ($) {
383  Drupal.behaviors.responsive_menus_mean_menu = {
384    attach: function (context, settings) {
385      settings.responsive_menus = settings.responsive_menus || {};
386      $.each(settings.responsive_menus, function(ind, iteration) {
387        if (iteration.responsive_menus_style != 'mean_menu') {
388          return true;
389        }
390        if (!iteration.selectors.length) {
391          return;
392        }
393        // Set 1/0 to true/false respectively.
394        $.each(iteration, function(key, value) {
395          if (value == 0) {
396            iteration[key] = false;
397          }
398          if (value == 1) {
399            iteration[key] = true;
400          }
401        });
402        // Call meanmenu() with our custom settings.
403        $(iteration.selectors).once('responsive-menus-mean-menu', function() {
404          $(this).meanmenu({
405            meanMenuContainer: iteration.container || "body",
406            meanMenuClose: iteration.close_txt || "X",
407            meanMenuCloseSize: iteration.close_size || "18px",
408            meanMenuOpen: iteration.trigger_txt || "<span /><span /><span />",
409            meanRevealPosition: iteration.position || "right",
410            meanScreenWidth: iteration.media_size || "480",
411            meanExpand: iteration.expand_txt || "+",
412            meanContract: iteration.contract_txt || "-",
413            meanShowChildren: iteration.show_children,
414            meanExpandableChildren: iteration.expand_children,
415            meanRemoveAttrs: iteration.remove_attrs
416          });
417        });
418      });
419
420    }
421  };
422}(jQuery));
423;
424(function ($) {
425
426Drupal.googleanalytics = {};
427
428$(document).ready(function() {
429
430  // Attach mousedown, keyup, touchstart events to document only and catch
431  // clicks on all elements.
432  $(document.body).bind("mousedown keyup touchstart", function(event) {
433
434    // Catch the closest surrounding link of a clicked element.
435    $(event.target).closest("a,area").each(function() {
436
437      // Is the clicked URL internal?
438      if (Drupal.googleanalytics.isInternal(this.href)) {
439        // Skip 'click' tracking, if custom tracking events are bound.
440        if ($(this).is('.colorbox') && (Drupal.settings.googleanalytics.trackColorbox)) {
441          // Do nothing here. The custom event will handle all tracking.
442          //console.info("Click on .colorbox item has been detected.");
443        }
444        // Is download tracking activated and the file extension configured for download tracking?
445        else if (Drupal.settings.googleanalytics.trackDownload && Drupal.googleanalytics.isDownload(this.href)) {
446          // Download link clicked.
447          gtag('event', Drupal.googleanalytics.getDownloadExtension(this.href).toUpperCase(), {
448            event_category: 'Downloads',
449            event_label: Drupal.googleanalytics.getPageUrl(this.href),
450            transport_type: 'beacon'
451          });
452        }
453        else if (Drupal.googleanalytics.isInternalSpecial(this.href)) {
454          // Keep the internal URL for Google Analytics website overlay intact.
455          // @todo: May require tracking ID
456          var target = this;
457          $.each(Drupal.settings.googleanalytics.account, function () {
458            gtag('config', this, {
459              page_path: Drupal.googleanalytics.getPageUrl(target.href),
460              transport_type: 'beacon'
461            });
462          });
463        }
464      }
465      else {
466        if (Drupal.settings.googleanalytics.trackMailto && $(this).is("a[href^='mailto:'],area[href^='mailto:']")) {
467          // Mailto link clicked.
468          gtag('event', 'Click', {
469            event_category: 'Mails',
470            event_label: this.href.substring(7),
471            transport_type: 'beacon'
472          });
473        }
474        else if (Drupal.settings.googleanalytics.trackOutbound && this.href.match(/^\w+:\/\//i)) {
475          if (Drupal.settings.googleanalytics.trackDomainMode !== 2 || (Drupal.settings.googleanalytics.trackDomainMode === 2 && !Drupal.googleanalytics.isCrossDomain(this.hostname, Drupal.settings.googleanalytics.trackCrossDomains))) {
476            // External link clicked / No top-level cross domain clicked.
477            gtag('event', 'Click', {
478              event_category: 'Outbound links',
479              event_label: this.href,
480              transport_type: 'beacon'
481            });
482          }
483        }
484      }
485    });
486  });
487
488  // Track hash changes as unique pageviews, if this option has been enabled.
489  if (Drupal.settings.googleanalytics.trackUrlFragments) {
490    window.onhashchange = function() {
491      $.each(Drupal.settings.googleanalytics.account, function () {
492        gtag('config', this, {
493          page_path: location.pathname + location.search + location.hash
494        });
495      });
496    };
497  }
498
499  // Colorbox: This event triggers when the transition has completed and the
500  // newly loaded content has been revealed.
501  if (Drupal.settings.googleanalytics.trackColorbox) {
502    $(document).bind("cbox_complete", function () {
503      var href = $.colorbox.element().attr("href");
504      if (href) {
505        $.each(Drupal.settings.googleanalytics.account, function () {
506          gtag('config', this, {
507            page_path: Drupal.googleanalytics.getPageUrl(href)
508          });
509        });
510      }
511    });
512  }
513
514});
515
516/**
517 * Check whether the hostname is part of the cross domains or not.
518 *
519 * @param string hostname
520 *   The hostname of the clicked URL.
521 * @param array crossDomains
522 *   All cross domain hostnames as JS array.
523 *
524 * @return boolean
525 */
526Drupal.googleanalytics.isCrossDomain = function (hostname, crossDomains) {
527  /**
528   * jQuery < 1.6.3 bug: $.inArray crushes IE6 and Chrome if second argument is
529   * `null` or `undefined`, https://bugs.jquery.com/ticket/10076,
530   * https://github.com/jquery/jquery/commit/a839af034db2bd934e4d4fa6758a3fed8de74174
531   *
532   * @todo: Remove/Refactor in D8
533   */
534  if (!crossDomains) {
535    return false;
536  }
537  else {
538    return $.inArray(hostname, crossDomains) > -1 ? true : false;
539  }
540};
541
542/**
543 * Check whether this is a download URL or not.
544 *
545 * @param string url
546 *   The web url to check.
547 *
548 * @return boolean
549 */
550Drupal.googleanalytics.isDownload = function (url) {
551  var isDownload = new RegExp("\\.(" + Drupal.settings.googleanalytics.trackDownloadExtensions + ")([\?#].*)?$", "i");
552  return isDownload.test(url);
553};
554
555/**
556 * Check whether this is an absolute internal URL or not.
557 *
558 * @param string url
559 *   The web url to check.
560 *
561 * @return boolean
562 */
563Drupal.googleanalytics.isInternal = function (url) {
564  var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i");
565  return isInternal.test(url);
566};
567
568/**
569 * Check whether this is a special URL or not.
570 *
571 * URL types:
572 *  - gotwo.module /go/* links.
573 *
574 * @param string url
575 *   The web url to check.
576 *
577 * @return boolean
578 */
579Drupal.googleanalytics.isInternalSpecial = function (url) {
580  var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
581  return isInternalSpecial.test(url);
582};
583
584/**
585 * Extract the relative internal URL from an absolute internal URL.
586 *
587 * Examples:
588 * - https://mydomain.com/node/1 -> /node/1
589 * - https://example.com/foo/bar -> https://example.com/foo/bar
590 *
591 * @param string url
592 *   The web url to check.
593 *
594 * @return string
595 *   Internal website URL
596 */
597Drupal.googleanalytics.getPageUrl = function (url) {
598  var extractInternalUrl = new RegExp("^(https?):\/\/" + window.location.host, "i");
599  return url.replace(extractInternalUrl, '');
600};
601
602/**
603 * Extract the download file extension from the URL.
604 *
605 * @param string url
606 *   The web url to check.
607 *
608 * @return string
609 *   The file extension of the passed url. e.g. "zip", "txt"
610 */
611Drupal.googleanalytics.getDownloadExtension = function (url) {
612  var extractDownloadextension = new RegExp("\\.(" + Drupal.settings.googleanalytics.trackDownloadExtensions + ")([\?#].*)?$", "i");
613  var extension = extractDownloadextension.exec(url);
614  return (extension === null) ? '' : extension[1];
615};
616
617})(jQuery);
618;

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.