1var AddCalEventZones={A:"+01:00",ACDT:"+10:30",ACST:"+09:30",ADT:"-03:00",ADT:"-03:00",AEDT:"+11:00",AEST:"+10:00",AFT:"+04:30",AKDT:"-08:00",AKST:"-09:00",ALMT:"+06:00",AMST:"+05:00",AMST:"-03:00",AMT:"+04:00",AMT:"-04:00",ANAST:"+12:00",ANAT:"+12:00",AQTT:"+05:00",ART:"-03:00",AST:"+03:00",AST:"-04:00",AST:"-04:00",AST:"-04:00",AWDT:"+09:00",AWST:"+08:00",AZOST:"+00:00",AZOT:"-01:00",AZST:"+05:00",AZT:"+04:00",B:"+02:00",BNT:"+08:00",BOT:"-04:00",BRST:"-02:00",BRT:"-03:00",BST:"+06:00",BST:"+01:00",BTT:"+06:00",C:"+03:00",CAST:"+08:00",CAT:"+02:00",CCT:"+06:30",CDT:"-04:00",CDT:"-05:00",CEST:"+02:00",CET:"+01:00",CET:"+01:00",CHADT:"+13:45",CHAST:"+12:45",CKT:"-10:00",CLST:"-03:00",CLT:"-04:00",COT:"-05:00",CST:"+08:00",CST:"-06:00",CST:"-05:00",CST:"-06:00",CVT:"-01:00",CXT:"+07:00",ChST:"+10:00",D:"+04:00",DAVT:"+07:00",E:"+05:00",EASST:"-05:00",EAST:"-06:00",EAT:"+03:00",EAT:"+03:00",ECT:"-05:00",EDT:"-04:00",EDT:"-04:00",EDT:"+11:00",EEST:"+03:00",EEST:"+03:00",EEST:"+03:00",EET:"+02:00",EET:"+02:00",EET:"+02:00",EGST:"+00:00",EGT:"-01:00",EST:"-05:00",EST:"-05:00",EST:"-05:00",ET:"-05:00",ET:"-05:00",ET:"-05:00",F:"+06:00",FJST:"+13:00",FJT:"+12:00",FKST:"-03:00",FKT:"-04:00",FNT:"-02:00",G:"+07:00",GALT:"-06:00",GAMT:"-09:00",GET:"+04:00",GFT
1:"-03:00",GILT:"+12:00",GMT:"+00:00",GMT:"+00:00",GST:"+04:00",GYT:"-04:00",H:"+08:00",HAA:"-03:00",HAA:"-03:00",HAC:"-05:00",HADT:"-09:00",HAE:"-04:00",HAE:"-04:00",HAP:"-07:00",HAR:"-06:00",HAST:"-10:00",HAT:"-02:30",HAY:"-08:00",HKT:"+08:00",HLV:"-04:30",HNA:"-04:00",HNA:"-04:00",HNA:"-04:00",HNC:"-06:00",HNC:"-06:00",HNE:"-05:00",HNE:"-05:00",HNE:"-05:00",HNP:"-08:00",HNR:"-07:00",HNT:"-03:30",HNY:"-09:00",HOVT:"+07:00",I:"+09:00",ICT:"+07:00",IDT:"+03:00",IOT:"+06:00",IRDT:"+04:30",IRKST:"+09:00",IRKT:"+09:00",IRST:"+03:30",IST:"+02:00",IST:"+05:30",IST:"+01:00",JST:"+09:00",K:"+10:00",KGT:"+06:00",KRAST:"+08:00",KRAT:"+08:00",KST:"+09:00",KUYT:"+04:00",L:"+11:00",LHDT:"+11:00",LHST:"+10:30",LINT:"+14:00",M:"+12:00",MAGST:"+12:00",MAGT:"+12:00",MART:"-09:30",MAWT:"+05:00",MDT:"-06:00",MESZ:"+02:00",MEZ:"+01:00",MHT:"+12:00",MMT:"+06:30",MSD:"+04:00",MSK:"+04:00",MST:"-07:00",MUT:"+04:00",MVT:"+05:00",MYT:"+08:00",N:"-01:00",NCT:"+11:00",NDT:"-02:30",NFT:"+11:30",NOVST:"+07:00",NOVT:"+06:00",NPT:"+05:45",NST:"-03:30",NUT:"-11:00",NZDT:"+13:00",NZDT:"+13:00",NZST:"+12:00",NZST:"+12:00",O:"-02:00",OMSST:"+07:00",OMST:"+07:00",P:"-03:00",PDT:"-07:00",PET:"-05:00",PETST:"+12:00",PETT:"+12:00",PGT:"+10:00",PHOT:"+13:00",PHT:"+08:00",PKT:"+05:00",PMDT:"-02:00",PMST:"-03:00",PONT:"+11:00",PST:"-08:00",PST:"-08:00",PT:"-08:00",PWT:"+09:00",PYST:"-03:00",PYT:"-04:00",Q:"-04:00",R:"-05:00",RET:"+04:00",S:"-06:00",SAMT:"+04:00",SAST:"+02:00",SBT:"+11:00",SCT:"+04:00",SGT:"+08:00",SRT:"-03:00",SST:"-11:00",T:"-07:00",TAHT:"-10:00",TFT:"+05:00",TJT:"+05:00",TKT:"+13:00",TLT:"+09:00",TMT:"+05:00",TVT:"+12:00",U:"-08:00",ULAT:"+08:00",UTC:"+00:00",UYST:"-02:00",UYT:"-03:00",UZT:"+05:00",V:"-09:00",VET:"-04:30",VLAST:"+11:00",VLAT:"+11:00",VUT:"+11:00",W:"-10:00",WAST:"+02:00",WAT:"+01:00",WEST:"+01:00",WEST:"+01:00",WESZ:"+01:00",WET:"+00:00",WET:"+00:00",WEZ:"+00:00",WFT:"+12:00",WGST:"-02:00",WGT:"-03:00",WIB:"+07:00",WIT:"+09:00",WITA:"+08:00",WST:"+01:00",WST:"+13:00",WT:"+00:00",X:"-11:00",Y:"-12:00",YAKST:"+10:00",YAKT:"+10:00",YAPT:"+10:00",YEKST:"+06:00",YEKT:"+06:00",Z:"+00:00"};!function(t,e,i){"use strict";var n="AddCalEvent:show",a="AddCalEvent:add",s="AddCalEvent:invalid",o={title:"",desc:"",location:"",url:"",organizer:{name:"",email:""},time:{start:"",end:"",zone:"00:00",allday:!1}};e.addcalevent=function(t,i){this.el=e(i),this._create(t)||(this.failed=!0)},e.addcalevent.defaults={onclick:!1,apps:[],ics:"",preVal:!0,disabledClass:"dis",linkText:["Outlook Calendar","Google Calendar","Yahoo Calendar","Hotmail Calendar","iCal Calendar"]},e.addcalevent.prototype={_create:function(t){return this.options=e.extend(!0,{},e.addcalevent.defaults,t),this.options.preVal&&this._disable(!this._sanitizeData()),this._attach(),!0},_attach:function(){var t=this;this.el.on("click",".ace_opt",function(e){t._click(this,e)}),this.el.on("click",function(e){t._clickShow(e)}),e(document).on("click",function(){t._hide()}),this.options.onclick||(this.el.on("mouseover",function(){t._show()}),this.el.on("mouseout",function(){t._hide()}))},_clickShow:function(t){this.open?this._hide():(this._show(),this.open=!0),t.stopPropagation()},_show:function(){var t=this;this.dd||this._createDropdown(),this.dd.stop(),this.dd.clearQueue(),this.opening?(this.dd.show(),t.dd.css(t.ddCss)):(this.dd.show("fast"),this.opening=!0,this._eventPublisher(n))},_hide:function(){var t=this;this.dd&&(this.open=!1,this.dd.stop(),this.dd.clearQueue(),this.dd.hide("fast",function(){t.opening=!1,t.dd.css(t.ddCss)}))},_createDropdown:function(t){var i=this._sanitizeData();this._disable(!i),this.dd=e(this._createHtml(i)),this.el.append(this.dd),this.ddCss={height:this.dd.css("height"),opacity:1}},_disable:function(t){this.el.toggleClass(this.options.disabledClass,t)},_createHtml:function(t){for(var e=this._getStyle(),i="",n=0,a=this.options.linkText.length;a>n;n++)this._isLinkNeeded(n)&&(i+='<a class="ace_opt" data-ace-id="'+n+'" href="javascript:;">'+this.options.linkText[n]+"</a>");return'<div class="ace_dd" style="'+e+'">'+i+"</div>"},_isLinkNeeded:function(t){var e=!1,i=this.options.apps.length;if(0===i)e=this._runIcsTest(t);else for(var n=0,a=this.options.apps.length;a>n;n++)if(this.options.apps[n]===t){e=this._runIcsTest(t);break}return e},_runIcsTest:function(t){var e=!1;return 0===t||4===t?""!==this.options.ics&&(e=!0):e=!0,e},_getStyle:function(){var t=this.el.position(),e=t.left+parseFloat(this.el.css("marginLeft")),i=t.top+this.el.outerHeight()+parseFloat(this.el.css("marginTop"))-1,n=this.el.outerWidth()-parseFloat(this.el.css("borderLeftWidth"));return"min-width:"+n+"px;top:"+i+"px;left:"+e+"px"},_sanitizeData:function(){var t=this._getDataFromEl(),i=!0,n=/^[\+\-]?[0-9]{2}:[0-9]{2}/;return t||(t=this.options.data),this.options.data=e.extend(!0,{},o,t),this.options.data.timeObj={},this.options.data.timeObj.start=new Date(this.options.data.time.start),isNaN(this.options.data.timeObj.start.getTime())&&(i=!1,this._eventPublisher(s,{invalidStartDate:this.options.data.time.start})),this.options.data.timeObj.end=new Date(this.options.data.time.end),isNaN(this.options.data.timeObj.end.getTime())&&(i=!1,this._eventPublisher(s,{invalidEndDate:this.options.data.time.end})),this._lookupTimeZone(),this.options.data.time.zone.length<6&&(this.options.data.time.zone="+"+this.options.data.time.zone),n.test(this.options.data.time.zone)||(i=!1,this._eventPublisher(s,{invalidTimeZone:this.options.data.time.zone}),this.options.data.time.zone="+00:00"),i},_lookupTimeZone:function(){AddCalEventZones&&AddCalEventZones[this.options.data.time.zone]&&(this.options.data.time.zone=AddCalEventZones[this.options.data.time.zone])},_getDataFromEl:function(){var t=this.el.data("ace");return"string"==typeof t&&(this._eventPublisher(s,{invalidDataString:t}),t=null),t},_update:function(t){return this.options=e.extend(!0,{},e.addcalevent.defaults,t),this.options.preVal&&this._disable(!this._sanitizeData()),!0},_click:function(t,i){var n=e(t).data("ace-id");this._addEvent(n),i.stopPropagation(),this._hide()},_addEvent:function(e){var i,n;switch(e){case 0:case 4:i=this._getUrl_ics(),n=!0;break;case 1:i=this._getUrl_google();break;case 2:i=this._getUrl_yahoo();break;case 3:i=this._getUrl_hotmail()}i&&(n?location.href=i:t.open(i,"calendar")),this._eventPublisher(a,{
1calendarLinkType:e,url:i})},_getUTCTime:function(t){var e=this._adjustToUTC(t,this.options.data.time.zone);return this._getDatePart(e.getFullYear(),4)+this._getDatePart(e.getMonth()+1,2)+this._getDatePart(e.getDate(),2)+"T"+this._getDatePart(e.getHours(),2)+this._getDatePart(e.getMinutes(),2)+this._getDatePart(e.getSeconds(),2)+"Z"},_adjustToUTC:function(t,e){var i,n,a=new Date(t);return isNaN(a.getTime())?new Date:(i=e.substring(1,3),n=e.substring(4,6),"-"===e.substring(0,1)?(a.setHours(a.getHours()+(i-0)),a.setMinutes(a.getMinutes()+(n-0))):(a.setHours(a.getHours()-i),a.setMinutes(a.getMinutes()-n)),a)},_getDatePart:function(t,e){for(t=t.toString();t.length<e;)t="0"+t;return t},_getDateDiff:function(t,e){var i=Math.floor((e-t)/6e4),n=Math.floor(i/60),a=i-60*n;return this._getDatePart(n,2)+this._getDatePart(a,2)},_getUrl_ics:function(){var t=this.options.data,e=this.options.ics;return e+=-1===e.indexOf("?")?"?":"&",e+=t.url},_getUrl_google:function(){var t=this.options.data,e="http://www.google.com/calendar/event?action=TEMPLATE";return e+="&text="+encodeURIComponent(t.title),e+="&details="+encodeURIComponent(t.desc),e+="&location="+encodeURIComponent(t.location),e+="&dates="+encodeURIComponent(this._getUTCTime(t.timeObj.start)+"/"+this._getUTCTime(t.timeObj.end)),e+="&sprop=website:"+encodeURIComponent(t.url),e+="&sprop=name:"+encodeURIComponent(t.organizer.name)},_getUrl_yahoo:function(){var t=this.options.data,e="http://calendar.yahoo.com?v=60";return e+="&TITLE="+encodeURIComponent(t.title),e+="&DESC="+encodeURIComponent(t.desc),e+="&URL="+encodeURIComponent(t.url),e+="&in_loc="+encodeURIComponent(t.location),e+="&ST="+this._getUTCTime(t.timeObj.start),e+="&DUR="+this._getDateDiff(t.timeObj.start,t.timeObj.end)},_getUrl_hotmail:function(){var t=this.options.data,e="http://calendar.live.com/calendar/calendar.aspx?rru=addevent";return e+="&summary="+encodeURIComponent(t.title),e+="&location="+encodeURIComponent(t.location),e+="&dtstart="+this._getUTCTime(t.timeObj.start),e+="&dtend="+this._getUTCTime(t.timeObj.end),e+="&description="+encodeURIComponent(t.desc)},_eventPublisher:function(t,i){i=i||{},i.buttonId=this.el.attr("id"),i.data=this.options.data,e(document).trigger(t,i)},getEventData:function(t){this._sanitizeData(),t.data=this.options.data},update:function(t){this._update(t)}},e.fn.addcalevent=function(t){var i=typeof t;switch(i){case"string":var n=Array.prototype.slice.call(arguments,1);try{this.each(function(){var i=e.data(this,"addcalevent");if(!i)throw"Method "+t+" cannot be called until addcalevent is setup";if(!e.isFunction(i[t])||"_"===t.charAt(0))throw"No such public method "+t+" for addcalevent";i[t].apply(i,n)})}catch(a){return!1}break;case"undefined":case"object":this.each(function(){var i=e.data(this,"addcalevent");i?i.update(t):(i=new e.addcalevent(t,this),i.failed||e.data(this,"addcalevent",i))})}return this}}(window,jQuery);
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.