text: !function(){var e="object"==typeof window?window:"object"==typeof self?self:this,t=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var n=e.Blob,r=URL.createObjectURL,o=URL.revokeObjectURL,i=e.Symbol&&e.Symbol.toStringTag,a=!1,s=!1,c=!!e.ArrayBuffer,u=t&&t.prototype.append&&t.prototype.getBlob;try{a=2===new Blob(["ä"]).size,s=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function f(e){return e.map(function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e})}function d(e,n){n=n||{};var r=new t;return f(e).forEach(function(e){r.append(e)}),n.type?r.getBlob(n.type):r.getBlob()}function p(e,t){return new n(f(e),t||{})}e.Blob&&(d.prototype=Blob.prototype,p.prototype=Blob.prototype);var y="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(t){for(var n=0,r=t.length,o=e.Uint8Array||Array,i=0,a=Math.max(32,r+(r>>1)+7),l=new o(a>>3<<3);n<r;){var s=t.charCodeAt(n++);if(s>=55296&&s<=56319){if(n<r){var c=t.charCodeAt(n);56320==(64512&c)&&(++n,s=((1023&s)<<10)+(1023&c)+65536)}if(s>=55296&&s<=56319)continue}if(i+4>l.length){a+=8,a=(a*=1+n/t.length*2)>>3<<3;const e=new Uint8Array(a);e.set(l),l=e}if(0!=(4294967168&s)){if(0==(4294965248&s))l[i++]=s>>6&31|192;else if(0==(4294901760&s))l[i++]=s>>12&15|224,l[i++]=s>>6&63|128;else{if(0!=(4292870144&s))continue;l[i++]=s>>18&7|240,l[i++]=s>>12&63|128,l[i++]=s>>6&63|128}l[i++]=63&s|128}else l[i++]=s}return l.slice(0,i)},b="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,n=[],r=0;r<t;){var o,i,a,l,s=e[r],c=null,u=s>239?4:s>223?3:s>191?2:1;if(r+u<=t)switch(u){case 1:s<128&&(c=s);break;case 2:128==(192&(o=e[r+1]))&&(l=(31&s)<<6|63&o)>127&&(c=l);break;case 3:o=e[r+1],i=e[r+2],128==(192&o)&&128==(192&i)&&(l=(15&s)<<12|(63&o)<<6|63&i)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[r+1],i=e[r+2],a=e[r+3],128==(192&o)&&128==(192&i)&&128==(192&a)&&(l=(15&s)<<18|(63&o)<<12|(63&i)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,u=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),r+=u}var f=n.length,d="";for(r=0;r<f;)d+=String.fromCharCode.apply(String,n.slice(r,r+=4096));return d};function h(){var t=!!e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,n=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;t&&n&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob?(this.setRequestHeader("Content-Type",e.type),n.call(this,e)):n.call(this,e)});try{new File([],"")}catch(t){try{var r=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name.replace(///g, ":");this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date();this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();e.File=r}catch(t){r=function(e,t,n){var r=new Blob(e,n),o=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return r.name=t.replace(/\//g,":"),r.lastModifiedDate=o,r.lastModified=+o,r.toString=function(){return"[object File]"},i&&(r[i]="File"),r};e.File=r}}}a?(h(),e.Blob=s?e.Blob:p):u?(h(),e.Blob=d):function(){function t(e){for(var t=new Array(e.byteLength),n=new Uint8Array(e),r=t.length;r--;)t[r]=n[r];return t}function n(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=[],r=0;r<e.length;r+=3){var o=e[r],i=r+1<e.length,a=i?e[r+1]:0,l=r+2<e.length,s=l?e[r+2]:0,c=o>>2,u=(3&o)<<4|a>>4,f=(15&a)<<2|s>>6,d=63&s;l||(d=64,i||(f=64)),n.push(t[c],t[u],t[f],t[d])}return n.join("")}var i=Object.create||function(e){function t(){}return t.prototype=e,new t};if(c)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function u(n,r){r=null==r?{}:r;for(var o=0,i=(n=n||[]).length;o<i;o++){var a=n[o];a instanceof u?n[o]=a._buffer:"string"==typeof a?n[o]=y(a):c&&(ArrayBuffer.prototype.isPrototypeOf(a)||s(a))?n[o]=t(a):c&&(f=a)&&DataView.prototype.isPrototypeOf(f)?n[o]=t(a.buffer):n[o]=y(String(a))}var f;this._buffer=e.Uint8Array?function(e){for(var t=0,n=e.length;n--;)t+=e[n].length;var r=new Uint8Array(t),o=0;for(n=0,l=e.length;n<l;n++){var i=e[n];r.set(i,o),o+=i.byteLength||i.length}return r}(n):[].concat.apply([],n),this.size=this._buffer.length,this.type=r.type||"",/[^\u0020-\u007E]/.test(this.type)?this.type="":this.type=this.type.toLowerCase()}function f(e,t,n){n=n||{};var r=u.call(this,e,n)||this;return r.name=t.replace(/\//g,":"),r.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,r.lastModified=+r.lastModifiedDate,r}if(u.prototype.arrayBuffer=function(){return Promise.resolve(this._buffer)},u.prototype.text=function(){return Promise.resolve(b(this._buffer))},u.prototype.slice=function(e,t,n){return new u([this._buffer.slice(e||0,t||this._buffer.length)],{type:n})},u.prototype.toString=function(){return"[object Blob]"},f.prototype=i(u.prototype),f.prototype.constructor=f,Object.setPrototypeOf)Object.setPrototypeOf(f,u);else try{f.__proto__=u}catch(e){}function d(){if(!(this instanceof d))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var e=document.createDocumentFragment();this.addEventListener=e.addEventListener,this.dispatchEvent=function(t){var n=this["on"+t.type];"function"==typeof n&&n(t),e.dispatchEvent(t)},this.removeEventListener=e.removeEventListener}function p(e,t,n){if(!(t instanceof u))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");e.result="",setTimeout(function(){this.readyState=d.LOADING,e.dispatchEvent(new Event("load")),e.dispatchEvent(new Event("loadend"))})}f.prototype.toString=function(){return"[object File]"},d.EMPTY=0,d.LOADING=1,d.DONE=2,d.prototype.error=null,d.prototype.onabort=null,d.prototype.onerror=null,d.prototype.onload=null,d.prototype.onloadend=null,d.prototype.onloadstart=null,d.prototype.onprogress=null,d.prototype.readAsDataURL=function(e){p(this,e,"readAsDataURL"),this.result="data:"+e.type+";base64,"+n(e._buffer)},d.prototype.readAsText=function(e){p(this,e,"readAsText"),this.result=b(e._buffer)},d.prototype.readAsArrayBuffer=function(e){p(this,e,"readAsText"),this.result=(e._buffer.buffer||e._buffer).slice()},d.prototype.abort=function(){},URL.createObjectURL=function(e){return e instanceof u?"data:"+e.type+";base64,"+n(e._buffer):r.call(URL,e)},URL.revokeObjectURL=function(e){o&&o.call(URL,e)};var h=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;h&&(XMLHttpRequest.prototype.send=function(e){e instanceof u?(this.setRequestHeader("Content-Type",e.type),h.call(this,b(e._buffer))):h.call(this,e)}),e.FileReader=d,e.File=f,e.Blob=u}(),i&&(File.prototype[i]="File",Blob.prototype[i]="Blob",FileReader.prototype[i]="FileReader");var g,v=e.Blob.prototype;function w(e){return new Promise(function(t,n){e.onload=e.onerror=function(r){e.onload=e.onerror=null,"load"===r.type?t(e.result||e):n(new Error("Failed to read the blob/file"))}})}try{new ReadableStream({type:"bytes"}),g=function(){var e=0,t=this;return new ReadableStream({type:"bytes",autoAllocateChunkSize:524288,pull:function(n){var r=n.byobRequest.view;return t.slice(e,e+r.byteLength).arrayBuffer().then(function(o){var i=new Uint8Array(o),a=i.byteLength;e+=a,r.set(i),n.byobRequest.respond(a),e>=t.size&&n.close()})}})}}catch(e){try{new ReadableStream({}),g=function(e){var t=0;e=this;return new ReadableStream({pull:function(n){return e.slice(t,t+524288).arrayBuffer().then(function(r){t+=r.byteLength;var o=new Uint8Array(r);n.enqueue(o),t==e.size&&n.close()})}})}}catch(e){try{new Response("").body.getReader().read(),g=function(){return new Response(this).body}}catch(e){g=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}v.arrayBuffer||(v.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),w(e)}),v.text||(v.text=function(){var e=new FileReader;return e.readAsText(this),w(e)}),v.stream||(v.stream=g)}(),function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{t(),e.FileSaver={}}}(this,function(){"use strict";var e="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0;function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){o(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o=e.saveAs||("object"!=typeof window||window!==e?function(){}:"download"in HTMLAnchorElement.prototype?function(o,i,a){var l=e.URL||e.webkitURL,s=document.createElement("a");i=i||o.name||"download",s.download=i,s.rel="noopener","string"==typeof o?(s.href=o,s.origin!==location.origin?n(s.href)?t(o,i,a):r(s,s.target="_blank"):r(s)):(s.href=l.createObjectURL(o),setTimeout(function(){l.revokeObjectURL(s.href)},4e4),setTimeout(function(){r(s)},0))}:"msSaveOrOpenBlob"in navigator?function(e,o,i){if(o=o||e.name||"download","string"==typeof e)if(n(e))t(e,o,i);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){r(a)})}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,i),o)}:function(n,r,o,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof n)return t(n,r,o);var a="application/octet-stream"===n.type,l=/constructor/i.test(e.HTMLElement)||e.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&l)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},c.readAsDataURL(n)}else{var u=e.URL||e.webkitURL,f=u.createObjectURL(n);i?i.location=f:location.href=f,i=null,setTimeout(function(){u.revokeObjectURL(f)},4e4)}});e.saveAs=o.saveAs=o,"undefined"!=typeof module&&(module.exports=o)});var ics=function(e,t){"use strict";if(!(navigator.userAgent.indexOf("MSIE")>-1&&-1==navigator.userAgent.indexOf("MSIE 10"))){void 0===e&&(e="default"),void 0===t&&(t="Calendar");var n=[],r=["BEGIN:VCALENDAR","PRODID:"+t,"VERSION:2.0"].join("\r\n"),o=["SU","MO","TU","WE","TH","FR","SA"];return{events:function(){return n},calendar:function(){return r+"\r\n"+n.join("\r\n")+"\r\nEND:VCALENDAR"},addEvent:function(t,r,i,a,l,s,c){if(void 0===t||void 0===r||void 0===i||void 0===a||void 0===l)return!1;if(c&&!c.rrule){if("YEARLY"!==c.freq&&"MONTHLY"!==c.freq&&"WEEKLY"!==c.freq&&"DAILY"!==c.freq)throw"Recurrence rrule frequency must be provided and be one of the following: 'YEARLY', 'MONTHLY', 'WEEKLY', or 'DAILY'";if(c.until&&isNaN(Date.parse(c.until)))throw"Recurrence rrule 'until' must be a valid date string";if(c.interval&&isNaN(parseInt(c.interval)))throw"Recurrence rrule 'interval' must be an integer";if(c.count&&isNaN(parseInt(c.count)))throw"Recurrence rrule 'count' must be an integer";if(void 0!==c.byday){if("[object Array]"!==Object.prototype.toString.call(c.byday))throw"Recurrence rrule 'byday' must be an array";if(c.byday.length>7)throw"Recurrence rrule 'byday' array must not be longer than the 7 days in a week";for(var u in c.byday=c.byday.filter(function(e,t){return c.byday.indexOf(e)==t}),c.byday)if(o.indexOf(c.byday[u])<0)throw"Recurrence rrule 'byday' values must include only the following: 'SU', 'MO', 'TU', 'WE', 'TH', 'FR', 'SA'"}}var f=new Date(a),d=new Date(l),p=new Date,y=("0000"+f.getFullYear().toString()).slice(-4),b=("00"+(f.getMonth()+1).toString()).slice(-2),h=("00"+f.getDate().toString()).slice(-2),g=("00"+f.getHours().toString()).slice(-2),v=("00"+f.getMinutes().toString()).slice(-2),w=("00"+f.getSeconds().toString()).slice(-2),A=("0000"+d.getFullYear().toString()).slice(-4),E=("00"+(d.getMonth()+1).toString()).slice(-2),R=("00"+d.getDate().toString()).slice(-2),m=("00"+d.getHours().toString()).slice(-2),L=("00"+d.getMinutes().toString()).slice(-2),S=("00"+d.getSeconds().toString()).slice(-2),D="",T="";g+v+w+m+L+S!=0&&(D="T"+g+v+w,T="T"+m+L+S);var B,U=y+b+h+D,M=A+E+R+T,O=("0000"+p.getFullYear().toString()).slice(-4)+("00"+(p.getMonth()+1).toString()).slice(-2)+("00"+p.getDate().toString()).slice(-2)+("T"+("00"+p.getHours().toString()).slice(-2)+("00"+p.getMinutes().toString()).slice(-2)+("00"+p.getSeconds().toString()).slice(-2));if(c)if(c.rrule)B=c.rrule;else{if(B="rrule:FREQ="+c.freq,c.until){var j=new Date(Date.parse(c.until)).toISOString();B+=";UNTIL="+j.substring(0,j.length-13).replace(/[-]/g,"")+"000000Z"}c.interval&&(B+=";INTERVAL="+c.interval),c.count&&(B+=";COUNT="+c.count),c.byday&&c.byday.length>0&&(B+=";BYDAY="+c.byday.join(","))}(new Date).toISOString();var F=["BEGIN:VEVENT","UID:"+n.length+(new Date).getTime()+"@"+e,"CLASS:PUBLIC","DESCRIPTION:"+r,"DTSTAMP;VALUE=DATE-TIME:"+O,"DTSTART;VALUE=DATE-TIME:"+U,"DTEND;VALUE=DATE-TIME:"+M,"LOCATION:"+i,"SUMMARY;LANGUAGE=en-us:"+t,"TRANSP:TRANSPARENT"];return null!=s&&function(e){try{return new URL(e),!0}catch(e){return!1}}(s)&&(F=F.concat(["URL;VALUE=URI:"+s])),F=F.concat(["END:VEVENT"]),B&&F.splice(4,0,B),F=F.join("\r\n"),n.push(F),F},download:function(e,t){if(n.length<1)return!1;t=void 0!==t?t:".ics",e=void 0!==e?e:"calendar";var o,i=r+"\r\n"+n.join("\r\n")+"\r\nEND:VCALENDAR";if(-1===navigator.userAgent.indexOf("MSIE 10"))o=new Blob([i]);else{var a=new BlobBuilder;a.append(i),o=a.getBlob("text/x-vCalendar;charset="+document.characterSet)}return saveAs(o,e+t),i},build:function(){return!(n.length<1)&&r+"\r\n"+n.join("\r\n")+"\r\nEND:VCALENDAR"}}}console.log("Unsupported Browser")};