/*
@license
dhtmlxScheduler v.5.1.6 Stardard

This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited.

(c) Dinamenta, UAB.
*/
scheduler.config.occurrence_timestamp_in_utc=!1,scheduler.config.recurring_workdays=[1,2,3,4,5],scheduler.form_blocks.recurring={_get_node:function(e){return"string"==typeof e&&(e=document.getElementById(e)),"none"==e.style.display&&(e.style.display=""),e},_outer_html:function(e){function t(e){var t,a=document.createElement("div");return a.appendChild(e.cloneNode(!0)),t=a.innerHTML,a=null,t}return e.outerHTML||t(e)},render:function(e){if(e.form){var t=scheduler.form_blocks.recurring,a=t._get_node(e.form),r=t._outer_html(a);
return a.style.display="none",r}return scheduler.__recurring_template},_ds:{},_get_form_node:function(e,t,a){var r=e[t];if(!r)return null;if(r.nodeName)return r;if(r.length)for(var n=0;n<r.length;n++)if(r[n].value==a)return r[n]},_get_node_value:function(e,t,a){var r=e[t];if(!r)return"";if(r.length){if(a){for(var n=[],i=0;i<r.length;i++)r[i].checked&&n.push(r[i].value);return n}for(var i=0;i<r.length;i++)if(r[i].checked)return r[i].value}return r.value?a?[r.value]:r.value:void 0},_get_node_numeric_value:function(e,t){
var a=scheduler.form_blocks.recurring._get_node_value(e,t);return 1*a||0},_set_node_value:function(e,t,a){var r=e[t];if(r)if(r.name==t)r.value=a;else if(r.length)for(var n="object"==typeof a,i=0;i<r.length;i++)(n||r[i].value==a)&&(r[i].checked=n?!!a[r[i].value]:!!a)},_init_set_value:function(e,t,a){function r(e){for(var t=0;t<e.length;t++){var a=e[t];if(a.name)if(m[a.name])if(m[a.name].nodeType){var r=m[a.name];m[a.name]=[r,a]}else m[a.name].push(a);else m[a.name]=a}}function n(){f("dhx_repeat_day").style.display="none",
f("dhx_repeat_week").style.display="none",f("dhx_repeat_month").style.display="none",f("dhx_repeat_year").style.display="none",f("dhx_repeat_"+this.value).style.display="block",scheduler.setLightboxSize()}function i(e){var t=[_(m,"repeat")];for(b[t[0]](t,e);t.length<5;)t.push("");var a="",r=d(m);if("no"==r)e.end=new Date(9999,1,1),a="no";else if("date_of_end"==r)e.end=h(_(m,"date_of_end"));else{scheduler.transpose_type(t.join("_")),a=Math.max(1,_(m,"occurences_count"));var n=0;e.end=scheduler.date.add(new Date(e.start),a+n,t.join("_"));
}return t.join("_")+"#"+a}function d(e){var t=e.end;if(t.length){for(var a=0;a<t.length;a++)if(t[a].checked)return t[a].value&&"on"!=t[a].value?t[a].value:a?2==a?"date_of_end":"occurences_count":"no"}else if(t.value)return t.value;return"no"}function l(e,t){var a=e.end;if(a.length){var r=!!a[0].value&&"on"!=a[0].value;if(r)for(var n=0;n<a.length;n++)a[n].value==t&&(a[n].checked=!0);else{var i=0;switch(t){case"no":i=0;break;case"date_of_end":i=2;break;default:i=1}a[i].checked=!0}}else a.value=t}function s(e,t){
var a=scheduler.form_blocks.recurring._set_node_value,r=e.split("#");switch(e=r[0].split("_"),y[e[0]](e,t),r[1]){case"no":l(m,"no");break;case"":l(m,"date_of_end");var n=t.end;scheduler.config.include_end_by&&(n=scheduler.date.add(n,-1,"day")),a(m,"date_of_end",p(n));break;default:l(m,"occurences_count"),a(m,"occurences_count",r[1])}a(m,"repeat",e[0]);var i=scheduler.form_blocks.recurring._get_form_node(m,"repeat",e[0]);"SELECT"==i.nodeName&&i.onchange?i.onchange():i.onclick&&i.onclick()}var o=scheduler.form_blocks.recurring,_=o._get_node_value,c=o._set_node_value;
scheduler.form_blocks.recurring._ds={start:a.start_date,end:a._end_date};var u=scheduler.date.str_to_date(scheduler.config.repeat_date),h=function(e){var t=u(e);return scheduler.config.include_end_by&&(t=scheduler.date.add(t,1,"day")),t},p=scheduler.date.date_to_str(scheduler.config.repeat_date),v=e.getElementsByTagName("FORM")[0],m={};if(r(v.getElementsByTagName("INPUT")),r(v.getElementsByTagName("SELECT")),!scheduler.config.repeat_date_of_end){var g=scheduler.date.date_to_str(scheduler.config.repeat_date);
scheduler.config.repeat_date_of_end=g(scheduler.date.add(scheduler._currentDate(),30,"day"))}c(m,"date_of_end",scheduler.config.repeat_date_of_end);var f=function(e){return document.getElementById(e)||{style:{}}};scheduler.form_blocks.recurring._get_repeat_code=i;var b={month:function(e,t){var a=scheduler.form_blocks.recurring._get_node_value,r=scheduler.form_blocks.recurring._get_node_numeric_value;"d"==a(m,"month_type")?(e.push(Math.max(1,r(m,"month_count"))),t.start.setDate(a(m,"month_day"))):(e.push(Math.max(1,r(m,"month_count2"))),
e.push(a(m,"month_day2")),e.push(Math.max(1,r(m,"month_week2"))),scheduler.config.repeat_precise||t.start.setDate(1)),t._start=!0},week:function(e,t){var a=scheduler.form_blocks.recurring._get_node_value,r=scheduler.form_blocks.recurring._get_node_numeric_value;e.push(Math.max(1,r(m,"week_count"))),e.push(""),e.push("");for(var n=[],i=a(m,"week_day",!0),d=t.start.getDay(),l=!1,s=0;s<i.length;s++)n.push(i[s]),l=l||i[s]==d;n.length||(n.push(d),l=!0),n.sort(),scheduler.config.repeat_precise?l||(scheduler.transpose_day_week(t.start,n,1,7),
t._start=!0):(t.start=scheduler.date.week_start(t.start),t._start=!0),e.push(n.join(","))},day:function(e){var t=scheduler.form_blocks.recurring._get_node_value,a=scheduler.form_blocks.recurring._get_node_numeric_value;"d"==t(m,"day_type")?e.push(Math.max(1,a(m,"day_count"))):(e.push("week"),e.push(1),e.push(""),e.push(""),e.push(scheduler.config.recurring_workdays.join(",")),e.splice(0,1))},year:function(e,t){var a=scheduler.form_blocks.recurring._get_node_value;"d"==a(m,"year_type")?(e.push("1"),
t.start.setMonth(0),t.start.setDate(a(m,"year_day")),t.start.setMonth(a(m,"year_month"))):(e.push("1"),e.push(a(m,"year_day2")),e.push(a(m,"year_week2")),t.start.setDate(1),t.start.setMonth(a(m,"year_month2"))),t._start=!0}},y={week:function(e,t){var a=scheduler.form_blocks.recurring._set_node_value;a(m,"week_count",e[1]);for(var r=e[4].split(","),n={},i=0;i<r.length;i++)n[r[i]]=!0;a(m,"week_day",n)},month:function(e,t){var a=scheduler.form_blocks.recurring._set_node_value;""===e[2]?(a(m,"month_type","d"),
a(m,"month_count",e[1]),a(m,"month_day",t.start.getDate())):(a(m,"month_type","w"),a(m,"month_count2",e[1]),a(m,"month_week2",e[3]),a(m,"month_day2",e[2]))},day:function(e,t){var a=scheduler.form_blocks.recurring._set_node_value;a(m,"day_type","d"),a(m,"day_count",e[1])},year:function(e,t){var a=scheduler.form_blocks.recurring._set_node_value;""===e[2]?(a(m,"year_type","d"),a(m,"year_day",t.start.getDate()),a(m,"year_month",t.start.getMonth())):(a(m,"year_type","w"),a(m,"year_week2",e[3]),a(m,"year_day2",e[2]),
a(m,"year_month2",t.start.getMonth()))}};scheduler.form_blocks.recurring._set_repeat_code=s;for(var x=0;x<v.elements.length;x++){var k=v.elements[x];switch(k.name){case"repeat":"SELECT"==k.nodeName?k.onchange=n:k.onclick=n}}scheduler._lightbox._rec_init_done=!0},set_value:function(e,t,a){var r=scheduler.form_blocks.recurring;scheduler._lightbox._rec_init_done||r._init_set_value(e,t,a),e.open=!a.rec_type,e.blocked=this._is_modified_occurence(a);var n=r._ds;n.start=a.start_date,n.end=a._end_date,r._toggle_block(),
t&&r._set_repeat_code(t,n)},get_value:function(e,t){if(e.open){var a=scheduler.form_blocks.recurring._ds,r={};this.formSection("time").getValue(r),a.start=r.start_date,t.rec_type=scheduler.form_blocks.recurring._get_repeat_code(a),a._start?(t.start_date=new Date(a.start),t._start_date=new Date(a.start),a._start=!1):t._start_date=null,t._end_date=a.end,t.rec_pattern=t.rec_type.split("#")[0]}else t.rec_type=t.rec_pattern="",t._end_date=t.end_date;return t.rec_type},_get_button:function(){var e=scheduler.formSection("recurring").header;
return e.firstChild.firstChild},_get_form:function(){return scheduler.formSection("recurring").node},open:function(){var e=scheduler.form_blocks.recurring,t=e._get_form();t.open||e._toggle_block()},close:function(){var e=scheduler.form_blocks.recurring,t=e._get_form();t.open&&e._toggle_block()},_toggle_block:function(){var e=scheduler.form_blocks.recurring,t=e._get_form(),a=e._get_button();t.open||t.blocked?(t.style.height="0px",a&&(a.style.backgroundPosition="-5px 20px",a.nextSibling.innerHTML=scheduler.locale.labels.button_recurring)):(t.style.height="auto",
a&&(a.style.backgroundPosition="-5px 0px",a.nextSibling.innerHTML=scheduler.locale.labels.button_recurring_open)),t.open=!t.open,scheduler.setLightboxSize()},focus:function(e){},button_click:function(e,t,a,r){var n=scheduler.form_blocks.recurring,r=n._get_form();r.blocked||scheduler.form_blocks.recurring._toggle_block()}},scheduler._rec_markers={},scheduler._rec_markers_pull={},scheduler._add_rec_marker=function(e,t){e._pid_time=t,this._rec_markers[e.id]=e,this._rec_markers_pull[e.event_pid]||(this._rec_markers_pull[e.event_pid]={}),
this._rec_markers_pull[e.event_pid][t]=e},scheduler._get_rec_marker=function(e,t){var a=this._rec_markers_pull[t];return a?a[e]:null},scheduler._get_rec_markers=function(e){return this._rec_markers_pull[e]||[]},scheduler._rec_temp=[],function(){var e=scheduler.addEvent;scheduler.addEvent=function(t,a,r,n,i){var d=e.apply(this,arguments);if(d&&scheduler.getEvent(d)){var l=scheduler.getEvent(d);this._is_modified_occurence(l)&&scheduler._add_rec_marker(l,1e3*l.event_length),l.rec_type&&(l.rec_pattern=l.rec_type.split("#")[0]);
}return d}}(),scheduler.attachEvent("onEventIdChange",function(e,t){if(!this._ignore_call){this._ignore_call=!0,scheduler._rec_markers[e]&&(scheduler._rec_markers[t]=scheduler._rec_markers[e],delete scheduler._rec_markers[e]),scheduler._rec_markers_pull[e]&&(scheduler._rec_markers_pull[t]=scheduler._rec_markers_pull[e],delete scheduler._rec_markers_pull[e]);for(var a=0;a<this._rec_temp.length;a++){var r=this._rec_temp[a];r.event_pid==e&&(r.event_pid=t,this.changeEventId(r.id,t+"#"+r.id.split("#")[1]));
}for(var a in this._rec_markers){var r=this._rec_markers[a];r.event_pid==e&&(r.event_pid=t,r._pid_changed=!0)}var n=scheduler._rec_markers[t];n&&n._pid_changed&&(delete n._pid_changed,setTimeout(function(){scheduler.callEvent("onEventChanged",[t,scheduler.getEvent(t)])},1)),delete this._ignore_call}}),scheduler.attachEvent("onConfirmedBeforeEventDelete",function(e){var t=this.getEvent(e);if(this._is_virtual_event(e)||this._is_modified_occurence(t)&&t.rec_type&&"none"!=t.rec_type){e=e.split("#");var a=this.uid(),r=e[1]?e[1]:t._pid_time/1e3,n=this._copy_event(t);
n.id=a,n.event_pid=t.event_pid||e[0];var i=r;n.event_length=i,n.rec_type=n.rec_pattern="none",this.addEvent(n),this._add_rec_marker(n,1e3*i)}else{t.rec_type&&this._lightbox_id&&this._roll_back_dates(t);var d=this._get_rec_markers(e);for(var l in d)d.hasOwnProperty(l)&&(e=d[l].id,this.getEvent(e)&&this.deleteEvent(e,!0))}return!0}),scheduler.attachEvent("onEventDeleted",function(e,t){!this._is_virtual_event(e)&&this._is_modified_occurence(t)&&(scheduler._events[e]||(t.rec_type=t.rec_pattern="none",
this.setEvent(e,t)))}),scheduler.attachEvent("onEventChanged",function(e,t){if(this._loading)return!0;var a=this.getEvent(e);if(this._is_virtual_event(e)){var e=e.split("#"),r=this.uid();this._not_render=!0;var n=this._copy_event(t);n.id=r,n.event_pid=e[0];var i=e[1];n.event_length=i,n.rec_type=n.rec_pattern="",this._add_rec_marker(n,1e3*i),this.addEvent(n),this._not_render=!1}else{a.rec_type&&this._lightbox_id&&this._roll_back_dates(a);var d=this._get_rec_markers(e);for(var l in d)d.hasOwnProperty(l)&&(delete this._rec_markers[d[l].id],
this.deleteEvent(d[l].id,!0));delete this._rec_markers_pull[e];for(var s=!1,o=0;o<this._rendered.length;o++)this._rendered[o].getAttribute("event_id")==e&&(s=!0);s||(this._select_id=null)}return!0}),scheduler.attachEvent("onEventAdded",function(e){if(!this._loading){var t=this.getEvent(e);t.rec_type&&!t.event_length&&this._roll_back_dates(t)}return!0}),scheduler.attachEvent("onEventSave",function(e,t,a){var r=this.getEvent(e);return r.rec_type||!t.rec_type||this._is_virtual_event(e)||(this._select_id=null),
!0}),scheduler.attachEvent("onEventCreated",function(e){var t=this.getEvent(e);return t.rec_type||(t.rec_type=t.rec_pattern=t.event_length=t.event_pid=""),!0}),scheduler.attachEvent("onEventCancel",function(e){var t=this.getEvent(e);t.rec_type&&(this._roll_back_dates(t),this.render_view_data())}),scheduler._roll_back_dates=function(e){e.event_length=(e.end_date.valueOf()-e.start_date.valueOf())/1e3,e.end_date=e._end_date,e._start_date&&(e.start_date.setMonth(0),e.start_date.setDate(e._start_date.getDate()),
e.start_date.setMonth(e._start_date.getMonth()),e.start_date.setFullYear(e._start_date.getFullYear()))},scheduler._is_virtual_event=function(e){return-1!=e.toString().indexOf("#")},scheduler._is_modified_occurence=function(e){return e.event_pid&&"0"!=e.event_pid},scheduler._validId=function(e){return!this._is_virtual_event(e)},scheduler.showLightbox_rec=scheduler.showLightbox,scheduler.showLightbox=function(e){var t=this.locale,a=scheduler.config.lightbox_recurring,r=this.getEvent(e),n=r.event_pid,i=this._is_virtual_event(e);
i&&(n=e.split("#")[0]);var d=function(e){var t=scheduler.getEvent(e);return t._end_date=t.end_date,t.end_date=new Date(t.start_date.valueOf()+1e3*t.event_length),scheduler.showLightbox_rec(e)};if((n||1*n===0)&&r.rec_type)return d(e);if(!n||"0"===n||!t.labels.confirm_recurring||"instance"==a||"series"==a&&!i)return this.showLightbox_rec(e);if("ask"==a){var l=this;dhtmlx.modalbox({text:t.labels.confirm_recurring,title:t.labels.title_confirm_recurring,width:"500px",position:"middle",buttons:[t.labels.button_edit_series,t.labels.button_edit_occurrence,t.labels.icon_cancel],
callback:function(t){switch(+t){case 0:return d(n);case 1:return l.showLightbox_rec(e);case 2:return}}})}else d(n)},scheduler.get_visible_events_rec=scheduler.get_visible_events,scheduler.get_visible_events=function(e){for(var t=0;t<this._rec_temp.length;t++)delete this._events[this._rec_temp[t].id];this._rec_temp=[];for(var a=this.get_visible_events_rec(e),r=[],t=0;t<a.length;t++)a[t].rec_type?"none"!=a[t].rec_pattern&&this.repeat_date(a[t],r):r.push(a[t]);return r},function(){var e=scheduler.isOneDayEvent;
scheduler.isOneDayEvent=function(t){return t.rec_type?!0:e.call(this,t)};var t=scheduler.updateEvent;scheduler.updateEvent=function(e){var a=scheduler.getEvent(e);a&&a.rec_type&&(a.rec_pattern=(a.rec_type||"").split("#")[0]),a&&a.rec_type&&!this._is_virtual_event(e)?scheduler.update_view():t.call(this,e)}}(),scheduler.transponse_size={day:1,week:7,month:1,year:12},scheduler.date.day_week=function(e,t,a){e.setDate(1),a=7*(a-1);var r=e.getDay(),n=1*t+a-r+1;e.setDate(a>=n?n+7:n)},scheduler.transpose_day_week=function(e,t,a,r,n){
for(var i=(e.getDay()||(scheduler.config.start_on_monday?7:0))-a,d=0;d<t.length;d++)if(t[d]>i)return e.setDate(e.getDate()+1*t[d]-i-(r?a:n));this.transpose_day_week(e,t,a+r,null,a)},scheduler.transpose_type=function(e){var t="transpose_"+e;if(!this.date[t]){var a=e.split("_"),r=864e5,n="add_"+e,i=this.transponse_size[a[0]]*a[1];if("day"==a[0]||"week"==a[0]){var d=null;if(a[4]&&(d=a[4].split(","),scheduler.config.start_on_monday)){for(var l=0;l<d.length;l++)d[l]=1*d[l]||7;d.sort()}this.date[t]=function(e,t){
var a=Math.floor((t.valueOf()-e.valueOf())/(r*i));a>0&&e.setDate(e.getDate()+a*i),d&&scheduler.transpose_day_week(e,d,1,i)},this.date[n]=function(e,t){var a=new Date(e.valueOf());if(d)for(var r=0;t>r;r++)scheduler.transpose_day_week(a,d,0,i);else a.setDate(a.getDate()+t*i);return a}}else("month"==a[0]||"year"==a[0])&&(this.date[t]=function(e,t){var r=Math.ceil((12*t.getFullYear()+1*t.getMonth()+1-(12*e.getFullYear()+1*e.getMonth()+1))/i-1);r>=0&&e.setMonth(e.getMonth()+r*i),a[3]&&scheduler.date.day_week(e,a[2],a[3]);
},this.date[n]=function(e,t){var r=new Date(e.valueOf());return r.setMonth(r.getMonth()+t*i),a[3]&&scheduler.date.day_week(r,a[2],a[3]),r})}},scheduler.repeat_date=function(e,t,a,r,n,i){r=r||this._min_date,n=n||this._max_date;var d=i||-1,l=new Date(e.start_date.valueOf()),s=l.getHours(),o=0;for(!e.rec_pattern&&e.rec_type&&(e.rec_pattern=e.rec_type.split("#")[0]),this.transpose_type(e.rec_pattern),scheduler.date["transpose_"+e.rec_pattern](l,r);l<e.start_date||scheduler._fix_daylight_saving_date(l,r,e,l,new Date(l.valueOf()+1e3*e.event_length)).valueOf()<=r.valueOf()||l.valueOf()+1e3*e.event_length<=r.valueOf();)l=this.date.add(l,1,e.rec_pattern);
for(;n>l&&l<e.end_date&&(0>d||d>o);){l.setHours(s);var _=scheduler.config.occurrence_timestamp_in_utc?Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds()):l.valueOf(),c=this._get_rec_marker(_,e.id);if(c)a&&("none"!=c.rec_type&&o++,t.push(c));else{var u=new Date(l.valueOf()+1e3*e.event_length),h=this._copy_event(e);if(h.text=e.text,h.start_date=l,h.event_pid=e.id,h.id=e.id+"#"+Math.ceil(_/1e3),h.end_date=u,h.end_date=scheduler._fix_daylight_saving_date(h.start_date,h.end_date,e,l,h.end_date),
h._timed=this.isOneDayEvent(h),!h._timed&&!this._table_view&&!this.config.multi_day)return;t.push(h),a||(this._events[h.id]=h,this._rec_temp.push(h)),o++}l=this.date.add(l,1,e.rec_pattern)}},scheduler._fix_daylight_saving_date=function(e,t,a,r,n){var i=e.getTimezoneOffset()-t.getTimezoneOffset();return i?i>0?new Date(r.valueOf()+1e3*a.event_length-60*i*1e3):new Date(t.valueOf()-60*i*1e3):new Date(n.valueOf())},scheduler.getRecDates=function(e,t){var a="object"==typeof e?e:scheduler.getEvent(e),r=[];
if(t=t||100,!a.rec_type)return[{start_date:a.start_date,end_date:a.end_date}];if("none"==a.rec_type)return[];scheduler.repeat_date(a,r,!0,a.start_date,a.end_date,t);for(var n=[],i=0;i<r.length;i++)"none"!=r[i].rec_type&&n.push({start_date:r[i].start_date,end_date:r[i].end_date});return n},scheduler.getEvents=function(e,t){var a=[];for(var r in this._events){var n=this._events[r];if(n&&n.start_date<t&&n.end_date>e)if(n.rec_pattern){if("none"==n.rec_pattern)continue;var i=[];this.repeat_date(n,i,!0,e,t);
for(var d=0;d<i.length;d++)!i[d].rec_pattern&&i[d].start_date<t&&i[d].end_date>e&&!this._rec_markers[i[d].id]&&a.push(i[d])}else this._is_virtual_event(n.id)||a.push(n)}return a},scheduler.config.repeat_date="%m.%d.%Y",scheduler.config.lightbox.sections=[{name:"description",map_to:"text",type:"textarea",focus:!0},{name:"recurring",type:"recurring",map_to:"rec_type",button:"recurring"},{name:"time",height:72,type:"time",map_to:"auto"}],scheduler._copy_dummy=function(e){var t=new Date(this.start_date),a=new Date(this.end_date);
this.start_date=t,this.end_date=a,this.event_length=this.event_pid=this.rec_pattern=this.rec_type=null},scheduler.config.include_end_by=!1,scheduler.config.lightbox_recurring="ask",scheduler.attachEvent("onClearAll",function(){scheduler._rec_markers={},scheduler._rec_markers_pull={},scheduler._rec_temp=[]}),scheduler.__recurring_template='<div class="dhx_form_repeat"> <form> <div class="dhx_repeat_left"> <label><input class="dhx_repeat_radio" type="radio" name="repeat" value="day" />Daily</label><br /> <label><input class="dhx_repeat_radio" type="radio" name="repeat" value="week"/>Weekly</label><br /> <label><input class="dhx_repeat_radio" type="radio" name="repeat" value="month" checked />Monthly</label><br /> <label><input class="dhx_repeat_radio" type="radio" name="repeat" value="year" />Yearly</label> </div> <div class="dhx_repeat_divider"></div> <div class="dhx_repeat_center"> <div style="display:none;" id="dhx_repeat_day"> <label><input class="dhx_repeat_radio" type="radio" name="day_type" value="d"/>Every</label><input class="dhx_repeat_text" type="text" name="day_count" value="1" />day<br /> <label><input class="dhx_repeat_radio" type="radio" name="day_type" checked value="w"/>Every workday</label> </div> <div style="display:none;" id="dhx_repeat_week"> Repeat every<input class="dhx_repeat_text" type="text" name="week_count" value="1" />week next days:<br /> <table class="dhx_repeat_days"> <tr> <td> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="1" />Monday</label><br /> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="4" />Thursday</label> </td> <td> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="2" />Tuesday</label><br /> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="5" />Friday</label> </td> <td> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="3" />Wednesday</label><br /> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="6" />Saturday</label> </td> <td> <label><input class="dhx_repeat_checkbox" type="checkbox" name="week_day" value="0" />Sunday</label><br /><br /> </td> </tr> </table> </div> <div id="dhx_repeat_month"> <label><input class="dhx_repeat_radio" type="radio" name="month_type" value="d"/>Repeat</label><input class="dhx_repeat_text" type="text" name="month_day" value="1" />day every<input class="dhx_repeat_text" type="text" name="month_count" value="1" />month<br /> <label><input class="dhx_repeat_radio" type="radio" name="month_type" checked value="w"/>On</label><input class="dhx_repeat_text" type="text" name="month_week2" value="1" /><select name="month_day2"><option value="1" selected >Monday<option value="2">Tuesday<option value="3">Wednesday<option value="4">Thursday<option value="5">Friday<option value="6">Saturday<option value="0">Sunday</select>every<input class="dhx_repeat_text" type="text" name="month_count2" value="1" />month<br /> </div> <div style="display:none;" id="dhx_repeat_year"> <label><input class="dhx_repeat_radio" type="radio" name="year_type" value="d"/>Every</label><input class="dhx_repeat_text" type="text" name="year_day" value="1" />day<select name="year_month"><option value="0" selected >January<option value="1">February<option value="2">March<option value="3">April<option value="4">May<option value="5">June<option value="6">July<option value="7">August<option value="8">September<option value="9">October<option value="10">November<option value="11">December</select>month<br /> <label><input class="dhx_repeat_radio" type="radio" name="year_type" checked value="w"/>On</label><input class="dhx_repeat_text" type="text" name="year_week2" value="1" /><select name="year_day2"><option value="1" selected >Monday<option value="2">Tuesday<option value="3">Wednesday<option value="4">Thursday<option value="5">Friday<option value="6">Saturday<option value="7">Sunday</select>of<select name="year_month2"><option value="0" selected >January<option value="1">February<option value="2">March<option value="3">April<option value="4">May<option value="5">June<option value="6">July<option value="7">August<option value="8">September<option value="9">October<option value="10">November<option value="11">December</select><br /> </div> </div> <div class="dhx_repeat_divider"></div> <div class="dhx_repeat_right"> <label><input class="dhx_repeat_radio" type="radio" name="end" checked/>No end date</label><br /> <label><input class="dhx_repeat_radio" type="radio" name="end" />After</label><input class="dhx_repeat_text" type="text" name="occurences_count" value="1" />occurrences<br /> <label><input class="dhx_repeat_radio" type="radio" name="end" />End by</label><input class="dhx_repeat_date" type="text" name="date_of_end" value="'+scheduler.config.repeat_date_of_end+'" /><br /> </div> </form> </div> <div style="clear:both"> </div>';
//# sourceMappingURL=../sources/ext/dhtmlxscheduler_recurring.js.map