PageSourceSearch

https://worldwebtechnology.com/wp-content/cache/autoptimize/js/aut…c554d95d030b0e5cd59a8008c.js?ver=1790367405

js worldwebtechnology.com collected 2026-10-03 23:45:03 UTC 14,740 bytes, 42 lines download raw bytes

1'use strict';jQuery(document).ready(function($){function fixOwlAccessibility(){$('.owl-prev').removeAttr('role').attr('aria-label','Previous slide');$('.owl-next').removeAttr('role').attr('aria-label','Next slide');}
2setInterval(function(){fixOwlAccessibility();},1000);});jQuery(document).ready(function($){function fixOwlDots(event){let $scope=event?$(event.target):$('.owl-carousel');$scope.find('.owl-dot').each(function(index){$(this).attr('aria-label','Go to slide '+(index+1));});$scope.find('.owl-dot').removeAttr('aria-current');$scope.find('.owl-dot.active').attr('aria-current','true');}
3$(document).on('initialized.owl.carousel changed.owl.carousel','.owl-carousel',fixOwlDots);const observer=new MutationObserver(fixOwlDots);observer.observe(document.body,{childList:true,subtree:true});setTimeout(function(){fixOwlDots();},1500);});jQuery(document).ready(function(){jQuery('.lightSpeedInRight, .lightSpeedInLeft, .pulse, .fadeInLeft, .fadeInRight').closest('section').addClass('has-animation');});function performSearchPagination(searchTerm,page){jQuery('.loader-wrap').show();jQuery.ajax({type:'POST',url:front_public_ajax.ajaxurl,data:{action:'portfolio_category_filter',search:searchTerm,page:page},success:function(response){if(response.success){jQuery('.loader-wrap').hide();jQuery('.portfolio-content-inner').empty();updateUrlParameter('page',response.data.current_page);if(response.data.category_slug&&response.data.category_slug!==''){updateUrlParameter('category',response.data.category_slug);}
4searchTerm=searchTerm.toLowerCase().split(' ').map(word=>word.charAt(0).toUpperCase()+word.slice(1)).join(' ');updatePortfolioTitle(response.data.category_name);jQuery.each(response.data.items,function(index,item){jQuery('.portfolio-content-inner').append(item);});jQuery('.ctm-pagination').remove();if(response.data.max_pages>1&&response.data.pagination){jQuery('.portfolio-content-inner').after(response.data.pagination);jQuery('.ctm-pagination').show();}else{jQuery('.ctm-pagination').hide();}
5jQuery('html, body').animate({scrollTop:jQuery('.portfolio-content').offset().top-parseInt(150)},500);}},error:function(xhr,textStatus,errorThrown){console.error('Error:',errorThrown);jQuery('.loader-wrap').hide();}});}
6function toggleShowMoreButton(){var itemCount=jQuery('#workplace-items .workplace-item').length;if(itemCount>6){jQuery('.show-more-button').show();}else{jQuery('.show-more-button').hide();}}
7function setActiveCategory(catId,name){jQuery('.cat-list-sidebar').removeClass('active');jQuery('.cat-list-sidebar[data-cat-id="'+catId+'"]').addClass('active');updatePortfolioTitle(name);}
8function updatePortfolioTitle(name){if(name=='All'){jQuery('.portfolio-content h2.main-title-of-portfolio-wrap').html('All <span>Portfolios</span>');}else{jQuery('.portfolio-content h2.main-title-of-portfolio-wrap').text(name);}}
9function setActiveCategoryFromUrl(){var urlParams=new URLSearchParams(window.location.search);var categoryId=urlParams.get('category');if(categoryId){var $categoryElement=jQuery('.cat-list-sidebar[data-cat-id="'+categoryId+'"]');if($categoryElement.length){var categoryName=$categoryElement.find('.store-name-default').text();setActiveCategory(categoryId,categoryName);}}else{var $firstCategory=jQuery('.cat-list-sidebar').first();var firstCatId=$firstCategory.data('cat-id');var firstName=$firstCategory.find('.store-name-default').text();setActiveCategory(firstCatId,firstName);}}
10function updateUrlParameter(key,value){var url=new URL(window.location);url.searchParams.set(key,value);window.history.replaceState({},'',url);}
11function retrievePortfolioPosts(catId,page,slug){jQuery('.loader-wrap').show();updateUrlParameter('page',page);if(catId&&catId!=='0'){updateUrlParameter('category',slug);}
12jQuery.ajax({type:'POST',url:front_public_ajax.ajaxurl,data:{action:'portfolio_category_filter',catId:catId,page:page,paged:page},success:function(response){if(response.success){jQuery('#search-text-1').val('');jQuery('.loader-wrap').hide();jQuery('span.reset-btn-search-form-content-wrap').hide();jQuery('.portfolio-content-inner').empty();jQuery.each(response.data.items,function(index,item){jQuery('.portfolio-content-inner').append(item);});jQuery('.ctm-pagination').remove();if(response.data.max_pages>1&&response.data.pagination){jQuery('.portfolio-content-inner').after(response.data.pagination);jQuery('.ctm-pagination').show();}else{jQuery('.ctm-pagination').hide();}
13jQuery('html, body').animate({scrollTop:jQuery('.portfolio-content').offset().top-parseInt(150)},500);}},error:function(xhr,textStatus,errorThrown){console.error('Error:',errorThrown);jQuery('.loader-wrap').hide();}});}
14jQuery(document).ready(function($){$(document).ready(function(){$('#dropdown-years-events li').click(function(){$('#dropdown-years-events li').removeClass('is-selected');$(this).addClass('is-selected');var selectedYear=$(this).attr('rel');$('.loader-wrap').show();$.ajax({type:'POST',url:front_public_ajax.ajaxurl,data:{action:'process_selected_year',selected_year:selectedYear},beforeSend:function(){$('#workplace-items').empty().hide();$('#workplace-items').next('.show-more-wrap').remove();},success:function(response){if(response.success){$.each(response.data.items,function(index,item){var itemId="event_"+(index+1)+"_"+selectedYear;$('#workplace-items').append(`
15                            <div class="workplace-item modal-toggle-life" data-selected-year="${selectedYear}" data-id="${itemId}">
16                            <div class="workplace-item-inner">
17                            <div class="event-img">
18                            <img src="${item.image}" alt="${item.title}">
19                            </div>
20                            <h3>${item.title}</h3>
21                            </div>
22                            </div>
23                            `);});$('#workplace-items .workplace-item:gt(5)').addClass('hidden-row');setTimeout(function(){$('#workplace-items').show();$('.loader-wrap').hide();if(response.data.items.length>6){$('#workplace-items').after(`
24                                <div class="show-more-wrap show-more-button"> 
25                                <div class="show-more-caption" id="show-more-btn">
26                                <span class="icon-img">
27                                <img src="https://www.worldwebtechnology.com/wp-content/themes/wwt/img/life-wwt/show-more.svg" alt="show more">
28                                </span>
29                                <h6>Show More</h6>
30                                </div>
31                                </div>
32                                `);}},1000);}},error:function(xhr,textStatus,errorThrown){console.error('Error:',errorThrown);$('.loader-wrap').hide();}});});});$('#workplace-items .workplace-item:gt(5)').addClass('hidden-row');toggleShowMoreButton();$(document).on('click','.workplace-item.modal-toggle-life',function(){var dataId=$(this).data('id');var selectedYear=$(this).data('selected-year');var titletag=$(this).find('h3').text();var imageSrc=$(this).find(".event-img img").attr("src");var galleryItems=[];$('.media-container').empty();$.ajax({type:'POST',url:front_public_ajax.ajaxurl,data:{action:'popup_event',event_id:dataId,selectedYear:selectedYear,imageSrc:imageSrc},success:function(response){if(response.success){$.each(response.data.items,function(index,item){if(item.image){galleryItems.push({src:item.image,type:'image'});}
33if(item.videos){galleryItems.push({src:item.videos,type:'video'});}});$.fancybox.open(galleryItems,{buttons:["zoom","slideShow","thumbs","close"],loop:true,infobar:true,toolbar:true,transitionEffect:"fade",touch:{vertical:false},autoFocus:false,afterShow:function(instance,current){$('<div class="custom-title">'+titletag+'</div>').insertAfter($('.fancybox-content'));},afterClose:function(instance,current){history.replaceState({},document.title,window.location.pathname);}});}},error:function(xhr,textStatus,errorThrown){console.error('Error:',errorThrown);}});});$('#video-section-wrap-li a').click(function(){$(".video-loader-wrap").show();$('#video-slide').hide();$('#thumb-slide').hide();$('#video-slide').trigger("refresh.owl.carousel");$('#thumb-slide').trigger("refresh.owl.carousel");setTimeout(function(){$(".video-loader-wrap").hide();$('#video-slide').show();$('#thumb-slide').show();},1000);});$('#image-section-wrap-li a').click(function(){$('.image-slider').trigger("refresh.owl.carousel");$('#image-thumb-slide').trigger("refresh.owl.carousel");$(".image-slider").show();$("#image-thumb-slide").show();});$('.modal-close').click(function(){$('.tabs-nav li:first-child a').trigger('click');$('.image-slider').empty();$('#video-slide').empty();$('#thumb-slide').empty();$('#image-thumb-slide').empty();$('.workplace-modal').removeClass('is-visible');$('body').removeClass('popup-visible');$('.image-slider').trigger('destroy.owl.carousel').removeClass('owl-loaded owl-hidden');$('.image-slider').find('.owl-stage-outer').children().unwrap();$('.thumb-slider').trigger('destroy.owl.carousel').removeClass('owl-loaded owl-hidden');$('.thumb-slider').find('.owl-stage-outer').children().unwrap();$('.image-thumb-slider').trigger('destroy.owl.carousel').removeClass('owl-loaded owl-hidden');$('.image-thumb-slider').find('.owl-stage-outer').children().unwrap();$('.vid-slider-inner').trigger('destroy.owl.carousel').removeClass('owl-loaded owl-hidden');$('.vid-slider-inner').find('.owl-stage-outer').children().unwrap();});setActiveCategoryFromUrl();$(document).on('click','.cat-list-sidebar',function(){$('.loader-wrap').show();var catId=$(this).data('cat-id');var catslug=$(this).data('cat-slug');var name=$(this).find('.store-name-default').text();sessionStorage.setItem('activeCategoryName',name);updateUrlParameter('category',catslug);setActiveCategory(catId,name);var page=1;$('.ctm-pagination').hide();retrievePortfolioPosts(catId,page,catslug);});$(document).on('click','.ctm-pagination a',function(e){if($(this).closest('.ctm-pagination').hasClass('blog-page')){return;}
34e.preventDefault();var page=$(this).data('page');var currentCategory=$('.cat-list-sidebar.active').data('cat-id');var currentCategoryslug=$('.cat-list-sidebar.active').data('cat-slug');var searchTerm=$('#search-text-1').val();if(!page){var pageText=$(this).text().trim();page=parseInt(pageText);
34if(isNaN(page))return;}
35if(searchTerm){performSearchPagination(searchTerm,page);}else{retrievePortfolioPosts(currentCategory,page,currentCategoryslug);}});$(document).ready(function(){var urlParams=new URLSearchParams(window.location.search);var categoryId=urlParams.get('category');if(categoryId){var storedName=sessionStorage.getItem('activeCategoryName');if(storedName){updatePortfolioTitle(storedName);}else{var $categoryElement=$('.cat-list-sidebar[data-cat-id="'+categoryId+'"]');if($categoryElement.length){var categoryName=$categoryElement.find('.store-name-default').text();updatePortfolioTitle(categoryName);}}}});$('#count_search_result').submit(function(e){e.preventDefault();$('.loader-wrap').show();var search=$('#search-text-1').val();var page=1;if(search==''){return;}
36performSearchPagination(search,page);});jQuery(document).ready(function(){var $videoItem=jQuery(".video_item video");var $playButton=jQuery(".play-btn");var isVideoPlaying=false;$playButton.click(function(){if(isVideoPlaying){$videoItem.trigger("pause");$playButton.show();}else{$videoItem.trigger("play");$playButton.hide();}
37isVideoPlaying=!isVideoPlaying;});$videoItem.on("pause",function(){$playButton.show();});$videoItem.on("play",function(){$playButton.hide();});});jQuery(document).on('click','#show-more-btn',function(){jQuery('#workplace-items .workplace-item:hidden').slice(0,3).slideDown().removeClass('hidden-row');if(jQuery('#workplace-items .workplace-item:hidden').length===0){jQuery('.show-more-button').hide();}});jQuery(document).ready(function(){if(jQuery(window).width()<=1024){jQuery('.benefits-service-items').addClass("owl-carousel owl-theme");jQuery('.benefits-service-items').owlCarousel({loop:true,margin:10,items:4,nav:false,dots:true,autoplay:false,autoplayTimeout:3000,autoplayHoverPause:false,responsive:{0:{items:1},767:{items:2},1025:{items:2}}});}
38if(jQuery(window).width()<=1024){jQuery('.slider_featured_portfolio_service-dtls').addClass("owl-carousel owl-theme");jQuery('.slider_featured_portfolio_service-dtls').owlCarousel({loop:true,margin:10,items:4,nav:false,dots:true,autoplay:false,autoplayTimeout:3000,autoplayHoverPause:false,responsive:{0:{items:1},767:{items:2},1025:{items:2}}});}
39if(jQuery(window).width()<=1024){jQuery('.hire-develoeprs-india-items').addClass("owl-carousel owl-theme");jQuery('.hire-develoeprs-india-items').owlCarousel({loop:true,margin:10,items:4,nav:false,dots:true,autoplay:false,autoplayTimeout:3000,autoplayHoverPause:false,autoHeight:true,responsive:{0:{items:1},767:{items:2},1025:{items:2}}});}
40if(jQuery(window).width()<=1024){jQuery('.perks-caption .perks-items').addClass("owl-carousel owl-theme");jQuery('.perks-caption .perks-items').owlCarousel({loop:true,margin:10,items:4,nav:false,dots:true,autoplay:false,autoplayTimeout:3000,autoplayHoverPause:false,responsive:{0:{items:1},767:{items:2},1025:{items:2}}});}});jQuery(document).ready(function($){$('textarea#site-wrap-service-details-option').hide();
40function setReadOnlyValue(){var newTitle=$('.banner-caption .srvc-dtls-content h1').text().trim();if(newTitle!==''){newTitle=newTitle.replace(/[?,.!&]/g,'');$('textarea#site-wrap-service-details-option').val(newTitle).prop("readonly",true);}}
41setReadOnlyValue();$(document).on('wpcf7mailsent',function(event){setReadOnlyValue();});$(window).on('load',function(){setReadOnlyValue();});$('input, select, tel, textarea').on('focus',function(){setReadOnlyValue();});$('#site-wrap-service-details-options').hide();var h2Text=$('.career-detail-position-name').text();if(h2Text!=''){$('span#site-wrap-service-details-options').val(h2Text);}});});jQuery(document).ready(function($){function fixSlickAriaHidden(){$('.slick-slide[aria-hidden="true"]').each(function(){$(this).attr('tabindex','-1');$(this).find('a, button, input, select, textarea, [tabindex]').each(function(){$(this).attr('tabindex','-1');});});$('.slick-slide[aria-hidden="false"]').each(function(){$(this).attr('tabindex','0');});}
42$(document).on('init afterChange','.slider-nav, .slick-slider',function(){fixSlickAriaHidden();});setTimeout(function(){fixSlickAriaHidden();},1500);$('.youtube-lazy').on('click',function(){var video=$(this).data('video');var iframe='<iframe '+'src="https://www.youtube.com/embed/'+video+'?autoplay=1&rel=0" '+'allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" '+'allowfullscreen '+'loading="lazy">'+'</iframe>';$(this).html(iframe);});});

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.