HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/smilepac/public_html/wp-content/plugins/codevz-plus/wpbakery/assets/js/working_hours.js
jQuery( function( $ ) {
	"use strict";

	Codevz_Plus.working_hours = function() {

		var whl = $( '.cz_wh_line_between .cz_wh_line' ), timeout;

		$( window ).on( 'resize.whl', function() {

			clearTimeout( timeout );

			timeout = setTimeout( function() {

				whl.each( function( i, x ) {

					var x = $( x ), 
						pa = x.parent(), 
						ic = pa.find( 'span i' ),
						ll = pa.find( '.cz_wh_left b' ).outerWidth( true ) + ( ic.length ? ic.outerWidth( true ) + 8 : 0 ) + 12 + 'px',
						rr = pa.find( '.cz_wh_right' ).outerWidth( true ) + 12 + 'px',
						rtl = $( document.body ).hasClass( 'rtl' );

					x.css( 'left', rtl ? rr : ll ).css( 'right', rtl ? ll : rr );
				
				});

			}, 10 );

		}).trigger( 'resize.whl' );

	};

	Codevz_Plus.working_hours();

});