1(self.webpackChunkjustiz_web=self.webpackChunkjustiz_web||[]).push([[16],{740:(F,R)=>{!function(T){var g,l,m,n=String.fromCharCode;function D(i){for(var c,b,d=[],v=0,y=i.length;v<y;)(c=i.charCodeAt(v++))>=55296&&c<=56319&&v<y?56320==(64512&(b=i.charCodeAt(v++)))?d.push(((1023&c)<<10)+(1023&b)+65536):(d.push(c),v--):d.push(c);return d}function f(i){if(i>=55296&&i<=57343)throw Error("Lone surrogate U+"+i.toString(16).toUpperCase()+" is not a scalar value")}function E(i,d){return n(i>>d&63|128)}function o(i){if(!(4294967168&i))return n(i);var d="";return 4294965248&i?4294901760&i?!(4292870144&i)&&(d=n(i>>18&7|240),d+=E(i,12),d+=E(i,6)):(f(i),d=n(i>>12&15|224),d+=E(i,6)):d=n(i>>6&31|192),d+n(63&i|128)}function u(){if(m>=l)throw Error("Invalid byte index");var i=255&g[m];if(m++,128==(192&i))return 63&i;throw Error("Invalid continuation byte")}function r(){var i,c;if(m>l)throw Error("Invalid byte index");if(m==l)return!1;if(i=255&g[m],m++,!(128&i))return i;if(192==(224&i)){if((c=(31&i)<<6|u())>=128)return c;throw Error("Invalid continuation byte")}if(224==(240&i)){if((c=(15&i)<<12|u()<<6|u())>=2048)return f(c),c;throw Error("Invalid continuation byte")}if(240==(248&i)&&(c=(7&i)<<18|u()<<12|u()<<6|u())>=65536&&c<=1114111)return c;throw Error("Invalid UTF-8 detected")}T.version="3.0.0",T.encode=function C(i){for(var d=D(i),v=d.length,y=-1,b="";++y<v;)b+=o(d[y]);return b},T.decode=function w(i){g=D(i),l=g.length,m=0;for(var v,d=[];!1!==(v=r());)d.push(v);return function p(i){for(var y,d=i.length,v=-1,c="";++v<d;)(y=i[v])>65535&&(c+=n((y-=65536)>>>10&1023|55296),y=56320|1023&y),c+=n(y);return c}(d)}}(R)},2891:(F,R,T)=>{"use strict";T.d(R,{Ay:()=>J,Q8:()=>k});var t,n=T(7717),D=((t=D||{}).SECONDLY="SECONDLY",t.MINUTELY="MINUTELY",t.HOURLY="HOURLY",t.DAILY="DAILY",t.WEEKLY="WEEKLY",t.MONTHLY="MONTHLY",t.YEARLY="YEARLY",t),p=(t=>(t.SU="SU",t.MO="MO",t.TU="TU",t.WE="WE",t.TH="TH",t.FR="FR",t.SA="SA",t))(p||{});function f(t,e,a,s){if(t?.startsWith("/")&&(t=t.substr(1)),"string"==typeof e||e instanceof Date){let h=new Date(e),A=h.getUTCFullYear()+String(h.getUTCMonth()+1).padStart(2,"0")+h.getUTCDate().toString().padStart(2,"0");return t&&(A=h.getFullYear()+String(h.getMonth()+1).padStart(2,"0")+h.getDate().toString().padStart(2,"0")),a?A:t?(A+="T"+h.getHours().toString().padStart(2,"0")+h.getMinutes().toString().padStart(2,"0")+h.getSeconds().toString().padStart(2,"0"),A):(A+="T"+h.getUTCHours().toString().padStart(2,"0")+h.getUTCMinutes().toString().padStart(2,"0")+h.getUTCSeconds().toString().padStart(2,"0")+(s?"":"Z"),A)}if(i(e)){let h=t?d(e)&&!e.tz()?e.clone().tz(t):e:s||a&&d(e)&&e.tz()?e:e.utc();return h.format("YYYYMMDD")+(a?"":"T"+h.format("HHmmss")+(s||t?"":"Z"))}if(y(e)){let h=t?e.setZone(t):s||a&&"system"!==e.zone.type?e:e.setZone("utc");return h.toFormat("yyyyLLdd")+(a?"":"T"+h.toFormat("HHmmss")+(s||t?"":"Z"))}{let h=e;if(t)h="function"==typeof e.tz?e.tz(t):e;else if(!s){if("function"!=typeof e.utc)throw new Error("Unable to convert dayjs object to UTC value: UTC plugin is not available!");h=e.utc()}return h.format("YYYYMMDD")+(a?"":"T"+h.format("HHmmss")+(s||t?"":"Z"))}}function E(t,e,a,s){let h="",A=s?.floating||!1;return s?.timezone&&(h=";TZID="+s.timezone,A=!0),e+h+":"+f(t,a,!1,A)}function o(t,e){return String(t).replace(e?/[\\"]/g:/[\\;,]/g,function(a){return"\\"+a}).replace(/(?:\r\n|\r|\n)/g,"\\n")}function u(t,e,a){if(Array.isArray(e))t.x=e.map(s=>{if(Array.isArray(s))return s;if("string"!=typeof s.key||"string"!=typeof s.value)throw new Error("Either key or value is not a string!");if("X-"!==s.key.substr(0,2))throw new Error("Key has to start with `X-`!");return[s.key,s.value]});else if("object"==typeof e)t.x=Object.entries(e).map(([s,h])=>{if("string"!=typeof s||"string"!=typeof h)throw new Error("Either key or value is not a string!");if("X-"!==s.substr(0,2))throw new Error("Key has to start with `X-`!");return[s,h]});else{if("string"!=typeof e||"string"!=typeof a)return t.x.map(s=>({key:s[0],value:s[1]}));if("X-"!==e.substr(0,2))throw new Error("Key has to start with `X-`!");t.x.push([e,a])}}function r(t){let e=t.x.map(([a,s])=>a.toUpperCase()+":"+o(s,!1)).join("\r\n");return e.length?e+"\r\n":""}function g(t,e){let a=null;if("string"==typeof e){let s=e.match(/^(.+) ?<([^>]+)>$/);s?a={name:s[1].trim(),email:s[2].trim()}:e.includes("@")&&(a={name:e.trim(),email:e.trim()})}else"object"==typeof e&&(a={name:e.name,email:e.email,mailto:e.mailto,sentBy:e.sentBy});if(!a&&"string"==typeof e)throw new Error("`"+t+"` isn't formated correctly. See https://sebbo2002.github.io/ical-generator/develop/reference/interfaces/ICalOrganizer.html");if(!a)throw new Error("`"+t+"` needs to be a valid formed string or an object. See https://sebbo2002.github.io/ical-generator/develop/reference/interfaces/ICalOrganizer.html");if(!a.name)throw new Error("`"+t+".name` is empty!");return a}function l(t,e){let a=Object.values(t),s=String(e).toUpperCase();if(!s||!a.includes(s))throw new Error(`Input must be one of the following: ${a.join(", ")}`);return s}function m(t,e){if(t instanceof Date&&isNaN(t.getTime())||"string"==typeof t&&isNaN(new Date(t).getTime()))throw new Error(`\`${e}\` has to be a valid date!`);
1if(t instanceof Date||"string"==typeof t||y(t)&&!0===t.isValid||(i(t)||function v(t){return!("object"!=typeof t||null===t||t instanceof Date||i(t)||y(t))}(t))&&t.isValid())return t;throw new Error(`\`${e}\` has to be a valid date!`)}function w(t){return"string"==typeof t||t instanceof Date?new Date(t):y(t)?t.toJSDate():t.toDate()}function i(t){return null!=t&&null!=t._isAMomentObject}function d(t){return i(t)&&"tz"in t&&"function"==typeof t.tz}function y(t){return"object"==typeof t&&null!==t&&"toJSDate"in t&&"function"==typeof t.toJSDate}function b(t){return null!==t&&"object"==typeof t&&"between"in t&&"function"==typeof t.between&&"function"==typeof t.toString}function S(t){return t?"string"==typeof t?t:t.toJSON():null}function N(t){let e="";return t<0&&(e="-",t*=-1),e+="P",t>=86400&&(e+=Math.floor(t/86400)+"D",t%=86400),!t&&e.length>1||(e+="T",t>=3600&&(e+=Math.floor(t/3600)+"H",t%=3600),t>=60&&(e+=Math.floor(t/60)+"M",t%=60),t>0?e+=t+"S":e.length<=2&&(e+="0S")),e}var O=(t=>(t.CHAIR="CHAIR",t.REQ="REQ-PARTICIPANT",t.OPT="OPT-PARTICIPANT",t.NON="NON-PARTICIPANT",t))(O||{}),U=(t=>(t.ACCEPTED="ACCEPTED",t.TENTATIVE="TENTATIVE",t.DECLINED="DECLINED",t.DELEGATED="DELEGATED",t.NEEDSACTION="NEEDS-ACTION",t))(U||{}),M=(t=>(t.INDIVIDUAL="INDIVIDUAL",t.GROUP="GROUP",t.RESOURCE="RESOURCE",t.ROOM="ROOM",t.UNKNOWN="UNKNOWN",t))(M||{}),x=class I{data;parent;constructor(e,a){if(this.data={name:null,email:"",mailto:null,sentBy:null,status:null,role:"REQ-PARTICIPANT",rsvp:null,type:null,delegatedTo:null,delegatedFrom:null,x:[]},this.parent=a,!this.parent)throw new Error("`event` option required!");if(!e.email)throw new Error("No value for `email` in ICalAttendee given!");void 0!==e.name&&this.name(e.name),void 0!==e.email&&this.email(e.email),void 0!==e.mailto&&this.mailto(e.mailto),void 0!==e.sentBy&&this.sentBy(e.sentBy),void 0!==e.status&&this.status(e.status),void 0!==e.role&&this.role(e.role),void 0!==e.rsvp&&this.rsvp(e.rsvp),void 0!==e.type&&this.type(e.type),void 0!==e.delegatedTo&&this.delegatedTo(e.delegatedTo),void 0!==e.delegatedFrom&&this.delegatedFrom(e.delegatedFrom),e.delegatesTo&&this.delegatesTo(e.delegatesTo),e.delegatesFrom&&this.delegatesFrom(e.delegatesFrom),void 0!==e.x&&this.x(e.x)}name(e){return void 0===e?this.data.name:(this.data.name=e||null,this)}email(e){return e?(this.data.email=e,this):this.data.email}mailto(e){return void 0===e?this.data.mailto:(this.data.mailto=e||null,this)}sentBy(e){return e?(this.data.sentBy=e,this):this.data.sentBy}role(e){return void 0===e?this.data.role:(this.data.role=l(O,e),this)}rsvp(e){return void 0===e?this.data.rsvp:null===e?(this.data.rsvp=null,this):(this.data.rsvp=!!e,this)}status(e){return void 0===e?this.data.status:e?(this.data.status=l(U,e),this):(this.data.status=null,this)}type(e){return void 0===e?this.data.type:e?(this.data.type=l(M,e),this):(this.data.type=null,this)}delegatedTo(e){return void 0===e?this.data.delegatedTo:e?(this.data.delegatedTo="string"==typeof e?new I({email:e,...g("delegatedTo",e)},this.parent):e instanceof I?e:new I(e,this.parent),this.data.status="DELEGATED",this):(this.data.delegatedTo=null,"DELEGATED"===this.data.status&&(this.data.status=null),this)}delegatedFrom(e){return void 0===e?this.data.delegatedFrom:(this.data.delegatedFrom=e?"string"==typeof e?new I({email:e,...g("delegatedFrom",e)},this.parent):e instanceof I?e:new I(e,this.parent):null,this)}delegatesTo(e){let a=e instanceof I?e:this.parent.createAttendee(e);return this.delegatedTo(a),a.delegatedFrom(this),a}delegatesFrom(e){let a=e instanceof I?e:this.parent.createAttendee(e);return this.delegatedFrom(a),a.delegatedTo(this),a}x(e,a){if(void 0===e)return u(this.data);if("string"==typeof e&&"string"==typeof a)u(this.data,e,a);else{if("object"!=typeof e)throw new Error("Either key or value is not a string!");u(this.data,e)}return this}toJSON(){return Object.assign({},this.data,{delegatedTo:this.data.delegatedTo?.email()||null,delegatedFrom:this.data.delegatedFrom?.email()||null,x:this.x()})}toString(){let e="ATTENDEE";if(!this.data.email)throw new Error("No value for `email` in ICalAttendee given!");return e+=";ROLE="+this.data.role,this.data.type&&(e+=";CUTYPE="+this.data.type),this.data.status&&(e+=";PARTSTAT="+this.data.status),null!==this.data.rsvp&&(e+=";RSVP="+this.data.rsvp.toString().toUpperCase()),null!==this.data.sentBy&&(e+=';SENT-BY="mailto:'+this.data.sentBy+'"'),this.data.delegatedTo&&(e+=';DELEGATED-TO="'+this.data.delegatedTo.email()+'"'),this.data.delegatedFrom&&(e+=';DELEGATED-FROM="'+this.data.delegatedFrom.email()+'"'),this.data.name&&(e+=';CN="'+o(this.data.name,!0)+'"'),this.data.email&&this.data.mailto&&(e+=";EMAIL="+o(this.data.email,!1)),this.data.x.length&&(e+=";"+this.data.x.map(([a,s])=>a.toUpperCase()+"="+o(s,!1)).join(";")),e+=":MAILTO:"+o(this.data.mailto||this.data.email,!1)+"\r\n",e}},L=(t=>(t.display="display",t.audio="audio",t.email="email",t))(L||{}),G={end:"END",start:"START"},z=class{data;event;constructor(t,e){if(this.data={type:"display",trigger:-600,relatesTo:null,repeat:null,interval:null,attach:null,description:null,summary:null,attendees:[],x:[]},this.event=e,!e)throw new Error("`event` option required!");void 0!==t.type&&this.type(t.type),"trigger"in t&&void 0!==t.trigger&&this.trigger(t.trigger),"triggerBefore"in t&&void 0!==t.triggerBefore&&this.triggerBefore(t.triggerBefore),"triggerAfter"in t&&void 0!==t.triggerAfter&&this.triggerAfter(t.triggerAfter),t.repeat&&this.repeat(t.repeat),void 0!==t.attach&&this.attach(t.attach),void 0!==t.description&&this.description(t.description),void 0!==t.summary&&this.summary(t.summary),void 0!==t.attendees&&this.attendees(t.attendees),void 0!==t.x&&this.x(t.x)}type(t){if(void 0===t)return this.data.type;if(!t||!Object.keys(L).includes(t))throw new Error("`type` is not correct, must be either `display` or `audio`!");return this.data.type=t,this}trigger(t){if(void 0===t&&"number"==typeof this.data.trigger)return-1*this.data.trigger;if(void 0===t)return this.data.trigger;if("number"==typeof t&&isFinite(t))this.data.trigger=-1*t;else{if(!t||"number"==typeof t)throw new Error("`trigger` is not correct, must be a finite number or a supported date!");this.data.trigger=m(t,"trigger")}return this}relatesTo(t){if(void 0===t)return this.data.relatesTo;if(!t)return this.data.relatesTo=null,this;if(!Object.values(G).includes(t))throw new Error("`relatesTo` is not correct, must be either `START` or `END`!");return this.data.relatesTo=t,this}triggerAfter(t){return void 0===t?this.data.trigger:this.trigger("number"==typeof t?-1*t:t)}triggerBefore(t){return void 0===t?this.trigger():this.trigger(t)}repeat(t){if(void 0===t)return this.data.repeat;if(!t)return this.data.repeat=null,this;if("object"!=typeof t)throw new Error("`repeat` is not correct, must be an object!");if("number"!=typeof t.times||!isFinite(t.times))throw new Error("`repeat.times` is not correct, must be numeric!");if("number"!=typeof t.interval||!isFinite(t.interval))throw new Error("`repeat.interval` is not correct, must be numeric!");return this.data.repeat=t,this}attach(t){if(void 0===t)return this.data.attach;if(!t)return this.data.attach=null,this;let e=null;if("string"==typeof t)e={uri:t,mime:null};else{if("object"!=typeof t)throw new Error("`attachment` needs to be a valid formed string or an object. See https://sebbo2002.github.io/ical-generator/develop/reference/classes/ICalAlarm.html#attach");e={uri:t.uri,mime:t.mime||null}}if(!e.uri)throw new Error("`attach.uri` is empty!");
1return this.data.attach={uri:e.uri,mime:e.mime},this}description(t){return void 0===t?this.data.description:t?(this.data.description=t,this):(this.data.description=null,this)}summary(t){return void 0===t?this.data.summary:t?(this.data.summary=t,this):(this.data.summary=null,this)}createAttendee(t){if(t instanceof x)return this.data.attendees.push(t),t;"string"==typeof t&&(t={email:t,...g("data",t)});let e=new x(t,this);return this.data.attendees.push(e),e}attendees(t){return t?(t.forEach(e=>this.createAttendee(e)),this):this.data.attendees}x(t,e){if(void 0===t)return u(this.data);if("string"==typeof t&&"string"==typeof e)u(this.data,t,e);else{if("object"!=typeof t)throw new Error("Either key or value is not a string!");u(this.data,t)}return this}toJSON(){let t=this.trigger();return Object.assign({},this.data,{trigger:"number"==typeof t?t:S(t),x:this.x()})}toString(){let t="BEGIN:VALARM\r\n";if(t+="ACTION:"+this.data.type.toUpperCase()+"\r\n",t+="number"==typeof this.data.trigger&&null===this.data.relatesTo?this.data.trigger>0?"TRIGGER;RELATED=END:"+N(this.data.trigger)+"\r\n":"TRIGGER:"+N(this.data.trigger)+"\r\n":"number"==typeof this.data.trigger?"TRIGGER;RELATED="+this.data.relatesTo?.toUpperCase()+":"+N(this.data.trigger)+"\r\n":"TRIGGER;VALUE=DATE-TIME:"+f(this.event.timezone(),this.data.trigger)+"\r\n",this.data.repeat){if(!this.data.repeat.times)throw new Error("No value for `repeat.times` in ICalAlarm given, but required for `interval`!");if(!this.data.repeat.interval)throw new Error("No value for `repeat.interval` in ICalAlarm given, but required for `repeat`!");t+="REPEAT:"+this.data.repeat.times+"\r\n",t+="DURATION:"+N(this.data.repeat.interval)+"\r\n"}return"audio"===this.data.type&&this.data.attach&&this.data.attach.mime?t+="ATTACH;FMTTYPE="+o(this.data.attach.mime,!1)+":"+o(this.data.attach.uri,!1)+"\r\n":"audio"===this.data.type&&this.data.attach?t+="ATTACH;VALUE=URI:"+o(this.data.attach.uri,!1)+"\r\n":"audio"===this.data.type&&(t+="ATTACH;VALUE=URI:Basso\r\n"),"audio"!==this.data.type&&this.data.description?t+="DESCRIPTION:"+o(this.data.description,!1)+"\r\n":"audio"!==this.data.type&&(t+="DESCRIPTION:"+o(this.event.summary(),!1)+"\r\n"),"email"===this.data.type&&this.data.summary?t+="SUMMARY:"+o(this.data.summary,!1)+"\r\n":"email"===this.data.type&&(t+="SUMMARY:"+o(this.event.summary(),!1)+"\r\n"),"email"===this.data.type&&this.data.attendees.forEach(e=>{t+=e.toString()}),t+=r(this.data),t+="END:VALARM\r\n",t}},_=class{data;constructor(t){if(this.data={name:""},!t.name)throw new Error("No value for `name` in ICalCategory given!");this.name(t.name)}name(t){return void 0===t?this.data.name:(this.data.name=t,this)}toJSON(){return Object.assign({},this.data)}toString(){return o(this.data.name,!1)}},P=(t=>(t.CONFIRMED="CONFIRMED",t.TENTATIVE="TENTATIVE",t.CANCELLED="CANCELLED",t))(P||{}),B=(t=>(t.FREE="FREE",t.TENTATIVE="TENTATIVE",t.BUSY="BUSY",t.OOF="OOF",t))(B||{}),j=(t=>(t.TRANSPARENT="TRANSPARENT",t.OPAQUE="OPAQUE",t))(j||{}),Y=(t=>(t.PUBLIC="PUBLIC",t.PRIVATE="PRIVATE",t.CONFIDENTIAL="CONFIDENTIAL",t))(Y||{}),V=class{data;calendar;constructor(t,e){if(this.data={id:n(),sequence:0,start:new Date,end:null,recurrenceId:null,timezone:null,stamp:new Date,allDay:!1,floating:!1,repeating:null,summary:"",location:null,description:null,organizer:null,attendees:[],alarms:[],categories:[],status:null,busystatus:null,priority:null,url:null,attachments:[],transparency:null,created:null,lastModified:null,class:null,x:[]},this.calendar=e,!e)throw new Error("`calendar` option required!");t.id&&this.id(t.id),void 0!==t.sequence&&this.sequence(t.sequence),t.start&&this.start(t.start),void 0!==t.end&&this.end(t.end),void 0!==t.recurrenceId&&this.recurrenceId(t.recurrenceId),void 0!==t.timezone&&this.timezone(t.timezone),void 0!==t.stamp&&this.stamp(t.stamp),void 0!==t.allDay&&this.allDay(t.allDay),void 0!==t.floating&&this.floating(t.floating),void 0!==t.repeating&&this.repeating(t.repeating),void 0!==t.summary&&this.summary(t.summary),void 0!==t.location&&this.location(t.location),void 0!==t.description&&this.description(t.description),void 0!==t.organizer&&this.organizer(t.organizer),void 0!==t.attendees&&this.attendees(t.attendees),void 0!==t.alarms&&this.alarms(t.alarms),void 0!==t.categories&&this.categories(t.categories),void 0!==t.status&&this.status(t.status),void 0!==t.busystatus&&this.busystatus(t.busystatus),void 0!==t.priority&&this.priority(t.priority),void 0!==t.url&&this.url(t.url),void 0!==t.attachments&&this.attachments(t.attachments),void 0!==t.transparency&&this.transparency(t.transparency),void 0!==t.created&&this.created(t.created),void 0!==t.lastModified&&this.lastModified(t.lastModified),void 0!==t.class&&this.class(t.class),void 0!==t.x&&this.x(t.x)}id(t){return void 0===t?this.data.id:(this.data.id=String(t),this)}uid(t){return void 0===t?this.id():this.id(t)}sequence(t){if(void 0===t)return this.data.sequence;let e=parseInt(String(t),10);if(isNaN(e))throw new Error("`sequence` must be a number!");return this.data.sequence=t,this}start(t){return void 0===t?(this.swapStartAndEndIfRequired(),this.data.start):(this.data.start=m(t,"start"),this)}end(t){return void 0===t?(this.swapStartAndEndIfRequired(),this.data.end):null===t?(this.data.end=null,this):(this.data.end=m(t,"end"),this)}swapStartAndEndIfRequired(){if(this.data.start&&this.data.end&&w(this.data.start).getTime()>w(this.data.end).getTime()){let t=this.data.start;this.data.start=this.data.end,this.data.end=t}}recurrenceId(t){return void 0===t?this.data.recurrenceId:null===t?(this.data.recurrenceId=null,this):(this.data.recurrenceId=m(t,"recurrenceId"),this)}timezone(t){return void 0===t&&null!==this.data.timezone?this.data.timezone:void 0===t?this.calendar.timezone():(this.data.timezone=t&&"UTC"!==t?t.toString():null,this.data.timezone&&(this.data.floating=!1),this)}stamp(t){return void 0===t?this.data.stamp:(this.data.stamp=m(t,"stamp"),this)}timestamp(t){return void 0===t?this.stamp():this.stamp(t)}allDay(t){return void 0===t?this.data.allDay:(this.data.allDay=!!t,this)}floating(t){return void 0===t?this.data.floating:(this.data.floating=!!t,this.data.floating&&(this.data.timezone=null),this)}repeating(t){if(void 0===t)return this.data.repeating;if(!t)return this.data.repeating=null,this;if(b(t)||"string"==typeof t)return this.data.repeating=t,this;if(this.data.repeating={freq:l(D,t.freq)},t.count){if(!isFinite(t.count))throw new Error("`repeating.count` must be a finite number!");this.data.repeating.count=t.count}if(t.interval){if(!isFinite(t.interval))throw new Error("`repeating.interval` must be a finite number!");this.data.repeating.interval=t.interval}if(void 0!==t.until&&(this.data.repeating.until=m(t.until,"repeating.until")),t.byDay){let e=Array.isArray(t.byDay)?t.byDay:[t.byDay];
1this.data.repeating.byDay=e.map(a=>l(p,a))}if(t.byMonth){let e=Array.isArray(t.byMonth)?t.byMonth:[t.byMonth];this.data.repeating.byMonth=e.map(a=>{if("number"!=typeof a||a<1||a>12)throw new Error("`repeating.byMonth` contains invalid value `"+a+"`!");return a})}if(t.byMonthDay){let e=Array.isArray(t.byMonthDay)?t.byMonthDay:[t.byMonthDay];this.data.repeating.byMonthDay=e.map(a=>{if("number"!=typeof a||a<-31||a>31||0===a)throw new Error("`repeating.byMonthDay` contains invalid value `"+a+"`!");return a})}if(t.bySetPos){if(!this.data.repeating.byDay)throw"`repeating.bySetPos` must be used along with `repeating.byDay`!";let e=Array.isArray(t.bySetPos)?t.bySetPos:[t.bySetPos];this.data.repeating.bySetPos=e.map(a=>{if("number"!=typeof a||a<-366||a>366||0===a)throw"`repeating.bySetPos` contains invalid value `"+a+"`!";return a})}if(t.exclude){let e=Array.isArray(t.exclude)?t.exclude:[t.exclude];this.data.repeating.exclude=e.map((a,s)=>m(a,`repeating.exclude[${s}]`))}return t.startOfWeek&&(this.data.repeating.startOfWeek=l(p,t.startOfWeek)),this}summary(t){return void 0===t?this.data.summary:(this.data.summary=t?String(t):"",this)}location(t){if(void 0===t)return this.data.location;if("string"==typeof t)return this.data.location={title:t},this;if(t&&("title"in t&&!t.title||t?.geo&&("number"!=typeof t.geo.lat||!isFinite(t.geo.lat)||"number"!=typeof t.geo.lon||!isFinite(t.geo.lon))||!("title"in t)&&!t?.geo))throw new Error("`location` isn't formatted correctly. See https://sebbo2002.github.io/ical-generator/develop/reference/classes/ICalEvent.html#location");return this.data.location=t||null,this}description(t){return void 0===t?this.data.description:null===t?(this.data.description=null,this):(this.data.description="string"==typeof t?{plain:t}:t,this)}organizer(t){return void 0===t?this.data.organizer:null===t?(this.data.organizer=null,this):(this.data.organizer=g("organizer",t),this)}createAttendee(t){if(t instanceof x)return this.data.attendees.push(t),t;"string"==typeof t&&(t={email:t,...g("data",t)});let e=new x(t,this);return this.data.attendees.push(e),e}attendees(t){return t?(t.forEach(e=>this.createAttendee(e)),this):this.data.attendees}createAlarm(t){let e=t instanceof z?t:new z(t,this);return this.data.alarms.push(e),e}alarms(t){return t?(t.forEach(e=>this.createAlarm(e)),this):this.data.alarms}createCategory(t){let e=t instanceof _?t:new _(t);return this.data.categories.push(e),e}categories(t){return t?(t.forEach(e=>this.createCategory(e)),this):this.data.categories}status(t){return void 0===t?this.data.status:null===t?(this.data.status=null,this):(this.data.status=l(P,t),this)}busystatus(t){return void 0===t?this.data.busystatus:null===t?(this.data.busystatus=null,this):(this.data.busystatus=l(B,t),this)}priority(t){if(void 0===t)return this.data.priority;if(null===t)return this.data.priority=null,this;if(t<0||t>9)throw new Error("`priority` is invalid, musst be 0 \u2264 priority \u2264 9.");return this.data.priority=Math.round(t),this}url(t){return void 0===t?this.data.url:(this.data.url=t?String(t):null,this)}createAttachment(t){return this.data.attachments.push(t),this}attachments(t){return t?(t.forEach(e=>this.createAttachment(e)),this):this.data.attachments}transparency(t){return void 0===t?this.data.transparency:t?(this.data.transparency=l(j,t),this):(this.data.transparency=null,this)}created(t){return void 0===t?this.data.created:null===t?(this.data.created=null,this):(this.data.created=m(t,"created"),this)}lastModified(t){return void 0===t?this.data.lastModified:null===t?(this.data.lastModified=null,this):(this.data.lastModified=m(t,"lastModified"),this)}class(t){return void 0===t?this.data.class:null===t?(this.data.class=null,this):(this.data.class=l(Y,t),this)}x(t,e){return void 0===t?u(this.data):("string"==typeof t&&"string"==typeof e&&u(this.data,t,e),"object"==typeof t&&u(this.data,t),this)}toJSON(){let t=null;return b(this.data.repeating)||"string"==typeof this.data.repeating?t=this.data.repeating.toString():this.data.repeating&&(t=Object.assign({},this.data.repeating,{until:S(this.data.repeating.until)||void 0,exclude:this.data.repeating.exclude?.map(e=>S(e))})),this.swapStartAndEndIfRequired(),Object.assign({},this.data,{start:S(this.data.start)||null,end:S(this.data.end)||null,recurrenceId:S(this.data.recurrenceId)||null,stamp:S(this.data.stamp)||null,created:S(this.data.created)||null,lastModified:S(this.data.lastModified)||null,repeating:t,x:this.x()})}toString(){let t="";if(t+="BEGIN:VEVENT\r\n",t+="UID:"+this.data.id+"\r\n",t+="SEQUENCE:"
1+this.data.sequence+"\r\n",this.swapStartAndEndIfRequired(),t+="DTSTAMP:"+f(this.calendar.timezone(),this.data.stamp)+"\r\n",this.data.allDay?(t+="DTSTART;VALUE=DATE:"+f(this.timezone(),this.data.start,!0)+"\r\n",this.data.end&&(t+="DTEND;VALUE=DATE:"+f(this.timezone(),this.data.end,!0)+"\r\n"),t+="X-MICROSOFT-CDO-ALLDAYEVENT:TRUE\r\n",t+="X-MICROSOFT-MSNCALENDAR-ALLDAYEVENT:TRUE\r\n"):(t+=E(this.timezone(),"DTSTART",this.data.start,this.data)+"\r\n",this.data.end&&(t+=E(this.timezone(),"DTEND",this.data.end,this.data)+"\r\n")),b(this.data.repeating)||"string"==typeof this.data.repeating){let e=this.data.repeating.toString().replace(/\r\n/g,"\n").split("\n").filter(a=>a&&!a.startsWith("DTSTART:")).join("\r\n");!e.includes("\r\n")&&!e.startsWith("RRULE:")&&(e="RRULE:"+e),t+=e.trim()+"\r\n"}else this.data.repeating&&(t+="RRULE:FREQ="+this.data.repeating.freq,this.data.repeating.count&&(t+=";COUNT="+this.data.repeating.count),this.data.repeating.interval&&(t+=";INTERVAL="+this.data.repeating.interval),this.data.repeating.until&&(t+=";UNTIL="+f(this.calendar.timezone(),this.data.repeating.until,!1,this.floating())),this.data.repeating.byDay&&(t+=";BYDAY="+this.data.repeating.byDay.join(",")),this.data.repeating.byMonth&&(t+=";BYMONTH="+this.data.repeating.byMonth.join(",")),this.data.repeating.byMonthDay&&(t+=";BYMONTHDAY="+this.data.repeating.byMonthDay.join(",")),this.data.repeating.bySetPos&&(t+=";BYSETPOS="+this.data.repeating.bySetPos.join(",")),this.data.repeating.startOfWeek&&(t+=";WKST="+this.data.repeating.startOfWeek),t+="\r\n",this.data.repeating.exclude&&(this.data.allDay?t+="EXDATE;VALUE=DATE:"+this.data.repeating.exclude.map(e=>f(this.calendar.timezone(),e,!0)).join(",")+"\r\n":(t+="EXDATE",this.timezone()?t+=";TZID="+this.timezone()+":"+this.data.repeating.exclude.map(e=>f(this.timezone(),e,!1,!0)).join(",")+"\r\n":t+=":"+this.data.repeating.exclude.map(e=>f(this.timezone(),e,!1,this.floating())).join(",")+"\r\n")));return this.data.recurrenceId&&(t+=E(this.timezone(),"RECURRENCE-ID",this.data.recurrenceId,this.data)+"\r\n"),t+="SUMMARY:"+o(this.data.summary,!1)+"\r\n",this.data.transparency&&(t+="TRANSP:"+o(this.data.transparency,!1)+"\r\n"),this.data.location&&"title"in this.data.location&&this.data.location.title&&(t+="LOCATION:"+o(this.data.location.title+(this.data.location.address?"\n"+this.data.location.address:""),!1)+"\r\n",this.data.location.radius&&this.data.location.geo&&(t+="X-APPLE-STRUCTURED-LOCATION;VALUE=URI;"+(this.data.location.address?"X-ADDRESS="+o(this.data.location.address,!1)+";":"")+"X-APPLE-RADIUS="+o(this.data.location.radius,!1)+";X-TITLE="+o(this.data.location.title,!1)+":geo:"+o(this.data.location.geo?.lat,!1)+","+o(this.data.location.geo?.lon,!1)+"\r\n")),this.data.location?.geo?.lat&&this.data.location.geo.lon&&(t+="GEO:"+o(this.data.location.geo.lat,!1)+";"+o(this.data.location.geo.lon,!1)+"\r\n"),this.data.description&&(t+="DESCRIPTION:"+o(this.data.description.plain,!1)+"\r\n",this.data.description.html&&(t+="X-ALT-DESC;FMTTYPE=text/html:"+o(this.data.description.html,!1)+"\r\n")),this.data.organizer&&(t+='ORGANIZER;CN="'+o(this.data.organizer.name,!0)+'"',this.data.organizer.sentBy&&(t+=';SENT-BY="mailto:'+o(this.data.organizer.sentBy,!0)+'"'),this.data.organizer.email&&this.data.organizer.mailto&&(t+=";EMAIL="+o(this.data.organizer.email,!1)),t+=":",this.data.organizer.email&&(t+="mailto:"+o(this.data.organizer.mailto||this.data.organizer.email,!1)),t+="\r\n"),this.data.attendees.forEach(function(e){t+=e.toString()}),this.data.alarms.forEach(function(e){t+=e.toString()}),this.data.categories.length>0&&(t+="CATEGORIES:"+this.data.categories.map(e=>e.toString()).join()+"\r\n"),this.data.url&&(t+="URL;VALUE=URI:"+o(this.data.url,!1)+"\r\n"),this.data.attachments.length>0&&this.data.attachments.forEach(e=>{t+="ATTACH:"+o(e,!1)+"\r\n"}),this.data.status&&(t+="STATUS:"+this.data.status.toUpperCase()+"\r\n"),this.data.busystatus&&(t+="X-MICROSOFT-CDO-BUSYSTATUS:"+this.data.busystatus.toUpperCase()+"\r\n"),null!==this.data.priority&&(t+="PRIORITY:"+this.data.priority+"\r\n"),t+=r(this.data),this.data.created&&(t+="CREATED:"+f(this.calendar.timezone(),this.data.created)+"\r\n"),this.data.lastModified&&(t+="LAST-MODIFIED:"+f(this.calendar.timezone(),this.data.lastModified)+"\r\n"),this.data.class&&(t+="CLASS:"+this.data.class.toUpperCase()+"\r\n"),t+="END:VEVENT\r\n",t}},H=(t=>(t.PUBLISH="PUBLISH",t.REQUEST="REQUEST",t.REPLY="REPLY",t.ADD="ADD",t.CANCEL="CANCEL",t.REFRESH="REFRESH",t.COUNTER="COUNTER",t.DECLINECOUNTE
1R="DECLINECOUNTER",t))(H||{}),k=class{data;constructor(t={}){this.data={prodId:"//sebbo.net//ical-generator//EN",method:null,name:null,description:null,timezone:null,source:null,url:null,scale:null,ttl:null,events:[],x:[]},void 0!==t.prodId&&this.prodId(t.prodId),void 0!==t.method&&this.method(t.method),void 0!==t.name&&this.name(t.name),void 0!==t.description&&this.description(t.description),void 0!==t.timezone&&this.timezone(t.timezone),void 0!==t.source&&this.source(t.source),void 0!==t.url&&this.url(t.url),void 0!==t.scale&&this.scale(t.scale),void 0!==t.ttl&&this.ttl(t.ttl),void 0!==t.events&&this.events(t.events),void 0!==t.x&&this.x(t.x)}prodId(t){if(!t)return this.data.prodId;if("string"==typeof t)return this.data.prodId=t,this;if("object"!=typeof t)throw new Error("`prodid` needs to be a string or an object!");if(!t.company)throw new Error("`prodid.company` is a mandatory item!");if(!t.product)throw new Error("`prodid.product` is a mandatory item!");let e=(t.language||"EN").toUpperCase();return this.data.prodId="//"+t.company+"//"+t.product+"//"+e,this}method(t){return void 0===t?this.data.method:t?(this.data.method=l(H,t),this):(this.data.method=null,this)}name(t){return void 0===t?this.data.name:(this.data.name=t?String(t):null,this)}description(t){return void 0===t?this.data.description:(this.data.description=t?String(t):null,this)}timezone(t){return void 0===t?this.data.timezone?.name||null:(this.data.timezone="UTC"===t?null:"string"==typeof t?{name:t}:null===t?null:t,this)}source(t){return void 0===t?this.data.source:(this.data.source=t||null,this)}url(t){return void 0===t?this.data.url:(this.data.url=t||null,this)}scale(t){return void 0===t?this.data.scale:(this.data.scale=null===t?null:t.toUpperCase(),this)}ttl(t){return void 0===t?this.data.ttl:(this.data.ttl=function c(t){return null!==t&&"object"==typeof t&&"asSeconds"in t&&"function"==typeof t.asSeconds}(t)?t.asSeconds():t&&t>0?t:null,this)}createEvent(t){let e=t instanceof V?t:new V(t,this);return this.data.events.push(e),e}events(t){return t?(t.forEach(e=>this.createEvent(e)),this):this.data.events}clear(){return this.data.events=[],this}x(t,e){if(void 0===t)return u(this.data);if("string"==typeof t&&"string"==typeof e)u(this.data,t,e);else{if("object"!=typeof t)throw new Error("Either key or value is not a string!");u(this.data,t)}return this}toJSON(){return Object.assign({},this.data,{timezone:this.timezone(),events:this.data.events.map(t=>t.toJSON()),x:this.x()})}length(){return this.data.events.length}toString(){let t="";return t="BEGIN:VCALENDAR\r\nVERSION:2.0\r\n",t+="PRODID:-"+this.data.prodId+"\r\n",this.data.url&&(t+="URL:"+this.data.url+"\r\n"),this.data.source&&(t+="SOURCE;VALUE=URI:"+this.data.source+"\r\n"),this.data.scale&&(t+="CALSCALE:"+this.data.scale+"\r\n"),this.data.method&&(t+="METHOD:"+this.data.method+"\r\n"),this.data.name&&(t+="NAME:"+this.data.name+"\r\n",t+="X-WR-CALNAME:"+this.data.name+"\r\n"),this.data.description&&(t+="X-WR-CALDESC:"+this.data.description+"\r\n"),this.data.timezone?.generator&&[...new Set([this.timezone(),...this.data.events.map(e=>e.timezone())])].filter(e=>null!==e&&!e.startsWith("/")).forEach(e=>{if(!this.data.timezone?.generator)return;let a=this.data.timezone.generator(e);a&&(t+=a.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n").trim()+"\r\n")}),this.data.timezone?.name&&(t+="TIMEZONE-ID:"+this.data.timezone.name+"\r\n",t+="X-WR-TIMEZONE:"+this.data.timezone.name+"\r\n"),this.data.ttl&&(t+="REFRESH-INTERVAL;VALUE=DURATION:"+N(this.data.ttl)+"\r\n",t+="X-PUBLISHED-TTL:"+N(this.data.ttl)+"\r\n"),this.data.events.forEach(e=>t+=e.toString()),t+=r(this.data),t+="END:VCALENDAR",function C(t){return t.split("\r\n").map(function(e){let a="",s=0;for(let h=0;h<e.length;h++){let A=e.charAt(h);A>="\ud800"&&A<="\udbff"&&(A+=e.charAt(++h));let W=(new TextEncoder).encode(A).length;s+=W,s>74&&(a+="\r\n ",s=W),a+=A}return a}).join("\r\n")}(t)}},J=function X(t){return new k(t)}},2956:()=>{},7717:(F,R,T)=>{"use strict";!function(){var n,f,E,D=0,p=[];for(f=0;f<256;f++)p[f]=(f+256).toString(16).substr(1);function C(){var r=function o(r){return(!n||D+r>u.BUFFER_SIZE)&&(D=0,n=u.randomBytes(u.BUFFER_SIZE)),n.slice(D,D+=r)}(16);return r[6]=15&r[6]|64,r[8]=63&r[8]|128,r}function u(){var r=C();
1return p[r[0]]+p[r[1]]+p[r[2]]+p[r[3]]+"-"+p[r[4]]+p[r[5]]+"-"+p[r[6]]+p[r[7]]+"-"+p[r[8]]+p[r[9]]+"-"+p[r[10]]+p[r[11]]+p[r[12]]+p[r[13]]+p[r[14]]+p[r[15]]}u.BUFFER_SIZE=4096,u.bin=C,u.clearBuffer=function(){n=null,D=0},u.test=function(r){return"string"==typeof r&&/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(r)},typeof crypto<"u"?E=crypto:typeof window<"u"&&typeof window.msCrypto<"u"&&(E=window.msCrypto),E=E||T(2956),F.exports=u,u.randomBytes=function(){if(E){if(E.randomBytes)return E.randomBytes;if(E.getRandomValues)return"function"!=typeof Uint8Array.prototype.slice?function(r){var g=new Uint8Array(r);return E.getRandomValues(g),Array.from(g)}:function(r){var g=new Uint8Array(r);return E.getRandomValues(g),g}}return function(r){var g,l=[];for(g=0;g<r;g++)l.push(Math.floor(256*Math.random()));return l}}()}()},9016:(F,R,T)=>{"use strict";T.d(R,{f:()=>u});var n=T(1360),p=(T(2891),T(740)),E=T(8716),o=T(8018);function C(r,g){if(1&r&&(n.j41(0,"span",1),n.EFF(1),n.k0s()),2&r){const l=n.XpG();n.R7$(),n.SpI(" ",l.eventTitle,"")}}let u=(()=>{class r{constructor(){this.disableUtf8Encoding=(0,n.hFB)(!1),this.onkeydown=onkeydown}download(l){l.preventDefault(),this.downloadWithElement()}downloadWithElement(){const l=document.createElement("a");l.setAttribute("href","data:text/calendar;charset=utf-8,"+encodeURIComponent(this.getEventString())),l.setAttribute("download",this.getFileName()),l.setAttribute("target","_blank"),l.style.display="none",l.click(),l.remove()}getEventString(){return this.disableUtf8Encoding()?this.event.toString():p.encode(this.event.toString())}getFileName(){return this.fileName?this.fileName+".ics":this.event?this.event.events()[0].start().local(!1).format("dd,DD-MM-yyyy_HH-mm")+".ics":"event.ics"}static{this.\u0275fac=function(m){return new(m||r)}}static{this.\u0275cmp=n.VBU({type:r,selectors:[["jo-calendar"]],inputs:{event:"event",eventTitle:"eventTitle",fileName:"fileName",disableUtf8Encoding:[1,"disableUtf8Encoding"]},decls:7,vars:5,consts:[["role","button","tabindex","0",1,"underline",3,"click","keydown.enter"],[1,"sr-only"],[3,"name"]],template:function(m,w){1&m&&(n.j41(0,"a",0),n.bIt("click",function(d){return w.download(d)})("keydown.enter",function(d){return w.download(d)}),n.DNE(1,C,2,1,"span",1),n.nrm(2,"jo-icon",2),n.EFF(3),n.nI1(4,"translate"),n.j41(5,"span",1),n.EFF(6," (ICS-Datei) "),n.k0s()()),2&m&&(n.R7$(),n.vxM(w.eventTitle?1:-1),n.R7$(),n.Y8G("name","kalender"),n.R7$(),n.SpI(" ",n.bMT(4,3,"component.calendar.download")," "))},dependencies:[E.c,o.D9],styles:["[_nghost-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] jo-icon[_ngcontent-%COMP%]{color:#b83921;color:var(--color-justiz-red);font-size:1.5rem}"],changeDetection:0})}}return r})()}}]);
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.