System.register(["./p-b0e93f3a.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.m}],execute:function(){var a=e("C",{timeZone:"Europe/Istanbul",locale:"tr",timeFormat:"24-hour",dateFormat:"DD/MM/YYYY",dayNamesOrdered:[],setLocale:function(e,n,o){if(o===void 0){o="monday"}t.locale(e);a.locale=e;if(n){r(e,n);var u=[n.sunday3,n.monday3,n.tuesday3,n.wednesday3,n.thursday3,n.friday3,n.saturday3];var s=[];for(var i=0;i<7;i++){s.push(u[(i+a.getWeekStartIndex(o))%7])}a.dayNamesOrdered=s}},getWeekStartIndex:function(e){switch(e){case"monday":return 1;case"saturday":return 6;case"sunday":default:return 0}},createDateWithHours:function(e,r,n){var o=e.getDate();var u=e.getMonth()+1;var s=e.getFullYear();return t.tz("".concat(o,"/").concat(u,"/").concat(s," ").concat(r,":").concat(n),"D/M/YYYY h:mm",a.timeZone).toDate()},setTimeZone:function(e){a.timeZone=e},setTimeFormat:function(e){a.timeFormat=e},setDateFormat:function(e){a.dateFormat=e},fixHourDifference:function(e){var r=(new Date).getTimezoneOffset();var n=t.tz.zone(a.timeZone).utcOffset(new Date);var o=(r-n)/60;e.setHours(e.getHours()-o);return e},format:function(e,r){if(r==="HH:mm"&&a.timeFormat==="12-hour"){return t(e).tz(a.timeZone).format("hh:mm A")}return t(e).tz(a.timeZone).format(r)},getZoneAbbr:function(e){if(e===void 0){e=t.tz.guess()}return t.tz(e).zoneAbbr()},getStartAndEndDateFromInputs:function(e,t,r){var n=new Date(e.getTime());n.setHours(t.getHours(),t.getMinutes(),0);var o=new Date(e.getTime());o.setHours(r.getHours(),r.getMinutes(),0);n=a.fixHourDifference(n);o=a.fixHourDifference(o);return{startDate:n.getTime()/1e3,endDate:o.getTime()/1e3}},elapsedTime:function(e){return t(e).tz(a.timeZone).fromNow()},elapsedTimeBetweenDates:function(e,a){return t(e).from(t(a))},getMonday:function(){return t().startOf("isoWeek").toDate()},getStartEndOfWeek:function(e){if(e===void 0){e=0}var t=e*(7*24*60*60*1e3);var r=new Date(new Date(a.getMonday()).getTime()+t);r.setHours(0,0,0,0);var n=new Date(r.getTime());n.setDate(r.getDate()+6);n.setHours(23,59,59,99);return{relativeWeekNumber:e,firstDayOfWeek:r,lastDayOfWeek:n}}});function r(e,a){t.locale(e,{months:[a.january,a.february,a.march,a.april,a.may,a.june,a.july,a.august,a.september,a.october,a.november,a.december],monthsShort:[a.january3,a.february3,a.march3,a.april3,a.may3,a.june3,a.july3,a.august3,a.september3,a.october3,a.november3,a.december3],monthsParseExact:true,weekdays:[a.sunday,a.monday,a.tuesday,a.wednesday,a.thursday,a.friday,a.saturday],weekdaysShort:[a.sunday3,a.monday3,a.tuesday3,a.wednesday3,a.thursday3,a.friday3,a.saturday3],weekdaysMin:[a.sunday2,a.monday2,a.tuesday2,a.wednesday2,a.thursday2,a.friday2,a.saturday2]})}}}}));