// Generated at 29/04/2024 4:58:58 PM // dom.helpers.min.js if(jQuery.browser!=null){var userAgent=navigator.userAgent.toLowerCase();jQuery.browser.chrome=/chrome/.test(userAgent);jQuery.browser.isWin=/windows/.test(userAgent);jQuery.browser.isMac=jQuery.browser.isWin==false}String.prototype.fromCamelCase=function(){return this.substr(0,1).toUpperCase()+this.substr(1).replace(/[A-Z]/g,function(a){return" "+a})};String.prototype.toCamelCase=function(){return this.replace(/^([A-Z][^A-Z])/,function(a,c){return c.toLowerCase()}).replace(/(\s)([a-z])/g,function(a){return jQuery.trim(a.toUpperCase())})}; String.prototype.toCapitalized=function(){return this.replace(/(^| )[\w]/g,function(a){return a.toUpperCase()})};String.prototype.trim=function(){return this.replace(/(^\s+|\s$)/g,"")};Date.prototype.fromUniversal=function(a){a=a.split(" ");a=[].concat(a[0].split("-"),(a.length==2?a[1]:"00:00:00:00").split(":"));for(i=0;i<7;i++)a[i]=new Number(a[i]?a[i]:"00");this.setTime((new Date(a[0],a[1]-1,a[2],a[3],a[4],a[5],a[6])).valueOf());return this}; Date.prototype.toUniversal=function(){var a=new String(this.getFullYear()+"-");a+=("0"+this.getMonth()).substr(-2,2)+"-";a+=("0"+this.getDate()).substr(-2,2)+" ";a+=("0"+this.getHours()).substr(-2,2)+":";a+=("0"+this.getMinutes()).substr(-2,2)+":";a+=("0"+this.getSeconds()).substr(-2,2);return a};Date.prototype.getShortDayName=function(){return this.getDayName().substr(0,3)}; Date.prototype.getDayName=function(){switch(this.getDay()){case 0:return"Sunday";case 1:return"Monday";case 2:return"Tuesday";case 3:return"Wednesday";case 4:return"Thursday";case 5:return"Friday";case 6:return"Saturday"}}; Date.prototype.getMonthName=function(){switch(this.getMonth()){case 0:return"January";case 1:return"February";case 2:return"March";case 3:return"April";case 4:return"May";case 5:return"June";case 6:return"July";case 7:return"August";case 8:return"September";case 9:return"October";case 10:return"November";case 11:return"December"}};Date.prototype.getMonthDays=new (function(){var a=Date.parse("2008/01/01"),c=new Date;c.setTime(a-60);return c.getDate()}); Date.prototype.toFormatted=function(a){for(var c=a.match(/%[adDjlNSwFmMtYysiHhG]/g),d=0;d=12?"pm":"am";break;case "%A":b=this.getHours()>=12?"PM":"AM";break;case "%B":b=(this.getUTCHours()*60+this.getUTCMinutes())*60/86.4;break;case "%g":b=this.getHours()*1;break;case "%G":b=this.getHours();break;case "%h":b=this.getHours()==12?12:(this.getHours()%12).toString().substr(-2,2);break;case "%H":b=(new String("00"+this.getHours())).substr(-2, 2);break;case "%i":b=(new String("00"+this.getMinutes())).substr(-2,2);break;case "%s":b=(new String("00"+this.getSeconds())).substr(-2,2);break;case "%u":b=this.getMilliseconds();break;case "%d":b=("00"+this.getDate()).substr(-2);break;case "%D":b=this.getShortDayName();break;case "%j":b=this.getDate();break;case "%l":b=this.getDayName();break;case "%N":b=this.getDay()==0?7:this.getDay();break;case "%S":b=this.getDate();switch(b.toString().substr(-1)){case "1":b=b==11?"th":"st";break;case "2":b= b==12?"th":"nd";break;case "3":b=b==13?"th":"rd";break;default:b="th";break}break;case "%w":b=this.getDay();break;case "%F":b=this.getMonthName();break;case "%m":b=("00"+(this.getMonth()+1)).substr(-2);break;case "%M":b=this.getMonthName().substr(0,3);break;case "%n":b=this.getMonth()+1;break;case "%t":b=this.getMonthDays();break;case "%Y":b=this.getFullYear();break;case "%y":b=this.getYear();break}a=a.replace(c[d],b)}return a}; // jquery.cookie.min.js jQuery.cookie={clear:function(a){if(a!=null)jQuery.cookie.set(a,".",-1);else{a=document.cookie.split(";");jQuery.each(a,function(){si=this.indexOf("=");si>-1&&jQuery.cookie.set(this.substr(0,si),".",-1)})}},expires:function(a){a=a==null?1:a;var b=new Date;b.setTime(b.getTime()+a*24*60*60*1E3);return b.toGMTString()},path:"/",set:function(a,b,c){document.cookie=a+"="+b+";path="+jQuery.cookie.path+";expires="+jQuery.cookie.expires(c)+";"},get:function(a){var b=document.cookie.split(";"),c;jQuery.each(b, function(){si=this.indexOf("=");if(si>-1)if(a==jQuery.trim(this.substr(0,si))){c=this.substr(si+1);return false}});return c}};jQuery.fn.storeInCookie=function(a,b){jQuery.cookie.set(a,this.serialize(),b)}; // jquery.deparam.min.js /* Unparam ------------------------------------------------------------- / Un-parameterize string created with jQuery.param(). / V 0.1.020908 */ jQuery.deparam = function(param){ ret = []; var li = param.lastIndexOf("?"); if(li>-1){ param = param.substr((li+1)); } jQuery.each(param.split('&'),function(){ var item = this.split('='); if(item.length==2){ ret[item[0]]=item[1]; } }); return ret; } // jquery.duplicate.min.js jQuery.fn.extend({outerHtml:function(){if(this.length){var c=$('
');$(this[0].cloneNode(false)).html(this.html()).appendTo(c);var a=c.html();c.remove();return a}else return null},duplicate:function(c,a){if(a==undefined)a={};a.combined=typeof a.combined=="undefined"?false:a.combined;var d="";jQuery(this).each(function(){var f=(new Date).valueOf()+"_tplsrc";_t=jQuery(this).wrap('').parent();_ts=_t.html();jQuery(c).each(function(){if(a.filter){this.tmpf= a.filter;this.tmpf()}_data=this;os=_ts.replace(/({|%7B)(!|%21)([\w]+)(}|%7D)/g,function(h,i,j,e){return _data[e]!=undefined?_data[e]:""});for(re=new RegExp("({|%7B)(!|%21)(if|foreach):([\\w]+)(<|>|%3E|%3C|<|>|==|!=)([^}]+)(}|%7D)(.*?)({|%7B)!\\3:end(}|%7D)","i");m=re.exec(os);)if(m[5]){var b=unescape(m[5]);b=b.replace(">",">");b=b.replace("<","<");switch(m[3].toLowerCase()){case "if":eval("os = os.replace('"+m[0]+"',(_data."+m[4]+b+"'"+m[6]+"'?'"+m[8]+"':''));");break;case "foreach":eval("os = os.replace('"+ m[0]+"',(_data."+m[4]+b+"'"+m[6]+"'?'"+m[8]+"':'FOREACHEH'));");break}}os=jQuery(os).removeAttr("id");a.attr&&jQuery(a.attr).each(function(){for(name in a.attr)if(a.attr[name].constructor==String)os.attr(name,a.attr[name]);else if(typeof a.attr[name]!="undefined"){os.tmpf=a.attr[name];os.attr(name,os.tmpf(os,_data))}else alert("Error: Filter function was not defined")});if(a.events)for(var g in a.events)os.onclick=function(){alert(g.toString())};if(os.tmpf)os.tmpf=undefined;if(a.combined)d+=os.outerHtml(); else a.parent?a.parent.append(os):_t.before(os)});if(a.combined)a.parent?a.parent.append(d):_t.before(d);_t.after(_t.contents()).remove()});return this}});