PageSourceSearch

https://anadisgoi.com/modules/mod_raxo_content_spotlight/tmpl/raxo-portal/raxo-portal.js

js anadisgoi.com collected 2026-10-02 06:51:24 UTC 8,056 bytes, 19 lines download raw bytes

1/**
2 * =============================================================
3 * @package		RAXO Portal Module Layout
4 * -------------------------------------------------------------
5 * @copyright	Copyright (C) 2009-2022 RAXO Group
6 * @link		https://www.raxo.org
7 * @license		RAXO Commercial License
8 * 				This file is forbidden for redistribution
9 * =============================================================
10 */
11
12
13/* jQuery Pajinate plugin v0.4.1 (Copyright 2010 Wes Nolte) */
14(function(c){c.fn.pajinate=function(a){function g(b){b=parseInt(b,10);var e=parseInt(h.data("items_per_page"));start_from=b*e;end_on=start_from+e;var g=k.slice(start_from,end_on);l.fadeTo(250,0,function(){k.hide();g.show();c(this).fadeTo(500,1)});d.find(a.nav_panel_id).children(".raxo-nav-page[longdesc="+b+"]").addClass("raxo-nav-active").siblings(".raxo-nav-active").removeClass("raxo-nav-active");h.data("current_page",b);e=parseInt(h.data("current_page")+1);var f=l.children().length;f=Math.ceil(f/a.items_per_page);d.find(a.nav_info_id).html(a.nav_label_info.replace("{0}",start_from+1).replace("{1}",start_from+g.length).replace("{2}",k.length).replace("{3}",e).replace("{4}",f));r();t();"undefined"!==typeof a.onPageDisplayed&&a.onPageDisplayed.call(this,b+1)}function u(d,e){"none"==c(d).siblings(".raxo-nav-active").siblings(".raxo-nav-page[longdesc="+e+"]").css("display")&&b.each(function(){c(this).children(".raxo-nav-page").hide().slice(parseInt(e-a.num_page_links_to_display+1),e+1).show()})}function v(d,e){"none"==c(d).siblings(".raxo-nav-active").siblings(".raxo-nav-page[longdesc="+e+"]").css("display")&&b.each(function(){c(this).children(".raxo-nav-page").hide().slice(e,e+parseInt(a.num_page_links_to_display)).show()})}function r(){b.children(".raxo-nav-page:visible").hasClass("last")?b.children(".more").hide():b.children(".more").show();b.children(".raxo-nav-page:visible").hasClass("first")?b.children(".less").hide():b.children(".less").show()}function t(){b.children(".last").hasClass("raxo-nav-active")?b.children(".raxo-nav-next").add(".raxo-nav-last").addClass("raxo-nav-no-more"):b.children(".raxo-nav-next").add(".raxo-nav-last").removeClass("raxo-nav-no-more");b.children(".first").hasClass("raxo-nav-active")?b.children(".raxo-nav-prev").add(".raxo-nav-first").addClass("raxo-nav-no-more"):b.children(".raxo-nav-prev").add(".raxo-nav-first").removeClass("raxo-nav-no-more")}var h;a=c.extend({item_container_id:".raxo-normal",items_per_page:10,nav_panel_id:".raxo-navigation",nav_info_id:".info-text",num_page_links_to_display:10,start_page:0,wrap_around:!1,nav_label_first:"&laquo;",nav_label_prev:"Prev",nav_label_next:"Next",nav_label_last:"&raquo;",nav_order:["first","prev","num","next","last"],nav_label_info:"Showing {0}-{1} of {2} results",show_first_last:!0,abort_on_small_lists:!1},a);var l,d,k,b,m,adml="td004";return this.each(function(){d=c(this);l=c(this).find(a.item_container_id);k=d.find(a.item_container_id).children();if(a.abort_on_small_lists&&a.items_per_page>=k.length())return d;h=d;h.data("current_page",0);h.data("items_per_page",a.items_per_page);var p=l.children().length;p=Math.ceil(p/a.items_per_page);for(var e=a.show_first_last?'<a class="raxo-nav-first" href="">'+a.nav_label_first+"</a>":"",w=a.show_first_last?'<a class="raxo-nav-last" href="">'+a.nav_label_last+"</a>":"",f="",q=0;q<a.nav_order.length;q++)switch(a.nav_order[q]){case "first":f+=e;break;case "last":f+=w;break;case "next":f+='<a class="raxo-nav-next" href="">'+a.nav_label_next+"</a>";break;case "prev":f+='<a class="raxo-nav-prev" href="">'+a.nav_label_prev+"</a>";break;case "num":f+='<span class="raxo-nav-ellipsis less">&hellip;</span>';for(var n=0;p>n;)f+='<a class="raxo-nav-page" href="" longdesc="'+n+'">'+(n+1)+"</a>",n++;f+='<span class="raxo-nav-ellipsis more">&hellip;</span>'}b=d.find(a.nav_panel_id);b.html(f).each(function(){c(this).find(".raxo-nav-page:first").addClass("first");c(this).find(".raxo-nav-page:last").addClass("last")});b.children(".raxo-nav-ellipsis").hide();b.find(".raxo-nav-prev").next().next().addClass("raxo-nav-active");m=d.find(a.nav_panel_id+":first").children(".raxo-nav-page").length;a.num_page_links_to_display=Math.min(a.num_page_links_to_display,m);b.children(".raxo-nav-page").hide();b.each(function(){c(this).children(".raxo-nav-page").slice(0,a.num_page_links_to_display).show()});d.find(".raxo-nav-first").click(function(a){a.preventDefault();v(c(this),0);g(0)});d.find(".raxo-nav-last").click(function(a){a.preventDefault();a=m-1;u(c(this),a);g(a)});d.find(".raxo-nav-prev").click(function(b){b.preventDefault();b=c(this);new_page=parseInt(h.data("current_page"))-1;1==c(b).siblings(".raxo-nav-active").prev(".raxo-nav-page").length?(v(b,new_page),g(new_page)):a.wrap_around&&g(m-1)});
vendor: 3,313 bytes, lines 14-19
14d.find(".raxo-nav-next").click(function(b){b.preventDefault();b=c(this);new_page=parseInt(h.data("current_page"))+1;1==c(b).siblings(".raxo-nav-active").next(".raxo-nav-page").length?(u(b,new_page),g(new_page)):a.wrap_around&&g(0)});d.find(".raxo-nav-page").click(function(a){a.preventDefault();g(c(this).attr("longdesc"))});g(parseInt(a.start_page));r();a.wrap_around||t()})}})(jQuery);
15
16
17/* Lozad.js v1.16.0 (Copyright 2020 Apoorv Saxena) */
18!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,function(){"use strict";var g="undefined"!=typeof document&&document.documentMode,f={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var e=t.querySelector("img"),r=!1;null===e&&(e=document.createElement("img"),r=!0),g&&t.getAttribute("data-iesrc")&&(e.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(e.alt=t.getAttribute("data-alt")),r&&t.append(e)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var a=t.children,o=void 0,i=0;i<=a.length-1;i++)(o=a[i].getAttribute("data-src"))&&(a[i].src=o);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var n=",";if(t.getAttribute("data-background-delimiter")&&(n=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(n).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var d=t.getAttribute("data-background-image-set").split(n),u=d[0].substr(0,d[0].indexOf(" "))||d[0];
19u=-1===u.indexOf("url(")?"url("+u+")":u,1===d.length?t.style.backgroundImage=u:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+u+"; background-image: -webkit-image-set("+d+"); background-image: image-set("+d+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function A(t){t.setAttribute("data-loaded",!0)}var m=function(t){return"true"===t.getAttribute("data-loaded")},v=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)};return function(){var r,a,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=Object.assign({},f,t),i=e.root,n=e.rootMargin,d=e.threshold,u=e.load,g=e.loaded,s=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(s=new IntersectionObserver((r=u,a=g,function(t,e){t.forEach(function(t){(0<t.intersectionRatio||t.isIntersecting)&&(e.unobserve(t.target),m(t.target)||(r(t.target),A(t.target),a(t.target)))})}),{root:i,rootMargin:n,threshold:d}));for(var c,l=v(o,i),b=0;b<l.length;b++)(c=l[b]).getAttribute("data-placeholder-background")&&(c.style.background=c.getAttribute("data-placeholder-background"));return{observe:function(){for(var t=v(o,i),e=0;e<t.length;e++)m(t[e])||(s?s.observe(t[e]):(u(t[e]),A(t[e]),g(t[e])))},triggerLoad:function(t){m(t)||(u(t),A(t),g(t))},observer:s}}});

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.