| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/vhost/brvk.org/assets/js/ |
Upload File : |
function newlife_church_storage_get(a){"use strict";return newlife_church_isset(NEWLIFE_CHURCH_STORAGE[a])?NEWLIFE_CHURCH_STORAGE[a]:""}function newlife_church_storage_set(a,b){"use strict";NEWLIFE_CHURCH_STORAGE[a]=b}function newlife_church_storage_inc(a){"use strict";var b=void 0==arguments[1]?1:arguments[1];NEWLIFE_CHURCH_STORAGE[a]+=b}function newlife_church_storage_concat(a,b){"use strict";NEWLIFE_CHURCH_STORAGE[a]+=""+b}function newlife_church_storage_get_array(a,b){"use strict";return newlife_church_isset(NEWLIFE_CHURCH_STORAGE[a][b])?NEWLIFE_CHURCH_STORAGE[a][b]:""}function newlife_church_storage_set_array(a,b,c){"use strict";newlife_church_isset(NEWLIFE_CHURCH_STORAGE[a])||(NEWLIFE_CHURCH_STORAGE[a]={}),NEWLIFE_CHURCH_STORAGE[a][b]=c}function newlife_church_storage_inc_array(a,b){"use strict";var c=void 0==arguments[2]?1:arguments[2];NEWLIFE_CHURCH_STORAGE[a][b]+=c}function newlife_church_storage_concat_array(a,b,c){"use strict";NEWLIFE_CHURCH_STORAGE[a][b]+=""+c}function newlife_church_isset(a){"use strict";return void 0!==a}function newlife_church_empty(a){"use strict";return void 0===a||"object"==typeof a&&null==a||"array"==typeof a&&0==a.length||"string"==typeof a&&""==newlife_church_alltrim(a)||0===a}function newlife_church_is_array(a){"use strict";return"array"==typeof a}function newlife_church_is_object(a){"use strict";return"object"==typeof a}function newlife_church_clone_object(a){"use strict";if(null==a||"object"!=typeof a)return a;var b={};for(var c in a)b[c]=newlife_church_clone_object(a[c]);return b}function newlife_church_merge_objects(a,b){"use strict";for(var c in b)a[c]=b[c];return a}function newlife_church_in_list(a,b){"use strict";var c=arguments[2]?arguments[2]:"|",d=!arguments[3]||arguments[3],e=!1;d&&("string"==typeof a&&(a=a.toLowerCase()),b=b.toLowerCase());for(var f=b.split(c),g=0;g<f.length;g++)if(f[g]==a){e=!0;break}return e}function newlife_church_alltrim(a){"use strict";var d,b=arguments[1]?arguments[1]:"a",e=0,f=a.length-1;if("a"==b||"l"==b)for(d=0;d<a.length;d++)if(" "!=a.substr(d,1)){e=d;break}if("a"==b||"r"==b)for(d=a.length-1;d>=0;d--)if(" "!=a.substr(d,1)){f=d;break}return a.substring(e,f+1)}function newlife_church_ltrim(a){"use strict";return newlife_church_alltrim(a,"l")}function newlife_church_rtrim(a){"use strict";return newlife_church_alltrim(a,"r")}function newlife_church_padl(a,b){"use strict";var c=arguments[2]?arguments[2]:" ",d=a.substr(0,b);if(d.length<b)for(var e=0;e<b-a.length;e++)d+=c;return d}function newlife_church_padr(a,b){"use strict";var c=arguments[2]?arguments[2]:" ",d=a.substr(0,b);if(d.length<b)for(var e=0;e<b-a.length;e++)d=c+d;return d}function newlife_church_padc(a,b){"use strict";var c=arguments[2]?arguments[2]:" ",d=a.substr(0,b);if(d.length<b)for(var e=0;e<Math.floor((b-a.length)/2);e++)d=c+d+c;return d+(d.length<b?c:"")}function newlife_church_replicate(a,b){"use strict";for(var c="",d=0;d<b;d++)c+=a;return c}function newlife_church_round_number(a){"use strict";var b=arguments[1]?arguments[1]:0,c=Math.pow(10,b);return Math.round(a*c)/c}function newlife_church_clear_number(a){"use strict";var b=arguments[1]?arguments[1]:0,c=arguments[2]?arguments[2]:0,d="",e=-1;""==(a=""+a)&&(a=""+c);for(var f=0;f<a.length&&0!=e;f++){e>0&&e--;var g=a.substr(f,1);"."==g?(b>0&&(d+=g),e=b):(g>=0&&g<=9||"-"==g&&0==f)&&(d+=g)}if(b>0&&0!=e)for(-1==e&&(d+=".",e=b),f=e;f>0;f--)d+="0";return d}function newlife_church_dec2hex(a){"use strict";return Number(a).toString(16)}function newlife_church_hex2dec(a){"use strict";return parseInt(a,16)}function newlife_church_in_array(a,b){"use strict";for(var c=!1,d=0;d<b.length-1;d++)if(b[d]==a){c=!0;break}return c}function newlife_church_sort_array(a){"use strict";for(var b=!!arguments[1]&&arguments[1],c=0;c<a.length-1;c++)for(var d=c+1;d<a.length;d++)b?a[c]>a[d]&&(tmp=a[c],a[c]=a[d],a[d]=tmp):a[c].toLowerCase()>a[d].toLowerCase()&&(tmp=a[c],a[c]=a[d],a[d]=tmp);return a}function newlife_church_parse_date(a){"use strict";a=a.replace(/\//g,"-").replace(/\./g,"-").replace(/T/g," ").split("+")[0];var b=a.split(" "),c=b[0].split("-"),d=b[1].split(":");return c.push(d[0],d[1],d[2]),c}function newlife_church_get_date_difference(a){"use strict";var b=void 0!==arguments[1]?arguments[1]:"",c=void 0===arguments[2]||arguments[2],d=void 0!==arguments[3]&&arguments[3],e=newlife_church_parse_date(a);if(a=Date.UTC(e[0],e[1],e[2],e[3],e[4],e[5]),""==b){b=new Date;var f=[b.getFullYear(),b.getMonth()+1,b.getDate(),b.getHours(),b.getMinutes(),b.getSeconds()]}else var f=newlife_church_parse_date(b);b=Date.UTC(f[0],f[1],f[2],f[3],f[4],f[5]);var g=Math.round((b-a)/1e3),h=Math.floor(g/86400);g-=24*h*3600;var i=Math.floor(g/3600);g-=3600*i;var j=Math.floor(g/60);return g-=60*j,rez="",h>0&&(rez+=(""!=rez?" ":"")+h+" day"+(h>1?"s":"")),(!c||""==rez)&&i>0&&(rez+=(""!=rez?" ":"")+i+" hour"+(i>1?"s":"")),(!c||""==rez)&&j>0&&(rez+=(""!=rez?" ":"")+j+" minute"+(j>1?"s":"")),(d||""==rez)&&(rez+=""!=rez||d?" "+g+" second"+(g>1?"s":""):"less then minute"),rez}function newlife_church_hex2rgb(a){"use strict";return a=parseInt(a.indexOf("#")>-1?a.substring(1):a,16),{r:a>>16,g:(65280&a)>>8,b:255&a}}function newlife_church_rgb2hex(a){"use strict";var b;if(a=a.replace(/\s/g,"").toLowerCase(),"rgba(0,0,0,0)"!=a&&"rgba(0%,0%,0%,0%)"!=a||(a="transparent"),b=0==a.indexOf("rgba(")?a.match(/^rgba\((\d{1,3}[%]?),(\d{1,3}[%]?),(\d{1,3}[%]?),(\d{1,3}[%]?)\)$/i):a.match(/^rgb\((\d{1,3}[%]?),(\d{1,3}[%]?),(\d{1,3}[%]?)\)$/i)){a="";for(var c=1;c<=3;c++)a+=Math.round(("%"==b[c][b[c].length-1]?2.55:1)*parseInt(b[c])).toString(16).replace(/^(.)$/,"0$1")}else a=a.replace(/^#?([\da-f])([\da-f])([\da-f])$/i,"$1$1$2$2$3$3");return("#"!=a.substr(0,1)?"#":"")+a}function newlife_church_components2hex(a,b,c){"use strict";return"#"+Number(a).toString(16).toUpperCase().replace(/^(.)$/,"0$1")+Number(b).toString(16).toUpperCase().replace(/^(.)$/,"0$1")+Number(c).toString(16).toUpperCase().replace(/^(.)$/,"0$1")}function newlife_church_rgb2components(a){"use strict";a=newlife_church_rgb2hex(a);var b=a.match(/^#?([\dabcdef]{2})([\dabcdef]{2})([\dabcdef]{2})$/i);if(!b)return!1;for(var c=1,d=new Array(3);c<=3;c++)d[c-1]=parseInt(b[c],16);return d}function newlife_church_hex2hsb(a){"use strict";return newlife_church_rgb2hsb(newlife_church_hex2rgb(a))}function newlife_church_hsb2hex(a){"use strict";var b=newlife_church_hsb2rgb(a);return newlife_church_components2hex(b.r,b.g,b.b)}function newlife_church_rgb2hsb(a){"use strict";var b={};return b.b=Math.max(Math.max(a.r,a.g),a.b),b.s=b.b<=0?0:Math.round(100*(b.b-Math.min(Math.min(a.r,a.g),a.b))/b.b),b.b=Math.round(b.b/255*100),a.r==a.g&&a.g==a.b?b.h=0:a.r>=a.g&&a.g>=a.b?b.h=60*(a.g-a.b)/(a.r-a.b):a.g>=a.r&&a.r>=a.b?b.h=60+60*(a.g-a.r)/(a.g-a.b):a.g>=a.b&&a.b>=a.r?b.h=120+60*(a.b-a.r)/(a.g-a.r):a.b>=a.g&&a.g>=a.r?b.h=180+60*(a.b-a.g)/(a.b-a.r):a.b>=a.r&&a.r>=a.g?b.h=240+60*(a.r-a.g)/(a.b-a.g):a.r>=a.b&&a.b>=a.g?b.h=300+60*(a.r-a.b)/(a.r-a.g):b.h=0,b.h=Math.round(b.h),b}function newlife_church_hsb2rgb(a){"use strict";var b={},c=Math.round(a.h),d=Math.round(255*a.s/100),e=Math.round(255*a.b/100);if(0==d)b.r=b.g=b.b=e;else{var f=e,g=(255-d)*e/255,h=c%60*(f-g)/60;360==c&&(c=0),c<60?(b.r=f,b.b=g,b.g=g+h):c<120?(b.g=f,b.b=g,b.r=f-h):c<180?(b.g=f,b.r=g,b.b=g+h):c<240?(b.b=f,b.r=g,b.g=f-h):c<300?(b.b=f,b.g=g,b.r=g+h):c<360?(b.r=f,b.g=g,b.b=f-h):(b.r=0,b.g=0,b.b=0)}return{r:Math.round(b.r),g:Math.round(b.g),b:Math.round(b.b)}}function newlife_church_color_picker(){"use strict";for(var a=arguments[0]?arguments[0]:"iColorPicker"+Math.round(1e3*Math.random()),b=arguments[1]?arguments[1]:"#f00,#ff0,#0f0,#0ff,#00f,#f0f,#fff,#ebebeb,#e1e1e1,#d7d7d7,#cccccc,#c2c2c2,#b7b7b7,#acacac,#a0a0a0,#959595,#ee1d24,#fff100,#00a650,#00aeef,#2f3192,#ed008c,#898989,#7d7d7d,#707070,#626262,#555,#464646,#363636,#262626,#111,#000,#f7977a,#fbad82,#fdc68c,#fff799,#c6df9c,#a4d49d,#81ca9d,#7bcdc9,#6ccff7,#7ca6d8,#8293ca,#8881be,#a286bd,#bc8cbf,#f49bc1,#f5999d,#f16c4d,#f68e54,#fbaf5a,#fff467,#acd372,#7dc473,#39b778,#16bcb4,#00bff3,#438ccb,#5573b7,#5e5ca7,#855fa8,#a763a9,#ef6ea8,#f16d7e,#ee1d24,#f16522,#f7941d,#fff100,#8fc63d,#37b44a,#00a650,#00a99e,#00aeef,#0072bc,#0054a5,#2f3192,#652c91,#91278f,#ed008c,#ee105a,#9d0a0f,#a1410d,#a36209,#aba000,#588528,#197b30,#007236,#00736a,#0076a4,#004a80,#003370,#1d1363,#450e61,#62055f,#9e005c,#9d0039,#790000,#7b3000,#7c4900,#827a00,#3e6617,#045f20,#005824,#005951,#005b7e,#003562,#002056,#0c004b,#30004a,#4b0048,#7a0045,#7a0026",c=b.split(","),d='<table class="colorPickerTable"><thead>',e=0;e<c.length;e++)e%16==0&&(d+=(e>0?"</tr>":"")+"<tr>"),d+='<td style="background-color:'+c[e]+'"> </td>';return d+='</tr></thead><tbody><tr style="height:60px;"><td colspan="8" id="'+a+'_colorPreview" style="vertical-align:middle;text-align:center;border:1px solid #000;background:#fff;"><input style="width:55px;color:#000;border:1px solid rgb(0, 0, 0);padding:5px;background-color:#fff;font:11px Arial, Helvetica, sans-serif;" maxlength="7" /><a href="#" id="'+a+'_moreColors" class="iColorPicker_moreColors"></a></td><td colspan="8" id="'+a+'_colorOriginal" style="vertical-align:middle;text-align:center;border:1px solid #000;background:#fff;"><input style="width:55px;color:#000;border:1px solid rgb(0, 0, 0);padding:5px;background-color:#fff;font:11px Arial, Helvetica, sans-serif;" readonly="readonly" /></td></tr></tbody></table>',jQuery(document.createElement("div")).attr("id",a).css("display","none").html(d).appendTo("body").addClass("iColorPickerTable").on("mouseover","thead td",function(){var b=newlife_church_rgb2hex(jQuery(this).css("background-color"));jQuery("#"+a+"_colorPreview").css("background",b),jQuery("#"+a+"_colorPreview input").val(b)}).on("keypress","#"+a+"_colorPreview input",function(b){var c=jQuery(this).val();if(c.length<7&&(b.which>=48&&b.which<=57||b.which>=97&&b.which<=102||35===b.which||0===c.length))c+=String.fromCharCode(b.which);else if(8==b.which&&c.length>0)c=c.substring(0,c.length-1);else{if(13!==b.which||4!==c.length&&7!==c.length)return b.preventDefault(),!1;var d=jQuery("#"+a).data("field"),e=jQuery("#"+a).data("func");null!=e&&"undefined"!=e?e(d,c):d.val(c).css("backgroundColor",c).trigger("change"),jQuery("#"+a+"_Bg").fadeOut(500),jQuery("#"+a).fadeOut(500)}"#"!==c.substr(0,1)||4!==c.length&&7!==c.length||jQuery("#"+a+"_colorPreview").css("background",c)}).on("click","thead td",function(b){var c=jQuery("#"+a).data("field"),d=jQuery("#"+a).data("func"),e=newlife_church_rgb2hex(jQuery(this).css("background-color"));return null!=d&&"undefined"!=d?d(c,e):c.val(e).css("backgroundColor",e).trigger("change"),jQuery("#"+a+"_Bg").fadeOut(500),jQuery("#"+a).fadeOut(500),b.preventDefault(),!1}).on("click","tbody .iColorPicker_moreColors",function(b){var d=jQuery(this).parents("table").find("thead"),e="";if(d.hasClass("more_colors")){for(var f=0;f<c.length;f++)f%16==0&&(e+=(f>0?"</tr>":"")+"<tr>"),e+='<td style="background-color:'+c[f]+'"> </td>';d.removeClass("more_colors").empty().html(e+"</tr>"),jQuery("#"+a+"_colorPreview").attr("colspan",8),jQuery("#"+a+"_colorOriginal").attr("colspan",8)}else{for(var g=[0,0,0],f=0,h=-1;g[0]<15||g[1]<15||g[2]<15;)if(f%18==0&&(e+=(f>0?"</tr>":"")+"<tr>"),f++,e+='<td style="background-color:'+newlife_church_components2hex(16*g[0]+g[0],16*g[1]+g[1],16*g[2]+g[2])+'"> </td>',g[2]+=3,g[2]>15)if(g[1]+=3,g[1]>(0===h?6:15))if(g[0]+=3,g[0]>15){if(0!==h)break;h=1,g[0]=0,g[1]=9,g[2]=0}else g[1]=h<1?0:9,g[2]=0;else g[2]=0;d.addClass("more_colors").empty().html(e+'<td style="background-color:#ffffff" colspan="8"> </td></tr>'),jQuery("#"+a+"_colorPreview").attr("colspan",9),jQuery("#"+a+"_colorOriginal").attr("colspan",9)}return jQuery("#"+a+" table.colorPickerTable thead td").css({width:"12px",height:"14px",border:"1px solid #000",cursor:"pointer"}),b.preventDefault(),!1}),jQuery(document.createElement("div")).attr("id",a+"_Bg").on("click",function(b){return jQuery("#"+a+"_Bg").fadeOut(500),jQuery("#"+a).fadeOut(500),b.preventDefault(),!1}).appendTo("body"),jQuery("#"+a+" table.colorPickerTable thead td").css({width:"12px",height:"14px",border:"1px solid #000",cursor:"pointer"}),jQuery("#"+a+" table.colorPickerTable").css({"border-collapse":"collapse"}),jQuery("#"+a).css({border:"1px solid #ccc",background:"#333",padding:"5px",color:"#fff","z-index":999999}),jQuery("#"+a+"_colorPreview").css({height:"50px"}),a}function newlife_church_color_picker_show(a,b,c){"use strict";null!==a&&""!==a||(a=jQuery(".iColorPickerTable").attr("id"));var d=b.offset(),e=jQuery("#"+a).width(),f=jQuery("#"+a).height(),g=d.left+e<jQuery(window).width()-10?d.left:jQuery(window).width()-10-e,h=d.top+b.outerHeight()+f<jQuery(document).scrollTop()+jQuery(window).height()-10?d.top+b.outerHeight():d.top-f-13;jQuery("#"+a).data({field:b,func:c}).css({top:h+"px",left:g+"px",position:"absolute","z-index":100001}).fadeIn(500),jQuery("#"+a+"_Bg").css({position:"fixed","z-index":1e5,top:0,left:0,width:"100%",height:"100%"}).fadeIn(500);var i="#"==b.val().substr(0,1)?b.val():newlife_church_rgb2hex(b.css("backgroundColor"));jQuery("#"+a+"_colorPreview input,#"+a+"_colorOriginal input").val(i),jQuery("#"+a+"_colorPreview,#"+a+"_colorOriginal").css("background",i)}function newlife_church_get_cookie(a){"use strict";var b=void 0!=arguments[1]?arguments[1]:null,c=document.cookie.indexOf(a+"="),d=c+a.length+1;if(!c&&a!=document.cookie.substring(0,a.length))return b;if(-1==c)return b;var e=document.cookie.indexOf(";",d);return-1==e&&(e=document.cookie.length),unescape(document.cookie.substring(d,e))}function newlife_church_set_cookie(a,b,c,d,e,f){"use strict";var c=void 0!=arguments[2]?arguments[2]:0,d=void 0!=arguments[3]?arguments[3]:"/",e=void 0!=arguments[4]?arguments[4]:"",f=void 0!=arguments[5]?arguments[5]:"",g=new Date;g.setTime(g.getTime()),c&&(c=1e3*c*60*60*24);var h=new Date(g.getTime()+c);document.cookie=a+"="+escape(b)+(c?";expires="+h.toGMTString():"")+(d?";path="+d:"")+(e?";domain="+e:"")+(f?";secure":"")}function newlife_church_del_cookie(a,b,c){"use strict";var b=void 0!=arguments[1]?arguments[1]:"/",c=void 0!=arguments[2]?arguments[2]:"";newlife_church_get_cookie(a)&&(document.cookie=a+"="+(b?";path="+b:"")+(c?";domain="+c:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT")}function newlife_church_clear_listbox(a){"use strict";for(var b=a.options.length-1;b>=0;b--)a.options[b]=null}function newlife_church_add_listbox_item(a,b,c){"use strict";var d=new Option;d.value=b,d.text=c,a.options.add(d)}function newlife_church_del_listbox_item_by_value(a,b){"use strict";for(var c=0;c<a.options.length;c++)if(a.options[c].value==b){a.options[c]=null;break}}function newlife_church_del_listbox_item_by_text(a,b){"use strict";for(var c=0;c<a.options.length;c++)if(a.options[c].text==b){a.options[c]=null;break}}function newlife_church_find_listbox_item_by_value(a,b){"use strict";for(var c=-1,d=0;d<a.options.length;d++)if(a.options[d].value==b){c=d;break}return c}function newlife_church_find_listbox_item_by_text(a,b){"use strict";for(var c=-1,d=0;d<a.options.length;d++)if(a.options[d].text==b){c=d;break}return c}function newlife_church_select_listbox_item_by_value(a,b){"use strict";for(var c=0;c<a.options.length;c++)a.options[c].selected=b==a.options[c].value}function newlife_church_select_listbox_item_by_text(a,b){"use strict";for(var c=0;c<a.options.length;c++)a.options[c].selected=b==a.options[c].text}function newlife_church_get_listbox_values(a){"use strict";for(var b=arguments[1]?arguments[1]:",",c="",d=0;d<a.options.length;d++)c+=(c?b:"")+a.options[d].value;return c}function newlife_church_get_listbox_texts(a){"use strict";for(var b=arguments[1]?arguments[1]:",",c="",d=0;d<a.options.length;d++)c+=(c?b:"")+a.options[d].text;return c}function newlife_church_sort_listbox(a){"use strict";for(var b=new Array,c=new Option,d=0;d<a.options.length;d++)b[d]=a.options[d].clone();for(var e=0;e<b.length-1;e++)for(var f=e+1;f<b.length;f++)b[e].text>b[f].text&&(c=b[e],b[e]=b[f],b[f]=c);for(var d=0;d<a.options.length;d++)a.options[d]=b[d].clone()}function newlife_church_get_listbox_selected_index(a){"use strict";for(var b=0;b<a.options.length;b++)if(a.options[b].selected)return b;return-1}function newlife_church_get_listbox_selected_value(a){"use strict";for(var b=0;b<a.options.length;b++)if(a.options[b].selected)return a.options[b].value;return null}function newlife_church_get_listbox_selected_text(a){"use strict";for(var b=0;b<a.options.length;b++)if(a.options[b].selected)return a.options[b].text;return null}function newlife_church_get_listbox_selected_option(a){"use strict";for(var b=0;b<a.options.length;b++)if(a.options[b].selected)return a.options[b];return null}function newlife_church_get_radio_value(a){"use strict";for(var b=0;b<a.length;b++)if(a[b].checked)return a[b].value;return null}function newlife_church_set_radio_checked_by_num(a,b){"use strict";for(var c=0;c<a.length;c++)a[c].checked&&c!=b?a[c].checked=!1:c==b&&(a[c].checked=!0)}function newlife_church_set_radio_checked_by_value(a,b){"use strict";for(var c=0;c<a.length;c++)a[c].checked&&a[c].value!=b?a[c].checked=!1:a[c].value==b&&(a[c].checked=!0)}function newlife_church_form_validate(a,b){"use strict";var c="";if(a.find(":input").each(function(){if(""==c||!b.exit_after_first_error)for(var a=0;a<b.rules.length;a++)if(jQuery(this).attr("name")==b.rules[a].field){var d=jQuery(this).val(),e=!1;if("object"==typeof b.rules[a].min_length&&b.rules[a].min_length.value>0&&d.length<b.rules[a].min_length.value&&(""==c&&jQuery(this).get(0).focus(),c+='<p class="error_item">'+(void 0!==b.rules[a].min_length.message?b.rules[a].min_length.message:b.error_message_text)+"</p>",e=!0),e&&b.exit_after_first_error||"object"!=typeof b.rules[a].max_length||b.rules[a].max_length.value>0&&d.length>b.rules[a].max_length.value&&(""==c&&jQuery(this).get(0).focus(),c+='<p class="error_item">'+(void 0!==b.rules[a].max_length.message?b.rules[a].max_length.message:b.error_message_text)+"</p>",e=!0),!(e&&b.exit_after_first_error||"object"!=typeof b.rules[a].mask)&&""!=b.rules[a].mask.value){var f=new RegExp(b.rules[a].mask.value);f.test(d)||(""==c&&jQuery(this).get(0).focus(),c+='<p class="error_item">'+(void 0!==b.rules[a].mask.message?b.rules[a].mask.message:b.error_message_text)+"</p>",e=!0)}e&&b.exit_after_first_error||"object"!=typeof b.rules[a].equal_to||""!=b.rules[a].equal_to.value&&d!=jQuery(jQuery(this).get(0).form[b.rules[a].equal_to.value]).val()&&(""==c&&jQuery(this).get(0).focus(),c+='<p class="error_item">'+(void 0!==b.rules[a].equal_to.message?b.rules[a].equal_to.message:b.error_message_text)+"</p>",e=!0),""!=b.error_fields_class&&jQuery(this).toggleClass(b.error_fields_class,e)}}),""!=c&&b.error_message_show){var d=a.find(".result");0==d.length&&(d=a.parent().find(".result")),0==d.length&&(a.append('<div class="result"></div>'),d=a.find(".result")),b.error_message_class&&d.toggleClass(b.error_message_class,!0),d.html(c).fadeIn(),setTimeout(function(){d.fadeOut()},b.error_message_time)}return""!=c}function newlife_church_document_animate_to(a){"use strict";if(-1==a.indexOf("#")&&(a="#"+a),0!=jQuery(a).eq(0).length){var c=jQuery(a).offset().top,d=jQuery(window).scrollTop(),e=Math.min(1600,Math.max(400,Math.round(Math.abs(c-d)/jQuery(window).height()*100)));jQuery("body,html").animate({scrollTop:c-jQuery("#wpadminbar").height()-jQuery("header.fixedTopMenu .topWrap").height()},e,"swing")}}function newlife_church_document_set_location(a){"use strict";try{return void history.pushState(null,null,a)}catch(a){}location.href=a}function newlife_church_add_hidden_elements_handler(a,b){"use strict";newlife_church_storage_set_array("init_hidden_elements",a,b)}function newlife_church_init_hidden_elements(a){"use strict";if(NEWLIFE_CHURCH_STORAGE.init_hidden_elements)for(key in NEWLIFE_CHURCH_STORAGE.init_hidden_elements)NEWLIFE_CHURCH_STORAGE.init_hidden_elements[key](a)}function newlife_church_browser_is_mobile(){"use strict";var a=!1;return function(b){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(b)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(b.substr(0,4)))&&(a=!0)}(navigator.userAgent||navigator.vendor||window.opera),a}function newlife_church_browser_is_ios(){return null!=navigator.userAgent.match(/iPad|iPhone|iPod/i)}function newlife_church_is_retina(){return window.devicePixelRatio>1||window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches}function newlife_church_get_file_name(a){"use strict";a=a.replace(/\\/g,"/");var b=a.lastIndexOf("/");return b>=0&&(a=a.substr(b+1)),a}function newlife_church_get_file_ext(a){"use strict";var b=a.lastIndexOf(".");return a=b>=0?a.substr(b+1):""}function newlife_church_check_images_complete(a){"use strict";var b=!0;return a.find("img").each(function(){b&&(jQuery(this).get(0).complete||(b=!1))}),b}if(void 0===NEWLIFE_CHURCH_STORAGE)var NEWLIFE_CHURCH_STORAGE={};