PageSourceSearch

https://www.tangibleintelligence.ai/wp-content/cache/wpfc-minified/lpm2m9x1/ux1i.js

js tangibleintelligence.ai collected 2026-10-05 12:43:17 UTC 15,586 bytes, 421 lines download raw bytes

1var $=jQuery.noConflict();
2var keys={37: 1, 38: 1, 39: 1, 40: 1};
3function preventDefault(e){
4e.preventDefault();
5}
6function preventDefaultForScrollKeys(e){
7if(keys[e.keyCode]){
8preventDefault(e);
9return false;
10}}
11var supportsPassive=false;
12try {
13window.addEventListener("test", null, Object.defineProperty({}, 'passive', {
14get: function (){ supportsPassive=true; }}));
15} catch(e){}
16var wheelOpt=supportsPassive ? { passive: false }:false;
17var wheelEvent='onwheel' in document.createElement('div') ? 'wheel':'mousewheel';
18function disableScroll(){
19window.addEventListener('DOMMouseScroll', preventDefault, false);
20window.addEventListener(wheelEvent, preventDefault, wheelOpt);
21window.addEventListener('touchmove', preventDefault, wheelOpt);
22window.addEventListener('keydown', preventDefaultForScrollKeys, false);
23}
24function enableScroll(){
25window.removeEventListener('DOMMouseScroll', preventDefault, false);
26window.removeEventListener(wheelEvent, preventDefault, wheelOpt);
27window.removeEventListener('touchmove', preventDefault, wheelOpt);
28window.removeEventListener('keydown', preventDefaultForScrollKeys, false);
29}
30function disableScrollTmp(){
31scrollTop =
32window.pageYOffset ||
33document.documentElement.scrollTop;
34scrollLeft =
35window.pageXOffset ||
36document.documentElement.scrollLeft,
37window.onscroll=function (){
38window.scrollTo(scrollLeft, scrollTop);
39};}
40function rollbackEnableScroll(){
41window.onscroll=function (){ };}
42function disableBodyScroll(){
43$('body').css({"overflow": "hidden"});
44}
45function enableBodyScroll(){
46$('body').css({"overflow": "unset"});
47}
48function toggleChaosTabs(currentTabIndex){
49var activeCircle=$('#contract-chaos-tabs').attr('tab' + currentTabIndex);
50if(window.outerWidth > 767){
51$(".contract-chaos-circle[circle="+activeCircle+"]").show();
52}else{
53$(".contract-chaos-circle-img[circle="+activeCircle+"]").show();
54}
55var currentCircleAnimate=$(".contract-chaos-circle[circle="+activeCircle+"]").find('.wheels-wrapper');
56if(currentCircleAnimate.length){
57const [wheelEl]=currentCircleAnimate;
58if(window.startAnimate||window.currentWheel!==wheelEl){
59$('.wheel-item-text').css({opacity: 0.2});
60$('.wheels-item-row.first .wheel-item-text:last-child').css({opacity: 1});
61window.startAnimate(wheelEl, window.currentWheel!==wheelEl);
62window.currentWheel=wheelEl;
63}}
64}
65function Utils(){
66}
67Utils.prototype={
68constructor: Utils,
69isElementInView: function (element, fullyInView){
70var pageTop=$(window).scrollTop();
71var pageBottom=pageTop + $(window).height();
72var elementTop=$(element).offset().top;
73var elementBottom=elementTop + $(element).height();
74if(fullyInView===true){
75return ((pageTop < elementTop)&&(pageBottom > elementBottom));
76}else{
77return ((elementTop <=pageBottom)&&(elementBottom >=pageTop));
78}}
79};
80var Utils=new Utils();
81function prepareJourneyDisplay(numItemDisplayWithourCurrent){
82var tabsWrapper=$('#our-journey-tabs-wrapper');
83var dataTabsTitles=tabsWrapper.find('.elementor-tabs-wrapper');
84var activeTabItem=$(dataTabsTitles).find('.elementor-tab-title.elementor-active');
85var allTabItems=$(dataTabsTitles).find('.elementor-tab-title');
86if($(allTabItems).length&&$(activeTabItem).length){
87var totalTabItems=$(allTabItems).length;
88var indexActive=$(activeTabItem).data('tab');
89if(numItemDisplayWithourCurrent==1){
90var activeTabItems=[indexActive];
91}else if(numItemDisplayWithourCurrent + 1==totalTabItems){
92var activeTabItems=[];
93for (var i=1; i <=totalTabItems; i++){
94activeTabItems.push(i);
95}}else{
96var numPrevStart=indexActive - parseInt(numItemDisplayWithourCurrent / 2);
97var numNextStart=indexActive + parseInt(numItemDisplayWithourCurrent / 2);
98var activeTabItems=[];
99var activePreTabItems=[];
100var activeNextTabItems=[];
101for (var i=numPrevStart; i < indexActive; i++){
102if(i > 0){
103if(!activeTabItems.includes(i)){
104activeTabItems.push(i);
105activePreTabItems.push(i);
106}}
107}
108numNextStart +=(parseInt(numItemDisplayWithourCurrent / 2) - activePreTabItems.length);
109for (var i=indexActive; i <=numNextStart; i++){
110if(i > indexActive){
111var tabIndex=parseInt($(allTabItems[i-1]).data('tab'));
112if(tabIndex){
113if(!activeTabItems.includes(i)){
114activeTabItems.push(i);
115activeNextTabItems.push(i);
116}}
117}}
118if(activeTabItems.length < numItemDisplayWithourCurrent &&
119activeNextTabItems.length < parseInt(numItemDisplayWithourCurrent / 2)){
120var flag=numPrevStart - (numItemDisplayWithourCurrent - activeNextTabItems.length) - 1;
121var newStartIndex=numPrevStart - flag ;
122for (var i=numPrevStart; i >=newStartIndex; i--){
123if(i > 0){
124var tabIndex=parseInt($(allTabItems[i-1]).data('tab'));
125if(tabIndex){
126if(activeTabItems.length < numItemDisplayWithourCurrent){
127if(!activeTabItems.includes(i)){
128activeTabItems.push(i);
129}}
130}}
131}}
132}
133activeTabItems.push(indexActive);
134for (var i=0; i < totalTabItems; i++){
135if(! activeTabItems.includes(i+1)){
136$(allTabItems[i]).addClass('tmp-hide');
137}else{
138$(allTabItems[i]).removeClass('tmp-hide');
139}}
140}}
141function ourJourneyInit(){
142var screenWidth=$(window).width();
143if(screenWidth < 1400&&screenWidth >=1070){
144prepareJourneyDisplay(5);
145}else if(screenWidth < 1070&&screenWidth >820){
146prepareJourneyDisplay(4);
147}else if(screenWidth <=820&&screenWidth >=768){
148prepareJourneyDisplay(3);
149}else if(screenWidth < 768){
150prepareJourneyDisplay(1);
151}else{
152prepareJourneyDisplay(9);
153}}
154function blogSubscribe (){
155$(document).on('click', '#subscribe_to_our_blog .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-text input, #subscribe_to_our_blog .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-email input', function(e){
156$(e.currentTarget).parent().addClass('active');
157});
158$("#subscribe_to_our_blog .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-text input, #subscribe_to_our_blog .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-email input").blur(function (){
159el=$(this);
160if(el.val()==''){
161label_value=el.prev('label').html();
162el.parent().removeClass("active");
163}});
164$(document).on('click', '#whiteperpage-download-form .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-text input, #whiteperpage-download-form .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-email input', function(e){
165$(e.currentTarget).parent().addClass('active');
166});
167$("#whiteperpage-download-form .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-text input, #whiteperpage-download-form .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-email input").blur(function (){
168el=$(this);
169if(el.val()==''){
170label_value=el.prev('label').html();
171el.parent().removeClass("active");
172}});
173}
174function initSuccessStorie(){
175$('.story-content-detail-text').addClass('loaded');
176$(document).on('click','.story-read-more-button', function(e){
177e.preventDefault();
178const target=$(this).data('target');
179$('.story-content-detail-text[data-detail="'+target+'"]').toggleClass('explained');
180});
181}
182jQuery(document).ready(function(){
183blogSubscribe();
184initSuccessStorie();
185jQuery('.home-transaction-button').click(function(e){
186e.preventDefault();
187var currentButton=jQuery(e.currentTarget);
188var oldTaskTitle=currentButton.attr('task-old');
189var newTaskTitle=currentButton.attr('task-new');
190var currentLinkButton=currentButton.find('a.elementor-button-link');
191jQuery('.home-transaction-button').find('a.elementor-button-link').removeClass('active');
192currentButton.find('a.elementor-button-link').addClass('active');
193if(oldTaskTitle&&newTaskTitle){
194var newTaskCardTitle=jQuery("#new-way-card-title");
195var oldTaskCardTitle=jQuery("#old-way-card-title");
196var newHeadingText=newTaskCardTitle.find('.elementor-heading-title');
197var oldHeadingText=oldTaskCardTitle.find('.elementor-heading-title');
198jQuery(newHeadingText).text(newTaskTitle);
199jQuery(oldHeadingText).text(oldTaskTitle);
200}
201jQuery('.transaction-broken-card').addClass('active');
202setTimeout(function(){
203jQuery('.transaction-broken-card').removeClass('active');
204}, 1000)
205}
205);
206jQuery('.home-transaction-button').hover(function(e){
207}, function(e){
208});
209jQuery(".let-chat-button").on('click', function(e){
210e.preventDefault();
211if(jQuery('#book-a-discussion-section').length){
212jQuery("html, body").animate({scrollTop: jQuery('#book-a-discussion-section').offset().top }, 2000);
213}else{
214var baseUrl=base_url||'';
215window.location.href=baseUrl + '/contact-us';
216}});
217$(document).on('click', "a[data-role='letchat']", function(e){
218e.preventDefault();
219if(jQuery('#book-a-discussion-section').length){
220jQuery("html, body").animate({scrollTop: jQuery('#book-a-discussion-section').offset().top }, 2000);
221}else{
222var baseUrl=base_url||'';
223window.location.href=baseUrl + '/contact-us';
224}})
225var inView=false;
226var numSteps=3;
227var countStep=0;
228var elmCheck=jQuery('#easy-to-get-started');
229var elmContainer=$('#easy-to-get-started-container');
230if(elmCheck.length){
231jQuery(window).on('scroll', function(e){
232inView=Utils.isElementInView(elmCheck, true);
233if(inView){
234e.preventDefault();
235}});
236function timelineParallax (){
237if(inView&&!elmCheck.hasClass('active-step-three')){
238setTimeout(function(){
239disableBodyScroll();
240countStep++;
241if(countStep==1){
242elmCheck.addClass('active-step-one');
243setTimeout(function(){
244var iconStep1=elmCheck.find('.accelerating-transactions-icon-step1');
245var iconStep1Active=elmCheck.find('.accelerating-transactions-icon-step1-active');
246$(iconStep1).css({opacity: 0});
247$(iconStep1Active).css({opacity:1 });
248}, 1000);
249}else if(countStep==2){
250elmCheck.addClass('active-step-two');
251setTimeout(function(){
252var iconStep2=elmCheck.find('.accelerating-transactions-icon-step2');
253var iconStep2Active=elmCheck.find('.accelerating-transactions-icon-step2-active');
254var step2=elmCheck.find('.accelerating-transaction-content-item.second');
255$(step2).css('opacity',1);
256setTimeout(function(e){
257$(iconStep2).css({opacity: 0});
258$(iconStep2Active).css({opacity:1 });
259},300)
260}, 1500);
261}else if(countStep==3){
262elmCheck.addClass('active-step-three');
263setTimeout(function(){
264var iconStep3=elmCheck.find('.accelerating-transactions-icon-step3');
265var iconStep3Active=elmCheck.find('.accelerating-transactions-icon-step3-active');
266var step3=elmCheck.find('.accelerating-transaction-content-item.third');
267$(step3).css('opacity',1);
268setTimeout(function(){
269$(iconStep3).css({opacity: 0});
270$(iconStep3Active).css({opacity:1 });
271}, 300);
272}, 2000);
273setTimeout(function(){
274enableBodyScroll();
275}, 4000);
276}})
277}}
278$(window).bind('mousewheel DOMMouseScroll', function(event){
279if(event.originalEvent.wheelDelta > 0||event.originalEvent.detail < 0){
280timelineParallax ();
281}else{
282timelineParallax ();
283}});
284}
285$(document).on('click', '.main-navigation ul li.menu-item.menu-item-has-children>a', function (e){
286e.preventDefault();
287var toggleBtn=$(e.currentTarget).parent().find('.ast-menu-toggle');
288if(toggleBtn.length){
289$(toggleBtn).trigger('click');
290}});
291$(document).on('click', '#ast-hf-mobile-menu li.menu-item.menu-item-has-children .ast-menu-toggle', function (e){
292e.preventDefault();
293var currentItem=$(e.currentTarget);
294var parentLi=currentItem.parent();
295var subMenu=$(parentLi).find('ul.sub-menu');
296var isOpen=currentItem.attr('aria-expanded');
297if(isOpen=='true'){
298$(subMenu).css({ height: '100%', visibility: 'visible',opacity: 1});
299}else{
300$(subMenu).css({ height: '0', visibility: 'hidden',opacity: 0});
301}});
302if(window.elementorFrontend){
303$(window).load(function(){
304ourJourneyInit();
305var tabsWrapper=$('#our-journey-tabs-wrapper');
306var dataTabsTitles=tabsWrapper.find('.elementor-tabs-wrapper');
307if(dataTabsTitles.length){
308$(dataTabsTitles).css({overflow: 'inherit', width: 'max-content'});
309$('#our-journey-nextBtn').addClass('can-click');
310}});
311}
312$(document).on('click', '#our-journey-backBtn', function (e){
313e.preventDefault();
314var tabsWrapper=$('#our-journey-tabs-wrapper');
315var dataTabsTitles=tabsWrapper.find('.elementor-tabs-wrapper');
316var activeTabItem=$(dataTabsTitles).find('.elementor-tab-title.elementor-active');
317var allTabItems=$(dataTabsTitles).find('.elementor-tab-title');
318if($(allTabItems).length&&$(activeTabItem).length){
319var totalTabItems=$(allTabItems).length;
320var indexActive=$(activeTabItem).data('tab');
321if(indexActive&&indexActive > 1){
322var prevIndexActive=parseInt(indexActive) - 1;
323for (var i=0; i < allTabItems.length; i++){
324var item=allTabItems[i];
325var dataIndex=parseInt($(item).data('tab'));
326if(dataIndex <=prevIndexActive){
327$(item).addClass('tmp-active');
328}
329if(dataIndex==prevIndexActive){
330$(item).trigger('click');
331$(activeTabItem).removeClass('tmp-active');
332break;
333}}
334if(prevIndexActive < totalTabItems){
335$(dataTabsTitles).removeClass('full-active');
336$('#our-journey-nextBtn').addClass('can-click');
337}
338if(prevIndexActive > 1){
339$('#our-journey-backBtn').addClass('can-click');
340}else{
341$('#our-journey-backBtn').removeClass('can-click');
342}}
343ourJourneyInit();
344}});
345$(document).on('click', '#our-journey-nextBtn', function (e){
346e.preventDefault();
347var tabsWrapper=$('#our-journey-tabs-wrapper');
348var dataTabsTitles=tabsWrapper.find('.elementor-tabs-wrapper');
349var activeTabItem=$(dataTabsTitles).find('.elementor-tab-title.elementor-active');
350var allTabItems=$(dataTabsTitles).find('.elementor-tab-title');
351if($(allTabItems).length&&$(activeTabItem).length){
352var totalTabItems=$(allTabItems).length;
353var indexActive=$(activeTabItem).data('tab');
354if(indexActive&&indexActive < totalTabItems){
355var nextIndexActive=parseInt(indexActive) + 1;
356for (var i=0; i < allTabItems.length; i++){
357var item=allTabItems[i];
358var dataIndex=parseInt($(item).data('tab'));
359if(dataIndex <=nextIndexActive){
360$(item).addClass('tmp-active');
361}
362if(dataIndex==nextIndexActive){
363$(item).trigger('click');
364break;
365}}
366$('#our-journey-backBtn').addClass('can-click');
367if(nextIndexActive==totalTabItems){
368$(dataTabsTitles).addClass('full-active');
369$('#our-journey-nextBtn').removeClass('can-click');
370}else{
371$(dataTabsTitles).removeClass('full-active');
372$('#our-journey-nextBtn').addClass('can-click');
373}}
374ourJourneyInit();
375}})
376$(document).on('click', '#our-journey-tabs-wrapper .elementor-tabs-wrapper .elementor-tab-title', function (e){
377var currentItem=$(e.currentTarget);
378var activeTabItem=currentItem.data('tab');
379var tabsWrapper=$('#our-journey-tabs-wrapper');
380var dataTabsTitles=tabsWrapper.find('.elementor-tabs-wrapper');
381var allTabItems=$(dataTabsTitles).find('.elementor-tab-title');
382$(dataTabsTitles).find('.elementor-tab-title').removeClass('tmp-active');
383if($(allTabItems).length&&$(activeTabItem).length){
384if(activeTabItem < $(allTabItems).length){
385$(dataTabsTitles).removeClass('full-active');
386}else{
387$(dataTabsTitles).addClass('full-active');
388}
389for (var i=0; i < allTabItems.length; i++){
390var tabIndex=parseInt($(allTabItems[i]).data('tab'));
391if(tabIndex <=activeTabItem){
392$(allTabItems[i]).addClass('tmp-active');
393}}
394ourJourneyInit();
395}});
396$(window).resize(function (){
397ourJourneyInit();
398});
399$(document).on('click', '#contract-chaos-tabs .elementor-tabs-wrapper .elementor-tab-title', function (e){
400$(".contract-chaos-circle").hide();
401$(".contract-chaos-circle-img").hide();
402var isTabActive=$(e.currentTarget).hasClass('.elementor-active');
403var currentTabIndex=$(e.currentTarget).data('tab');
404if(!isTabActive){
405if(currentTabIndex){
406toggleChaosTabs(currentTabIndex);
407}}
408});
409$(window).on('resize', function(e){
410var contarctChaosTabsItem=$('#contract-chaos-tabs .elementor-tabs-wrapper .elementor-tab-title');
411if(contarctChaosTabsItem.length){
412$(".contract-chaos-circle").hide();
413$(".contract-chaos-circle-img").hide();
414var activeTabItem=$('#contract-chaos-tabs .elementor-tabs-wrapper .elementor-tab-title.elementor-active');
415if(activeTabItem.length){
416var currentTabIndex=activeTabItem.data('tab');
417if(currentTabIndex){
418toggleChaosTabs(currentTabIndex);
419}}
420}})
421});

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.