PageSourceSearch

https://login-problems.com/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js?ver=1.8.1

js login-problems.com collected 2026-10-06 13:15:35 UTC 21,823 bytes, 723 lines download raw bytes

1CLI_ACCEPT_COOKIE_NAME =(typeof CLI_ACCEPT_COOKIE_NAME !== 'undefined' ? CLI_ACCEPT_COOKIE_NAME : 'viewed_cookie_policy');
2CLI_ACCEPT_COOKIE_EXPIRE =(typeof CLI_ACCEPT_COOKIE_EXPIRE !== 'undefined' ? CLI_ACCEPT_COOKIE_EXPIRE : 365);
3CLI_COOKIEBAR_AS_POPUP=(typeof CLI_COOKIEBAR_AS_POPUP !== 'undefined' ? CLI_COOKIEBAR_AS_POPUP : false);
4var CLI_Cookie={
5	set: function (name, value, days) {
6        if (days) {
7            var date = new Date();
8            date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
9            var expires = "; expires=" + date.toGMTString();
10        } else
11            var expires = "";
12        document.cookie = name + "=" + value + expires + "; path=/";
13        if(days<1)
14        {
15            host_name=window.location.hostname;
16            document.cookie = name + "=" + value + expires + "; path=/; domain=."+host_name+";";
17            if(host_name.indexOf("www")!=1)
18			{  
19			   var host_name_withoutwww=host_name.replace('www','');
20			   document.cookie = name + "=" + value + expires + "; path=/; domain="+host_name_withoutwww+";";
21			}
22            host_name=host_name.substring(host_name.lastIndexOf(".", host_name.lastIndexOf(".")-1));
23            document.cookie = name + "=" + value + expires + "; path=/; domain="+host_name+";";
24        }
25    },
26    read: function (name) {
27        var nameEQ = name + "=";
28        var ca = document.cookie.split(';');
29        for (var i = 0; i < ca.length; i++) {
30            var c = ca[i];
31            while (c.charAt(0) == ' ') {
32                c = c.substring(1, c.length);
33            }
34            if (c.indexOf(nameEQ) === 0) {
35                return c.substring(nameEQ.length, c.length);
36            }
37        }
38        return null;
39    },
40    erase: function (name) {
41        this.set(name, "", -10);
42    },
43    exists: function (name) {
44        return (this.read(name) !== null);
45    },
46    getallcookies:function() 
47    {
48	    var pairs = document.cookie.split(";");
49	    var cookieslist = {};
50	    for (var i = 0; i < pairs.length; i++) {
51	        var pair = pairs[i].split("=");
52	        cookieslist[(pair[0] + '').trim()] = unescape(pair[1]);
53	    }
54	    return cookieslist;
55	}
56}
57var CLI=
58{
59	bar_config:{},
60	showagain_config:{},
61	set:function(args)
62	{
63		if(typeof JSON.parse !== "function") 
64		{
65	        console.log("CookieLawInfo requires JSON.parse but your browser doesn't support it");
66	        return;
67	    }
68	    this.settings = JSON.parse(args.settings);
69	    this.bar_elm=jQuery(this.settings.notify_div_id);
70	    this.showagain_elm = jQuery(this.settings.showagain_div_id);
71
72        /* buttons */
73        this.main_button=jQuery('.cli-plugin-main-button');
74        this.main_link = jQuery('.cli-plugin-main-link');
75        this.reject_link = jQuery('.cookie_action_close_header_reject');
76		    this.delete_link=jQuery(".cookielawinfo-cookie-delete");
77	    	this.settings_button=jQuery('.cli_settings_button');
78
79        if(this.settings.cookie_bar_as=='popup')
80    	{
81    		CLI_COOKIEBAR_AS_POPUP=true;
82    	}
83        this.configBar();
84        this.toggleBar();
85        this.attachDelete();
86        this.attachEvents();
87		    this.configButtons();
88		
89        var cli_hidebar_on_readmore=this.hideBarInReadMoreLink();
90        if(this.settings.scroll_close===true && cli_hidebar_on_readmore===false) 
91        {
92        	window.addEventListener("scroll",CLI.closeOnScroll, false);
93    	}
94	},
95	hideBarInReadMoreLink:function()
96	{
97		if(CLI.settings.button_2_hidebar===true && this.main_link.length>0 && this.main_link.hasClass('cli-minimize-bar'))
98		{
99			this.hideHeader();
100			this.showagain_elm.slideDown(this.settings.animate_speed_show);
101			return true;
102		}
103		return false;
104	},
105	attachEvents:function()
106	{
107		jQuery('.cli_action_button').click(function(e){
108			e.preventDefault();
109			var elm=jQuery(this);
110			var button_action=elm.attr('data-cli_action');
111			var open_link=elm[0].hasAttribute("href") && elm.attr("href") != '#' ? true : false;
112			var new_window=false;
113			if(button_action=='accept')
114			{
115				CLI.accept_close();
116				new_window=CLI.settings.button_1_new_win ? true : false;
117			}else if(button_action=='reject')
118			{
119				CLI.reject_close();
120				new_window=CLI.settings.button_3_new_win ? true : false;
121			}
122			if(open_link)
123			{
124                if(new_window)
125                {
126                    window.open(elm.attr("href"),'_blank');
127                }else
128                {
129                    window.location.href =elm.attr("href");
130                }  
131            }
132		});
133		this.settingsPopUp();
134		this.settingsTabbedAccordion();
135		this.toggleUserPreferenceCheckBox();
136	},
137	toggleUserPreferenceCheckBox:function()
138	{
139    	jQuery('.cli-user-preference-checkbox').each(function(){
140        	if(jQuery(this).is(':checked'))
141        	{
142        		CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'yes',CLI_ACCEPT_COOKIE_EXPIRE);
143        	}else
144        	{
145        	    CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'no',CLI_ACCEPT_COOKIE_EXPIRE);	
146        	}
147        });
148    	jQuery('.cli-user-preference-checkbox').click(function(){
149        	if(jQuery(this).is(':checked'))
150        	{
151        		CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'yes',CLI_ACCEPT_COOKIE_EXPIRE);
152        	}else
153        	{
154        	    CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'no',CLI_ACCEPT_COOKIE_EXPIRE);	
155        	}
156        });
157	},
158	settingsPopUp:function()
159	{	
160		jQuery('.cli_settings_button').click(function (e) {
161			e.preventDefault();
162			jQuery('#cliSettingsPopup').addClass("cli-show").css({'opacity':0}).animate({'opacity':1});
163			jQuery('#cliSettingsPopup').removeClass('cli-blowup cli-out').addClass("cli-blowup");
164			jQuery('body').addClass("cli-modal-open");
165			jQuery(".cli-settings-overlay").addClass("cli-show");
166			jQuery("#cookie-law-info-bar").css({'opacity':.1});
167			if(!jQuery('.cli-settings-mobile').is(':visible'))
168			{
169				jQuery('#cliSettingsPopup').find('.cli-nav-link:eq(0)').click();
170			}
171	    });
172		jQuery('#cliModalClose').click(function(){
173			CLI.settingsPopUpClose();
174		});
175		jQuery("#cliSettingsPopup").click(function(e){
176			if(!(document.getElementsByClassName('cli-modal-dialog')[0].contains(e.target)))
177			{
178				CLI.settingsPopUpClose();
179			}
180		});
181		jQuery('.cli_enable_all_btn').click(function(){
182			var cli_toggle_btn = jQuery(this);
183			var enable_text = cli_toggle_btn.attr('data-enable-text');
184			var disable_text= cli_toggle_btn.attr('data-disable-text');
185			if(cli_toggle_btn.hasClass('cli-enabled')){
186				CLI.disableAllCookies();
187				cli_toggle_btn.html(enable_text);
188			}
189			else
190			{
191				CLI.enableAllCookies();
192				cli_toggle_btn.html(disable_text);
193
194			}
195			jQuery(this).toggleClass('cli-enabled');
196		});
197		
198		this.privacyReadmore();
199	},
200	settingsTabbedAccordion:function()
201	{
202		jQuery(".cli-tab-header").on("click", function(e) {
203			if(!(jQuery(e.target).hasClass('cli-slider') || jQuery(e.target).hasClass('cli-user-preference-checkbox')))
204			{
205				if (jQuery(this).hasClass("cli-tab-active")) {
206					jQuery(this).removeClass("cli-tab-active");
207					jQuery(this)
208					  .siblings(".cli-tab-content")
209					  .slideUp(200);
210
211				  } else {
212					jQuery(".cli-tab-header").removeClass("cli-tab-active");
213					jQuery(this).addClass("cli-tab-active");
214					jQuery(".cli-tab-content").slideUp(200);
215					jQuery(this)
216					  .siblings(".cli-tab-content")
217					  .slideDown(200);
218				  }
219			}	
220		  });
221	},
222	settingsPopUpClose:function()
223	{
224		jQuery('#cliSettingsPopup').removeClass('cli-show');
225		jQuery('#cliSettingsPopup').addClass('cli-out');
226		jQuery('body').removeClass("cli-modal-open");
227        jQuery(".cli-settings-overlay").removeClass("cli-show");
228        jQuery("#cookie-law-info-bar").css({'opacity':1});
229	},
230	privacyReadmore:function()
231	{	
232		var el= jQuery('.cli-privacy-content .cli-privacy-content-text'),
233		clone= el.clone(),
234		originalHtml= clone.html(),
235		originalHeight= el.outerHeight(),
236		Trunc = {
237		addReadmore:function(textBlock)
238		{	
239			if(textBlock.html().length > 250)
240			{
241				jQuery('.cli-privacy-readmore').show();
242			}
243			else
244			{
245				jQuery('.cli-privacy-readmore').hide();
246			}
247		},
248		truncateText : function( textBlock ) {   
249			var strippedText = jQuery('<div />').html(textBlock.html()); 
250			strippedText.find('table').remove();        
251			textBlock.html(strippedText.html());
252			while (textBlock.text().length > 250 ) 
253			{
254				textBlock.text(function(index, text) {
255					return text.replace(/\W*\s(\S)*$/, '...');
256				});
257			}
258		},     
259		replaceText: function ( textBlock, original ){
260			return textBlock.html(original);      
261		}  
262		
263		};
264		Trunc.addReadmore(el);
265		Trunc.truncateText(el);
266		jQuery('a.cli-privacy-readmore').click(function(e){
267			e.preventDefault();
268			if(jQuery('.cli-privacy-overview').hasClass('cli-collapsed'))
269			{	
270				Trunc.truncateText(el);
271				jQuery('.cli-privacy-overview').removeClass('cli-collapsed');
272				el.css('height', '100%');
273			}
274			else
275			{
276				jQuery('.cli-privacy-overview').addClass('cli-collapsed');
277				Trunc.replaceText(el, originalHtml);
278			}
279			
280			
281		});
282	},
283	attachDelete:function()
284	{
285		this.delete_link.click(function () {
286	        CLI_Cookie.erase(CLI_ACCEPT_COOKIE_NAME);
287	        for(var k in Cli_Data.nn_cookie_ids) 
288	        {
289	            CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]);
290	        }
291	        return false;
292	    });
293	},
294	configButtons:function()
295	{
296	    /*[cookie_button] */
297	    this.main_button.css('color',this.settings.button_1_link_colour);
298	    if(this.settings.button_1_as_button) 
299	    {
300	        this.main_button.css('background-color',this.settings.button_1_button_colour);
301	        this.main_button.hover(function () {
302	            jQuery(this).css('background-color',CLI.settings.button_1_button_hover);
303	        },function (){
304	            jQuery(this).css('background-color',CLI.settings.button_1_button_colour);
305	        });
306	    }
307
308	    /* [cookie_link] */    
309	    this.main_link.css('color',this.settings.button_2_link_colour);
310	    if(this.settings.button_2_as_button) 
311	    {
312	        this.main_link.css('background-color',this.settings.button_2_button_colour);
313	        this.main_link.hover(function () {
314	            jQuery(this).css('background-color',CLI.settings.button_2_button_hover);
315	        },function (){
316                jQuery(this).css('background-color',CLI.settings.button_2_button_colour);
317            });
318	    }
319	    /* [cookie_reject] */	    
320	    this.reject_link.css('color',this.settings.button_3_link_colour);
321	    if(this.settings.button_3_as_button) 
322	    {
323	        this.reject_link.css('background-color',this.settings.button_3_button_colour);
324	        this.reject_link.hover(function () {
325	            jQuery(this).css('background-color',CLI.settings.button_3_button_hover);
326	        },function () {
327	            jQuery(this).css('background-color',CLI.settings.button_3_button_colour);
328	        });
329		}
330		/* [cookie_settings] */	    
331	    this.settings_button.css('color',this.settings.button_4_link_colour);
332	    if(this.settings.button_4_as_button) 
333	    {
334	        this.settings_button.css('background-color',this.settings.button_4_button_colour);
335	        this.settings_button.hover(function () {
336	            jQuery(this).css('background-color',CLI.settings.button_4_button_hover);
337	        },function () {
338	            jQuery(this).css('background-color',CLI.settings.button_4_button_colour);
339	        });
340	    }
341	},
342	toggleBar:function()
343	{
344		if(CLI_COOKIEBAR_AS_POPUP)
345		{
346			this.barAsPopUp(1);
347		}
348		if(CLI.settings.cookie_bar_as=='widget')
349		{
350			this.barAsWidget(1);
351		}
352		if(!CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)) 
353		{
354	        this.displayHeader();
355	    }else
356	    {
357	        this.hideHeader();
358	    }
359	    if(this.settings.show_once_yn) 
360	    {
361	        setTimeout(function(){
362	        	CLI.close_header();
363	        },CLI.settings.show_once);
364	    }
365
366	    this.showagain_elm.click(function (e) {
367	        e.preventDefault();
368	        CLI.showagain_elm.slideUp(CLI.settings.animate_speed_hide,function() 
369	        {
370	            CLI.bar_elm.slideDown(CLI.settings.animate_speed_show);
371	            if(CLI_COOKIEBAR_AS_POPUP)
372				{
373					CLI.showPopupOverlay();
374				}
375	        });
376	    });
377	},
378	configShowAgain:function()
379	{
380		this.showagain_config = {
381	        'background-color': this.settings.background,
382	        'color':this.l1hs(this.settings.text),
383	        'position': 'fixed',
384	        'font-family': this.settings.font_family
385	    };
386	    if(this.settings.border_on) 
387	    {
388	        var border_to_hide = 'border-' + this.settings.notify_position_vertical;
389	        this.showagain_config['border'] = '1px solid ' + this.l1hs(this.settings.border);
390	        this.showagain_config[border_to_hide] = 'none';
391	    }
392	    var cli_win=jQuery(window);
393    	var cli_winw=cli_win.width();
394    	var showagain_x_pos=this.settings.showagain_x_position;
395    	if(cli_winw<300)
396    	{
397    		showagain_x_pos=10;
398    		this.showagain_config.width=cli_winw-20;
399    	}else
400    	{
401    		this.showagain_config.width='auto';
402    	}
403	    var cli_defw=cli_winw>400 ? 500 : cli_winw-20;
404	    if(CLI_COOKIEBAR_AS_POPUP) /* cookie bar as popup */
405	    {
406	    	var sa_pos=this.settings.popup_showagain_position;
407	    	var sa_pos_arr=sa_pos.split('-');
408	    	if(sa_pos_arr[1]=='left')
409	    	{
410	    		this.showagain_config.left=showagain_x_pos;
411	    	}else if(sa_pos_arr[1]=='right')
412	    	{	
413	    		this.showagain_config.right=showagain_x_pos;
414	    	}
415	    	if(sa_pos_arr[0]=='top')
416	    	{
417	    		this.showagain_config.top=0;
418
419	    	}else if(sa_pos_arr[0]=='bottom')
420	    	{	
421	    		this.showagain_config.bottom=0;
422	    	}
423	    	this.bar_config['position'] = 'fixed';
424
425	    }else if(this.settings.cookie_bar_as=='widget')
426	    {
427	    	this.showagain_config.bottom=0;
428	    	if(this.settings.widget_position=='left')
429	    	{
430	    		this.showagain_config.left=showagain_x_pos;
431	    	}else if(this.settings.widget_position=='right')
432	    	{	
433	    		this.showagain_config.right=showagain_x_pos;
434	    	}
435	    }
436	    else
437	    {
438	    	if(this.settings.notify_position_vertical == "top") 
439		    {
440		        this.showagain_config.top = '0';
441		    }
442		    else if(this.settings.notify_position_vertical == "bottom") 
443		    {
444		        this.bar_config['position'] = 'fixed';
445		        this.bar_config['bottom'] = '0';
446		        this.showagain_config.bottom = '0';
447		    }
448		    if(this.settings.notify_position_horizontal == "left") 
449		    {
450		        this.showagain_config.left =showagain_x_pos;
451		    }else if(this.settings.notify_position_horizontal == "right") 
452		    {
453		        this.showagain_config.right =showagain_x_pos;
454		    }
455	    } 
456	    this.showagain_elm.css(this.showagain_config);	    
457	},
458	configBar:function()
459	{
460		this.bar_config = {
461	        'background-color':this.settings.background,
462	        'color':this.settings.text,
463	        'font-family':this.settings.font_family
464	    };
465	    if(this.settings.notify_position_vertical=="top") 
466	    {
467	        this.bar_config['top'] = '0';
468	        if(this.settings.header_fix === true) 
469	        {
470	            this.bar_config['position'] = 'fixed';
471	        }
472	    }else 
473	    {
474	        this.bar_config['bottom'] = '0';
475	    }
476	    this.configShowAgain();
477	    this.bar_elm.css(this.bar_config).hide();
478	},
479	l1hs:function(str) 
480	{
481	    if (str.charAt(0) == "#") {
482	        str = str.substring(1, str.length);
483	    } else {
484	        return "#" + str;
485	    }
486	    return this.l1hs(str);
487	},
488	close_header:function() 
489	{
490        CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'yes',CLI_ACCEPT_COOKIE_EXPIRE);
491        this.hideHeader();
492    },
493	accept_close:function() 
494    {        
495        this.hidePopupOverlay();
496        CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'yes',CLI_ACCEPT_COOKIE_EXPIRE);
497        if(this.settings.notify_animate_hide) 
498        {
499            this.bar_elm.slideUp(this.settings.animate_speed_hide);
500        }else 
501        {
502            this.bar_elm.hide();
503        }
504        if(this.settings.showagain_tab) 
505        {
506        	this.showagain_elm.slideDown(this.settings.animate_speed_show);
507        }
508        if(this.settings.accept_close_reload === true) 
509        {
510            this.reload_current_page();
511        }
512        return false;
513    },
514	reject_close:function() 
515    {
516        this.hidePopupOverlay();
517        for(var k in Cli_Data.nn_cookie_ids) 
518        {
519            CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]);
520        }
521        CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'no',CLI_ACCEPT_COOKIE_EXPIRE);
522        if(this.settings.notify_animate_hide) 
523        {
524            this.bar_elm.slideUp(this.settings.animate_speed_hide);
525        } else 
526        {
527            this.bar_elm.hide();
528        }
529        if(this.settings.showagain_tab) 
530        {
531        	this.showagain_elm.slideDown(this.settings.animate_speed_show);
532        }
533        if(this.settings.reject_close_reload === true) 
534        {
535            this.reload_current_page();
536        }
537        return false;
538    },
539    reload_current_page:function()
540    {
541    	if(typeof cli_flush_cache!=='undefined' && cli_flush_cache==1)
542    	{
543            window.location.href=this.add_clear_cache_url_query();
544    	}else
545    	{
546    		window.location.reload(true);
547    	}
548    },
549    add_clear_cache_url_query:function()
550    {
551    	var cli_rand=new Date().getTime()/1000;
552    	var cli_url=window.location.href;
553    	var cli_hash_arr=cli_url.split('#');
554    	var cli_urlparts= cli_hash_arr[0].split('?');
555    	if(cli_urlparts.length>=2) 
556    	{
557    		var cli_url_arr=cli_urlparts[1].split('&');
558    		cli_url_temp_arr=new Array();
559    		for(var cli_i=0; cli_i<cli_url_arr.length; cli_i++)
560    		{   			
561    			var cli_temp_url_arr=cli_url_arr[cli_i].split('=');
562    			if(cli_temp_url_arr[0]=='cli_action')
563    			{
564
565    			}else
566    			{
567    				cli_url_temp_arr.push(cli_url_arr[cli_i]);
568    			}
569    		}
570    		cli_urlparts[1]=cli_url_temp_arr.join('&');
571    		cli_url=cli_urlparts.join('?')+(cli_url_temp_arr.length>0 ? '&': '')+'cli_action=';
572    	}else
573    	{
574    		cli_url=cli_hash_arr[0]+'?cli_action=';
575    	}
576    	cli_url+=cli_rand;
577    	if(cli_hash_arr.length>1)
578    	{
579    		cli_url+='#'+cli_hash_arr[1];
580    	}
581    	return cli_url;
582    },
583	closeOnScroll:function() 
584	{
585        if(window.pageYOffset > 100 && !CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)) 
586        {
587            CLI.accept_close();
588            if(CLI.settings.scroll_close_reload === true) 
589            {
590                window.location.reload();
591            }
592            window.removeEventListener("scroll",CLI.closeOnScroll,false);
593        }
594    },
595    displayHeader:function() 
596    {   
597        if(this.settings.notify_animate_show) 
598        {
599            this.bar_elm.slideDown(this.settings.animate_speed_show);
600        }else 
601        {
602            this.bar_elm.show();
603        }
604        this.showagain_elm.hide();
605        if(CLI_COOKIEBAR_AS_POPUP)
606		{
607			this.showPopupOverlay();
608		}    
609    },
610    hideHeader:function()
611    {      
612        if(this.settings.showagain_tab) 
613        {
614	        if(this.settings.notify_animate_show) 
615	        {
616	            this.showagain_elm.slideDown(this.settings.animate_speed_show);
617	        } else {
618	            this.showagain_elm.show();
619	        }
620    	}else
621    	{
622    		this.showagain_elm.hide();
623    	}
624        this.bar_elm.slideUp(this.settings.animate_speed_show);
625        this.hidePopupOverlay();
626    },
627    hidePopupOverlay:function() 
628    {
629        jQuery('body').removeClass("cli-barmodal-open");
630        jQuery(".cli-popupbar-overlay").removeClass("cli-show");
631    },
632    showPopupOverlay:function()
633    {
634        if(this.settings.popup_overlay)
635        {
636        	jQuery('body').addClass("cli-barmodal-open");
637        	jQuery(".cli-popupbar-overlay").addClass("cli-show");
638    	}
639    },
640    barAsWidget:function(a)
641    {
642    	var cli_elm=this.bar_elm;
643	    var cli_win=jQuery(window);
644	    var cli_winh=cli_win.height()-40;
645	    var cli_winw=cli_win.width();
646	    var cli_defw=cli_winw>400 ? 300 : cli_winw-30;
647	    cli_elm.css({
648	        'width':cli_defw,'height':'auto','max-height':cli_winh,'padding':'25px 15px','overflow':'auto','position':'fixed','box-sizing':'border-box'
649	    });
650	    if(this.settings.widget_position=='left')
651	    {
652	    	cli_elm.css({
653	        	'left':'15px','right':'auto','bottom':'15px','top':'auto'
654	    	});
655	    }else
656	    {
657	    	cli_elm.css({
658	        	'left':'auto','right':'15px','bottom':'15px','top':'auto'
659	    	});
660	    }
661	    if(a)
662	    {
663	    	this.setResize();
664		}
665    },
666    barAsPopUp:function(a)
667    {    	
668    	if(typeof cookie_law_info_bar_as_popup==='function')
669    	{
670    		return false;
671    	}
672    	var cli_elm=this.bar_elm;
673	    var cli_win=jQuery(window);
674	    var cli_winh=cli_win.height()-40;
675	    var cli_winw=cli_win.width();
676	    var cli_defw=cli_winw>700 ? 500 : cli_winw-20;
677
678	    cli_elm.css({
679	        'width':cli_defw,'height':'auto','max-height':cli_winh,'bottom':'','top':'50%','left':'50%','margin-left':(cli_defw/2)*-1,'margin-top':'-100px','padding':'25px 15px','overflow':'auto'
680	    }).addClass('cli-bar-popup cli-modal-content');
681	    
682	    
683	    cli_h=cli_elm.height();
684	    li_h=cli_h<200 ? 200 : cli_h;
685	    cli_elm.css({'top':'50%','margin-top':((cli_h/2)+30)*-1});	    
686	    setTimeout(function(){ 
687		    cli_elm.css({
688		        'bottom':''
689		    });
690	     },100);
691	    if(a)
692	    {
693	    	this.setResize();
694		}
695    },
696    setResize:function()
697	{
698		var resizeTmr=null;
699		jQuery(window).resize(function() {
700			clearTimeout(resizeTmr);
701			resizeTmr=setTimeout(function()
702			{
703				if(CLI_COOKIEBAR_AS_POPUP)
704				{
705					CLI.barAsPopUp();
706				}
707				if(CLI.settings.cookie_bar_as=='widget')
708				{
709					CLI.barAsWidget();
710				}
711				CLI.configShowAgain();
712			},500);
713		});
714	}
715}
716jQuery(document).ready(function() {
717    if(typeof cli_cookiebar_settings!='undefined')
718    {
719	    CLI.set({
720	      settings:cli_cookiebar_settings
721	    });
722	}
723});

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.