vendor: 8,188 bytes, lines 1-2
1/*! For license information please see vendor-8f01896a.2a00f65ae76ca68eea80.js.LICENSE.txt */ 2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8995],{75557(e,t,n){var r,a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y;function w(e,t,n){return(t=j(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function k(e,t,n,r){var a=E(z(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof a?function(e){return a.apply(n,e)}:a}function E(){return E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=z(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},E.apply(null,arguments)}function S(){"use strict";var e=D(),t=e.m(S),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var a={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,a[e],t)},delegateYield:function(e,a,i){return t.resultName=a,n(r.d,A(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,a){r.p=t.prev,r.n=t.next;try{return e(n,a)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(S=function(){return{wrap:function(t,n,r,a){return e.w(i(t),n,r,a&&a.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new R(e,t)},AsyncIterator:C,async:function(e,t,n,a,o){return(r(t)?L:T)(i(e),t,n,a,o)},keys:_,values:A}})()}function A(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(V(e)+" is not iterable")}function _(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function T(e,t,n,r,a){var i=L(e,t,n,r,a);return i.next().then(function(e){return e.done?e.value:i.next()})}function L(e,t,n,r,a){return new C(D().w(e,t,n,r),a||Promise)}function C(e,t){function n(r,a,i,o){try{var c=e[r](a),s=c.value;return s instanceof R?t.resolve(s.v).then(function(e){n("next",e,i,o)},function(e){n("throw",e,i,o)}):t.resolve(s).then(function(e){c.value=e,i(c)},function(e){return n("throw",e,i,o)})}catch(e){o(e)}}var r;this.next||(O(C.prototype),O(C.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),O(this,"_invoke",function(e,a,i){function o(){return new t(function(t,r){n(e,i,t,r)})}return r=r?r.then(o,o):o()},!0)}function D(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function i(n,r,a,i){var s=r&&r.prototype instanceof c?r:c,l=Object.create(s.prototype);return O(l,"_invoke",function(n,r,a){var i,c,s,l=0,d=a||[],u=!1,p={p:0,n:0,v:e,a:b,f:b.bind(e,4),d:function(t,n){return i=t,c=0,s=e,p.n=n,o}};function b(n,r){for(c=n,s=r,t=0;!u&&l&&!a&&t<d.length;t++){var a,i=d[t],b=p.p,f=i[2];n>3?(a=f===r)&&(s=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=b&&((a=n<2&&b<i[1])?(c=0,p.v=r,p.n=i[1]):b<f&&(a=n<3||i[0]>r||r>f)&&(i[4]=n,i[5]=r,p.n=f,c=0))}if(a||n>1)return o;throw u=!0,r}return function(a,d,f){if(l>1)throw TypeError("Generator is already running");for(u&&1===d&&b(d,f),c=d,s=f;(t=c<2?e:s)||!u;){i||(c?c<3?(c>1&&(p.n=-1),b(c,s)):p.n=s:p.v=s);try{if(l=2,i){if(c||(a="next"),t=i[a]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),c=1);i=e}else if((t=(u=p.n<0)?s:n.call(r,p))!==o)break}catch(t){i=e,c=1,s=t}finally{l=1}}return{value:t,done:u}}}(n,a,i),!0),l}var o={};function c(){}function s(){}function l(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(O(t={},r,function(){return this}),t),u=l.prototype=c.prototype=Object.create(d);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,O(e,a,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=l,O(u,"constructor",l),O(l,"constructor",s),s.displayName="GeneratorFunction",O(l,a,"GeneratorFunction"),O(u),O(u,a,"Generator"),O(u,r,function(){return this}),O(u,"toString",function(){return"[object Generator]"}),(D=function(){return{w:i,m:p}})()}function O(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}O=function(e,t,n,r){function i(t,n){O(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},O(e,t,n,r)}function R(e,t){this.v=e,this.k=t}function M(e){return function(e){if(Array.isArray(e))return K(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||G(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t,n){return t=z(t),function(e,t){if(t&&("object"==V(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return N(e)}(e,U()?Reflect.construct(t,n||[],z(e).constructor):t.apply(e,n))}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(U=function(){return!!e})()}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},z(e)}function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,j(r.key),r)}}function H(e,t,n){return t&&Y(e.prototype,t),n&&Y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function j(e){var t=function(e,t){if("object"!=V(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=V(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==V(t)?t:t+""}function q(e,t,n,r,a,i,o){try{var c=e[i](o),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,a)}function F(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){q(i,r,a,o,c,"next",e)}function c(e){q(i,r,a,o,c,"throw",e)}o(void 0)})}}function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,a=e}
2finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return c}}(e,t)||G(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=G(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function G(e,t){if(e){if("string"==typeof e)return K(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});var J=n(74430),Q="3.1.1",X=function(){return"undefined"!=typeof window},ee=X()?function(){var e=navigator.userAgent;return!(!(/iPad|iPhone|iPod/i.test(e)||/Macintosh/i.test(e)&&navigator.maxTouchPoints>1)||/MSStream/i.test(e))}:function(){return!1},te=X()?function(){return!(!/android/i.test(navigator.userAgent)||/MSStream/i.test(navigator.userAgent))}:function(){return!1},ne=X()?function(){return!!/^(?:(?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}:function(){return!1},re=function(){return!(!te()&&!ee())},ae=X()?function(){return!!/; ?wv|(?:iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent)}:function(){return!1},ie=X()?function(){return!!/Instagram/i.test(navigator.userAgent)}:function(){return!1},oe=ae()?"_system":"_blank",ce=/^(?:GMT[+-]\d{1,2}|UTC|Zulu|Etc\/.*)$/i,se=["apple","google","ical","ms365","outlookcom","msteams","yahoo"],le=["apple","google","ical"],de=["msteams","yahoo"],ue=["ical"],pe=["apple"],be=["debug","groupOverview","groupOverviewConfig","proOverride","cspnonce","identifier","name","dates","description","startDate","startTime","endDate","endTime","timeZone","useUserTZ","location","status","uid","organizer","attendee","icsFile","images","recurrence","recurrence_until","recurrence_byDay","recurrence_byMonth","recurrence_byMonthDay","recurrence_weekstart","sequence","recurrence_interval","recurrence_count","availability","subscribe","options","optionsMobile","optionsIOS","iCalFileName","listStyle","buttonStyle","trigger","hideIconButton","hideIconList","hideIconModal","hideTextLabelButton","hideTextLabelList","buttonsList","hideBackground","hideCheckmark","hideBranding","size","label","inline","inlineRsvp","customLabels","customCss","lightMode","language","hideRichData","bypassWebViewCheck","blockInteraction","styleLight","styleDark","styleSource","loadAllStyles","icsReminder","icsUrl","icsCategories","icsClass","icsPriority","icsGeo","icsAttach","icsExdate","icsCreated","icsUpdated","disabled","hidden","hideButton","pastDateHandling","proxy","fakeMobile","fakeIOS","fakeAndroid","forceOverlay","rsvp","ty","customVar","domain","dev"],fe=["debug","proOverride","cspnonce","attendee","images","size","inline","inlineRsvp","customLabels","customCss","lightMode","language","bypassWebViewCheck","blockInteraction","styleLight","styleDark","styleSource","loadAllStyles","icsReminder","icsUrl","icsCategories","icsClass","icsPriority","icsGeo","icsAttach","icsExdate","disabled","hidden","fakeMobile","fakeIOS","fakeAndroid","forceOverlay","customVar","proxy","domain","dev"],he=["debug","groupOverview","proOverride","useUserTZ","hideIconButton","hideIconList","hideIconModal","hideTextLabelButton","hideTextLabelList","subscribe","hideBackgroun
2d","hideCheckmark","hideBranding","inlineRsvp","hideRichData","buttonsList","inline","bypassWebViewCheck","blockInteraction","loadAllStyles","disabled","hidden","hideButton","proxy","fakeMobile","fakeIOS","fakeAndroid","forceOverlay","dev"],ve=["customLabels","ty","rsvp","customVar","groupOverviewConfig"],me=["dates"],ge=["recurrence_byDay","recurrence_byMonth","recurrence_byMonthDay","images","options","optionsMobile","optionsIOS","icsCategories","icsAttach","icsExdate"],ye=["sequence","recurrence_interval","recurrence_count","icsPriority"],we
vendor: 18,802 bytes, line 2
2={trigger:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4.5" width="18" height="17" rx="3.5"/><path d="M8 2.5v4M16 2.5v4M3 10.5h18M12 13.5v5M9.5 16h5"/></svg>',plus:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round"><path d="M12 5.5v13M5.5 12h13"/></svg>',chevron:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9.5l6 6 6-6"/></svg>',clock:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7.5V12l3 2"/></svg>',pin:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21.5s7-5.6 7-11.3A7 7 0 1 0 5 10.2c0 5.7 7 11.3 7 11.3Z"/><circle cx="12" cy="10" r="2.6"/></svg>',apple:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 245.657"><path d="M167.084 130.514c-.308-31.099 25.364-46.022 26.511-46.761-14.429-21.107-36.91-24.008-44.921-24.335-19.13-1.931-37.323 11.27-47.042 11.27-9.692 0-24.67-10.98-40.532-10.689-20.849.308-40.07 12.126-50.818 30.799-21.661 37.581-5.54 93.281 15.572 123.754 10.313 14.923 22.612 31.688 38.764 31.089 15.549-.612 21.433-10.073 40.242-10.073s24.086 10.073 40.546 9.751c16.737-.308 27.34-15.214 37.585-30.187 11.855-17.318 16.714-34.064 17.009-34.925-.372-.168-32.635-12.525-32.962-49.68l.045-.013zm-30.917-91.287C144.735 28.832 150.524 14.402 148.942 0c-12.344.503-27.313 8.228-36.176 18.609-7.956 9.216-14.906 23.904-13.047 38.011 13.786 1.075 27.862-7.004 36.434-17.376z"/></svg>',google:'<svg fill="none" version="1.1" viewBox="0 0 800 859.1" xmlns="http://www.w3.org/2000/svg"><path d="m64.743 150.87c0-83.322 67.544-150.87 150.87-150.87h368.78c83.322 0 150.87 67.544 150.87 150.87v159.25c0 83.322-67.544 150.87-150.87 150.87h-368.78c-83.322 0-150.87-67.544-150.87-150.87z" fill="#bbe2ff" stroke-width="5.2384"/><path d="m1.1859 216.83c-10.733-81.572 52.766-153.97 135.04-153.97h527.56c82.274 0 145.77 72.394 135.04 153.97l-32.127 244.15 32.127 244.15c10.733 81.572-52.761 153.97-135.04 153.97h-527.56c-82.274 0-145.77-72.394-135.04-153.97l32.127-244.15z" fill="#3c90ff" stroke-width="5.2384"/><mask id="atcb-gcal-a" x="19" y="20" width="154" height="152" maskUnits="userSpaceOnUse"><path d="M 19.867,49.392 C 17.818,33.82 29.94,20 45.645,20 h 100.71 c 15.706,0 27.827,13.82 25.778,29.392 L 166,96 l 6.133,46.608 C 174.182,158.18 162.061,172 146.355,172 H 45.645 C 29.939,172 17.818,158.18 19.867,142.608 L 26,96 Z" fill="#3c90ff"/></mask><g transform="matrix(5.2384 0 0 5.2384 -102.89 -41.907)" mask="url(#atcb-gcal-a)"><path transform="matrix(1,0,0,-1,13,172)" d="m0 0h166v76h-166z" fill="url(#atcb-gcal-b)"/></g><mask id="atcb-gcal-c" x="19" y="20" width="154" height="152" maskUnits="userSpaceOnUse"><path d="M 19.867,49.392 C 17.818,33.82 29.94,20 45.645,20 h 100.71 c 15.706,0 27.827,13.82 25.778,29.392 L 166,96 l 6.133,46.608 C 174.182,158.18 162.061,172 146.355,172 H 45.645 C 29.939,172 17.818,158.18 19.867,142.608 L 26,96 Z" fill="#3186ff"/></mask><g transform="matrix(5.2384 0 0 5.2384 -102.89 -41.907)" mask="url(#atcb-gcal-c)"><path d="m32 27.2c0-10.604 8.596-19.2 19.2-19.2h89.6c10.604 0 19.2 8.596 19.2 19.2v68.8h-128z" fill="url(#atcb-gcal-d)" filter="url(#atcb-gcal-e)"/></g><path d="m291.84 656.56q-32.908 0-56.454-10.702-23.547-10.702-39.864-28.628-16.056-18.198-22.745-35.584-6.6894-17.386-5.3484-21.137a10.843 10.843 0 0 1 5.3484-5.8879l29.702-11.771q3.7402-1.8701 7.4909-0.53431 3.7402 1.0686 8.8267 12.305 5.3536 11.236 14.982 23.814a74.909 74.909 0 0 0 23.547 19.529q13.651 6.9566 33.709 6.9566 32.373 0 51.373-18.727 19.262-18.727 19.262-47.622 0-31.305-20.335-48.162-20.33-17.124-53.777-17.124h-28.088a9.9529 9.9529 0 0 1-6.9566-2.6716q-2.6716-2.944-2.6768-6.6894v-28.628q0-4.0178 2.6716-6.6894a9.5339 9.5339 0 0 1 6.9618-2.944h24.343q29.969 0 48.162-16.323 18.193-16.323 18.193-42.274 0-25.679-16.323-41.467-16.323-15.788-44.945-15.788-16.056 0-27.826 5.3536a60.241 60.241 0 0 0-20.335 14.982 118.91 118.91 0 0 0-14.715 19.801q-6.1499 10.168-9.9006 11.236-3.7402 0.80148-7.2237-1.3358l-28.093-13.646q-3.4783-1.8754-4.5469-5.888t6.4223-18.727q7.758-14.982 23.541-30.503a110.01 110.01 0 0 1 36.925-24.081q21.137-8.5648 49.23-8.5595 52.174 0 82.672 27.554 30.503 27.292 30.503 72.243 0 31.037-14.982 53.777-14.72 22.735-41.739 32.111v1.0686q32.64 9.6282 51.368 35.312 19 25.422 18.994 60.734 0 50.571-35.317 82.945-35.307 32.373-92.038 32.373zm268.47-6.1551q-4.5469 0-8.0304-3.4783a11.786 11.786 0 0 1-3.2059-8.2924v-297.52l-60.2 43.342q-3.2164 2.4097-7.4961 1.6082a10.267 10.267 0 0 1-6.417-4.0126l-17.391-24.62a10.372 10.372 0 0 1-1.8753-7.4909q0.80147-4.2745 4.2798-6.6842l106.75-76.255q1.341-1.0686 2.944-1.603 1.6082-0.80147 3.7454-0.80147h22.478q4.5469 0 7.2237 3.2111 2.944 2.9335 2.944 7.4909v363.33q0 4.8193-3.4783 8.2924a10.477 10.477 0 0 1-8.0304 3.4783z" fill="#fff" stroke-width="5.2384"/><defs><linearGradient id="atcb-gcal-b" x1="83" x2="83" y1="76" gradientUnits="userSpaceOnUse"><stop stop-color="#4fa0ff" offset="0"/><stop stop-color="#3186ff" offset="1"/></linearGradient><linearGradient id="atcb-gcal-d" x1="89.06" x2="89.06" y1="21.75" y2="96.39" gradientUnits="userSpaceOnUse"><stop stop-color="#a9a8ff" offset="0"/><stop stop-color="#3c90ff" offset=".8"/></linearGradient><filter id="atcb-gcal-e" x="20" y="-4" width="152" height="112" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_37330_7673" stdDeviation="6"/></filter></defs></svg>',ical:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4.5" width="18" height="17" rx="3.5" fill="none"/><path fill="none" d="M8 2.5v4M16 2.5v4M3 10.5h18M7.5 15h.008v.008H7.5V15Zm2.25 0h.008v.008H9.75V15ZM12 15h.008v.008H12V15Zm2.25 0h.008v.008h-.008V15Zm2.25 0h.008v.008H16.5V15ZM7.5 17.25h.008v.008H7.5v-.008Zm2.25 0h.008v.008H9.75v-.008Zm2.25 0h.008v.008H12v-.008Zm2.25 0h.008v.008h-.008v-.008Z"/></svg>',msteams:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 186.047"><path d="M195.349 39.535a20.93 20.93 0 1 1-41.86 0 20.93 20.93 0 1 1 41.86 0zm-55.847 30.233h51.66A8.84 8.84 0 0 1 200 78.605v47.056c0 17.938-14.541 32.479-32.479 32.479h0-.154c-17.938.003-32.481-14.537-32.484-32.474v-.005-51.274a4.62 4.62 0 0 1 4.619-4.619z" fill="#5059c9"/><path d="M149.614 69.767H64.34c-4.823.119-8.637 4.122-8.526 8.944v53.67c-.673 28.941 22.223 52.957 51.163 53.665 28.94-.708 51.836-24.725 51.163-53.665v-53.67c.112-4.823-3.703-8.825-8.526-8.944zm-10.079-39.535a30.233 30.233 0 0 1-60.465 0 30.233 30.233 0 0 1 60.465 0z" fill="#7b83eb"/><path opacity=".1" d="M111.628 69.767v75.209c-.023 3.449-2.113 6.547-5.302 7.86-1.015.43-2.107.651-3.209.651H59.907l-1.628-4.651c-1.628-5.337-2.459-10.885-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z"/><path opacity=".2" d="M106.977 69.767v79.86a8.241 8.241 0 0 1-.651 3.209c-1.313 3.189-4.412 5.279-7.86 5.302H62.093l-2.186-4.651a46.13 46.13 0 0 1-1.628-4.651 56.647 56.647 0 0 1-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z"/><path opacity=".2" d="M102.326 69.767v70.558a8.58 8.58 0 0 1-8.512 8.512H58.279a56.647 56.647 0 0 1-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z"/><path opacity=".1" d="M111.628 45.721v14.651l-2.326.093c-.791 0-1.535-.046-2.326-.093-1.57-.104-3.127-.353-4.651-.744a30.233 30.233 0 0 1-20.93-17.767 25.845 25.845 0 0 1-1.488-4.651h23.209c4.693.018 8.494 3.818 8.512 8.512z"/><use xlink:href="#B" opacity=".2" transform="scale(.08973306)"/><path d="M106.977 50.372v10c-1.57-.104-3.127-.353-4.651-.744a30.233 30.233 0 0 1-20.93-17.767h17.07c4.693.018 8.494 3.818 8.512 8.512zm0 19.395v70.558a8.58 8.58 0 0 1-8.512 8.512H58.279a56.647 56.647 0 0 1-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z" opacity=".2"/><path opacity=".2" d="M102.326 50.372v9.256a30.233 30.233 0 0 1-20.93-17.767h12.419c4.693.018 8.494 3.818 8.512 8.512z"/><linearGradient id="A" gradientUnits="userSpaceOnUse" x1="17.776" y1="35.199" x2="84.55" y2="150.848"><stop offset="0" stop-color="#5a62c3"/><stop offset=".5" stop-color="#4d55bd"/><stop offset="1" stop-color="#3940ab"/></linearGradient><path fill="url(#A)" d="M8.526 41.86H93.8a8.53 8.53 0 0 1 8.526 8.526v85.274a8.53 8.53 0 0 1-8.526 8.526H8.526A8.53 8.53 0 0 1 0 135.66V50.386a8.53 8.53 0 0 1 8.526-8.526z"/><path fill="#fff" d="M73.6 74.316H56.553v46.419h-10.86V74.316H28.726v-9.005H73.6z"/><defs><path id="B" d="M1192.167 561.355v111.442c-17.496-1.161-34.848-3.937-51.833-8.293a336.92 336.92 0 0 1-233.25-198.003h190.228c52.304.198 94.656 42.55 94.855 94.854z"/></defs></svg>',ms365:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 239.766"><path d="M200 219.785l-.021-.012V20.591L128.615 0 .322 48.172 0 48.234.016 192.257l43.78-17.134V57.943l84.819-20.279-.012 172.285L.088 192.257l128.515 47.456v.053l71.376-19.753v-.227z"/></svg>',outlookcom:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 175"><path d="M178.725 0H71.275A8.775 8.775 0 0 0 62.5 8.775v9.975l60.563 18.75L187.5 18.75V8.775A8.775 8.775 0 0 0 178.725 0z" fill="#0364b8"/><path d="M197.813 96.281c.915-2.878 2.187-5.855 2.187-8.781-.002-1.485-.795-2.857-1.491-3.26l-68.434-38.99a9.37 9.37 0 0 0-9.244-.519c-.312.154-.614.325-.906.512l-67.737 38.6-.025.013-.075.044a4.16 4.16 0 0 0-2.088 3.6c.541 2.971 1.272 5.904 2.188 8.781l71.825 52.532z" fill="#0a2767"/><path d="M150 18.75h-43.75L93.619 37.5l12.631 18.75L150 93.75h37.5v-37.5z" fill="#28a8ea"/><path d="M150 18.75h37.5v37.5H150z" fill="#50d9ff"/><path d="M150 93.75l-43.75-37.5H62.5v37.5l43.75 37.5 67.7 11.05z" fill="#0364b8"/><path d="M106.25 56.25v37.5H150v-37.5zM150 93.75v37.5h37.5v-37.5zm-87.5-75h43.75v37.5H62.5z" fill="#0078d4"/><path d="M62.5 93.75h43.75v37.5H62.5z" fill="#064a8c"/><path d="M126.188 145.113l-73.706-53.75 3.094-5.438 68.181 38.825a3.3 3.3 0 0 0 2.625-.075l68.331-38.937 3.1 5.431z" fill="#0a2767" opacity=".5"/><path d="M197.919 91.106l-.088.05-.019.013-67.738 38.588c-2.736 1.764-6.192 1.979-9.125.569l23.588 31.631 51.588 11.257v-.001c2.434-1.761 3.876-4.583 3.875-7.587V87.5c.001 1.488-.793 2.862-2.081 3.606z" fill="#1490df"/><path d="M200 165.625v-4.613l-62.394-35.55-7.531 4.294a9.356 9.356 0 0 1-9.125.569l23.588 31.631 51.588 11.231v.025a9.362 9.362 0 0 0 3.875-7.588z" opacity=".05"/><path d="M199.688 168.019l-68.394-38.956-1.219.688c-2.734 1.766-6.19 1.984-9.125.575l23.588 31.631 51.587 11.256v.001a9.38 9.38 0 0 0 3.562-5.187z" opacity=".1"/><path d="M51.455 90.721c-.733-.467-1.468-1.795-1.455-3.221v78.125c-.007 5.181 4.194 9.382 9.375 9.375h131.25c1.395-.015 2.614-.366 3.813-.813.638-.258 1.252-.652 1.687-.974z" fill="#28a8ea"/><path d="M112.5 141.669V39.581a8.356 8.356 0 0 0-8.331-8.331H62.687v46.6l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031V150h54.169a8.356 8.356 0 0 0 8.331-8.331z" opacity=".1"/><path d="M106.25 147.919V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 68.75h47.919a8.356 8.356 0 0 0 8.331-8.331z" opacity=".2"/><path d="M106.25 135.419V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 56.25h47.919a8.356 8.356 0 0 0 8.331-8.331z" opacity=".2"/><path d="M100 135.419V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 56.25h41.669a8.356 8.356 0 0 0 8.331-8.331z" opacity=".2"/><path d="M8.331 37.5h83.337A8.331 8.331 0 0 1 100 45.831v83.338a8.331 8.331 0 0 1-8.331 8.331H8.331A8.331 8.331 0 0 1 0 129.169V45.831A8.331 8.331 0 0 1 8.331 37.5z" fill="#0078d4"/><path d="M24.169 71.675a26.131 26.131 0 0 1 10.263-11.337 31.031 31.031 0 0 1 16.313-4.087 28.856 28.856 0 0 1 15.081 3.875 25.875 25.875 0 0 1 9.988 10.831 34.981 34.981 0 0 1 3.5 15.938 36.881 36.881 0 0 1-3.606 16.662 26.494 26.494 0 0 1-10.281 11.213 30 30 0 0 1-15.656 3.981 29.556 29.556 0 0 1-15.425-3.919 26.275 26.275 0 0 1-10.112-10.85 34.119 34.119 0 0 1-3.544-15.744 37.844 37.844 0 0 1 3.481-16.563zm10.938 26.613a16.975 16.975 0 0 0 5.769 7.463 15.069 15.069 0 0 0 9.019 2.719 15.831 15.831 0 0 0 9.631-2.806 16.269 16.269 0 0 0 5.606-7.481 28.913 28.913 0 0 0 1.787-10.406 31.644 31.644 0 0 0-1.687-10.538 16.681 16.681 0 0 0-5.413-7.75 14.919 14.919 0 0 0-9.544-2.956 15.581 15.581 0 0 0-9.231 2.744 17.131 17.131 0 0 0-5.9 7.519 29.85 29.85 0 0 0-.044 21.5z" fill="#fff"/></svg>',yahoo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 177.803"><path d="M0 43.284h38.144l22.211 56.822 22.5-56.822h37.135L64.071 177.803H26.694l15.308-35.645L.001 43.284zm163.235 45.403H121.64L158.558 0 200 .002zm-30.699 8.488c12.762 0 23.108 10.346 23.108 23.106s-10.345 23.106-23.108 23.106a23.11 23.11 0 0 1-23.104-23.106 23.11 23.11 0 0 1 23.104-23.106z"/></svg>',close:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M2.321 13.529a7.927 7.927 0 0 1 0-11.208 7.927 7.927 0 0 1 11.208 0l86.471 86.471L186.47 2.321a7.927 7.927 0 0 1 11.209 0 7.927 7.927 0 0 1 0 11.208l-86.474 86.469 86.472 86.473a7.927 7.927 0 0 1-11.209 11.208l-86.471-86.471-86.469 86.471a7.927 7.927 0 0 1-11.208-11.208l86.471-86.473z"/></svg>',warning:'<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="m100 0c27.613 0 52.613 11.195 70.711 29.293 18.094 18.094 29.289 43.098 29.289 70.707 0 27.613-11.195 52.613-29.289 70.711-18.098 18.094-43.098 29.289-70.711 29.289-27.609 0-52.613-11.195-70.707-29.289-18.098-18.098-29.293-43.098-29.293-70.711 0-27.609 11.195-52.613 29.293-70.707 18.094-18.098 43.098-29.293 70.707-29.293zm57.66 42.34c-14.758-14.754-35.145-23.883-57.66-23.883-22.516 0-42.902 9.1289-57.66 23.883-14.754 14.758-23.883 35.145-23.883 57.66 0 22.516 9.1289 42.902 23.883 57.66 14.758 14.754 35.145 23.883 57.66 23.883 22.516 0 42.902-9.1289 57.66-23.883 14.754-14.758 23.883-35.145 23.883-57.66 0-22.516-9.1289-42.902-23.883-57.66z" fill="#f44336" fill-rule="nonzero" stroke-width=".39062"/><g transform="matrix(3.8384 0 0 3.8384 2277.8 -576.85)" style="shape-inside:url(#rect7396);white-space:pre" aria-label="!"><path d="m-563.8 161.59-0.65341 20.185h-5.8381l-0.65341-20.185zm-3.5796 29.503q-1.5199 0-2.6136-1.0795-1.0796-1.0796-1.0796-2.6136 0-1.5057 1.0796-2.571 1.0938-1.0796 2.6136-1.0796 1.4631 0 2.571 1.0796 1.1222 1.0653 1.1222 2.571 0 1.0227-0.52557 1.8608-0.51137 0.83807-1.3494 1.3352-0.82387 0.49715-1.8182 0.49715z"/></g></svg>',checkmark:'<svg version="1.1" viewBox="0 0 87.41 79.72" xmlns="http://www.w3.org/2000/svg"><path d="m2.076 33.666s6.0748-0.59297 17.413 4.2983c9.3883 4.5751 11.891 8.3955 11.891 8.3955 5.38-8.65 11.11-16.6 17.16-23.9 10.412-12.578 24.613-22.448 24.613-22.448l14.257-0.012228s-19.308 19.294-32.483 38.51-22.877 41.21-22.877 41.21-9.3948-18.164-14.53-24.53-10.77-11.59-17.52-16.22z" fill="#45b555"/></svg>',rsvp:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 104.31 122.88"><g><path d="M25.85,63.15c-0.04-0.12-0.08-0.28-0.1-0.42c-0.22-1.89-0.43-3.98-0.62-5.78c-0.26-2.64-0.55-5.69-0.76-7.83 c-0.14-1.45-0.6-2.83-1.27-3.86c-0.45-0.66-0.95-1.15-1.51-1.39c-0.45-0.18-1-0.2-1.57,0.02c-0.78,0.3-1.65,0.93-2.62,2.03 c-0.86,0.98-1.53,2.29-2.09,3.68c-0.79,2.03-1.26,4.19-1.45,5.67c-0.02,0.1-0.02,0.18-0.06,0.26L8.42,86.07 c-0.08,0.4-0.24,0.76-0.48,1.04c-1.81,2.33-2.95,4.33-3.28,5.95c-0.24,1.19,0,2.15,0.79,2.9l19.8,19.8 c1.26,1.21,2.72,1.97,4.47,2.29c1.91,0.36,4.14,0.16,6.7-0.54c0.04,0,0.1-0.02,0.14-0.02c0.97-0.26,2.24-0.57,3.46-0.88 c5.31-1.29,9.94-2.43,14.23-6.33l5.52-5.76c0.05-0.1,0.14-0.18,0.22-0.26s0.62-0.62,1.35-1.31c3.78-3.69,8.45-8.25,5.61-12.24 l-2.21-2.21c-1.07,1.04-2.21,2.05-3.3,3.02c-1,0.88-1.93,1.69-2.78,2.55c-0.91,0.91-2.38,0.91-3.3,0c-0.91-0.92-0.91-2.38,0-3.3 c0.86-0.86,1.91-1.79,3-2.76c3.74-3.3,8.03-7.07,5.73-10.38l-2.19-2.19c-0.12-0.12-0.22-0.26-0.31-0.4c-1.26,1.29-2.64,2.52-4,3.72 c-1,0.88-1.93,1.69-2.78,2.55c-0.91,0.91-2.38,0.91-3.3,0s-0.91-2.38,0-3.3c0.86-0.86,1.91-1.79,3-2.76 c3.74-3.3,8.03-7.07,5.73-10.38l-2.19-2.19c-0.16-0.16-0.28-0.31-0.38-0.5l-6.42,6.42c-0.91,0.91-2.38,0.91-3.3,0s-0.91-2.38,0-3.3 l17.22-17.25c2.88-2.88,3.54-5.88,2.78-8.15c-0.28-0.83-0.74-1.57-1.31-2.14s-1.31-1.03-2.14-1.31c-2.24-0.74-5.23-0.06-8.19,2.9 l-30.2,30.2c-0.91,0.91-2.38,0.91-3.3,0s-0.91-2.38,0-3.3l3.07-3.07L25.85,63.15L25.85,63.15L25.85,63.15z M83.23,24.31 c-1.22,1.3-3.24,1.34-4.52,0.14c-1.3-1.22-1.34-3.24-0.14-4.52l8.82-9.39c1.22-1.3,3.25-1.34,4.52-0.14 c1.3,1.22,1.34,3.24,0.14,4.52L83.23,24.31L83.23,24.31L83.23,24.31L83.23,24.31z M43.96,23.65c1.3,1.22,1.34,3.25,0.14,4.52 c-1.22,1.3-3.25,1.34-4.52,0.14l-9.4-8.82c-1.29-1.23-1.33-3.25-0.14-4.52c1.22-1.3,3.25-1.34,4.52-0.14L43.96,23.65L43.96,23.65 L43.96,23.65z M63.69,15.96c0.05,1.76-1.34,3.24-3.09,3.3s-3.24-1.34-3.3-3.09L56.91,3.3c-0.06-1.75,1.34-3.24,3.09-3.3 c1.76-0.05,3.24,1.34,3.29,3.09L63.69,15.96L63.69,15.96L63.69,15.96z M76.88,63.31c-1.3-1.22-1.34-3.25-0.14-4.52 c1.22-1.3,3.24-1.34,4.52-0.14l9.39,8.82c1.3,1.22,1.34,3.24,0.14,4.52c-1.22,1.3-3.24,1.34-4.52,0.14L76.88,63.31L76.88,63.31 L76.88,63.31z M88.36,44.35c-1.75,0.06-3.24-1.34-3.3-3.09c-0.05-1.75,1.34-3.24,3.09-3.3l12.86-0.43c1.75-0.06,3.24,1.34,3.3,3.09 s-1.34,3.24-3.09,3.3L88.36,44.35L88.36,44.35L88.36,44.35z M60.88,58.97c0.17,0.1,0.34,0.22,0.5,0.38l2.29,2.29 c0.12,0.12,0.24,0.28,0.34,0.42c2.57,3.52,2.17,6.66,0.42,9.52c0.31,0.12,0.62,0.29,0.86,0.54l2.29,2.29 c0.12,0.12,0.24,0.28,0.34,0.42c2.76,3.8,2.07,7.12,0,10.14c0.1,0.05,0.17,0.14,0.28,0.24l2.29,2.29c0.12,0.12,0.24,0.28,0.34,0.42 c5.31,7.26-1.02,13.42-6.1,18.39l-1.31,1.31l-5.67,5.95l-0.18,0.17c-5.19,4.71-10.33,5.97-16.28,7.42c-1,0.24-2,0.5-3.4,0.86 c-0.04,0-0.06,0.02-0.1,0.02c-3.22,0.88-6.14,1.09-8.76,0.62c-2.66-0.48-4.97-1.67-6.9-3.56L2.31,99.29 c-2-1.93-2.69-4.31-2.12-7.14c0.43-2.26,1.75-4.77,3.81-7.47L9.3,54.74v-0.12c0.24-1.71,0.78-4.24,1.71-6.68 c0.71-1.83,1.67-3.62,2.92-5.07c1.51-1.71,3-2.76,4.47-3.32c1.81-0.69,3.54-0.6,5.07,0.06c1.43,0.6,2.64,1.69,3.56,3.08 c1.12,1.67,1.85,3.8,2.05,6.02c0.16,1.83,0.48,4.85,0.78,7.81l0.24,2.47L53,36.07c4.4-4.4,9.16-5.27,12.97-4.02 c1.53,0.5,2.88,1.33,4,2.45s1.95,2.47,2.45,4c1.26,3.8,0.4,8.63-3.92,12.95l-7.59,7.59L60.88,58.97L60.88,58.97L60.88,58.97z"/></g></svg>'},
2xe=null,ke=function(){xe={value:""}},Ee=function(){return null!==xe},Se=function(e){xe&&(xe.value=e)},Ae=function(){var e=xe?xe.value:"";return xe=null,e},_e=new Map,Te="";function Le(e){Te=e}function Ce(){return Te}function De(e){return _e.get(e)}function Oe(e){return _e.get(e).optionStates}function Re(e){_e.delete(e)}function Me(e){var t=function(e){var t="general",n=e.options||["ical"];ee()||e.fakeIOS?e.optionsIOS&&e.optionsIOS.length>0?(t="ios",n=e.optionsIOS):e.optionsMobile&&e.optionsMobile.length>0&&(t="mobile",n=e.optionsMobile):(te()||e.fakeMobile||e.fakeAndroid)&&e.optionsMobile&&e.optionsMobile.length>0&&(t="mobile",n=e.optionsMobile);return{options:n,source:t}}(e),n=t.options,r=t.source,a=function(e,t){for(var n=[],r=!1,a=!1,i=0;i<e.length;i++){var o=Ie(e["".concat(i)]);"apple"===o&&(a=!0),"ical"===o&&(r=!0),Ne(o,t)||n.push(o)}return{newOptions:n,iCalGiven:r,appleGiven:a}}(n,e),i=a.newOptions,o=a.iCalGiven,c=a.appleGiven;i=function(e,t){return e.subscribe&&e.icsFile&&e.icsFile.startsWith("https://calendar.google.com/calendar/")&&!e.icsFile.endsWith(".ics")?["google"]:t}(e,i);var s=function(e,t){0===e.length&&(e.push("ical"),t=!0);return{newOptions:e,iCalGiven:t}}(i,o);i=s.newOptions,o=s.iCalGiven;var l=n.map(function(e){return Ie(e)});return i=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];a||((ee()||t.fakeIOS)&&n&&!r?(e.push("apple"),e=e.filter(function(e){return"ical"!==e})):(te()||t.fakeMobile||t.fakeAndroid)&&r&&!n&&(e.push("ical"),e=e.filter(function(e){return"apple"!==e})));return e}(i,e,o,c,"general"!==r&&(l.includes("ical")||l.includes("apple"))),i.sort(),e.options=i,e}function Ie(e){return e.split("|")[0].toLowerCase().replace("microsoft","ms").replace(/\./,"")}function Ne(e,t){return function(e,t){var n=!(!ee()&&!t.fakeIOS||!ue.includes(e)||t.optionsIOS&&0!==t.optionsIOS.length||t.optionsMobile&&0!==t.optionsMobile.length),r=!(!(te()||t.fakeMobile||t.fakeAndroid)||!pe.includes(e)||t.optionsMobile&&0!==t.optionsMobile.length);return n||r}(e,t)||function(e,t){if(!t.recurrence||""===t.recurrence)return!1;var n=!le.includes(e),r=!(!ee()&&!t.fakeIOS||"google"!==e);return n||r}(e,t)||function(e,t){return!(!t.subscribe||!de.includes(e))}(e,t)||function(e,t){return!(!re()&&!t.fakeMobile||!t.subscribe||"ms365"!==e&&"outlookcom"!==e)}(e,t)}function Ue(e){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(e)}function ze(e){var t=function(e,t){if("object"!=Ue(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ue(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ue(t)?t:t+""}function Be(e,t,n){return(t=ze(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"delimiters",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"general",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e.startTime&&""!==e.startTime&&e.endTime&&""!==e.endTime){var a=new Date(e.startDate+"T"+e.startTime+":00.000+00:00");e.endDate||(e.endDate=e.startDate);var i=new Date(e.endDate+"T"+e.endTime+":00.000+00:00"),o=i-a,c=Math.floor(o/1e3/60/60),s=Math.floor((o-60*c*60*1e3)/1e3/60%60),l=c<10?"0"+c+":"+("0"+s).slice(-2):c+":"+("0"+s).slice(-2);if(("ical"==n||"google"==n)&&!ce.test(e.timeZone))return{start:He(a,"clean",!0,!0),end:He(i,"clean",!0,!0),duration:l,allday:!1};var d=(0,J.tzlib_get_offset)(e.timeZone,e.startDate,e.startTime),u=(0,J.tzlib_get_offset)(e.timeZone,e.endDate,e.endTime);if(r){var p=d.slice(0,3)+":"+d.slice(3),b=u.slice(0,3)+":"+u.slice(3);return{start:a.toISOString().replace(".000Z",p),end:i.toISOString().replace(".000Z",b),duration:l,allday:!1}}var f=-1*parseInt(d[0]+1)*(60*(60*parseInt(d.substring(1,3))+parseInt(d.substring(3,5)))*1e3),h=-1*parseInt(u[0]+1)*(60*(60*parseInt(u.substring(1,3))+parseInt(u.substring(3,5)))*1e3);return a.setTime(a.getTime()+f),i.setTime(i.getTime()+h),{start:He(a,t),end:He(i,t),duration:l,allday:!1}}var v=e.startDate.split("-"),m=e.endDate?e.endDate.split("-"):v,g=new Date(Date.UTC(v[0],v[1]-1,v[2],12,0,0)),y=new Date(Date.UTC(m[0],m[1]-1,m[2],12,0,0));if(("google"===n||"microsoft"===n&&!re()||"msteams"===n||"ical"===n)&&y.setDate(y.getDate()+1),"msteams"===n){if(re()){var w=g.getTimezoneOffset(),x=w<0?"+"+("0"+Math.abs(w/60)).slice(-2)+":"+("0"+Math.abs(w%60)).slice(-2):"-"+("0"+Math.abs(w/60)).slice(-2)+":"+("0"+Math.abs(w%60)).slice(-2);return{start:He(g,t,!1,!0)+"T00:00:00"+x,end:He(y,t,!1,!0)+"T00:00:00"+x,allday:!0}
2}return{start:He(g,t,!1,!0)+"+00:00",end:He(y,t,!1,!0)+"+00:00",allday:!0}}return{start:He(g,t,!1),end:He(y,t,!1),allday:!0}}function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"delimiters",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?"clean"==t?/(-|:|(\.\d{3}))/g:/(\.\d{3})/g:"clean"==t?/(-|T(\d{2}:\d{2}:\d{2}\.\d{3})Z)/g:/T(\d{2}:\d{2}:\d{2}\.\d{3})Z/g;return arguments.length>3&&void 0!==arguments[3]&&arguments[3]?e.toISOString().replace(n,"").replace("Z",""):e.toISOString().replace(n,"")}function je(e,t,n,r){"currentBrowser"===n&&(n=Intl.DateTimeFormat().resolvedOptions().timeZone);var a=new Date("".concat(e,"T").concat(t,":00Z")),i=(0,J.tzlib_get_offset)(n,e,t),o=new Date(a.getTime()-function(e){var t="+"===e[0]?1:-1;return(60*parseInt(e.substring(1,3),10)+parseInt(e.substring(3,5),10))*t*6e4}(i));return new Intl.DateTimeFormat("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",timeZone:r,hourCycle:"h23"}).format(o).split(", ")}function qe(e){var t,n,r,a,i,o,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],d=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];arguments.length>3&&void 0!==arguments[3]&&arguments[3]&&(e=vt({dates:e}).dates);var p=[],b="",f="",h=Intl.DateTimeFormat().resolvedOptions().timeZone;"all"===s?(i=Ye(e[0]),o=Ye(e[e.length-1]),t=l?h:e[0].timeZone,n=l?h:e[e.length-1].timeZone,r=l?h:e[0].timeZoneDisplay||t,a=l?h:e[e.length-1].timeZoneDisplay||n):(o=i=Ye(e["".concat(s)]),n=t=l?h:e["".concat(s)].timeZone,a=r=l?h:e["".concat(s)].timeZoneDisplay||t);var v=new Date(i.start),m=new Date(o.end);i.allday&&(t="GMT"),o.allday&&(n="GMT");var g=["global","world-wide","worldwide","online"];!function(){var t=0,n=e.length-1;for("all"!=s&&(t=n=s);t<=n;t++)if(!function(){return!(!e["".concat(t)].location||""===e["".concat(t)].location||!g.includes(e["".concat(t)].location.toLowerCase().trim()))}()&&!e["".concat(t)].onlineEvent)return!1;return!0}()?(i.allday||h===t||t===n||(b="("+r+")"),(!o.allday&&h!==n||t!==n)&&(f="("+a+")")):t=n=h;var y=new Date,w=!d&&v.getFullYear()===y.getFullYear(),x=!d&&m.getFullYear()===y.getFullYear(),k=Fe(t,w,c),E=Fe(n,x,c);if(v.toLocaleDateString(c,E.DateLong)===m.toLocaleDateString(c,E.DateLong)){var S;if(i.allday)w||p.push(v.toLocaleDateString(c,k.DateLong));else S=w?v.toLocaleString(c,k.Time):v.toLocaleString(c,k.DateTimeLong),"en"===c&&(S=S.replace(/:00/,"")),p.push(S),""===b||u||p.push(b),p.push("-"),S=m.toLocaleTimeString(c,E.Time),"en"===c&&(S=S.replace(/:00/,"")),p.push(S),""===f||u||p.push(f)}else{var A;if(i.allday)p.push(v.toLocaleDateString(c,k.DateLong));else A=w?v.toLocaleString(c,k.Time):v.toLocaleString(c,k.DateTimeLong),"en"===c&&(A=A.replace(/:00/,"")),p.push(A);if(""===b||u||p.push(b),p.push("-"),o.allday)p.push(m.toLocaleDateString(c,E.DateLong));else{var _=m.toLocaleString(c,E.DateTimeLong);"en"===c&&(_=_.replace(/:00/,"")),p.push(_)}""===f||u||p.push(f)}return p}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";e=at(e);var r="en"===n?"h12":"h23";return t?{DateLong:{timeZone:e,month:"short",day:"numeric"},DateTimeLong:{timeZone:e,month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hourCycle:r},Time:{timeZone:e,hour:"numeric",minute:"2-digit",hourCycle:r}}:{DateLong:{timeZone:e,year:"numeric",month:"numeric",day:"numeric"},DateTimeLong:{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",hourCycle:r},Time:{timeZone:e,hour:"numeric",minute:"2-digit",hourCycle:r}}}function Ve(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replace("RRULE:","").split(";").reduce(function(e,t){var n=Z(t.split("="),2),r=n[0],a=n[1];return e["".concat(r)]=a,e},{});if(!n.FREQ)throw new Error("RRULE must have FREQ");if(n.FREQ=n.FREQ.toUpperCase(),n.INTERVAL=n.INTERVAL?parseInt(n.INT
2ERVAL.toString(),10):1,n.COUNT=n.COUNT?parseInt(n.COUNT.toString(),10):null,n.UNTIL){var r=n.UNTIL.toString();n.UNTIL=t?new Date(Date.UTC(parseInt(r.slice(0,4),10),parseInt(r.slice(4,6),10)-1,parseInt(r.slice(6,8),10),parseInt(r.slice(9,11)||"0",10),parseInt(r.slice(11,13)||"0",10))):r}if(n.BYWEEKDAY||n.BYDAY){var a,i=null===(a=n.BYWEEKDAY||n.BYDAY)||void 0===a?void 0:a.toString();if(t){var o=function(e){var t,n=function(e){switch(e){case"SU":return 0;case"MO":return 1;case"TU":return 2;case"WE":return 3;case"TH":return 4;case"FR":return 5;case"SA":return 6;default:return}},r=[],a=[],i=W(e?e.toString().split(","):[]);try{for(i.s();!(t=i.n()).done;){var o=t.value.trim().toUpperCase();if(!(o.length<2)){var c=n(o.slice(-2));if(void 0!==c){var s=o.slice(0,o.length-2);if(s){var l=1,d=s;if("+"===d[0]?d=d.slice(1):"-"===d[0]&&(l=-1,d=d.slice(1)),!d||d.length>2)continue;if("string"!=typeof d||!/^\d+$/.test(d))continue;var u=parseInt(d,10);if(u<1||u>53)continue;a.push({n:l*u,day:c})}else r.push(c)}}}}catch(e){i.e(e)}finally{i.f()}return{plainWeekdays:r,ordinals:a}}(i),c=o.plainWeekdays,s=o.ordinals;n.BYWEEKDAY=c.length?c:null,n.BYDAY_ORDINALS=s.length?s:null}else n.BYWEEKDAY=n.BYWEEKDAY||n.BYDAY}return n.BYMONTH=t&&n.BYMONTH?n.BYMONTH.toString().split(",").map(function(e){return parseInt(e,10)}):n.BYMONTH,n.BYYEARDAY=t&&n.BYYEARDAY?n.BYYEARDAY.toString().split(",").map(function(e){return parseInt(e,10)}):n.BYYEARDAY,n.BYMONTHDAY=t&&n.BYMONTHDAY?n.BYMONTHDAY.toString().split(",").map(function(e){return parseInt(e,10)}):n.BYMONTHDAY,n.BYWEEKNO=t&&n.BYWEEKNO?n.BYWEEKNO.toString().split(",").map(function(e){return parseInt(e,10)}):n.BYWEEKNO,n.BYHOUR&&delete n.BYHOUR,n}function Ze(e){return String(e).padStart(2,"0")}function We(e){if(!e||"Z"===e||"+0000"===e||"-0000"===e||"+00:00"===e||"-00:00"===e)return"Z";var t=String(e).replace(/^GMT/i,"");if(/^[+-]\d{2}:\d{2}$/.test(t))return t;if(/^[+-]\d{4}$/.test(t))return"".concat(t.slice(0,3),":").concat(t.slice(3));var n=t.startsWith("-")?"-":"+",r=t.replace(/\D/g,"").padStart(4,"0").slice(0,4);return"".concat(n).concat(r.slice(0,2),":").concat(r.slice(2))}var Ge=new Map;function Ke(e,t){if(!(e instanceof Date&&isFinite(e.getTime())))return null;try{var n=function(e){var t=at(e||"UTC"),n=Ge.get(t);if(n)return n;var r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,hourCycle:"h23",weekday:"short",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"});return Ge.set(t,r),r}(t).formatToParts(e),r=function(e){var t;return(null===(t=n.find(function(t){return t.type===e}))||void 0===t?void 0:t.value)||""},a=r("weekday"),i=null;switch(a){case"Sun":i=0;break;case"Mon":i=1;break;case"Tue":i=2;break;case"Wed":i=3;break;case"Thu":i=4;break;case"Fri":i=5;break;case"Sat":i=6}var o=parseInt(r("year"),10),c=parseInt(r("month"),10),s=parseInt(r("day"),10),l=parseInt(r("hour"),10),d=parseInt(r("minute"),10),u=parseInt(r("second"),10);return[o,c,s,l,d,u].every(function(e){return Number.isFinite(e)})?(null===i&&(i=new Date(Date.UTC(o,c-1,s)).getUTCDay()),{year:o,month:c,day:s,hour:l,minute:d,second:u,weekday:i}):null}catch(e){return null}}function Je(e,t,n){var r=Date.UTC(e,0,1);return Math.floor((Date.UTC(e,t,n)-r)/864e5)+1}function Qe(e,t,n){var r=new Date(Date.UTC(e,t,n));r.setUTCDate(r.getUTCDate()+4-(r.getUTCDay()||7));var a=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-a.getTime())/864e5+1)/7)}function Xe(e,t){return n=(t?Ke(e,t):null)||function(e){return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),hour:e.getUTCHours(),minute:e.getUTCMinutes(),second:e.getUTCSeconds(),weekday:e.getUTCDay()}}(e),r=n.month-1,$e($e({},n),{},{month0:r,dayOfYear:Je(n.year,r,n.day),weekNumber:Qe(n.year,r,n.day)});var n,r}function et(e,t,n,r){var a=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:null)||Xe(e,n),i=Number.isFinite(a.month0)?a.month0:Number.isFinite(a.month)?a.month-1:0,o=Date.UTC(a.year,i,a.day)+864e5*t,c=new Date(o),s="".concat(c.getUTCFullYear(),"-").concat(Ze(c.getUTCMonth()+1),"-").concat(Ze(c.getUTCDate())),l=n||"UTC";try{var d=(0,J.tzlib_get_offset)(l,s,r);return new Date("".concat(s,"T").concat(r,":00").concat(We(d)))}catch(n){return new Date(e.getTime()+864e5*t)}}function tt(e,t,n,r,a,i){var o=parseInt(t.INTERVAL.toString(),10)||1,c=a||Xe(e,r),s=i||Xe(n,r);switch(t.FREQ){case"YEARLY":return(c.year-s.year)%o===0;case"MONTHLY":return(12*(c.year-s.year)+(c.month0-s.month0))%o==0;case"WEEKLY":var l=Math.floor((Date.UTC(c.year,c.month0,c.day)-Date.UTC(s.year,s.month0,s.day))/864e5);return Math.floor(l/7)%o===0;case"DAILY":return Math.floor((Date.UTC(c.year,c.month0,c.day)-Date.UTC(s.year,s.month0,s.day))/864e5)%o===0;default:return!0}}function nt(e,t,n,r,a,i){return!!function(e,t,n,r){var a=r||Xe(e,n);if(t.BYMONTH&&!t.BYMONTH.includes(a.month))return!1;if(t.BYYEARDAY&&!t.BYYEARDAY.includes(a.dayOfYear))return!1;if(t.BYMONTHDAY&&!t.BYMONTHDAY.includes(a.day))return!1;if(t.BYWEEKNO&&!t.BYWEEKNO.includes(a.weekNumber))return!1;var i=t.BYWEEKDAY&&t.BYWEEKDAY.length?t.BYWEEKDAY.includes(a.weekday):null,o=null;if(t.BYDAY_ORDINALS&&Array.isArray(t.BYDAY_ORDINALS)&&t.BYDAY_ORDINALS.length>0){var c=a.weekday,s=a.year,l=a.month0,d=a.dayOfYear,u=new Date(Date.UTC(s,l+1,0)).getUTCDate(),p=Je(s,11,31),b=function(e,t){if(0===e)return!1;if(e>0){var n=1+(t-new Date(Date.UTC(s,l,1)).getUTCDay()+7)%7+7*(e-1);return n>=1&&n<=u&&a.day===n}var r=new Date(Date.UTC(s,l+1,0)),i=(r.getUTCDay()-t+7)%7,o=r.getUTCDate()-i+7*(e+1);return o>=1&&o<=u&&a.day===o},f=function(e,t){if(0===e)return!1;if(e>0){var n=1+(t-new Date(Date.UTC(s,0,1)).getUTCDay()+7)%7+7*(e-1);return n>=1&&n<=p&&d===n}var r=(new Date(Date.UTC(s,11,31)).getUTCDay()-t+7)%7,a=p-r+7*(e+1);return a>=1&&a<=p&&d===a};
2o=t.BYDAY_ORDINALS.some(function(e){var n=e.n,r=e.day;return r===c&&("MONTHLY"===t.FREQ?b(n,r):"YEARLY"===t.FREQ&&(t.BYMONTH&&t.BYMONTH.length>0?b(n,r):!t.BYWEEKNO&&f(n,r)))})}return(!1!==i||!1!==o)&&((!1!==i||null!==o)&&(!1!==o||null!==i))}(e,t,r,a)&&!!function(e,t,n,r,a,i){var o=a||Xe(e,r),c=i||Xe(n,r);if(o.hour!==c.hour)return!1;var s=!(!t.BYWEEKDAY||!t.BYWEEKDAY.length)||!(!t.BYDAY_ORDINALS||!t.BYDAY_ORDINALS.length);return!("WEEKLY"===t.FREQ&&!s&&o.weekday!==c.weekday)&&(!("MONTHLY"===t.FREQ&&!t.BYMONTHDAY&&!s&&o.day!==c.day)&&(!("YEARLY"===t.FREQ&&!t.BYMONTH&&o.month0!==c.month0)&&!!("YEARLY"!==t.FREQ||t.BYMONTHDAY||s||t.BYYEARDAY||t.BYWEEKNO||o.day===c.day)))}(e,t,n,r,a,i)}function rt(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"UTC",i=Ve(e),o=Xe(t,a),c="".concat(Ze(o.hour),":").concat(Ze(o.minute));if(r&&i.UNTIL instanceof Date){var s=new Date(i.UNTIL);s.setUTCHours(23,59,59,999),i.UNTIL=s}var l,d=new Date((new Date).getTime()-n),u=t,p=[],b=0,f=1e4,h=0,v=parseInt((null===(l=i.INTERVAL)||void 0===l?void 0:l.toString())||"1",10)||1,m=i.FREQ,g=Boolean(i.COUNT)||Boolean(i.UNTIL),y=!Boolean(i.BYDAY||i.BYMONTH||i.BYMONTHDAY||i.BYYEARDAY||i.BYWEEKNO||i.BYSETPOS)&&("DAILY"===m||"WEEKLY"===m||"MONTHLY"===m&&o.day<=28||"YEARLY"===m&&!(1===o.month0&&29===o.day));if(("DAILY"===m||"WEEKLY"===m||"MONTHLY"===m||"YEARLY"===m)&&(!g||y)){var w=Xe(i.UNTIL instanceof Date&&i.UNTIL<d?i.UNTIL:d,a),x=Date.UTC(o.year,o.month0,o.day),k=Date.UTC(w.year,w.month0,w.day),E=function(){if("DAILY"===m||"WEEKLY"===m){var e=("WEEKLY"===m?7:1)*v;return Math.floor((k-x)/864e5/e)-2}if("MONTHLY"===m){var t=12*(w.year-o.year)+(w.month0-o.month0);return Math.floor(t/v)-2}return Math.floor((w.year-o.year)/v)-2}(),S=i.COUNT?Math.min(E,Math.max(0,i.COUNT-2)):E;if(S>0){var A=function(){if("DAILY"===m||"WEEKLY"===m)return et(t,S*("WEEKLY"===m?7:1)*v,a,c);var e=o.month0+("MONTHLY"===m?S*v:0),n="".concat(o.year+("YEARLY"===m?S*v:0)+Math.floor(e/12),"
2-").concat(Ze((e%12+12)%12+1),"-").concat(Ze(o.day));try{return new Date("".concat(n,"T").concat(c,":00").concat(We((0,J.tzlib_get_offset)(a,n,c))))}catch(e){return null}}();A&&isFinite(A.getTime())&&A>t&&(u=A,b=h=g?S:0)}}for(;!(i.UNTIL&&u>i.UNTIL);){var _=Xe(u,a);if(tt(u,i,t,a,_,o)&&nt(u,i,t,a,_,o)){if(p.push(u),b++,i.COUNT&&b>=i.COUNT)break;if(!i.COUNT&&!i.UNTIL&&(r?u>=d:u>d))break}if(--f<=0)break;u=et(u,1,a,c,_)}for(var T=null,L=0,C=0,D=p;C<D.length;C++){var O=D[C];if(r?O>=d:O>d){T=O;break}L++}return T||(p.length>1?(T=p[p.length-1],L-=1):1===p.length?T=p[0]:(T=t,L=1)),{nextOccurrence:T,adjustedCount:i.COUNT?i.COUNT-(L+h):b-(L+h)}}function at(e){return e?{PT:"America/Los_Angeles",MT:"America/Denver",CT:"America/Chicago",ET:"America/New_York",CET:"Europe/Brussels",CST6CDT:"America/Chicago",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",HST:"Pacific/Honolulu",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver",PST8PDT:"America/Los_Angeles",WET:"Europe/Lisbon"}["".concat(e.toUpperCase())]||e:"GMT"}function it(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function ot(e){return it(e).replace(/"/g,""").replace(/'/g,"'")}function ct(e){return ut(e.replace(/</g,"<").replace(/>/g,">").replace(/<br\s*\/?>/gi,"<br>"))}function st(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=(t?JSON.stringify(e):e.toString()).replace(/(<(?!br)([^>]+)>)/gi,"");if(t){var r=JSON.parse(n);return lt(r),r}return n}function lt(e){if(!e||"object"!==V(e))return e;for(var t=0,n=["__proto__","constructor","prototype"];t<n.length;t++){var r=n[t];Object.prototype.hasOwnProperty.call(e,r)&&delete e["".concat(r)]}for(var a=0,i=Object.values(e);a<i.length;a++){lt(i[a])}return e}function dt(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e&&e.match(/((\.\.\/)|(\.\.\\)|(%2e%2e%2f)|(%252e%252e%252f)|(%2e%2e\/)|(%252e%252e\/)|(\.\.%2f)|(\.\.%252f)|(%2e%2e%5c)|(%252e%252e%255c)|(%2e%2e\\)|(%252e%252e\\)|(\.\.%5c)|(\.\.%255c)|(\.\.%c0%af)|(\.\.%25c0%25af)|(\.\.%c1%9c)|(\.\.%25c1%259c))/gi))return t&&console.error("Seems like the generated URL includes at least one security issue and got blocked. Please check the calendar button parameters!"),!1;var n=e?e.replace(/[\u0000-\u0020\u007f-\u009f]/g,"").match(/^([a-z][a-z0-9+.-]*):/i):null;if(n){var r=n[1].toLowerCase();if(!(["http","https","webcal","webcals","mailto","intent"].includes(r)||"data"===r&&/^data:text\/calendar[;,]/i.test(e.trim())))return t&&console.error("Seems like the generated URL includes at least one security issue and got blocked. Please check the calendar button parameters!"),!1}return!0}function ut(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e=(e=e.replace(/\[p\]\s*\[\/p\]/gi,"[br]")).replace(/\{p\}\s*\{\/p\}/gi,"{br}"),e=t?(e=(e=(e=(e=(e=(e=n?e.replace(/(\[br\s?\/?\]|\{br\s?\/?\}|(\[\/p\](?=.))|(\{\/p\}(?=.)))/gi,"\\n"):e.replace(/(\[br\s?\/?\]|\{br\s?\/?\}|(\[\/p\](?=.))|(\{\/p\}(?=.)))/gi," ")).replace(/\[url\](.+?)\[\/url\]/gi,function(e,t){return t.split("|")[0]})).replace(/\{url\}(.+?)\{\/url\}/gi,function(e,t){return t.split("|")[0]})).replace(/\[\/?(hr|[pbui]|strong|em|li|ul|ol|h\d)\]/gi,"")).replace(/\{\/?(hr|[pbui]|strong|em|li|ul|ol|h\d)\}/gi,"")).replace(/&(?:nbsp|#160|#xa0);/gi,"Â ")).replace(/&[#a-z0-9]{1,9};/gi,""):(e=(e=(e=e.replace(/\[url\]((?:(?!\[\/url\]).)*)\[\/url\]/gi,function(e,t){return pt(t)})).replace(/\{url\}((?:(?!\[\/url\]).)*)\{\/url\}/gi,function(e,t){return pt(t)})).replace(/\[(\/)?(br|hr|[pbui]|strong|em|li|ul|ol|h\d)(\s?\/?)\]/gi,"<$1$2$3>")).replace(/\{(\/)?(br|hr|[pbui]|strong|em|li|ul|ol|h\d)(\s?\/?)\}/gi,"<$1$2$3>")}function pt(e){var t=e.split("|"),n=(t[0]||"").trim(),r=t.length>1&&""!=t[1]?t[1]:n,a=n.replace(/[\u0000-\u0020\u007f-\u009f]/g,"").match(/^([a-z][a-z0-9+.-]*):/i);return a&&!["http","https","webcal","webcals","mailto"].includes(a[1].toLowerCase())?it(r):'<a href="'+ot(n)+'" target="'+oe+'" rel="noopener">'+it(r)+"</a>"}function bt(e){return e=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e.replace(/"/g,""):e.replace(/\\/g,"\\\\").replace(/(,|;)/g,"\\$1").replace(/\\\\n/g,"\\n")}function ft(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})}function ht(e,t){if(!t||!e)return e;switch(t){case"upper":return e.toString().toUpperCase();case"lower":return e.toString().toLowerCase();default:return e}}function vt(e){e.dates&&Array.isArray(e.dates)||(e.dates=[{name:e.name}]);var t=e;t.recurrence&&""!==t.recurrence&&(t=function(e){if(e.recurrence=e.recurrence.replace(/\s+/g,"").toUpperCase(),/^RRULE:/i.test(e.recurrence)){e.recurrence_simplified=!1;var t=Ve(e.recurrence,!1);e.recurrence_until=t.UNTIL,e.recurrence_count=t.COUNT,e.recurrence_byDay=t.BYDAY,e.recurrence_byMonth=t.BYMONTH,e.recurrence_byMonthDay=t.BYMONTHDAY,e.recurrence_interval=t.INTERVAL,e.recurrence_frequency=t.FREQ}else e.recurrence_simplified=!0,e.recurrence_interval&&""!==e.recurrence_interval||(e.recurrence_interval=1),(!e.recurrence_weekstart||Number(""===e.recurrence_weekstart)|Number(e.recurrence_weekstart.length>2))&&(e.recurrence_weekstart="MO"),e.recurrence_frequency=e.recurrence,e.recurrence="RRULE:FREQ="+e.recurrence+";
2WKST="+e.recurrence_weekstart+";INTERVAL="+e.recurrence_interval,e.recurrence_until&&""!==e.recurrence_until&&(e.recurrence_until=e.recurrence_until.replace(/[-:]/g,""),e.recurrence_until.length<9&&(e.recurrence_until+="T235959Z"),e.recurrence=e.recurrence+";UNTIL="+e.recurrence_until),e.recurrence_count&&""!==e.recurrence_count&&(e.recurrence=e.recurrence+";COUNT="+e.recurrence_count),e.recurrence_byDay&&""!==e.recurrence_byDay&&(e.recurrence=e.recurrence+";BYDAY="+e.recurrence_byDay),e.recurrence_byMonth&&""!==e.recurrence_byMonth&&(e.recurrence=e.recurrence+";BYMONTH="+e.recurrence_byMonth),e.recurrence_byMonthDay&&""!==e.recurrence_byMonthDay&&(e.recurrence=e.recurrence+";BYMONTHDAY="+e.recurrence_byMonthDay);return e}(t),t=function(e){var t=e.dates[0].startDate,n=e.dates[0].startTime,r=e.dates[0].endDate||t,a=e.dates[0].endTime||"",i=e.dates[0].timeZone||"UTC",o=function(){if(a&&""!==a&&n&&""!==n){var e=n&&""!==n?new Date("".concat(t,"T").concat(n,":00").concat(c((0,J.tzlib_get_offset)(i,t,n)))):new Date("".concat(t,"T00:00:00").concat(c((0,J.tzlib_get_offset)(i,t,"00:00"))));return(a&&""!==a?new Date("".concat(r,"T").concat(a,":00").concat(c((0,J.tzlib_get_offset)(i,r,a)))):new Date("".concat(r,"T00:00:00").concat(c((0,J.tzlib_get_offset)(i,r,"00:00"))))).getTime()-e.getTime()}}()||0;function c(e){if(!e||"Z"===e||"+0000"===e||"-0000"===e||"+00:00"===e||"-00:00"===e)return"Z";var t=String(e).replace(/^GMT/i,"");if(/^[+-]\d{2}:\d{2}$/.test(t))return t;if(/^[+-]\d{4}$/.test(t))return"".concat(t.slice(0,3),":").concat(t.slice(3));var n=t.startsWith("-")?"-":"+",r=t.replace(/\D/g,"").padStart(4,"0").slice(0,4);return"".concat(n).concat(r.slice(0,2),":").concat(r.slice(2))}var s=n&&""!==n?(0,J.tzlib_get_offset)(i,t,n):"",l=function(){if(n&&""!==n){var e=c(s);return new Date("".concat(t,"T").concat(n,":00").concat(e))}var r=c((0,J.tzlib_get_offset)(i,t,"00:00"));return new Date("".concat(t,"T00:00:00").concat(r))}(),d=!(n&&""!==n),u=rt(e.recurrence,l,o,d,i);if(!u||!u.nextOccurrence)return e;function p(e,t,n){if(!(e instanceof Date&&isFinite(e.getTime())))return{date:"",time:""};try{var r=n?{timeZone:t,hour12:!1,hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}:{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit"},a=new Intl.DateTimeFormat("en-CA",r).formatToParts(e),i=function(e){var t;return(null===(t=a.find(function(t){return t.type===e}))||void 0===t?void 0:t.value)||""};return{date:"".concat(i("year"),"-").concat(i("month"),"-").concat(i("day")),time:n?"".concat(i("hour"),":").concat(i("minute")):""}}catch(e){return{date:"",time:""}}}var b=p(u.nextOccurrence,i,!1).date;if(!b)return e;e.startDate=b,n&&(e.startTime=n);var f=n?new Date("".concat(e.startDate,"T").concat(n,":00").concat(c((0,J.tzlib_get_offset)(i,e.startDate,n)))):new Date("".concat(e.startDate,"T00:00:00").concat(c((0,J.tzlib_get_offset)(i,e.startDate,"00:00")))),h=p(new Date(f.getTime()+o),i,!(!a||""===a));return h.date&&(e.endDate=h.date,a&&""!==a&&(e.endTime=h.time)),(e.recurrence_count&&""!==e.recurrence_count||e.recurrence_until&&""!==e.recurrence_until)&&(u.adjustedCount<2?(e.recurrence="",e.recurrence_frequency="",e.recurrence_interval=""):(e.recurrence_count=u.adjustedCount,e.recurrence=e.recurrence.replace(/;?COUNT=\d+/i,";COUNT="+e.recurrence_count),e.recurrence_until&&""!==e.recurrence_until&&(e.recurrence_until="",e.recurrence=e.recurrence.replace(/;?UNTIL=\w+/i,";COUNT="+e.recurrence_count),e.dates&&e.dates[0].recurrence&&(e.dates[0].recurrence=e.dates[0].recurrence.replace(/;?UNTIL=\w+/i,";COUNT="+e.recurrence_count))))),e}(t=gt(t=mt(t,0),0))),t.recurrence&&""!==t.recurrence&&(t.dates[0].recurrence=t.recurrence);for(var n=0;n<t.dates.length;n++)t=kt(t=Et(t=xt(t=wt(t=yt(t=gt(t=mt(t,n),n),n),n),n),n),n);["description","startDate","startTime","endDate","endTime","timeZone","useUserTZ","location","status","sequence","availability","organizer","attendee","icsCreated","icsUpdated"].forEach(function(e){delete t["".concat(e)]}),t=function(e){(!e.pastDateHandling||"disable"!==e.pastDateHandling&&"hide"!==e.pastDateHandling)&&(e.pastDateHandling="none");if(e.allOverdue=function(){for(var t=0;t<e.dates.length;t++)if(!e.dates["".concat(t)].overdue)return!1;return!0}(),e.allOverdue)"disable"===e.pastDateHandling?e.disabled=!0:"hide"===e.pastDateHandling&&(e.hidden=!0);else if("hide"===e.pastDateHandling&&e.dates.length>1){for(var t=[],n=0;n<e.dates.length;n++)e.dates["".concat(n)].overdue||t.push(e.dates["".concat(n)]);e.dates=t}e.allCancelled=function(){for(var t=0;t<e.dates.length;t++)if(!e.dates["".concat(t)].status||"cancelled"!==e.dates["".concat(t)].status)return!1;return!0}(),(e.disabled||e.hidden)&&(e.blockInteraction=!0);return e}(t);var r,a=new Date,i=W(t.dates);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.icsCreated&&""!==o.icsCreated||(o.icsCreated=He(a,"clean",!0)),o.icsUpdated&&""!==o.icsUpdated||(o.icsUpdated=He(a,"clean",!0))}}catch(e){i.e(e)}finally{i.f()}return t.dates.length>1&&t.dates.sort(function(e,t){return e.timestamp-t.timestamp}),t}function mt(e,t){var n=e.dates["".concat(t)],r=["description","startDate","startTime","endDate","endTime","timeZone","useUserTZ","location","status","sequence","availability","organizer","attendee","icsReminder","icsUrl","icsCategories","icsClass","icsPriority","icsGeo","icsAttach","icsCreated","icsUpdated"];return 1===e.dates.length&&r.unshift("name"),r.forEach(function(t){(e["".concat(t)]&&""!==e["".concat(t)]||"sequence"===t&&0===e["".concat(t)])&&(n["".concat(t)]=e["".concat(t)])}),e}function gt(e,t){var n=e.dates["".concat(t)],r=function(e){function t(e){return/^\d\d\d\d-\d\d-\d\d(?:T\d\d:\d\d)?(?::\d\d)?(?:.\d\d\d)?Z?(?:\+(?:\d|\d\d|\d\d\d|\d\d\d\d))?$/i.test(e)}function n(e){return/^today(?:\+(?:\d|\d\d|\d\d\d|\d\d\d\d))?$/i.test(e)}e.endDate&&""!==e.endDate||(e.endDate=e.startDate);if(["start","end"].forEach(function(r){var a=e["".concat(r,"Date")];if(t(a)||n(a)){if(/\+/.test(a)||n(a)){var i="currentBrowser"===e.timeZone||e.useUserTZ?Intl.DateTimeFormat().resolvedOptions().timeZone||"GMT":at(e.timeZone||"GMT");e["".concat(r,"Date")]=function(e,t){if(/today/i.test(e))try{var n=new Intl.DateTimeFormat("en-US",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(new Date),r=function(e){var t;return(null===(t=n.find(function(t){return t.type===e}))||void 0===t?void 0:t.value)||""};e=e.replace(/today/gi,"".concat(r("year"),"-").concat(r("month"),"-").concat(r("day")))}catch(e){return!1}var a=e.split("+"),i=a[0].split("-"),o=new Date(Date.UTC(i[0],i[1]-1,i[2].substring(0,2)));a[1]&&a[1]>0&&o.setDate(o.getDate()+parseInt(a[1]));try{return o.toISOString().replace(/T(\d{2}:\d{2}:\d{2}\.\d{3})Z/g,"")}catch(e){return!1}}(a,i)}if(e["".concat(r,"Date")]){var o=e["".concat(r,"Date")].split("T");o[1]&&(e["".concat(r,"Date")]=o[0],e["".concat(r,"Time")]=o[1])}e["".concat(r,"Time")]&&e["".concat(r,"Time")].length>5&&(e["".concat(r,"Time")]=e["".concat(r,"Time")].substring(0,5))}else e["".concat(r,"Date")]="badly-formed"}),"currentBrowser"===e.timeZone||e.useUserTZ){var r=Intl.DateTimeFormat().resolvedOptions().timeZone||"GMT",a=(0,J.tzlib_get_timezones)();if(a.includes(r)||(r=at(r),a.includes(r)||(r="GMT")),e.useUserTZ&&e.startTime&&""!==e.startTime&&e.endTime&&""!==e.endTime){var i=je(e.startDate,e.startTime,e.timeZone,r),o=je(e.endDate,e.endTime,e.timeZone,r);e.startDate=i[0],e.startTime=i[1],e.endDate=o[0],e.endTime=o[1]}e.timeZone=r}return e}(n);return n.startDate=r.startDate,n.endDate=r.endDate,n.startTime=r.startTime,n.endTime=r.endTime,n.timeZoneDisplay=r.timeZone,n.timeZone=at(r.timeZone),n.timestamp=At("timestamp",n.startDate,n.startTime,n.timeZone),n.overdue=At("overdue",n.endDate,n.endTime,n.timeZone),e}function yt(e,t){var n=e.dates["".concat(t)];
2return n.uid||(0===t&&e.uid&&""!==e.uid?n.uid=e.uid:e.uid&&""!==e.uid?n.uid="".concat(e.uid,"-").concat(t+1):n.uid=ft()),e}function wt(e,t){var n=e.dates["".concat(t)];return n.status=ht(n.status,"lower"),n.availability=ht(n.availability,"lower"),n.icsClass=ht(n.icsClass,"lower"),e}function xt(e,t){var n=e.dates["".concat(t)].description;if(n){var r=ut(n=n.replace(/(\\r\\n|\\n|\\r|<br(\s*\/?)>)/g,""),!0),a=ut(n,!0,!0);n=ut(n),e.dates["".concat(t)]=$e($e({},e.dates["".concat(t)]),{},{description:n,descriptionHtmlFree:r,descriptionHtmlFreeICal:a})}else e.dates["".concat(t)].descriptionHtmlFree=e.dates["".concat(t)].descriptionHtmlFreeICal=e.dates["".concat(t)].description="";return e}function kt(e,t){var n=e.dates["".concat(t)];return n.location&&n.location.startsWith("http")?n.onlineEvent=!0:n.onlineEvent=!1,e}function Et(e,t){if(!e.customVar)return e;var n=e.dates["".concat(t)];for(var r in e.customVar){var a=e.customVar["".concat(r)];n.name=St(n.name,r,a),n.location=St(n.location,r,a),n.description=St(n.description,r,a)}return e}function St(e,t,n){var r="%%"+t.replace(/[^\w\-.]/g,"")+"%%";return e?e.replace(new RegExp(r,"gi"),n):e}function At(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;try{var a=function(){if(n){var e=(0,J.tzlib_get_offset)(r,t,n);return new Date(t+" "+n+":00 GMT"+e)}return new Date(t)}();if("timestamp"===e)return a.getTime();n||a.setDate(a.getDate()+1);var i=(new Date).toISOString();return a.getTime()<new Date(i).getTime()}catch(e){return!1}}function _t(e){var t=[];if(t.l=t.m=t.s=16,e&&""!==e){for(var n=e.split("|"),r=0;r<n.length;r++)n["".concat(r)]=parseInt(n["".concat(r)]);n[0]>=0&&n[0]<11&&(t.l=t.m=t.s=10+n[0]),n.length>2?(n[1]>=0&&n[1]<11&&(t.m=10+n[1]),n[2]>=0&&n[2]<11&&(t.s=10+n[2])):2==n.length&&n[1]>=0&&n[1]<11&&(t.m=t.s=10+n[1])}return t}function Tt(e){for(var t=e.search(/[?#]/),n=-1===t?e:e.substring(0,t),r=0,a=["https://cdn.jsdelivr.net/npm/add-to-calendar-button","http://cdn.jsdelivr.net/npm/add-to-calendar-button"];r<a.length;r++){var i=a[r];if(n.startsWith(i)){var o=n.substring(i.length);if(""===o||o.startsWith("@")&&o.length>1&&!o.includes("/"))return n+"/dist/"}}return e.lastIndexOf("/")>-1?e.substring(0,e.lastIndexOf("/")+1):""}var Lt=["ar","fa","he"],Ct=["en","de","es","pt","fr","nl","tr","zh","ar","hi","pl","id","no","fi","sv","cs","ja","it","ko","vi","ro","fa","et","uk","hu","he","az","be","bg","bs","da","el","hr","hy","ka","lt","lv","mk","mt","ru","sk","sl","sq","sr"],Dt={apple:"Apple",google:"Google",ms365:"Microsoft 365",msteams:"Microsoft Teams",outlookcom:"Outlook.com",yahoo:"Yahoo"},Ot={en:$e($e({},Dt),It({label:{addtocalendar:"Add to Calendar",share:{email:"Share via Email",copy:"Copy Link",copied:"Copied",email_subject:"Save this event"},rsvp:{title:"RSVP",expired:"Expired",bookedout:"Booked out",restart:"New RSVP Reply"}},ical:"iCal File",modal:{button:{default:"Click me"},webview:{ical:{h:"Open your browser",text:"Unfortunately, in-app browsers have problems with the way we generate the calendar file.",steps:"<ol><li><strong>Open another browser</strong> on your phone, ...</li><li><strong>Paste</strong> the clipboard content and go.</li></ol>"}},clipboard:{text:"We automatically copied a magical URL into your clipboard.",failed:"Copying to your clipboard failed. Please copy the following link manually:"},opensafari:{ical:{h:"Open Safari",text:"Unfortunately, iOS has some problems generating and opening the calendar file outside of Safari.",steps:"<ol><li><strong>Open Safari</strong>, ...</li><li><strong>Paste</strong> the clipboard content and go.</li></ol>"}},multidate:{h:"This is an event series",text:"Add the individual events one by one:"}},date:{status:{cancelled:"This date got cancelled.",cancelled_cta:"Please update your calendar!"}},group_overview:{empty:"No events this year."},close:"Close",continue:"Continue",cancel:"Cancel",expired:"Expired",recurring:"Recurring",thankyou:"Thank you",submit:"Submit",form:{error:{required:"You did not properly fill all required fields",sending:"There was a problem sending your response. Please try again later",email:"Your email address is not val
2id",bookedoutmany:"Booked out - try with less attendees"},success:{title:"Sent successfully!",sent:"Your reply has been sent. Thank you!",email:"You should have received a confirmation email.",doi:"To make it count, you now need to open the confirmation link in the email we just sent you (within the next 30 minutes).",demo:"Thank you. The RSVP demo ends here.",already:"You already replied."},status:{title:"Are you joining?",confirmed:"Yes",undecided:"Maybe",declined:"No"},amount:"Number of attendees",max:"max.",email:"Email address",seatsleft:"Open slots"}}))},Rt=function(){try{if({}.url){var e=String({}.url);if(0!==e.indexOf("data:")&&e.lastIndexOf("/")>-1)return Tt(e)}}catch(e){}try{if("undefined"!=typeof document&&document.currentScript&&document.currentScript.src)return Tt(document.currentScript.src)}catch(e){}return""}(),Mt=new Map;function It(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={},r=0,a=Object.entries(e);r<a.length;r++){var i=Z(a[r],2),o=i[0],c=i[1];"string"==typeof c?n[t+o]=c:Object.assign(n,It(c,t+o+"."))}return n}function Nt(e,t){Ot["".concat(e)]=$e($e({},Dt),It(t))}function Ut(e){if(e.styleSource&&""!==e.styleSource){var t=String(e.styleSource);return(t.endsWith("/")?t:t+"/").replace(/styles\/$/,"locales/")}return""===Rt?"":Rt+"../locales/"}function zt(e){return Bt.apply(this,arguments)}function Bt(){return(Bt=F(S().mark(function e(t){var n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.language||"en",!Ot["".concat(n)]&&Ct.includes(n)){e.next=3;break}return e.abrupt("return");case 3:return Mt.has(n)||Mt.set(n,F(S().mark(function e(){var r,a,i;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==(r=Ut(t))){e.next=4;break}return t.debug&&console.warn('Add to Calendar Button: language "'+n+'" is not registered and no locale source could be resolved - import the locale module or set the style-source attribute'),e.abrupt("return",!1);case 4:return e.prev=4,e.next=7,fetch(r+n+".json");case 7:if((a=e.sent).ok){e.next=10;break}throw new Error("status "+a.status);case 10:return e.next=12,a.json();case 12:return i=e.sent,Nt(n,i),e.abrupt("return",!0);case 17:return e.prev=17,e.t0=e.catch(4),t.debug&&console.error('Add to Calendar Button: loading language "'+n+'" from "'+r+'" failed',e.t0),e.abrupt("return",!1);case 21:return e.prev=21,Mt.delete(n),e.finish(21);case 24:case"end":return e.stop()}},e,null,[[4,17,21,24]])}))()),e.next=6,Mt.get(n);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Pt(e,t){t||(t="en");var n=Ot["".concat(t)];return n&&n["".concat(e)]?n["".concat(e)]:t.length>2?Pt(e,t.substring(0,2)):"en"!==t?Pt(e,"en"):e}function $t(e,t){return t.customLabels&&t.customLabels["".concat(e)]&&""!==t.customLabels["".concat(e)]?ct(t.customLabels["".concat(e)]):Pt(e,t.translationLocale||t.language)}function Yt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=!1,o=t;null!==t.querySelector(".atcb-dropdown-anchor")&&(t=t.querySelector(".atcb-dropdown-anchor"),i=!0),n.style.position="relative",n.style.display="inline-block";var c=t.getBoundingClientRect(),s=o.getBoundingClientRect(),l=o.parentNode.getBoundingClientRect(),d=document.documentElement.clientHeight;if(!0!==i||n.classList.contains("atcb-dropoverlay")){n.style.minWidth=s.width+20+"px";var u=n.getBoundingClientRect();n.style.width=u.width+"px";var p=Math.round((s.width-u.width)/2);n.style.margin=-Math.round((u.height+s.height)/2)+"px "+p+"px 0 "+p+"px"}else{var b=n.getBoundingClientRect();n.style.width=b.width+"px",n.classList.contains("atcb-dropup")||!r&&c.top+b.height>d-20&&2*s.top+s.height-c.top-b.height>20||a?(o.classList.add("atcb-dropup"),n.classList.add("atcb-dropup"),n.style.bottom=l.bottom-s.bottom+(c.top-s.top)+"px"):(n.style.top=s.top-l.top+(c.top-s.top)+"px",o.classList.contains("atcb-dropup")&&o.classList.remove("atcb-dropup")),c=t.getBoundingClientRect(),n.classList.contains("atcb-style-simple")||n.classList.contains("atcb-style-round")||n.classList.contains("atcb-style-text")||n.classList.contains("atcb-style-neumorphism")||(n.style.minWidth=c.width+"px",n.classList.contains("atcb-dropdown")&&(n.style.maxWidth=c.width+"px")),b=n.getBoundingClientRect(),n.style.left=Math.round(c.left-l.left-(b.width-c.width)/2)+"px"}n.style.position="absolute",n.style.display="block";var f=e.querySelector("#atcb-reference");f&&o.classList.contains("atcb-dropup")&&(o.parentNode.after(f),f.classList.add("atcb-dropup"))}function Ht(e,t){var n=e.querySelector(".atcb-initialized ").getBoundingClientRect(),r=t.querySelector(".atcb-initialized"),a=n.width;n.width<250&&(a=250),r.style.width=a+"px",r.style.height=n.height+"px",r.style.top=n.top+"px",r.style.left=n.left+"px"}function jt(){var e=Ce();null!==e&&""!==e&&Ht(document.querySelector("add-to-calendar-button[atcb-button-id="+e+"]").shadowRoot,document.querySelector("div[atcb-button-id="+e+"]").shadowRoot)}function qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;null!=function(){if(null!=t)return t;var n=e.querySelectorAll(".atcb-modal");return 0===n.length?null:n[n.length-1]}()&&(document.body.classList.add("atcb-modal-no-scroll"),document.documentElement.classList.add("atcb-modal-no-scroll"))}function Ft(e,t){e.style.setProperty("--base-font-size-l",t.l+"px"),e.style.setProperty("--base-font-size-m",t.m+"px"),e.style.setProperty("--base-font-size-s",t.s+"px")}function Vt(e,t,n){var r=document.getElementById(n)||document.querySelector('[atcb-button-id="'+n+'"]');r&&r.setAttribute("atcb-last-event",e+":"+t),X()&&function(e,t){var n="";switch(e){case"initialization":n="Initialized";break;case"openList":case"openCalendarLink":case"openSingletonLink":case"openSubEventLink":case"openRSVP":n="Opened";break;case"closeList":n="Closed";break;case"success":case"successRSVP":n="Saved"}var r="openRSVP"===e||"successRSVP"===e?"Add-to-Calendar-RSVP":"Add-to-Calendar-Button";(window.dataLayer=window.dataLayer||[]).push({eventCategory:r,eventAction:n,eventLabel:t,event:e})}(e,t)}function Zt(e,t){Vt("success",t.identifier,t.identifier),t.ty&&setTimeout(function(){tc(e,t)},1e3)}function Wt(e,t){try{var n=document.createElementNS("http://www.w3.org/1999/xhtml","a");n.rel="noopener",n.href=e,re()?n.target="_self":n.target="_blank",n.download=t+".ics";var r=new MouseEvent("click",{view:window,button:0,bubbles:!0,cancelable:!1});n.dispatchEvent(r),(window.URL||window.webkitURL).revokeObjectURL(n.href)}catch(e){console.error(e)}}function Gt(e){return!!/^.{0,70}@.{1,30}\.[a-z]{2,9}$/i.test(e)}function Kt(e){return Jt.apply(this,arguments)}function Jt(){return Jt=F(S().mark(function e(t){var n,r,a,i,o;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(null!=t?t:"").toString().trim()){e.next=3;break}throw new Error("No value to copy!");case 3:if(r=function(){if("undefined"==typeof window||"undefined"==typeof document)return!1;if(!document.queryCommandSupported||!document.queryCommandSupported("copy"))return!1;var e=document.createElement("textarea"),t=document.activeElement;e.value=n,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="fixed",e.style.top="-9999px",e.style.left="-9999px",e.style.opacity="0",e.
2style.outline="none",e.style.pointerEvents="none",e.style.fontSize="12pt",document.body.appendChild(e);try{e.focus(),e.select(),ee()&&(e.selectionStart=0,e.selectionEnd=n.length);var r=document.execCommand("copy");return document.body.removeChild(e),t&&"function"==typeof t.focus&&t.focus(),r}catch(n){return document.body.removeChild(e),t&&"function"==typeof t.focus&&t.focus(),!1}},!function(){try{return!("undefined"==typeof window||!("isSecureContext"in window)||!window.isSecureContext)||(!("undefined"==typeof window||!window.location||"https:"!==window.location.protocol)||!("undefined"==typeof window||!window.location||"localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname))}catch(e){return!1}}()||"undefined"==typeof navigator||!navigator.clipboard){e.next=26;break}if(e.prev=5,"function"!=typeof navigator.clipboard.writeText){e.next=10;break}return e.next=9,navigator.clipboard.writeText(n);case 9:return e.abrupt("return","Copied!");case 10:e.next=14;break;case 12:e.prev=12,e.t0=e.catch(5);case 14:if(e.prev=14,"undefined"==typeof window||void 0===window.ClipboardItem||"function"!=typeof navigator.clipboard.write){e.next=22;break}return a="text/plain",i=new Blob([n],{type:a}),o=[new ClipboardItem(w({},a,i))],e.next=21,navigator.clipboard.write(o);case 21:return e.abrupt("return","Copied!");case 22:e.next=26;break;case 24:e.prev=24,e.t1=e.catch(14);case 26:if(!r()){e.next=28;break}return e.abrupt("return","Copied!");case 28:throw new Error("Clipboard copy not supported in this environment");case 29:case"end":return e.stop()}},e,null,[[5,12],[14,24]])})),Jt.apply(this,arguments)}function Qt(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];clearTimeout(t),t=setTimeout(function(){e.apply(n,i)},r)}}function Xt(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];t||e.apply(n,i),clearTimeout(t),t=setTimeout(function(){t=void 0},r)}}function en(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];Ee()||("open"==t?tn(e,n,r,a,i):"close"==t||r.classList.contains("atcb-active")||e.querySelector(".atcb-active-modal")?rn(e,a):tn(e,n,r,a,i))}function tn(e,t){return nn.apply(this,arguments)}function nn(){return nn=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d,u,p=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=p.length>2&&void 0!==p[2]?p[2]:null,a=p.length>3&&void 0!==p[3]&&p[3],i=p.length>4&&void 0!==p[4]&&p[4],!t.querySelector(".atcb-list")&&!t.querySelector(".atcb-modal")){e.next=5;break}return e.abrupt("return");case 5:if(Vt("openList",n.identifier,n.identifier),Le(n.identifier),o=Ho(t,n),(c=document.createElement("div")).classList.add("atcb-list-wrapper"),c.setAttribute("part","atcb-list-wrapper"),n.hideTextLabelList&&c.classList.add("atcb-no-text"),r?(r.classList.add("atcb-active"),r.setAttribute("aria-expanded","true"),"modal"===n.listStyle?(r.classList.add("atcb-modal-style"),o.classList.add("atcb-modal")):(c.append(o),c.classList.add("atcb-dropdown"),"overlay"===n.listStyle&&c.classList.add("atcb-dropoverlay")),i&&o.classList.add("atcb-generated-button")):o.classList.add("atcb-modal"),s=function(){var e=o.querySelector('[role="menuitem"][data-option-number="1"]');e&&(a?e.focus():(e.focus({preventScroll:!0}),e.blur()))},l=jo(t,n.trigger,"modal"===n.listStyle,!n.hideBackground),"modal"!==n.listStyle){e.next=31;break}return(d=o.querySelector(".atcb-list-modal-headline"))&&(d.id=n.identifier+"-list-headline",l.setAttribute("aria-labelledby",d.id)),l.setAttribute("aria-modal","true"),e.next=21,Wo(t,n);case 21:(u=e.sent).querySelector(".atcb-modal-host-initialized").append(l),l.showModal(),l.append(o),n.hideBranding||Fo(u,l),Ft(o,n.sizes),qt(u),s(),e.next=44;break;case 31:if(!n.forceOverlay){e.next=36;break}return e.next=34,Ko(t,n);case 34:t=e.sent,r=t.querySelector(".atcb-button");case 36:t.querySelector(".atcb-initialized").append(c),c.append(o),"default"!=n.buttonStyle&&c.classList.add("atcb-style-"+n.buttonStyle),n.hideBranding||qo(t),t.append(l),Ft(o,n.sizes),c.style.display="none",setTimeout(function(){c.style.display="block","dropdown-static"===n.listStyle?Yt(t,r,c,!0):"dropup-static"===n.listStyle?Yt(t,r,c,!1,!0):Yt(t,r,c),s()},5);case 44:case"end":return e.stop()}},e)})),nn.apply(this,arguments)}function rn(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.getElementById(e.host.getAttribute("atcb-button-id")+"-modal-host"),r=n&&0!==n.length?n.shadowRoot.querySelectorAll(".atcb-modal[data-modal-nr]"):[];if(r.length>1){n.shadowRoot.querySelectorAll('.atcb-modal[data-modal-nr="'+r.length+'"]')[0].remove();var a=n.shadowRoot.querySelectorAll('.atcb-modal[data-modal-nr="'+(r.length-1)+'"]')[0];a.classList.remove("atcb-hidden");var i=a,o=a.getElementsByTagName("button");o.length>0&&(i=o[0]),i.focus(),t||i.blur()}else{var c=e.querySelector(".atcb-active, .atcb-active-modal")||document.querySelector(".atcb-active, .atcb-active-modal");
2Array.from(e.querySelectorAll(".atcb-active")).forEach(function(e){e.classList.remove("atcb-active"),e.setAttribute("aria-expanded","false")}),Array.from(e.querySelectorAll(".atcb-active-modal")).forEach(function(e){e.classList.remove("atcb-active-modal")}),Array.from(document.querySelectorAll(".atcb-active")).forEach(function(e){e.classList.remove("atcb-active"),e.setAttribute("aria-expanded","false")}),Array.from(document.querySelectorAll(".atcb-active-modal")).forEach(function(e){e.classList.remove("atcb-active-modal")}),n&&n.remove(),document.body.classList.remove("atcb-modal-no-scroll"),document.documentElement.classList.remove("atcb-modal-no-scroll"),Array.from(e.querySelectorAll(".atcb-list-wrapper")).concat(Array.from(e.querySelectorAll(".atcb-list"))).concat(Array.from(e.querySelectorAll("#atcb-reference"))).concat(Array.from(e.querySelectorAll("#atcb-bgoverlay"))).forEach(function(e){return e.remove()});var s=document.querySelector(".atcb-shadow-hide");s&&(s.shadowRoot.querySelector(".atcb-initialized").style.opacity="1",s.classList.remove("atcb-shadow-hide"),window.removeEventListener("scroll",jt),window.removeEventListener("resize",jt)),c&&(c.focus({preventScroll:!0}),t||c.blur()),Le("")}}function an(e){return e?(Array.isArray(e)?e:[String(e)]).flatMap(function(e){return String(e).split(",")}).map(function(e){return e.trim()}).filter(function(e){return""!==e}):[]}function on(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";if(""===o&&(o=oe),e.proxy&&e.proKey&&""!==e.proKey){var c=a?"s":"o",s=(n=[],e.dates[0].attendee&&""!==e.dates[0].attendee&&n.push("attendee="+encodeURIComponent(e.dates[0].attendee)),e.customVar&&"object"===V(e.customVar)&&Object.keys(e.customVar).length>0&&n.push("customvar="+encodeURIComponent(JSON.stringify(e.customVar))),e.dates&&e.dates.length>1&&null!==i&&"all"!==i&&n.push("sub-event="+i),n.length>0?"?"+n.join("&"):"");if(!dt(r="https://".concat(e.domain?e.domain:e.dev?"dev.caldn.net":"caldn.net","/").concat(e.proKey,"/").concat(c,"/").concat(t).concat(s)))return}if(dt(r)){if(Ee())return void Se(r);var l=window.open(r,o);l&&l.focus()}}function cn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3]?"s":"o",a=[];e.dates[0].attendee&&""!==e.dates[0].attendee&&a.push("attendee="+encodeURIComponent(e.dates[0].attendee)),e.customVar&&"object"===V(e.customVar)&&Object.keys(e.customVar).length>0&&a.push("customvar="+encodeURIComponent(JSON.stringify(e.customVar))),e.dates&&e.dates.length>1&&null!==n&&"all"!==n&&a.push("sub-event="+n);var i=a.length>0?"?"+a.join("&"):"",o="https://".concat(e.domain?e.domain:e.dev?"dev.caldn.net":"caldn.net","/").concat(e.proKey,"/").concat(r,"/").concat(t).concat(i);return dt(o)?o:""}function sn(e,t,n){var r=e&&e.host&&e.host.getAttribute("attendee")||"",a=e&&e.host&&(e.host.getAttribute("customVar")||e.host.getAttribute("custom-var"))||"";if(t.attendee&&""!==t.attendee&&""!==r||t.customVar&&""!==t.customVar&&""!==a)return"";var i="all"===n?void 0:t.dates.find(function(e,t){return t===n});return(null==i?void 0:i.icsFile)?i.icsFile:t.icsFile||""}
2function ln(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];!ee()||ne()?on(e,n,t,!0):hn(r,t,e,a)}function dn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"all",a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];"all"!==r&&(r=parseInt(r));var o=function(e,t){var n="all"!=t&&0!=t?"-"+parseInt(t)+1:"";if(null!=e.iCalFileName&&""!=e.iCalFileName)return e.iCalFileName+n;if(null!=e.icsFile&&""!=e.icsFile){var r=e.icsFile.split("/").pop().split(".")[0];if(""!=r)return r+n}return"event"+n}(t,r),c=sn(e,t,r);if(t.proxy)return i?{kind:"proxy",href:cn(t,n,r),filename:o,target:oe}:void on(t,n,"",!1,r);if(""!==c&&(!ee()&&!t.fakeIOS||!ae()||t.bypassWebViewCheck))return i?{kind:"static",href:c,filename:o,target:un()}:Ee()?void Se(c):void Wt(c,o);var s=new Date,l=["BEGIN:VCALENDAR","VERSION:2.0"],d=Q.replace(/-next.*$/i,"");l.push("PRODID:-// calendarverse.org // v"+d+" //EN"),l.push("CALSCALE:GREGORIAN"),"all"===r?t.dates[0].organizer&&""!==t.dates[0].organizer?l.push("METHOD:REQUEST"):l.push("METHOD:PUBLISH"):t.dates["".concat(r)].status&&"cancelled"===t.dates["".concat(r)].status?l.push("METHOD:CANCEL"):t.dates["".concat(r)].organizer&&""!==t.dates["".concat(r)].organizer?l.push("METHOD:REQUEST"):l.push("METHOD:PUBLISH");for(var u=[],p="all"!=r?r:0,b="all"!=r?r:t.dates.length-1,f=function(e){var n=Ye(t.dates["".concat(e)],"clean","ical"),r=function(){if(n.allday)return";VALUE=DATE";if(t.dates["".concat(e)].timeZone&&""!==t.dates["".concat(e)].timeZone){var r=ce.test(t.dates["".concat(e)].timeZone)?"GMT":t.dates["".concat(e)].timeZone,a=(0,J.tzlib_get_ical_block)(r);return u.includes(r)||l.push(a[0]),u.push(r),";"+a[1]}}();if(l.push("BEGIN:VEVENT"),t.dates["".concat(e)].uid&&""!==t.dates["".concat(e)].uid&&l.push("UID:"+t.dates["".concat(e)].uid),l.push("DTSTAMP:"+He(s,"clean",!0)),l.push("DTSTART"+r+":"+n.start),l.push("DTEND"+r+":"+n.end),l.push("SUMMARY:"+bt(t.dates["".concat(e)].name)),t.dates["".concat(e)].descriptionHtmlFreeICal&&""!==t.dates["".concat(e)].descriptionHtmlFreeICal&&l.push("DESCRIPTION:"+bt(t.dates["".concat(e)].descriptionHtmlFreeICal)),t.dates["".concat(e)].description&&""!==t.dates["".concat(e)].description&&l.push('X-ALT-DESC;FMTTYPE=text/html:\r\n <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">\r\n <HTML><BODY>\r\n '+bt(t.dates["".concat(e)].description)+"\r\n </BODY></HTML>"),t.dates["".concat(e)].location&&""!==t.dates["".concat(e)].location&&l.push("LOCATION:"+bt(t.dates["".concat(e)].location)),t.dates["".concat(e)].organizer&&""!==t.dates["".concat(e)].organizer){var a=t.dates["".concat(e)].organizer.split("|");l.push("ORGANIZER;CN="+bt(a[0],!0)+":MAILTO:"+a[1])}if(t.dates["".concat(e)].attendee&&""!==t.dates["".concat(e)].attendee){var i=t.dates["".concat(e)].attendee.split("|");2===i.length?l.push("ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN="+bt(i[0],!0)+";X-NUM-GUESTS=0:mailto:"+i[1]):l.push("ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN="+i[0]+";X-NUM-GUESTS=0:mailto:"+i[0])}if(t.recurrence&&""!==t.recurrence&&l.push(t.recurrence),t.dates["".concat(e)].availability&&""!==t.dates["".concat(e)].availability){var o="free"==t.dates["".concat(e)].availability?"TRANSPARENT":"OPAQUE";l.push("TRANSP:"+o)}
2l.push("SEQUENCE:"+t.dates["".concat(e)].sequence),l.push("STATUS:"+String(t.dates["".concat(e)].status).toUpperCase()),l.push("CREATED:"+t.dates["".concat(e)].icsCreated),l.push("LAST-MODIFIED:"+t.dates["".concat(e)].icsUpdated);var c=t.dates["".concat(e)];c.icsUrl&&""!==c.icsUrl&&l.push("URL:"+c.icsUrl);var d=an(c.icsCategories);if(d.length>0&&l.push("CATEGORIES:"+d.map(function(e){return bt(e)}).join(",")),c.icsClass&&""!==String(c.icsClass)&&l.push("CLASS:"+String(c.icsClass).toUpperCase()),void 0!==c.icsPriority&&""!==String(c.icsPriority)&&l.push("PRIORITY:"+parseInt(String(c.icsPriority),10)),c.icsGeo&&""!==String(c.icsGeo)){var p=Z(String(c.icsGeo).split(","),2),b=p[0],f=p[1],h=parseFloat(b.trim()),v=parseFloat(f.trim());l.push("GEO:"+h+";"+v),c.location&&""!==c.location&&l.push("X-APPLE-STRUCTURED-LOCATION;VALUE=URI;X-APPLE-RADIUS=100;X-TITLE="+bt(c.location,!0)+":geo:"+h+","+v)}var m,g=W(an(c.icsAttach));try{for(g.s();!(m=g.n()).done;){var y=m.value;l.push("ATTACH:"+y)}}catch(e){g.e(e)}finally{g.f()}if(0===e&&t.recurrence&&""!==t.recurrence){var w=an(t.icsExdate);if(w.length>0){var x=w.map(function(e){var t=e.replace(/-/g,"");return n.allday?t:t+"T"+(c.startTime?c.startTime.replace(":",""):"0000")+"00"});l.push("EXDATE"+(r||"")+":"+x.join(","))}}if(void 0!==c.icsReminder&&""!==String(c.icsReminder)){var k=/^\d+$/.test(String(c.icsReminder))?"-PT"+parseInt(String(c.icsReminder),10)+"M":String(c.icsReminder).toUpperCase();l.push("BEGIN:VALARM"),l.push("ACTION:DISPLAY"),l.push("DESCRIPTION:"+bt(c.name||"Reminder")),l.push("TRIGGER:"+k),l.push("END:VALARM")}l.push("END:VEVENT")},h=p;h<=b;h++)f(h);l.push("END:VCALENDAR");var v=""!==c?"":function(e){var t,n=[],r=W(e.split("\r\n"));try{for(r.s();!(t=r.n()).done;){var a=t.value;if(!a||a.length<=65)n.push(a);else{for(var i="",o=0,c=[];o<a.length;){var s=a.charAt(o),l=s.charCodeAt(0)>=55296&&s.charCodeAt(0)<=56319,d=o>0&&"\\"===a.charAt(o-1);(i+s).length>65&&!l&&!d&&(c.push(i),i=""),i+=s,o++,l&&o<a.length&&(i+=a.charAt(o),o++)}i.length>0&&c.push(i),n.push(c[0]);for(var u=1;u<c.length;u++)n.push(" "+c["".concat(u)])}}}catch(e){r.e(e)}finally{r.f()}return n.join("\r\n")}(l.join("\r\n")),m=""!==c?c:"data:text/calendar;charset=utf-8,"+encodeURIComponent(v),g={kind:""!==c?"static":"dynamic",href:m,filename:o,target:un(),content:""!==c?void 0:v},y=ee()&&!ne()||ae()&&(ee()||te()&&ie());if(i)return y?$e($e({},g),{},{kind:"assistance"}):g;Ee()?Se(""!==c?c:v):y?hn(e,m,t,a):Wt(m,o)}function un(){return ee()||te()?"_self":"_blank"}function pn(e,t){return bn.apply(this,arguments)}function bn(){return(bn=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Kt(t);case 3:return e.abrupt("return",$t("modal.clipboard.text",n));case 6:return e.prev=6,e.t0=e.catch(0),console.warn(e.t0),e.abrupt("return",$t("modal.clipboard.failed",n)+'<br><input type="text" class="atcb-modal-clipboard-input" readonly value="'+ot(t)+'" aria-label="'+ot($t("label.share.copy",n))+'" />');case 10:case"end":return e.stop()}},e,null,[[0,6]])}))).apply(this,arguments)}function fn(e){var t=document.getElementById(e.identifier+"-modal-host"),n=t&&t.shadowRoot?t.shadowRoot.querySelector(".atcb-modal-clipboard-input"):null;n&&n.addEventListener("focus",function(){return n.select()})}function hn(e,t,n,r){return vn.apply(this,arguments)}function vn(){return(vn=F(S().mark(function e(t,n,r,a){var i;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pn(n,r);case 2:if(i=e.sent,!ee()||ne()){e.next=8;break}return e.next=6,Vo(t,r,"warning",$t("modal.opensafari.ical.h",r),$t("modal.opensafari.ical.text",r)+"<br>"+i+"<br>"+$t("modal.opensafari.ical.steps",r),[],[],a);case 6:return fn(r),e.abrupt("return");case 8:return e.next=10,Vo(t,r,"warning",$t("modal.webview.ical.h",r),$t("modal.webview.ical.text",r)+"<br>"+i+"<br>"+$t("modal.webview.ical.steps",r),[],[],a);case 10:fn(r);case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}function mn(e,t){var n="https://calendar.google.com/calendar/u/0/r?cid=",r=!1,a=/^(?:webcal:\/\/|\/\/)calendar\.google\.com\/.*\?cid=/.test(t)?(r=!0,t.replace(/^(.)*\?cid=/,"")):encodeURIComponent(t);(te()||e.fakeAndroid)&&r?ae()?on(e,"google",n+a,!0):on(e,"google","intent://calendar.google.com/calendar?cid="+a+"#Intent;scheme=https;package=com.google.android.calendar;S.browser_fallback_url="+encodeURIComponent(n+a)+";end",!0):on(e,"google",n+a,!0)}function gn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",r=[];re()||e.fakeMobile?r.push("https://calendar.google.com/calendar/render?action=TEMPLATE&"):r.push("https://calendar.google.com/calendar/r/eventedit?");var a=Ye(t,"clean","google");if(r.push("dates="+encodeURIComponent(a.start)+"%2F"+encodeURIComponent(a.end)),!t.timeZone||""===t.timeZone||ce.test(t.timeZone)||a.allday||r.push("ctz="+t.timeZone),t.name&&""!==t.name&&r.push("text="+encodeURIComponent(t.name)),t.location&&""!==t.location&&r.push("location="+encodeURIComponent(t.location)),t.description&&""!==t.description&&r.push("details="+encodeURIComponent(t.description)),t.recurrence&&""!==t.recurrence&&r.push("recur="+encodeURIComponent(t.recurrence)),t.availability&&""!==t.availability){var i="free"==t.availability?"crm=AVAILABLE&trp=false":"crm=BUSY&trp=true";r.push(i)}
2var o=r.join("&");if((te()||e.fakeAndroid)&&!ae()){var c=encodeURIComponent(o);o="intent://"+o.slice(8)+"#Intent;scheme=https;package=com.google.android.calendar;S.browser_fallback_url="+c+";end"}on(e,"google",o,!1,n)}function yn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",r=[],a=Ye(t,"delimiters","msteams",!0);!a.allday||re()||e.fakeMobile?(r.push("startTime="+encodeURIComponent(a.start)),r.push("endTime="+encodeURIComponent(a.end))):(r.push("startTime="+a.start),r.push("endTime="+a.end)),t.name&&""!==t.name&&r.push("subject="+encodeURIComponent(t.name));var i="";t.location&&""!==t.location&&(i=t.location,i+=" // ",r.push("location="+encodeURIComponent(i))),t.descriptionHtmlFree&&""!=t.descriptionHtmlFree&&r.push("content="+encodeURIComponent(i+t.descriptionHtmlFree)),on(e,"msteams","https://teams.microsoft.com/l/meeting/new?"+r.join("&"),!1,n)}function wn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ms365",a=[],i="outlookcom"==r?"https://outlook.live.com/calendar/0/addfromweb/?":"https://outlook.office.com/calendar/0/addfromweb/?";a.push("url="+encodeURIComponent(t)),a.push("name="+encodeURIComponent(n)),on(e,r,i+a.join("&"),!0)}function xn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ms365",a=[],i="/calendar/0/deeplink/compose?path=%2Fcalendar%2Faction%2Fcompose&rru=addevent",o="outlookcom"==r?"https://outlook.live.com"+i:"https://outlook.office.com"+i;a.push(o);var c=Ye(t,"delimiters","microsoft");a.push("startdt="+c.start),a.push("enddt="+c.end),c.allday&&a.push("allday=true"),t.name&&""!==t.name&&a.push("subject="+encodeURIComponent(t.name)),t.location&&""!==t.location&&a.push("location="+encodeURIComponent(t.location)),t.description&&""!==t.description&&a.push("body="+encodeURIComponent(t.description)),on(e,r,a.join("&"),!1,n)}function kn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",r=[];r.push("https://calendar.yahoo.com/?v=60");var a=Ye(t,"clean");if(a.allday)if(a.start===a.end)r.push("dur=allday&st="+encodeURIComponent(a.start));else{var i=JSON.parse(JSON.stringify(t));i.startTime="00:00",i.endTime="23:59",i.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone;var o=Ye(i,"clean");r.push("st="+encodeURIComponent(o.start)+"&et="+encodeURIComponent(o.end))}else r.push("st="+encodeURIComponent(a.start)+"&et="+encodeURIComponent(a.end));t.name&&""!==t.name&&r.push("title="+encodeURIComponent(t.name)),t.location&&""!==t.location&&r.push("in_loc="+encodeURIComponent(t.location)),t.descriptionHtmlFree&&""!==t.descriptionHtmlFree&&r.push("desc="+encodeURIComponent(t.descriptionHtmlFree)),on(e,"yahoo",r.join("&"),!1,n)}function En(e,t,n){return Sn.apply(this,arguments)}function Sn(){return Sn=F(S().mark(function e(t,n,r){var a,i,o,c,s,l,d=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=d.length>4&&void 0!==d[4]&&d[4],o=d.length>5&&void 0!==d[5]&&d[5],c=n,"apple"===n&&(c="ical"),"all"!==(a=d.length>3&&void 0!==d[3]?d[3]:"all")?a=parseInt(a)-1:1==r.dates.length&&(a=0),!r.subscribe){e.next=11;break}
2return e.next=10,_n(t,n,c,r,i);case 10:return e.abrupt("return");case 11:if("all"===a){e.next=38;break}if("cancelled"!==r.dates["".concat(a)].status||"ical"===c){e.next=16;break}Vo(t,r,"warning",$t("date.status.cancelled",r),$t("date.status.cancelled_cta",r),[],[],i),e.next=37;break;case 16:e.t0=c,e.next="ical"===e.t0?20:"google"===e.t0?22:"msteams"===e.t0?24:"ms365"===e.t0?26:"outlookcom"===e.t0?28:"yahoo"===e.t0?30:31;break;case 20:return dn(t,r,n,a,i),e.abrupt("break",31);case 22:return gn(r,r.dates["".concat(a)],a),e.abrupt("break",31);case 24:return yn(r,r.dates["".concat(a)],a),e.abrupt("break",31);case 26:return xn(r,r.dates["".concat(a)],a),e.abrupt("break",31);case 28:return xn(r,r.dates["".concat(a)],a,"outlookcom"),e.abrupt("break",31);case 30:kn(r,r.dates["".concat(a)],a);case 31:if(!Ee()){e.next=33;break}return e.abrupt("return");case 33:(s=document.getElementById(r.identifier+"-modal-host"))&&(l=s.shadowRoot.getElementById(r.identifier+"-"+n+"-"+(a+1)))&&l.classList.add("atcb-saved"),"cancelled"!==r.dates["".concat(a)].status&&Oe(r.identifier)["".concat(n)][a]++,0==Oe(r.identifier)["".concat(n)].filter(function(e){return e<1}).length&&Ln(t,r,o);case 37:return e.abrupt("return");case 38:An(t,n,c,r,i,o);case 39:case"end":return e.stop()}},e)})),Sn.apply(this,arguments)}function An(e,t,n,r,a,i){if("ical"!==n||r.dates.some(function(e){return"cancelled"===e.status})||!r.dates.every(function(e){return(e.organizer||"")===(r.dates[0].organizer||"")})){if(!i){for(var o=[t],c=0;c<r.dates.length;c++)o.push(c+1);Vo(e,r,t,$t("modal.multidate.h",r),$t("modal.multidate.text",r),[],o,a)}}else{dn(e,r,t,"all",a);for(var s=0;s<Oe(r.identifier)["".concat(t)].length;s++)Oe(r.identifier)["".concat(t)]["".concat(s)]++;Ln(e,r,i)}}function _n(e,t,n,r,a){return Tn.apply(this,arguments)}function Tn(){return(Tn=F(S().mark(function e(t,n,r,a,i){var o;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:o=a.icsFile.replace(/^https:\/\//,"webcal://"),e.t0=r,e.next="ical"===e.t0?4:"google"===e.t0?9:"ms365"===e.t0?11:"outlookcom"===e.t0?13:14;break;case 4:if(!te()&&!a.fakeAndroid){e.next=7;break}return ln(a,a.icsFile,n),e.abrupt("break",14);case 7:return ln(a,o,n,t,i),e.abrupt("break",14);case 9:return mn(a,o),e.abrupt("break",14);case 11:return wn(a,o,a.name),e.abrupt("break",14);case 13:wn(a,o,a.name,"outlookcom");case 14:Ln(t,a);case 15:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!Ee()){var r=e.getElementById(t.identifier);r&&r.classList.add("atcb-saved"),Zt(e,t),n&&e.querySelectorAll(".atcb-modal[data-modal-nr]").length<2&&en(e,"close")}}var Cn,Dn,On,Rn,Mn,In,Nn,Un,zn,Bn,Pn,$n,Yn=function(){return H(function e(t){$(this,e),this.ariaActiveDescendantElement=null,this.ariaAtomic="",this.ariaAutoComplete="",this.ariaBrailleLabel="",this.ariaBrailleRoleDescription="",this.ariaBusy="",this.ariaChecked="",this.ariaColCount="",this.ariaColIndex="",this.ariaColIndexText="",this.ariaColSpan="",this.ariaControlsElements=null,this.ariaCurrent="",this.ariaDescribedByElements=null,this.ariaDescription="",this.ariaDetailsElements=null,this.ariaDisabled="",this.ariaErrorMessageElements=null,this.ariaExpanded="",this.ariaFlowToElements=null,this.ariaHasPopup="",this.ariaHidden="",this.ariaInvalid="",this.ariaKeyShortcuts="",this.ariaLabel="",this.ariaLabelledByElements=null,this.ariaLevel="",this.ariaLive="",this.ariaModal="",this.ariaMultiLine="",this.ariaMultiSelectable="",this.ariaOrientation="",this.ariaOwnsElements=null,this.ariaPlaceholder="",this.ariaPosInSet="",this.ariaPressed="",this.ariaReadOnly="",this.ariaRelevant="",this.ariaRequired="",this.ariaRoleDescription="",this.ariaRowCount="",this.ariaRowIndex="",this.ariaRowIndexText="",this.ariaRowSpan="",this.ariaSelected="",this.ariaSetSize="",this.ariaSort="",this.ariaValueMax="",this.ariaValueMin="",this.ariaValueNow="",this.ariaValueText="",this.role="",this.form=null,this.labels=[],this.states=new Set,this.validationMessage="",this.validity={},this.willValidate=!0,this.__host=t},[{key:"shadowRoot",get:function(){return this.__host.__shadowRoot}},{key:"checkValidity",value:function(){return console.warn("`ElementInternals.checkValidity()` was called on the server.This method always returns true."),!0}},{key:"reportValidity",value:function(){return!0}},{key:"setFormValue",value:function(){}},{key:"setValidity",value:function(){}}])}(),Hn=function(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n},jn=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},qn={__proto__:null,enumerable:!0};Object.freeze(qn);var Fn=(Bn=function(){return H(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
2if($(this,e),Cn.set(this,!1),Dn.set(this,!1),On.set(this,!1),Rn.set(this,!1),Mn.set(this,Date.now()),In.set(this,!1),Nn.set(this,void 0),Un.set(this,void 0),zn.set(this,void 0),this.NONE=0,this.CAPTURING_PHASE=1,this.AT_TARGET=2,this.BUBBLING_PHASE=3,0===arguments.length)throw new Error("The type argument must be specified");if("object"!==V(n)||!n)throw new Error('The "options" argument must be an object');var r=n.bubbles,a=n.cancelable,i=n.composed;Hn(this,Cn,!!a,"f"),Hn(this,Dn,!!r,"f"),Hn(this,On,!!i,"f"),Hn(this,Nn,"".concat(t),"f"),Hn(this,Un,null,"f"),Hn(this,zn,!1,"f")},[{key:"initEvent",value:function(e,t,n){throw new Error("Method not implemented.")}},{key:"stopImmediatePropagation",value:function(){this.stopPropagation()}},{key:"preventDefault",value:function(){Hn(this,Rn,!0,"f")}},{key:"target",get:function(){return jn(this,Un,"f")}},{key:"currentTarget",get:function(){return jn(this,Un,"f")}},{key:"srcElement",get:function(){return jn(this,Un,"f")}},{key:"type",get:function(){return jn(this,Nn,"f")}},{key:"cancelable",get:function(){return jn(this,Cn,"f")}},{key:"defaultPrevented",get:function(){return jn(this,Cn,"f")&&jn(this,Rn,"f")}},{key:"timeStamp",get:function(){return jn(this,Mn,"f")}},{key:"composedPath",value:function(){return jn(this,zn,"f")?[jn(this,Un,"f")]:[]}},{key:"returnValue",get:function(){return!jn(this,Cn,"f")||!jn(this,Rn,"f")}},{key:"bubbles",get:function(){return jn(this,Dn,"f")}},{key:"composed",get:function(){return jn(this,On,"f")}},{key:"eventPhase",get:function(){return jn(this,zn,"f")?Bn.AT_TARGET:Bn.NONE}},{key:"cancelBubble",get:function(){return jn(this,In,"f")},set:function(e){e&&Hn(this,In,!0,"f")}},{key:"stopPropagation",value:function(){Hn(this,In,!0,"f")}},{key:"isTrusted",get:function(){return!1}}])}(),Cn=new WeakMap,Dn=new WeakMap,On=new WeakMap,Rn=new WeakMap,Mn=new WeakMap,In=new WeakMap,Nn=new WeakMap,Un=new WeakMap,zn=new WeakMap,Bn.NONE=0,Bn.CAPTURING_PHASE=1,Bn.AT_TARGET=2,Bn.BUBBLING_PHASE=3,Bn);Object.defineProperties(Fn.prototype,{initEvent:qn,stopImmediatePropagation:qn,preventDefault:qn,target:qn,currentTarget:qn,srcElement:qn,type:qn,cancelable:qn,defaultPrevented:qn,timeStamp:qn,composedPath:qn,returnValue:qn,bubbles:qn,composed:qn,eventPhase:qn,cancelBubble:qn,stopPropagation:qn,isTrusted:qn});var Vn=($n=function(e){function t(e){var n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $(this,t),n=I(this,t,[e,a]),Pn.set(n,void 0),Hn(n,Pn,null!==(r=null==a?void 0:a.detail)&&void 0!==r?r:null,"f"),n}return B(t,e),H(t,[{key:"initCustomEvent",value:function(e,t,n,r){throw new Error("Method not implemented.")}},{key:"detail",get:function(){return jn(this,Pn,"f")}}])}(Fn),Pn=new WeakMap,$n);Object.defineProperties(Vn.prototype,{detail:qn});var Zn,Wn,Gn,Kn,Jn,Qn,Xn=Fn,er=Vn,tr=function(){return H(function e(){$(this,e),this.STYLE_RULE=1,this.CHARSET_RULE=2,this.IMPORT_RULE=3,this.MEDIA_RULE=4,this.FONT_FACE_RULE=5,this.PAGE_RULE=6,this.NAMESPACE_RULE=10,this.KEYFRAMES_RULE=7,this.KEYFRAME_RULE=8,this.SUPPORTS_RULE=12,this.COUNTER_STYLE_RULE=11,this.FONT_FEATURE_VALUES_RULE=14,this.MARGIN_RULE=9,this.__parentStyleSheet=null,this.cssText=""},[{key:"parentRule",get:function(){return null}},{key:"parentStyleSheet",get:function(){return this.__parentStyleSheet}},{key:"type",get:function(){return 0}}])}();tr.STYLE_RULE=1,tr.CHARSET_RULE=2,tr.IMPORT_RULE=3,tr.MEDIA_RULE=4,tr.FONT_FACE_RULE=5,tr.PAGE_RULE=6,tr.NAMESPACE_RULE=10,tr.
2KEYFRAMES_RULE=7,tr.KEYFRAME_RULE=8,tr.SUPPORTS_RULE=12,tr.COUNTER_STYLE_RULE=11,tr.FONT_FEATURE_VALUES_RULE=14,tr.MARGIN_RULE=9,null!==(Wn=(Zn=globalThis).Event)&&void 0!==Wn||(Zn.Event=Xn),null!==(Kn=(Gn=globalThis).CustomEvent)&&void 0!==Kn||(Gn.CustomEvent=er);var nr=Symbol(),rr=function(e){var t;return"boolean"==typeof e?e:null!==(t=null==e?void 0:e.capture)&&void 0!==t&&t},ar={__proto__:null,enumerable:!0};Object.freeze(ar);var ir=function(){return H(function e(){$(this,e),this.__eventListeners=new Map,this.__captureEventListeners=new Map},[{key:"addEventListener",value:function(e,t,n){var r,a=this;if(null!=t){var i=rr(n)?this.__captureEventListeners:this.__eventListeners,o=i.get(e);if(void 0===o)o=new Map,i.set(e,o);else if(o.has(t))return;var c="object"===V(n)&&n?n:{};null===(r=c.signal)||void 0===r||r.addEventListener("abort",function(){return a.removeEventListener(e,t,n)}),o.set(t,null!=c?c:{})}}},{key:"removeEventListener",value:function(e,t,n){if(null!=t){var r=rr(n)?this.__captureEventListeners:this.__eventListeners,a=r.get(e);void 0!==a&&(a.delete(t),a.size||r.delete(e))}}},{key:"dispatchEvent",value:function(e){var t=this,n=this.__resolveFullEventPath();!e.composed&&this.__host&&(n=n.slice(0,n.indexOf(this.__host)));var r=!1,a=!1,i=Xn.NONE,o=null,c=null,s=null,l=e.stopPropagation,d=e.stopImmediatePropagation;Object.defineProperties(e,{target:$e({get:function(){var e;return null!==(e=o)&&void 0!==e?e:c}},ar),srcElement:$e({get:function(){return e.target}},ar),currentTarget:$e({get:function(){return s}},ar),eventPhase:$e({get:function(){return i}},ar),composedPath:$e({value:function(){return n}},ar),stopPropagation:$e({value:function(){r=!0,l.call(e)}},ar),stopImmediatePropagation:$e({value:function(){a=!0,d.call(e)}},ar)});var u=function(t,n,r){"function"==typeof t?t(e):"function"==typeof(null==t?void 0:t.handleEvent)&&t.handleEvent(e),n.once&&r.delete(t)},p=function(){return s=null,i=Xn.NONE,!e.defaultPrevented},b=n.slice().reverse();o=this.__host&&e.composed?null:this;var f,h=function(e){for(c=t;c.__host&&e.includes(c.__host);)c=c.__host},v=W(b);try{for(v.s();!(f=v.n()).done;){var m=f.value;o||c&&c!==m.__host||h(b.slice(b.indexOf(m))),s=m,i=m===e.target?Xn.AT_TARGET:Xn.CAPTURING_PHASE;var g=m.__captureEventListeners.get(e.type);if(g){var y,w=W(g);try{for(w.s();!(y=w.n()).done;){var x=Z(y.value,2);if(u(x[0],x[1],g),a)return p()}}catch(e){w.e(e)}finally{w.f()}}if(r)return p()}}catch(e){v.e(e)}finally{v.f()}var k=e.bubbles?n:[this];c=null;var E,S=W(k);try{for(S.s();!(E=S.n()).done;){var A=E.value;o||c&&A!==c.__host||h(k.slice(0,k.indexOf(A)+1)),s=A,i=A===e.target?Xn.AT_TARGET:Xn.BUBBLING_PHASE;var _=A.__eventListeners.get(e.type);if(_){var T,L=W(_);try{for(L.s();!(T=L.n()).done;){var C=Z(T.value,2);if(u(C[0],C[1],_),a)return p()}}catch(e){L.e(e)}finally{L.f()}}if(r)return p()}}catch(e){S.e(e)}finally{S.f()}return p()}},{key:"__resolveFullEventPath",value:function(){return this.__eventPathCache?this.__eventPathCache:this.__eventTargetParent?this.__eventPathCache=[this].concat(M(this.__eventTargetParent.__resolveFullEventPath())):this.__eventPathCache=[this,dr,_r]}}])}(),or=new WeakMap,cr=function(e){var t=or.get(e);return void 0===t&&or.set(e,t=new Map),t},sr=function(e){function t(){return $(this,t),I(this,t,arguments)}return B(t,e),H(t,[{key:"getRootNode",value:function(e){var t;if(null==e?void 0:e.composed)return ur;var n=this.__host;return null!==(t=null==n?void 0:n.__shadowRoot)&&void 0!==t?t:ur}}])}(ir),lr=function(e){function t(){return $(this,t),I(this,t,arguments)}return B(t,e),H(t,[{key:"adoptedStyleSheets",get:function(){return[]}},{key:"createTreeWalker",value:function(){return{}}},{key:"createTextNode",value:function(){return{}}},{key:"createElement",value:function(){return{}}}])}(sr),dr=new lr,ur=dr,pr=function(e){function t(e){var n;if($(this,t),n=I(this,t),e!==nr)throw new TypeError("Illegal constructor");return Object.assign(n,globalThis,{CustomElementRegistry:Sr,customElements:Ar,document:ur,Document:lr,Element:br,EventTarget:ir,HTMLElement:fr,Node:sr,ShadowRoot:vr,window:n,Window:pr}),n}return B(t,e),H(t)}(sr),br=function(e){function t(){var e;return $(this,t),(e=I(this,t,arguments)).__shadowRootMode=null,e.__shadowRoot=null,e.__internals=null,e}return B(t,e),H(t,[{key:"attributes",get:function(){return Array.from(cr
2(this)).map(function(e){var t=Z(e,2);return{name:t[0],value:t[1]}})}},{key:"shadowRoot",get:function(){return"closed"===this.__shadowRootMode?null:this.__shadowRoot}},{key:"localName",get:function(){return this.constructor.__localName}},{key:"tagName",get:function(){var e;return null===(e=this.localName)||void 0===e?void 0:e.toUpperCase()}},{key:"setAttribute",value:function(e,t){cr(this).set(e,String(t))}},{key:"removeAttribute",value:function(e){cr(this).delete(e)}},{key:"toggleAttribute",value:function(e,t){return this.hasAttribute(e)?!(void 0===t||!t)||(this.removeAttribute(e),!1):!(void 0!==t&&!t)&&(this.setAttribute(e,""),!0)}},{key:"hasAttribute",value:function(e){return cr(this).has(e)}},{key:"attachShadow",value:function(e){this.__shadowRootMode=e.mode;var t=new vr(nr,e);return t.__eventTargetParent=this,t.__host=this,this.__shadowRoot=t}},{key:"attachInternals",value:function(){if(null!==this.__internals)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");var e=new Yn(this);return this.__internals=e,e}},{key:"getAttribute",value:function(e){var t=cr(this).get(e);return null!=t?t:null}}])}(sr),fr=function(e){function t(){return $(this,t),I(this,t,arguments)}return B(t,e),H(t)}(br),hr=fr,vr=function(e){function t(e,n){var r;if($(this,t),r=I(this,t),e!=e)throw new TypeError("Illegal constructor");return r.mode=n.mode,r}return B(t,e),H(t,[{key:"host",get:function(){return this.__host}}])}(sr);function mr(){var e,t;return{promise:new Promise(function(n,r){e=n,t=r}),resolve:e,reject:t}}null!==(Qn=(Jn=globalThis).litServerRoot)&&void 0!==Qn||(Jn.litServerRoot=Object.defineProperty(new hr,"localName",{get:function(){return"lit-server-root"}}));var gr,yr,wr,xr,kr,Er,Sr=function(){return H(function e(){$(this,e),this.__definitions=new Map,this.__reverseDefinitions=new Map,this.__pendingWhenDefineds=new Map},[{key:"define",value:function(e,t){var n,r;if(this.__definitions.has(e))throw new Error("Failed to execute 'define' on 'CustomElementRegistry': the name \"".concat(e,'" has already been used with this registry'));if(this.__reverseDefinitions.has(t))throw new Error("Failed to execute 'define' on 'CustomElementRegistry': the constructor has already been used with this registry for the tag name ".concat(this.__reverseDefinitions.get(t)));t.__localName=e,this.__definitions.set(e,{ctor:t,observedAttributes:null!==(n=t.observedAttributes)&&void 0!==n?n:[]}),this.__reverseDefinitions.set(t,e),null===(r=this.__pendingWhenDefineds.get(e))||void 0===r||r.resolve(t),this.__pendingWhenDefineds.delete(e)}},{key:"get",value:function(e){var t=this.__definitions.get(e);return null==t?void 0:t.ctor}},{key:"getName",value:function(e){var t;return null!==(t=this.__reverseDefinitions.get(e))&&void 0!==t?t:null}},{key:"initialize",value:function(e){throw new Error("customElements.initialize is not currently supported in SSR. Please file a bug if you need it.")}},{key:"upgrade",value:function(e){throw new Error("customElements.upgrade is not currently supported in SSR. Please file a bug if you need it.")}},{key:"whenDefined",value:(e=F(S().mark(function e(t){var n,r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=(n=this).__definitions.get(t))){e.next=4;break}return e.abrupt("return",r.ctor);case 4:return(a=n.__pendingWhenDefineds.get(t))||(a=mr(),n.__pendingWhenDefineds.set(t,a)),e.abrupt("return",a.promise);case 7:case"end":return e.stop()}},e,this)})),function(t){return e.apply(this,arguments)})}]);var e}(),Ar=new Sr,_r=new pr(nr),Tr=globalThis,Lr=Tr.ShadowRoot&&(void 0===Tr.ShadyCSS||Tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cr=Symbol(),Dr=new WeakMap,Or=function(){return H(function e(t,n,r){if($(this,e),this._$cssResult$=!0,r!==Cr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=n},[{key:"styleSheet",get:function(){var e=this.o,t=this.t;if(Lr&&void 0===e){var n=void 0!==t&&1===t.length;n&&(e=Dr.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Dr.set(t,e))}return e}},{key:"toString",value:function(){return this.cssText}}])}(),Rr=Lr||void 0===Tr.CSSStyleSheet?function(e){return e}:function(e){return e instanceof CSSStyleSheet?function(e){var t,n="",r=W(e.cssRules);try{for(r.s();!(t=r.n()).done;){n+=t.value.cssText}}catch(e){r.e(e)}finally{r.f()}return function(e){return new Or("string"==typeof e?e:e+"",void 0,Cr)}(n)}(e):e},Mr=Object.is,Ir=Object.defineProperty,Nr=Object.getOwnPropertyDescriptor,Ur=Object.getOwnPropertyNames,zr=Object.getOwnPropertySymbols,Br=Object.getPrototypeOf,Pr=globalThis;null!==(gr=Pr.customElements)&&void 0!==gr||(Pr.customElements=Ar);var $r=Pr.trustedTypes,Yr=$r?$r.emptyScript:"",Hr=Pr.reactiveElementPolyfillSupport,jr=function(e,t){return e},qr={toAttribute:function(e,t){switch(t){case Boolean:e=e?Yr:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){var n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},Fr=function(e,t){return!Mr(e,t)},Vr={attribute:!0,type:String,converter:qr,reflect:!1,useDefault:!1,hasChanged:Fr};null!==(wr=(yr=Symbol).metadata)&&void 0!==wr||(yr.metadata=Symbol("metadata")),null!==(xr=Pr.litPropertyMetadata)&&void 0!==xr||(Pr.litPropertyMetadata=new WeakMap);var Zr,Wr=function(e){function t(){var e;return $(this,t),(e=I(this,t))._$Ep=void 0,e.isUpdatePending=!1,e.hasUpdated=!1,e._$Em=null,e._$Ev(),e}return B(t,e),H(t,[{key:"_$Ev",value:function(){var e,t=this;this._$ES=new Promise(function(e){return t.enableUpdating=e}),this._$AL=new Map,this._$E_(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach(function(e){return e(t)})}},{key:"addController",value:function(e){var t,n;(null!==(t=this._$EO)&&void 0!==t?t:this._$EO=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}},{key:"removeController",value:function(e){var t;null===(t=this._$EO)||void 0===t||t.delete(e)}},{key:"_$E_",value:function(){var e,t=new Map,n=W(this.constructor.elementProperties.keys());try{for(n.s();!(e=n.n()).done;){var r=e.value;this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r])}}catch(e){n.e(e)}finally{n.f()}t.size>0&&(this._$Ep=t)}},{key:"createRenderRoot",value:function(){var e,t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return function(e,t){if(Lr)e.adoptedStyleSheets=t.map(function(e){return e instanceof CSSStyleSheet?e:e.styleSheet});else{var n,r=W(t);try{for(r.s();!(n=r.n()).done;){var a=n.value,i=document.createElement("style"),o=Tr.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=a.cssText,e.appendChild(i)}}catch(e){r.e(e)}finally{r.f()}}}(t,this.constructor.elementStyles),t}},{key:"connectedCallback",value:function(){var e,t;null!==(e=this.renderRoot)&&void 0!==e||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$EO)||void 0===t||t.forEach(function(e){var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)})}},{key:"enableUpdating",value:function(e){}},{key:"disconnectedCallback",value:function(){var e;null===(e=this._$EO)||void 0===e||e.forEach(function(e){var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)})}},{key:"attributeChangedCallback",value:function(e,t,n){this._$AK(e,n)}},{key:"_$ET",value:function(e,t){var n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(void 0!==r&&!0===n.reflect){var a,i=(void 0!==(null===(a=n.converter)||void 0===a?void 0:a.toAttribute)?n.converter:qr).toAttribute(t,n.type);this._$Em=e,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}},{key:"_$AK",value:function(e,t){var n=this.constructor,r=n._$Eh.get(e);if(void 0!==r&&this._$Em!==r){var a,i,o,c=n.getPropertyOptions(r),s="function"==typeof c.converter?{fromAttribute:c.converter}:void 0!==(null===(a=c.converter)||void 0===a?void 0:a.fromAttribute)?c.converter:qr;this._$Em=r;var l=s.fromAttribute(t,c.type);this[r]=null!==(i=null!=l?l:null===(o=this._$Ej)||void 0===o?void 0:o.get(r))&&void 0!==i?i:l,this._$Em=null}}},{key:"requestUpdate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(void 0!==e){var i,o,c,s=this.constructor;if(!1===r&&(a=this[e]),null!==(i=n)&&void 0!==i||(n=s.getPropertyOptions(e)),!((null!==(o=n.hasChanged)&&void 0!==o?o:Fr)(a,t)||n.useDefault&&n.reflect&&a===(null===(c=this._$Ej)||void 0===c?void 0:c.get(e))&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}},{key:"C",value:function(e,t,n,r){var a,i,o,c=n.useDefault,s=n.reflect,l=n.wrapped;c&&!(null!==(a=this._$Ej)&&void 0!==a?a:this._$Ej=new Map).has(e)&&(this._$Ej.set(e,null!==(i=null!=r?r:t)&&void 0!==i?i:this[e]),!0!==l||void 0!==r)||(this._$AL.has(e)||(this.hasUpdated||c||(t=void 0),this._$AL.set(e,t)),!0===s&&this._$Em!==e&&(null!==(o=this._$Eq)&&void 0!==o?o:this._$Eq=new Set).add(e))}},{key:"_$EP",value:(n=F(S().mark(function e(){var t,n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(t=this).isUpdatePending=!0,e.prev=2,e.next=5,t._$ES;case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),Promise.reject(e.t0);case 10:if(n=t.scheduleUpdate(),e.t1=null!=n,!e.t1){e.next=15;break}return e.next=15,n;case 15:return e.abrupt("return",!t.isUpdatePending);case 16:case"end":return e.stop()}},e,this,[[2,7]])})),function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){var e;if(null!==(e=this.renderRoot)&&void 0!==e||(this.renderRoot=this.createRenderRoot()),this._$Ep){var t,n=W(this._$Ep);try{for(n.s();!(t=n.n()).done;){var r=Z(t.value,2),a=r[0],i=r[1];this[a]=i}}catch(e){n.e(e)}finally{n.f()}this._$Ep=void 0}var o=this.constructor.elementProperties;if(o.size>0){var c,s=W(o);try{for(s.s();!(c=s.n()).done;){var l=Z(c.value,2),d=l[0],u=l[1],p=u.wrapped,b=this[d];!0!==p||this._$AL.has(d)||void 0===b||this.C(d,void 0,u,b)}}catch(e){s.e(e)}finally{s.f()}}}var f=!1,h=this._$AL;try{var v;(f=this.shouldUpdate(h))?(this.willUpdate(h),null===(v=this._$EO)||void 0===v||v.forEach(function(e){var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)}),this.update(h)):this._$EM()}catch(h){throw f=!1,this._$EM(),h}f&&this._$AE(h)}}},{key:"willUpdate",value:function(e){}},{key:"_$AE",value:function(e){var t;null===(t=this._$EO)||void 0===t||t.forEach(function(e){var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}},{key:"_$EM",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}}
vendor: 9,732 bytes, line 2
2,{key:"getUpdateComplete",value:function(){return this._$ES}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;this._$Eq&&(this._$Eq=this._$Eq.forEach(function(e){return t._$ET(e,t[e])})),this._$EM()}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}}],[{key:"addInitializer",value:function(e){var t;this._$Ei(),(null!==(t=this.l)&&void 0!==t?t:this.l=[]).push(e)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&M(this._$Eh.keys())}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vr;if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){var n=Symbol(),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Ir(this.prototype,e,r)}}},{key:"getPropertyDescriptor",value:function(e,t,n){var r,a=null!==(r=Nr(this.prototype,e))&&void 0!==r?r:{get:function(){return this[t]},set:function(e){this[t]=e}},i=a.get,o=a.set;return{get:i,set:function(t){var r=null==i?void 0:i.call(this);null==o||o.call(this,t),this.requestUpdate(e,r,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(e){var t;return null!==(t=this.elementProperties.get(e))&&void 0!==t?t:Vr}},{key:"_$Ei",value:function(){if(!this.hasOwnProperty(jr("elementProperties"))){var e=Br(this);e.finalize(),void 0!==e.l&&(this.l=M(e.l)),this.elementProperties=new Map(e.elementProperties)}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(jr("finalized"))){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(jr("properties"))){var e,t=this.properties,n=W([].concat(M(Ur(t)),M(zr(t))));try{for(n.s();!(e=n.n()).done;){var r=e.value;this.createProperty(r,t[r])}}catch(e){n.e(e)}finally{n.f()}}var a=this[Symbol.metadata];if(null!==a){var i=litPropertyMetadata.get(a);if(void 0!==i){var o,c=W(i);try{for(c.s();!(o=c.n()).done;){var s=Z(o.value,2),l=s[0],d=s[1];this.elementProperties.set(l,d)}}catch(e){c.e(e)}finally{c.f()}}}this._$Eh=new Map;var u,p=W(this.elementProperties);try{for(p.s();!(u=p.n()).done;){var b=Z(u.value,2),f=b[0],h=b[1],v=this._$Eu(f,h);void 0!==v&&this._$Eh.set(v,f)}}catch(e){p.e(e)}finally{p.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(e){var t=[];if(Array.isArray(e)){var n,r=W(new Set(e.flat(1/0).reverse()));try{for(r.s();!(n=r.n()).done;){var a=n.value;t.unshift(Rr(a))}}catch(e){r.e(e)}finally{r.f()}}else void 0!==e&&t.push(Rr(e));return t}},{key:"_$Eu",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}}]);var n}(null!==(kr=globalThis.HTMLElement)&&void 0!==kr?kr:hr);Wr.elementStyles=[],Wr.shadowRootOptions={mode:"open"},Wr[jr("elementProperties")]=new Map,Wr[jr("finalized")]=new Map,null==Hr||Hr({ReactiveElement:Wr}),(null!==(Er=Pr.reactiveElementVersions)&&void 0!==Er?Er:Pr.reactiveElementVersions=[]).push("2.1.2");var Gr=globalThis,Kr=function(e){return e},Jr=Gr.trustedTypes,Qr=Jr?Jr.createPolicy("lit-html",{createHTML:function(e){return e}}):void 0,Xr="$lit$",ea="lit$".concat(Math.random().toFixed(9).slice(2),"$"),ta="?"+ea,na="<".concat(ta,">"),ra=void 0===Gr.document?{createTreeWalker:function(){return{}}}:document,aa=function(){return ra.createComment("")},ia=function(e){return null===e||"object"!=V(e)&&"function"!=typeof e},oa=Array.isArray,ca="[ \t\n\f\r]",sa=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,la=/-->/g,da=/>/g,ua=RegExp(">|".concat(ca,"(?:([^\\s\"'>=/]+)(").concat(ca,"*=").concat(ca,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),pa=/'/g,ba=/"/g,fa=/^(?:script|style|textarea|title)$/i,ha=function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return{_$litType$:e,strings:t,values:r}}}(1),va=Symbol.for("lit-noChange"),ma=Symbol.for("lit-nothing"),ga=new WeakMap,ya=ra.createTreeWalker(ra,129);function wa(e,t){if(!oa(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Qr?Qr.createHTML(t):t}var xa=function(e,t){for(var n,r=e.length-1,a=[],i=2===t?"<svg>":3===t?"<math>":"",o=sa,c=0;c<r;c++){for(var s,l=e[c],d=void 0,u=void 0,p=-1,b=0;b<l.length&&(o.lastIndex=b,null!==(u=o.exec(l)));)b=o.lastIndex,o===sa?"!--"===u[1]?o=la:void 0!==u[1]?o=da:void 0!==u[2]?(fa.test(u[2])&&(n=RegExp("</"+u[2],"g")),o=ua):void 0!==u[3]&&(o=ua):o===ua?">"===u[0]?(o=null!==(s=n)&&void 0!==s?s:sa,p=-1):void 0===u[1]?p=-2:(p=o.lastIndex-u[2].length,d=u[1],o=void 0===u[3]?ua:'"'===u[3]?ba:pa):o===ba||o===pa?o=ua:o===la||o===da?o=sa:(o=ua,n=void 0);var f=o===ua&&e[c+1].startsWith("/>")?" ":"";i+=o===sa?l+na:p>=0?(a.push(d),l.slice(0,p)+Xr+l.slice(p)+ea+f):l+ea+(-2===p?c:f)}return[wa(e,i+(e[r]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),a]},ka=function(){return H(function e(t,n){var r,a=t.strings,i=t._$litType$;$(this,e),this.parts=[];var o=0,c=0,s=a.length-1,l=this.parts,d=Z(xa(a,i),2),u=d[0],p=d[1];if(this.el=e.createElement(u,n),ya.currentNode=this.el.content,2===i||3===i){var b=this.el.content.firstChild;b.replaceWith.apply(b,M(b.childNodes))}for(;null!==(r=ya.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes()){var f,h=W(r.getAttributeNames());try{for(h.s();!(f=h.n()).done;){var v=f.value;if(v.endsWith(Xr)){var m=p[c++],g=r.getAttribute(v).split(ea),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:o,name:y[2],strings:g,ctor:"."===y[1]?Ta:"?"===y[1]?La:"@"===y[1]?Ca:_a}),r.removeAttribute(v)}else v.startsWith(ea)&&(l.push({type:6,index:o}),r.removeAttribute(v))}}catch(e){h.e(e)}finally{h.f()}}if(fa.test(r.tagName)){var w=r.textContent.split(ea),x=w.length-1;if(x>0){r.textContent=Jr?Jr.emptyScript:"";for(var k=0;k<x;k++)r.append(w[k],aa()),ya.nextNode(),l.push({type:2,index:++o});r.append(w[x],aa())}}}else if(8===r.nodeType)if(r.data===ta)l.push({type:2,index:o});else for(var E=-1;-1!==(E=r.data.indexOf(ea,E+1));)l.push({type:7,index:o}),E+=ea.length-1;o++}},null,[{key:"createElement",value:function(e,t){var n=ra.createElement("template");return n.innerHTML=e,n}}])}();function Ea(e,t){var n,r,a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=arguments.length>3?arguments[3]:void 0;if(t===va)return t;var c=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl,s=ia(t)?void 0:t._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null==c||null===(r=c._$AO)||void 0===r||r.call(c,!1),void 0===s?c=void 0:(c=new s(e))._$AT(e,i,o),void 0!==o?(null!==(a=i._$Co)&&void 0!==a?a:i._$Co=[])[o]=c:i._$Cl=c),void 0!==c&&(t=Ea(e,c._$AS(e,t.values),c,o)),t}var Sa=function(){return H(function e(t,n){$(this,e),this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n},[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(e){var t,n=this._$AD,r=n.el.content,a=n.parts,i=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:ra).importNode(r,!0);ya.currentNode=i;for(var o=ya.nextNode(),c=0,s=0,l=a[0];void 0!==l;){if(c===l.index){var d=void 0;2===l.type?d=new Aa(o,o.nextSibling,this,e):1===l.type?d=new l.ctor(o,l.name,l.strings,this,e):6===l.type&&(d=new Da(o,this,e)),this._$AV.push(d),l=a[++s]}c!==(null==l?void 0:l.index)&&(o=ya.nextNode(),c++)}return ya.currentNode=ra,i}},{key:"p",value:function(e){var t,n=0,r=W(this._$AV);try{for(r.s();!(t=r.n()).done;){var a=t.value;void 0!==a&&(void 0!==a.strings?(a._$AI(e,a,n),n+=a.strings.length-2):a._$AI(e[n])),n++}}catch(e){r.e(e)}finally{r.f()}}}])}(),Aa=function(){function e(t,n,r,a){var i;$(this,e),this.type=2,this._$AH=ma,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=r,this.options=a,this._$Cv=null===(i=null==a?void 0:a.isConnected)||void 0===i||i}return H(e,[{key:"_$AU",get:function(){var e,t;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cv}},{key:"parentNode",get:function(){var e=this._$AA.parentNode,t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(e){e=Ea(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),ia(e)?e===ma||null==e||""===e?(this._$AH!==ma&&this._$AR(),this._$AH=ma):e!==this._$AH&&e!==va&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):function(e){return oa(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator])}(e)?this.k(e):this._(e)}},{key:"O",value:function(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}},{key:"T",value:function(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}},{key:"_",value:function(e){this._$AH!==ma&&ia(this._$AH)?this._$AA.nextSibling.data=e:this.T(ra.createTextNode(e)),this._$AH=e}},{key:"$",value:function(e){var t,n=e.values,r=e._$litType$,a="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=ka.createElement(wa(r.h,r.h[0]),this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===a)this._$AH.p(n);else{var i=new Sa(a,this),o=i.u(this.options);i.p(n),this.T(o),this._$AH=i}}},{key:"_$AC",value:function(e){var t=ga.get(e.strings);return void 0===t&&ga.set(e.strings,t=new ka(e)),t}},{key:"k",value:function(t){oa(this._$AH)||(this._$AH=[],this._$AR());var n,r,a=this._$AH,i=0,o=W(t);try{for(o.s();!(r=o.n()).done;){var c=r.value;i===a.length?a.push(n=new e(this.O(aa()),this.O(aa()),this,this.options)):n=a[i],n._$AI(c),i++}}catch(e){o.e(e)}finally{o.f()}i<a.length&&(this._$AR(n&&n._$AB.nextSibling,i),a.length=i)}},{key:"_$AR",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,n=arguments.length>1?arguments[1]:void 0;
vendor: 4,145 bytes, line 2
2for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,n);t!==this._$AB;){var r=Kr(t).nextSibling;Kr(t).remove(),t=r}}},{key:"setConnected",value:function(e){var t;void 0===this._$AM&&(this._$Cv=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}])}(),_a=function(){return H(function e(t,n,r,a,i){$(this,e),this.type=1,this._$AH=ma,this._$AN=void 0,this.element=t,this.name=n,this._$AM=a,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=ma},[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,a=this.strings,i=!1;if(void 0===a)e=Ea(this,e,t,0),(i=!ia(e)||e!==this._$AH&&e!==va)&&(this._$AH=e);else{var o,c,s,l=e;for(e=a[0],c=0;c<a.length-1;c++)(s=Ea(this,l[n+c],t,c))===va&&(s=this._$AH[c]),i||(i=!ia(s)||s!==this._$AH[c]),s===ma?e=ma:e!==ma&&(e+=(null!==(o=s)&&void 0!==o?o:"")+a[c+1]),this._$AH[c]=s}i&&!r&&this.j(e)}},{key:"j",value:function(e){e===ma?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}])}(),Ta=function(e){function t(){var e;return $(this,t),(e=I(this,t,arguments)).type=3,e}return B(t,e),H(t,[{key:"j",value:function(e){this.element[this.name]=e===ma?void 0:e}}])}(_a),La=function(e){function t(){var e;return $(this,t),(e=I(this,t,arguments)).type=4,e}return B(t,e),H(t,[{key:"j",value:function(e){this.element.toggleAttribute(this.name,!!e&&e!==ma)}}])}(_a),Ca=function(e){function t(e,n,r,a,i){var o;return $(this,t),(o=I(this,t,[e,n,r,a,i])).type=5,o}return B(t,e),H(t,[{key:"_$AI",value:function(e){var t;if((e=null!==(t=Ea(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==t?t:ma)!==va){var n=this._$AH,r=e===ma&&n!==ma||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ma&&(n===ma||r);r&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}}},{key:"handleEvent",value:function(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(t=null===(n=this.options)||void 0===n?void 0:n.host)&&void 0!==t?t:this.element,e):this._$AH.handleEvent(e)}}])}(_a),Da=function(){return H(function e(t,n,r){$(this,e),this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r},[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(e){Ea(this,e)}}])}(),Oa=Gr.litHtmlPolyfillSupport;null==Oa||Oa(ka,Aa),(null!==(Zr=Gr.litHtmlVersions)&&void 0!==Zr?Zr:Gr.litHtmlVersions=[]).push("3.3.3");var Ra,Ma,Ia=function(e,t,n){var r,a=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t,i=a._$litPart$;if(void 0===i){var o,c=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;a._$litPart$=i=new Aa(t.insertBefore(aa(),c),c,void 0,null!=n?n:{})}return i._$AI(e),i},Na=globalThis,Ua=function(e){function t(){var e;return $(this,t),(e=I(this,t,arguments)).renderOptions={host:N(e)},e._$Do=void 0,e}return B(t,e),H(t,[{key:"createRenderRoot",value:function(){var e,n,r=k(t,"createRenderRoot",this,3)([]);return null!==(n=(e=this.renderOptions).renderBefore)&&void 0!==n||(e.renderBefore=r.firstChild),r}},{key:"update",value:function(e){var n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),k(t,"update",this,3)([e]),this._$Do=Ia(n,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var e;k(t,"connectedCallback",this,3)([]),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var e;k(t,"disconnectedCallback",this,3)([]),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}},{key:"render",value:function(){return va}}])}(Wr);Ua._$litElement$=!0,Ua.finalized=!0,null===(Ra=Na.litElementHydrateSupport)||void 0===Ra||Ra.call(Na,{LitElement:Ua});var za=Na.litElementPolyfillSupport;null==za||za({LitElement:Ua}),(null!==(Ma=Na.litElementVersions)&&void 0!==Ma?Ma:Na.litElementVersions=[]).push("4.2.2");var Ba={core:'
vendor: 6,397 bytes, line 2
2:host(.atcb-dark){--accent-color:#7ab0ff;--btn-text:#f2f4f7;--list-text:#f2f4f7;--modal-text:#f1f1f1;--modal-background:#242424;--modal-btn-background:#181819;--modal-btn-secondary-background:#2e2d30;--modal-btn-hover-background:#434246;--modal-btn-text:#dbdbdb;--modal-btn-hover-text:#fff;--modal-btn-secondary-text:#b8b8b8;--input-background:#434246;--status-active-text:#000;--form-error:#db8680;--form-success:#99de9c;--date-btn-text:#f2f4f7;--date-btn-text-secondary:#98a2b3;--date-btn-cal-day-text:#101216;--date-btn-cal-background:#c9ccd2;--date-badge-ink:#0b0d10;--date-btn-hover-background:#2b2f35;--icon-yahoo-color:#bebebe}:host{--modal-border-radius:0px}:where(a.atcb-button,a.atcb-list-item,a.atcb-subevent-btn){all:unset;box-sizing:border-box}.atcb-button-wrapper,.atcb-list,.atcb-modal-box{font-size:var(--base-font-size-l)}@media (width <= 991px){.atcb-button-wrapper,.atcb-list,.atcb-modal-box{font-size:var(--base-font-size-m)}}@media (width <= 575px){.atcb-button-wrapper,.atcb-list,.atcb-modal-box{font-size:var(--base-font-size-s)}}.atcb-button-wrapper{display:block;padding:var(--wrapper-padding);position:relative}.atcb-rtl .atcb-button{direction:rtl;text-align:right}.atcb-icon svg{fill:currentcolor;height:100%;width:100%}.atcb-chevron svg[fill=none],.atcb-date-btn-content-icon svg[fill=none],.atcb-date-btn-plus svg[fill=none],.atcb-icon svg[fill=none]{fill:none}.atcb-text{overflow-wrap:anywhere}[part=atcb-button-text]{text-align:left}.atcb-rtl [part=atcb-button-text]{text-align:right}.atcb-button .atcb-icon+.atcb-text{margin-top:.07em}.atcb-rtl .atcb-list-item{direction:rtl;text-align:right}.atcb-list-item .atcb-icon+.atcb-text{width:100%}.atcb-list-modal-header{align-items:center;display:flex;gap:40px;justify-content:space-between;padding-block:.6em;padding-inline:1em .6em}.atcb-list-modal-headline{flex:1 1 auto;font-weight:700;font-size:1.05em;padding-top:.1em;text-align:left}.atcb-list.atcb-rtl .atcb-list-modal-headline{text-align:right}.atcb-list.atcb-modal .atcb-list-item-close{flex:0 0 auto;position:static}.atcb-list.atcb-modal .atcb-list-item-close .atcb-text{display:none}.atcb-list.atcb-modal .atcb-list-item-close .atcb-icon{height:100%;width:100%;margin:0}.atcb-modal{display:block;margin:auto;width:auto;min-width:auto;position:relative;z-index:14000090}.atcb-list.atcb-modal{min-width:auto;overflow:hidden}@media (width <= 575px){.atcb-list.atcb-modal{border:0;border-radius:0;box-shadow:none;margin:0;min-height:100dvh;min-width:100%;width:100%}}.atcb-modal-box.atcb-rtl{text-align:right;direction:rtl;padding:1.25em 1em 1.25em 2em}.atcb-modal-icon svg{fill:currentcolor;height:100%;width:100%}.atcb-modal-content ol,.atcb-modal-content ul{margin:1em 0;text-align:left;width:fit-content}.atcb-rtl .atcb-modal-content ol,.atcb-rtl .atcb-modal-content ul{text-align:right}.atcb-modal-content-subevents{max-width:320px}@media (width <= 575px){.atcb-modal-content-subevents{margin:auto;max-width:380px}}.atcb-modal-clipboard-input{background-color:transparent;border:1px solid currentcolor;border-radius:6px;box-sizing:border-box;color:inherit;cursor:text;direction:ltr;font-family:monospace;font-size:.9em;margin:.5em 0;max-width:100%;padding:.5em .6em;width:100%}a.atcb-modal-btn.btn-small,button.atcb-modal-btn.btn-small{padding:.6em .8em}a.atcb-modal-btn.atcb-modal-btn-primary,button.atcb-modal-btn.atcb-modal-btn-primary{background-color:var(--modal-btn-background);color:var(--modal-btn-text)}a.atcb-modal-btn:focus-visible,button.atcb-modal-btn:focus-visible{background-color:var(--modal-btn-hover-background);outline:2px solid var(--accent-color)}a.atcb-modal-btn:disabled,button.atcb-button:disabled,button.atcb-modal-btn:disabled,button.atcb-subevent-btn:disabled{cursor:not-allowed;opacity:.75;filter:brightness(95%);border-style:dashed;box-shadow:none}.atcb-subevent-btn+.atcb-subevent-btn{margin-top:30px}.atcb-date-btn-day{color:var(--date-btn-cal-day-text);font-weight:600;font-size:1.7em;line-height:1.15;word-break:keep-all}.atcb-initialized[lang=ja] .atcb-date-btn-day,.atcb-initialized[lang=ko] .atcb-date-btn-day,.atcb-initialized[lang=zh] .atcb-date-btn-day{font-size:1.3em}.atcb-date-btn-month{color:var(--date-btn-cal-month-text);font-weight:700;font-size:.68em;letter-spacing:.14em;text-transform:uppercase}.atcb-date-btn-right{position:relative;color:var(--date-btn-text);min-width:13.5em;overflow-wrap:anywhere}@media (width <= 414px){.atcb-date-btn-day{font-size:1.7em}.atcb-date-btn-month{font-size:.8em}.atcb-date-btn-right{min-width:10em}}.atcb-date-btn-right-centered{align-self:center}.atcb-subevent-btn .atcb-date-btn-right{width:100%}.atcb-rtl .atcb-date-btn-details{text-align:right}.atcb-date-btn-hover{position:absolute;top:0;left:0;width:100%;opacity:0;height:100%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1em;padding:.4em 1.2em .4em .7em;box-sizing:border-box}.atcb-date-btn-content{display:flex;align-items:flex-start;font-size:.8em;color:var(--date-btn-text-secondary)}.atcb-date-btn-content-clamped{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2}.atcb-date-btn-content.atcb-date-btn-cancelled{color:var(--form-error);font-weight:700}.atcb-date-btn-content-location{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atcb-date-btn-content-icon{display:inline-block;height:.9em;margin:.075em .4em 0 0;width:.9em;flex-shrink:0}.atcb-rtl .atcb-date-btn-content-icon{margin-right:0;margin-left:.4em}.atcb-initialized[lang=ja] .atcb-date-btn-content:not(.atcb-date-btn-content-location) .atcb-date-btn-content-icon,.atcb-initialized[lang=ko] .atcb-date-btn-content:not(.atcb-date-btn-content-location) .atcb-date-btn-content-icon,.atcb-initialized[lang=zh] .atcb-date-btn-content:not(.atcb-date-btn-content-location) .atcb-date-btn-content-icon{margin-top:.15em}.atcb-date-btn-content-icon svg{height:100%;fill:currentcolor;width:100%}.atcb-date-btn-content-text span:not(.atcb-icon-ical){padding-right:.3em;display:inline-block}.atcb-button:focus-visible .atcb-date-btn-plus,.atcb-subevent-btn:focus-visible .atcb-date-btn-plus{background-color:var(--accent-color)}.atcb-checkmark{display:none}.atcb-modal-host-initialized{width:100%;height:100%}#atcb-bgoverlay.atcb-no-bg{animation:none;backdrop-filter:none;-webkit-backdrop-filter:none;opacity:1;background-color:transparent}@keyframes atcb-bgoverlay-animate{0%{opacity:0}
vendor: 2,229 bytes, line 2
2100%{opacity:1}}@keyframes atcb-modal-appear{0%{opacity:0}100%{opacity:1}}.atcb-modal.atcb-modal-appear{animation:atcb-modal-appear .15s ease 0s 1 normal both}.atcb-icon.atcb-icon-ms365 svg{fill:var(--icon-ms365-color)}.atcb-icon.atcb-icon-yahoo svg{fill:var(--icon-yahoo-color)}.atcb-icon.atcb-icon-google svg,.atcb-icon.atcb-icon-msteams svg,.atcb-icon.atcb-icon-outlookcom svg{filter:var(--icon-filter)}.pro{text-align:left}.atcb-modal-box.atcb-rtl .pro{text-align:right}.pro .pro-intro{text-align:inherit}.pro a:not(.atcb-modal-btn),.pro a:not(.atcb-modal-btn):active,.pro a:not(.atcb-modal-btn):visited{color:var(--modal-btn-text);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--accent-color)}.pro a:not(.atcb-modal-btn):hover{color:var(--accent-color);text-decoration:none}.pro .pro-share-buttons{display:flex;flex-wrap:wrap;justify-content:center}.pro-field+.pro-field{padding-top:1.3em}.pro-field-type-label+.pro-field-type-radio{padding-top:0}.pro-field-type-checkbox,.pro-field-type-radio div{align-items:center;display:flex}.pro-field-type-checkbox input,.pro-field-type-radio input{cursor:pointer}.pro-field label{display:block;font-size:.9em;opacity:.7}.pro-field-type-checkbox label,.pro-field-type-radio label{cursor:pointer;opacity:.8;padding-left:.3em}.pro-field input[type=checkbox],.pro-field input[type=radio]{accent-color:var(--accent-color);height:1.2rem;opacity:.8;transition:all .1s ease-in-out;width:1.2em}.pro-field input:disabled,.pro-field input:disabled+label{cursor:not-allowed;opacity:.75;filter:brightness(95%)}.pro-field input:not([disabled]):hover{opacity:1}.pro-field input[type=checkbox]:focus,.pro-field input[type=radio]:focus{outline-color:var(--accent-color);outline-width:2px}#submit-error{color:var(--form-error);display:none;font-weight:700;padding-top:1.5em;text-align:center}#submit-error:focus{outline:2px solid var(--accent-color);outline-offset:2px}.pro-form.form-error #submit-error{display:block}.pro-field input.error{accent-color:var(--form-error);border:2px solid var(--form-error)}.pro-field input.error+label,.pro-field:has(input.error) label{color:var(--form-error);opacity:1}.pro-form.form-error .pro-form-fine{opacity:0}@media (width >
vendor: 5,449 bytes, line 2
2 575px){#pro-form-submit,.pro-waiting{min-width:200px}}.pro-waiting span:not(.atcb-icon-ical):not(.atcb-sr-only){animation-name:blink;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both;font-size:2.5em}.pro-field label span:not(.atcb-icon-ical){color:var(--form-error);font-weight:700;padding-left:2px}.pro-waiting span:not(.atcb-icon-ical):not(.atcb-sr-only):nth-child(2){animation-delay:.15s}.pro-waiting span:not(.atcb-icon-ical):not(.atcb-sr-only):nth-child(3){animation-delay:.3s}.atcb-sr-only{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@keyframes blink{0%{opacity:.2}20%{opacity:1}100%{opacity:.2}}.atcb-modal-content .pro p:not(.pro-form-fine){margin:0}.atcb-modal-content .pro p.pro-pt{margin-top:1.5em}.atcb-modal-content .pro .pro-field p{font-size:.9em}.pro .btn-flex{align-items:center;display:flex}.pro .atcb-modal-btn svg{fill:none;height:1.5em;margin-right:.5em;stroke:currentcolor;width:auto}#atcb-reference{box-sizing:border-box;color:#000;filter:drop-shadow( 1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow( 0 1px 0 #fff) drop-shadow( 0 -1px 0 #fff);height:auto;padding:8px 0;text-align:center;transform:translate3d(0,0,0);width:100%;z-index:15000000}#atcb-reference.fixed-ref{position:fixed;bottom:10px;right:40px;width:auto}.atcb-modal-host-initialized #atcb-reference.atcb-dropup{text-align:left}:host(.atcb-dark) #atcb-reference{color:#fff;filter:drop-shadow( 1px 0 0 #000) drop-shadow(-1px 0 0 #000) drop-shadow( 0 1px 0 #000) drop-shadow( 0 -1px 0 #000)}#atcb-reference a,#atcb-reference a:active,#atcb-reference a:visited{opacity:.8;width:150px;max-width:100%;margin:auto;display:inline-block;text-decoration:none}#atcb-reference a:hover{opacity:1;text-decoration:none}#atcb-reference svg{fill:var(--list-text)}:host{width:fit-content;--font:arial,helvetica,"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","EmojiOne Color","Android Emoji",sans-serif;--accent-color:#2f6fed;--input-background:#fff;--status-active-text:#fff;--form-error:#c5372c;--form-success:#338a36;--modal-background:#f5f5f5;--modal-btn-secondary-background:#e2e1e6;--modal-btn-font-weight:600;--modal-btn-text:#2e2e2e;--date-btn-text:#1d1d1e;--date-btn-cal-day-text:#fff;--date-btn-cal-month-text:#c9ccd2;--date-btn-cal-background:#2f3134;--date-badge-ink:#fff;--date-btn-hover-background:#fff;--date-btn-headline-line-clamp:1;--icon-ms365-color:#ea3e23;--icon-yahoo-color:#5f01d1;--icon-filter:none}.atcb-button{gap:.55em;position:relative;z-index:1}.atcb-button.atcb-active:not(.atcb-modal-style,.atcb-dropoverlay){z-index:15000000}.atcb-button.atcb-active.atcb-dropoverlay{z-index:14000090}.atcb-icon{flex-grow:0;flex-shrink:0;line-height:1em}.atcb-chevron{flex-grow:0;flex-shrink:0;height:.8em;width:.8em;opacity:.55;transition:transform .16s ease}.atcb-chevron svg{display:block;height:100%;width:100%}.atcb-button.atcb-active .atcb-chevron{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.atcb-chevron{transition:none}}.atcb-dropdown-anchor{width:100%;opacity:0;position:absolute}.atcb-list-wrapper{box-sizing:border-box;position:absolute}.atcb-list{box-sizing:border-box;color:var(--list-text);display:block;font-family:var(--font);position:relative;user-select:none;-webkit-user-select:none;width:fit-content}.atcb-list-item{align-items:center;background-color:var(--list-background);box-sizing:border-box;cursor:pointer;display:flex;gap:.8em;font-size:1em;margin:.2em 0;line-height:1.75em;text-align:left;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.atcb-list-item:hover{background-color:var(--list-hover-background);color:var(--list-hover-text)}.atcb-list-item:focus-visible{background-color:var(--list-hover-background);color:var(--accent-color);outline:0}.atcb-list-item .atcb-icon{margin:0 auto}.atcb-list.atcb-no-text .atcb-list-item:not(.atcb-list-item-close) .atcb-icon{margin-left:0;margin-right:auto}.atcb-list.atcb-rtl.atcb-no-text .atcb-list-item:not(.atcb-list-item-close) .atcb-icon{margin-left:auto;margin-right:0}.atcb-modal-box{background-color:var(--modal-background);border-radius:var(--modal-border-radius);color:var(--modal-text);cursor:default;box-sizing:border-box;font-family:var(--font);line-height:1.5em;text-align:left;user-select:none;-webkit-user-select:none;touch-action:manipulation;width:100%;margin-bottom:20px;-webkit-tap-highlight-color:transparent;overflow:hidden;position:relative}.atcb-modal-box-with-icon{column-gap:1.5em;display:grid;grid-template-columns:auto minmax(0,1fr)}.atcb-modal-box-with-icon.atcb-rtl{grid-template-columns:minmax(0,1fr) auto}.atcb-modal-box-with-icon>:not(.atcb-modal-icon,.atcb-modal-close){grid-column:2}.atcb-modal-box-with-icon.atcb-rtl>:not(.atcb-modal-icon,.atcb-modal-close){grid-column:1}.atcb-modal-box-with-icon.atcb-rtl>.atcb-modal-buttons,.atcb-modal-box-with-icon>.atcb-modal-buttons{grid-column:1/-1}.atcb-list-item-close,.atcb-modal-close{align-items:center;background:0 0;border:0;border-radius:100%;box-sizing:border-box;color:var(--modal-btn-text);cursor:pointer;display:flex;height:2.2em;justify-content:center;padding:.65em;touch-action:manipulation;width:2.2em;-webkit-tap-highlight-color:transparent;z-index:1}.atcb-modal-close{inset-inline-end:.7em;position:absolute;top:.7em}.atcb-list-item-close:focus-visible,.atcb-list-item-close:hover,.atcb-modal-close
vendor: 13,120 bytes, line 2
2:focus-visible,.atcb-modal-close:hover{background-color:var(--modal-btn-hover-background);color:var(--modal-btn-hover-text);outline:1px solid var(--modal-btn-hover-text)}.atcb-list-item-close:focus-visible,.atcb-modal-close:focus-visible{outline:2px solid var(--accent-color)}.atcb-list-item-close svg,.atcb-modal-close svg{fill:currentcolor;height:100%;width:100%}:host(.atcb-dark) .atcb-list-item-close,:host(.atcb-dark) .atcb-modal-close{color:var(--modal-text)}:host(.atcb-dark) .atcb-list-item-close:focus-visible,:host(.atcb-dark) .atcb-list-item-close:hover,:host(.atcb-dark) .atcb-modal-close:focus-visible,:host(.atcb-dark) .atcb-modal-close:hover{color:var(--modal-btn-hover-text)}@media (width > 575px){.atcb-modal-box{width:32em}}@media (width <= 575px){.atcb-modal-box{border-radius:0;display:flex;filter:none;flex-direction:column;margin-bottom:0;min-height:100%;overflow:visible}}@media (width <= 575px){.atcb-modal-host-initialized #atcb-bgoverlay{padding:0;background-color:var(--modal-background)}}@media (width <= 575px){.atcb-modal{width:100%;min-height:100dvh;margin:0}}@media (width <= 575px){.atcb-modal-buttons{border-radius:0;margin-top:auto}}.atcb-modal-icon{height:2.5em;grid-column:1;grid-row:1/span 20;margin-block-start:1.8em;margin-inline-start:2em;width:2.5em}.atcb-modal-box.atcb-rtl .atcb-modal-icon{grid-column:2}.atcb-modal-headline{font-size:1.3em;font-weight:600;line-height:1.5em;padding:1.8em 1.5em 1.3em;text-transform:var(--modal-headline-text-transform);text-align:left}.atcb-modal-box.atcb-rtl .atcb-modal-headline{text-align:right}.atcb-modal-content{font-size:1em;padding:.3em 2em 2.2em}.atcb-modal-box-with-icon .atcb-modal-content,.atcb-modal-box-with-icon .atcb-modal-headline{padding-inline-start:0}@media (width <= 575px){.atcb-modal-icon{margin:1.8em auto 0}.atcb-modal-box.atcb-rtl .atcb-modal-icon{margin-inline:auto}}@media (width <= 575px){.atcb-modal-box.atcb-rtl .atcb-modal-headline,.atcb-modal-headline{padding:1.8em 1em 1em;text-align:center}.atcb-modal-box-with-icon .atcb-modal-headline{padding-inline:1em}}@media (width <= 575px){.atcb-modal-content{padding:.3em 1.5em 1.5em;text-align:center}.atcb-modal-box-with-icon .atcb-modal-content{padding-inline:1.5em}.atcb-modal-content .pro,.atcb-modal-content .pro-form,.atcb-modal-content .pro-intro{text-align:left}.atcb-modal-box.atcb-rtl .atcb-modal-content .pro,.atcb-modal-box.atcb-rtl .atcb-modal-content .pro-form,.atcb-modal-box.atcb-rtl .atcb-modal-content .pro-intro{text-align:right}}.atcb-modal-buttons{background-color:var(--modal-btn-bar);box-sizing:border-box;padding:.6em;text-align:center;width:100%;display:flex;justify-content:center;flex-flow:row-reverse wrap;align-items:center}a.atcb-modal-btn,button.atcb-modal-btn{background-color:var(--modal-btn-secondary-background);color:var(--modal-btn-secondary-text);cursor:pointer;display:inline-block;font-family:var(--font);font-weight:var(--modal-btn-font-weight);line-height:1em;padding:1em 1.25em;position:relative;text-align:center;text-decoration:none;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}a.atcb-modal-btn:not([disabled]):hover,button.atcb-modal-btn:not([disabled]):hover{background-color:var(--modal-btn-hover-background);color:var(--modal-btn-hover-text);text-decoration:none}.atcb-subevent-btn{width:100%}.atcb-subevent-btn:focus,.atcb-subevent-btn:hover{background-color:var(--date-btn-hover-background)}.atcb-date-btn-left{align-self:stretch;background-color:var(--date-btn-cal-background);padding:.6em .5em;width:3.2em;align-items:center;justify-content:center;text-align:center;display:flex;flex-direction:column;flex-shrink:0;box-sizing:border-box}@media (width <= 414px){.atcb-date-btn-left{width:fit-content}}@media (width <= 575px){dialog .atcb-list.atcb-modal{display:flex;flex-direction:column}}@media (width <= 575px){dialog .atcb-list-item{padding:1.3em}}.atcb-date-btn-details{opacity:1;text-align:left}.atcb-date-btn-headline{font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:var(--date-btn-headline-line-clamp);line-clamp:var(--date-btn-headline-line-clamp)}.atcb-date-btn-headline-two-lines{-webkit-line-clamp:2;line-clamp:2}.atcb-date-btn-headline-centered{text-align:center}.atcb-date-btn-content+.atcb-date-btn-content{padding-right:.6em}.atcb-date-btn-plus{position:absolute;right:-.7em;top:50%;transform:translateY(-50%);background:var(--accent-color);border-radius:100%;box-shadow:0 0 0 .14em var(--date-btn-background);color:var(--date-badge-ink,#fff);display:flex;font-size:.9em;font-weight:400;height:1.5em;width:1.5em;justify-content:center;align-items:center;transition:transform .16s ease}.atcb-date-btn-plus svg{height:.75em;width:.75em}.atcb-rtl .atcb-date-btn-plus{right:auto;left:-.7em}.atcb-button:not(.atcb-active):hover .atcb-date-btn-plus,.atcb-subevent-btn:hover .atcb-date-btn-plus{transform:translateY(-50%) scale(1.12)}.atcb-button.atcb-active .atcb-date-btn-plus{transform:translateY(-50%) rotate(45deg)}@media (prefers-reduced-motion:reduce){.atcb-date-btn-plus{transition:none}.atcb-button:not(.atcb-active):hover .atcb-date-btn-plus,.atcb-subevent-btn:hover .atcb-date-btn-plus{transform:translateY(-50%)}}.atcb-saved .atcb-checkmark{box-sizing:content-box;color:var(--btn-text);display:block;position:absolute;padding:.5em;border-radius:100%}.atcb-checkmark svg{height:100%;width:auto}#atcb-bgoverlay{background-color:var(--overlay-background);border:0;box-sizing:border-box;display:flex;height:100dvh;inset-inline:0;left:0;right:0;top:0;min-height:100%;min-width:100%;overflow-y:auto;padding:20px;position:fixed;width:100dvw;z-index:14000000}.pro-form{text-align:left}.pro-field input[type=email],.pro-field input[type=number],.pro-field input[type=text]{background-color:var(--input-background);border-radius:var(--input-border-radius);box-sizing:border-box;caret-color:var(--accent-color);color:var(--modal-text);font-size:.9em;opacity:.8;padding:.7em;transition:all .1s ease-in-out;width:100%}#pro-form-submit{display:block;margin:auto;min-width:150px}.pro-form-fine{font-size:.8em;opacity:.5;text-align:center}.pro-waiting{background-color:var(--modal-btn-background);border-radius:var(--btn-border-radius);box-sizing:border-box;color:var(--modal-btn-text);cursor:wait;display:none;line-height:.5em;margin:auto;min-width:150px;padding:.5em 1.25em 1.2em;text-align:center;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;width:fit-content}#atcb-reference.atcb-dropup{position:absolute}:host:has(.atcb-group-overview){box-sizing:border-box;display:block;max-width:100%!important;width:min(600px,100%)!important}:host:has(.atcb-group-overview.atcb-group-overview-cards){width:min(1200px,100%)!important}.atcb-group-overview{box-sizing:border-box;color:#1b1f24;display:block;font-family:Arial,Helvetica,sans-serif;max-width:100%;width:100%}.atcb-group-overview.atcb-group-overview-cards{container-name:atcb-group-overview-cards;container-type:inline-size}.atcb-group-overview *{box-sizing:border-box}.atcb-group-overview-controls{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 1.25em;width:100%}.atcb-group-overview-results{display:block;width:100%}.atcb-group-overview-select{appearance:none;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#1b1f24 50%),linear-gradient(135deg,#1b1f24 50%,transparent 50%);background-position:calc(100% - .8em) 50%,calc(100% - .55em) 50%;background-repeat:no-repeat;background-size:.25em .25em;border:1px solid #111;border-radius:4px;color:#1b1f24;cursor:pointer;font:inherit;font-weight:700;padding:.55em 2.3em .55em .85em}.atcb-group-overview-select:focus:not(:focus-visible){outline:0}.atcb-group-overview-select:focus-visible{outline:2px solid #111;outline-offset:2px}.atcb-group-overview-month{font-size:1.15em;margin:24px 0 10px}.atcb-group-overview-items{display:flex;flex-direction:column;gap:.7em;list-style:none;margin:0;padding:0}.atcb-group-overview-items:has(> .atcb-group-overview-item-with-add){padding-right:1.35em}.atcb-group-overview-items.atcb-group-overview-list{max-width:600px;width:100%}.atcb-group-overview-items.atcb-group-overview-list>.atcb-group-overview-item{width:100%}.atcb-group-overview-items.atcb-group-overview-cards{display:grid;gap:1.4em;grid-template-columns:minmax(0,1fr);max-width:1200px;width:100%}.atcb-group-overview-items.atcb-group-overview-cards>.atcb-group-overview-item{min-width:0}@container atcb-group-overview-cards (width >= 600px){.atcb-group-overview-items.atcb-group-overview-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@container atcb-group-overview-cards (width >= 1000px){.atcb-group-overview-items.atcb-group-overview-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}.atcb-group-overview-item{background:#fff;border:1px solid #d7dbe0;border-radius:4px;box-shadow:rgb(16 24 40 / 9%) 0 1px 3px;min-height:4.5em;min-width:0;padding:0;position:relative;transition:border-color .15s ease,box-shadow .15s ease}.atcb-group-overview-event-link{align-items:stretch;color:inherit;display:flex;min-height:inherit;text-decoration:none;width:100%}.atcb-group-overview-event-link:focus-visible{border-radius:2px;outline:2px solid #111;outline-offset:2px}.atcb-group-overview-items:not(.atcb-group-overview-compact)>.atcb-group-overview-item-no-details:hover,.atcb-group-overview-items:not(.atcb-group-overview-compact)>.atcb-group-overview-item:hover:not(.atcb-group-overview-item-no-add):not(:has(.atcb-group-overview-add:hover)){border-color:#bfc5cd;box-shadow:rgb(16 24 40 / 15%) 0 .4em 1em}.atcb-group-overview-day{align-items:center;background:#282a2e;clip-path:inset(0 round 3px 0 0 3px);color:#fff;display:flex;flex:0 0 3.2em;justify-content:center;padding:.6em .8em;text-align:center;min-width:56px}.atcb-group-overview-day-value{font-size:1.7em;font-weight:600;line-height:1.15}.atcb-group-overview-content{min-width:0;padding:.7em 1.4em .7em .8em;width:100%}.atcb-group-overview-title{color:inherit;display:-webkit-box;font-size:.95em;font-weight:600;overflow:hidden;text-decoration:none;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.atcb-group-overview-meta{display:flex;flex-direction:column;align-items:flex-start;color:#667085;font-size:.78em;gap:3px;margin:10px 0}.atcb-group-overview-meta-item{align-items:center;display:inline-flex;gap:.35em}.atcb-group-overview-meta-icon{display:inline-flex;flex:0 0 1em;height:1em;width:1em}.atcb-group-overview-meta-icon svg{height:100%;width:100%}.atcb-group-overview-description{color:#667085;display:-webkit-box;font-size:.8em;line-height:1.35;margin:.45em 0 0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.atcb-group-overview-cards .atcb-group-overview-description{-webkit-line-clamp:3;line-clamp:3}.atcb-group-overview-add{align-items:center;background:#fff;border:1px solid #d7dbe0;border-radius:50%;color:#111;cursor:pointer;display:inline-flex;box-shadow:rgb(16 24 40 / 14%) 0 2px 5px;flex:0 0 1.8em;font-size:1em;height:1.8em;justify-content:center;line-height:1;padding:0;position:absolute;right:-.9em;text-decoration:none;top:calc(50% - .9em);touch-action:manipulation;width:1.8em;z-index:2;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.atcb-group-overview-add:focus-visible,.atcb-group-overview-add:hover{background:#111;border-color:#111;color:#fff}.atcb-group-overview-item-no-details .atcb-group-overview-event-link:focus-visible .atcb-group-overview-add,.atcb-group-overview-item-no-details:hover .atcb-group-overview-add{background:#111;border-color:#111;color:#fff}.atcb-group-overview-add:focus-visible{outline:2px solid #111;outline-offset:2px}.atcb-group-overview-cards .atcb-group-overview-content{padding:1em}.atcb-group-overview-cards .atcb-group-overview-meta-datetime{color:#111;font-size:1em;font-weight:600;margin-bottom:.5em}.atcb-group-overview-cards .atcb-group-overview-title{border-bottom:1px solid #d7dbe0;border-top:1px solid #d7dbe0;padding:.65em 0}.atcb-group-overview-compact.atcb-group-overview-items{display:list-item;list-style-type:disc;gap:10px}.atcb-group-overview-compact>.atcb-group-overview-item{background:0 0;border:0;border-radius:0;box-shadow:none;min-height:0;margin:0 0 10px 20px}.atcb-group-overview-compact-row{align-items:center;display:inline-flex;max-width:100%;gap:6px}.atcb-group-overview-compact>:is(.atcb-group-overview-compact-with-add,.atcb-group-overview-compact-with-marker){list-style:none}.atcb-group-overview-compact:has(:is(.atcb-group-overview-compact-with-add,.atcb-group-overview-compact-with-marker))>.atcb-group-overview-item{margin-left:0}.atcb-group-overview-compact .atcb-group-overview-add{flex:0 0 1.8em;margin-right:.4em;position:static}.atcb-group-overview-compact-marker{align-items:center;display:inline-flex;flex:0 0 1.8em;height:1.8em;justify-content:center;line-height:1;margin-right:.4em;width:1.8em}.atcb-group-overview-empty{font-size:.9em;margin:12px 0}@media (width <= 414px){.atcb-group-overview-day{flex-basis:auto;width:fit-content;min-width:43px;padding:.6em .5em}.atcb-group-overview-day-value{font-size:1.5em}}
vendor: 4,136 bytes, line 2
2@media (width <= 575px){.atcb-group-overview-meta-location{max-width:100%;width:100%}.atcb-group-overview-meta-location .atcb-group-overview-meta-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}',default:":host{--wrapper-padding:0px;--buttonslist-gap:5px;--btn-background:#fff;--btn-hover-background:#f7f8fa;--btn-hover-border:#bfc5cd;--btn-border:#d7dbe0;--btn-border-radius:10px;--btn-padding-x:1.09em;--btn-padding-y:.7em;--btn-font-weight:600;--btn-text:#1b1f24;--btn-hover-text:#1b1f24;--btn-shadow:rgb(16 24 40 / 7%) 0 1px 2px;--btn-hover-shadow:rgb(16 24 40 / 11%) 0 3px 8px;--btn-active-shadow:rgb(16 24 40 / 13%) 0 4px 10px -1px;--list-background:#fff;--list-border-color:#e4e7ec;--list-hover-background:#f2f4f7;--list-text:#1b1f24;--list-font-weight:400;--list-hover-text:#1b1f24;--list-close-background:#e5e5e5;--list-close-text:#777;--list-border-radius:12px;--list-padding:.6em .75em;--list-shadow:rgb(16 24 40 / 25%) 0 12px 32px -8px,rgb(16 24 40 / 8%) 0 2px 6px -2px;--list-modal-shadow:rgb(0 0 0 / 18%) 0 4px 34px -3px,rgb(0 0 0 / 14%) 0 2px 12px -2px;--input-border-radius:6px;--modal-text:#000;--modal-border-radius:6px;--modal-shadow:drop-shadow(3px 6px 28px rgb(0 0 0 / 30%));--modal-btn-bar:#c6c8cd;--modal-btn-background:#f5f5f5;--modal-btn-hover-background:#fff;--modal-btn-border:#d2d2d2;--modal-btn-hover-text:#161616;--modal-btn-secondary-text:#666567;--modal-btn-shadow:rgb(0 0 0 / 08%) 0 4px 14px -2px,rgb(0 0 0 / 08%) 0 2px 6px -1px;--modal-btn-hover-shadow:rgb(0 0 0 / 14%) 0 5px 17px -2px,rgb(0 0 0 / 12%) 0 3px 8px -2px;--modal-headline-text-transform:none;--date-btn-text-secondary:#667085;--date-btn-background:#fff;--date-btn-shadow:rgb(16 24 40 / 9%) 0 1px 3px;--date-btn-hover-shadow:rgb(16 24 40 / 15%) 0 6px 16px -4px;--checkmark-background:drop-shadow(0 0 4px #fff);--overlay-background:rgb(20 20 20 / 25%)}:host(.atcb-dark){--btn-background:#24272c;--btn-hover-background:#2b2f35;--btn-hover-border:#4a5058;--btn-border:#3b4046;--btn-hover-text:#f2f4f7;--btn-shadow:rgb(0 0 0 / 35%) 0 1px 2px;--btn-hover-shadow:rgb(0 0 0 / 45%) 0 3px 8px;--btn-active-shadow:rgb(0 0 0 / 50%) 0 4px 10px -1px;--list-background:#24272c;--list-border-color:#373c43;--list-hover-background:#2f343b;--list-hover-text:#f2f4f7;--list-close-background:#282828;--list-close-text:#777;--list-shadow:rgb(0 0 0 / 60%) 0 12px 32px -8px,rgb(0 0 0 / 30%) 0 2px 6px -2px;--list-modal-shadow:rgb(0 0 0 / 18%) -1px 3px 34px 2px;--modal-shadow:drop-shadow(3px 6px 28px rgb(0 0 0 / 30%));--modal-btn-bar:#38383a;--modal-btn-border:#434246;--modal-btn-shadow:rgb(255 255 255 / 3%) -2px -2px 14px,rgb(0 0 0 / 10%) 3px 3px 14px -2px,rgb(0 0 0 / 12%) 1px 2px 10px -1px;--date-btn-cal-month-text:#4a5058;--date-btn-background:#24272c;--date-btn-shadow:rgb(0 0 0 / 40%) 0 1px 3px;--checkmark-background:drop-shadow(0 0 4px #0a0a0a);--overlay-background:rgb(20 20 20 / 60%);--icon-ms365-color:#ea3e23;--icon-filter:grayscale(.2)}.atcb-initialized.atcb-buttons-list{gap:var(--buttonslist-gap)}.atcb-button{align-items:center;background-color:var(--btn-background);border:1px solid var(--btn-border);border-radius:var(--btn-border-radius);box-shadow:var(--btn-shadow);box-sizing:content-box;color:var(--btn-text);cursor:pointer;display:flex;font-family:var(--font);font-size:1em;font-weight:var(--btn-font-weight);justify-content:center;line-height:1.5em;margin:0;max-width:300px;padding:var(--btn-padding-y) var(--btn-padding-x);touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;width:auto}.atcb-button:not(.atcb-no-text,.atcb-modal-style,.atcb-dropoverlay,.atcb-single){min-width:calc(11.6em - 2 * var(--btn-padding-x))}.atcb-button.atcb-no-text{display:flex;place-content:center center;align-items:center;height:3em;width:3em;padding:0}.atcb-button:focus-visible{outline:2px solid var(--accent-color);outline-offset:.15em}.atcb-button:not([disabled]):focus,.atcb-button:not([disabled]):hover{background-color:var(--btn-hover-background);border-color:var(--btn-hover-border);box-shadow:var(--btn-hover-shadow);color:var(--btn-hover-text)}
vendor: 2,671 bytes, line 2
2.atcb-button.atcb-active:not(.atcb-modal-style,.atcb-dropoverlay),.atcb-button.atcb-single:not([disabled]):focus,.atcb-button.atcb-single:not([disabled]):hover{background-color:var(--btn-hover-background);border-color:var(--btn-hover-border);box-shadow:var(--btn-active-shadow);color:var(--btn-hover-text)}.atcb-button:not([disabled]).atcb-no-text.atcb-active,.atcb-button:not([disabled]).atcb-no-text:focus,.atcb-button:not([disabled]).atcb-no-text:hover{height:3em;width:3em;padding:0!important}.atcb-icon{height:1.15em;width:1.15em}.atcb-dropdown-anchor{bottom:4px;height:1px}.atcb-list-wrapper{font-weight:var(--list-font-weight);padding:0;z-index:14000090}.atcb-list-wrapper.atcb-dropoverlay{z-index:15000000;max-width:max-content}.atcb-list{background-color:var(--list-background);border:1px solid var(--list-border-color);border-radius:var(--list-border-radius);box-shadow:var(--list-shadow);min-width:100%;padding:.3em}.atcb-list-wrapper.atcb-dropdown:not(.atcb-dropup,.atcb-dropoverlay) .atcb-list{margin-top:.7em}.atcb-list-wrapper.atcb-dropup .atcb-list{margin-bottom:.7em}.atcb-list-item{background-color:transparent;border-radius:8px;padding:var(--list-padding)}.atcb-dropoverlay .atcb-list,.atcb-list.atcb-modal{border-radius:var(--list-border-radius)}.atcb-list.atcb-modal{box-shadow:var(--list-modal-shadow)}.atcb-modal-box{filter:var(--modal-shadow)}a.atcb-modal-btn,button.atcb-modal-btn{border:0;border-radius:var(--btn-border-radius);box-shadow:var(--modal-btn-shadow);font-size:.9em;margin:.625em}a.atcb-modal-btn.atcb-modal-btn-border,button.atcb-modal-btn.atcb-modal-btn-border{border:1px solid var(--modal-btn-border)}a.atcb-modal-btn:not([disabled]):hover,button.atcb-modal-btn:not([disabled]):hover{box-shadow:var(--modal-btn-hover-shadow)}.atcb-subevent-btn{display:flex;align-items:flex-start;cursor:pointer;font-family:var(--font);font-size:1em;box-shadow:var(--date-btn-shadow);background-color:var(--date-btn-background);border:0;border-radius:7px 4px 4px 7px;padding:0;margin:0;touch-action:manipulation;position:relative;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.atcb-subevent-btn:hover{align-items:center}.atcb-subevent-btn:focus,.atcb-subevent-btn:hover{box-shadow:var(--date-btn-hover-shadow)}.atcb-subevent-btn:focus-visible{outline:2px solid var(--accent-color)}.atcb-date-btn-left{border-radius:4px 0 0 4px}.atcb-rtl .atcb-date-btn-left{border-radius:0 4px 4px 0}.atcb-subevent-btn:hover .atcb-date-btn-left{opacity:.8}.atcb-date-btn-details{padding:.7em 1.4em .7em .8em}.atcb-rtl .atcb-date-btn-details{padding:.7em .8em .7em 1.4em}.atcb-subevent-btn:hover .atcb-date-btn-details{opacity:0}
vendor: 4,503 bytes, line 2
2.atcb-subevent-btn:hover .atcb-date-btn-hover{opacity:1}.atcb-date-btn-headline{font-size:.9em;margin-bottom:.5em}.atcb-date-btn-content+.atcb-date-btn-content{margin-top:.3em}.atcb-date-btn-plus{border-radius:100%}.atcb-saved .atcb-checkmark{top:-.9em;right:-.5em;height:1.2em}.atcb-button.atcb-active:not(.atcb-modal-style,.atcb-dropoverlay) .atcb-checkmark,.atcb-button.atcb-single:focus .atcb-checkmark,.atcb-button.atcb-single:hover .atcb-checkmark{top:-.77em;right:-.37em}.atcb-checkmark svg{filter:var(--checkmark-background)}#atcb-bgoverlay{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}#atcb-bgoverlay:not(dialog){animation:atcb-bgoverlay-animate .2s ease 0s 1 normal forwards;opacity:0}.atcb-icon-outlookcom,.atcb-icon.atcb-icon-ms365{padding-bottom:.05em}.atcb-icon.atcb-icon-apple,.atcb-icon.atcb-icon-ical{padding-bottom:.15em}.atcb-icon.atcb-icon-trigger{padding-bottom:.05em}.atcb-icon.atcb-icon-rsvp{height:1.5em;width:1.5em}.atcb-icon.atcb-icon-apple svg{fill:currentcolor}.atcb-icon.atcb-icon-ical svg{fill:currentcolor}.rsvp-inline-wrapper{filter:none;min-width:100%;margin-bottom:0}.atcb-modal-content.no-headline{padding-top:1.8em}.rsvp-inline-wrapper .atcb-modal-content,.rsvp-inline-wrapper .atcb-modal-headline,.rsvp-inline-wrapper.atcb-modal-box{background-color:transparent;border-radius:0;box-sizing:border-box;padding:0;width:100%}.rsvp-inline-wrapper.atcb-modal-box{padding:.2em .2em 1.5em}.rsvp-inline-wrapper .atcb-modal-headline{padding-bottom:1.5em}.pro #rsvp-atcb{display:flex;flex-wrap:wrap;gap:.4em;justify-content:center}.pro-form:not(.no-intro){border-top:1px solid var(--modal-btn-border);margin-top:1.5em;padding-top:1.5em}.pro-form.no-intro:not(.no-headline){padding-top:.5em}.pro-field input[type=email],.pro-field input[type=number],.pro-field input[type=text]{border:1px solid var(--modal-btn-border)}.pro-field input[type=email]:focus,.pro-field input[type=number]:focus,.pro-field input[type=text]:focus{border-color:var(--accent-color);outline:1px solid var(--accent-color)}#rsvp-status-group{border-bottom:1px solid var(--modal-btn-border);font-weight:700;margin-bottom:1.5em;padding-bottom:2em;text-align:center}#rsvp-status-group .pro-field{align-items:center;display:flex;flex-wrap:wrap;gap:3%;justify-content:center;margin-top:1em}@media (width <= 575px){#rsvp-status-group .pro-field{flex-direction:column;gap:1.2em}#rsvp-status-group .pro-field div{width:80%}}#rsvp-status-group .pro-field div{min-width:28%;position:relative}#rsvp-status-group input{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%;margin:0;cursor:pointer}#rsvp-status-group label{align-items:center;border:1px solid var(--modal-btn-text);border-radius:var(--input-border-radius);box-shadow:var(--btn-shadow);color:var(--modal-btn-text);display:flex;flex-direction:column;font-weight:700;text-transform:uppercase;justify-content:center;opacity:.6;padding:.8em;transition:all .1s ease-in-out;width:100%}#rsvp-status-group label.status-confirmed{border-color:var(--form-success);color:var(--form-success)}#rsvp-status-group label.status-declined{border-color:var(--form-error);color:var(--form-error)}#rsvp-status-group input:checked+label{background-color:var(--modal-text);box-shadow:var(--btn-hover-shadow);color:var(--status-active-text);opacity:1;transform:scale(1.08)}#rsvp-status-group input:focus-visible+label{outline:2px solid var(--accent-color);outline-offset:2px}#rsvp-status-group input:not([disabled])+label:hover,#rsvp-status-group input:not([disabled]):hover+label{box-shadow:var(--btn-hover-shadow);opacity:1;transform:scale(1.08)}#rsvp-status-group input:checked+label.status-confirmed{background-color:var(--form-success)}#rsvp-status-group input:checked+label.status-declined{background-color:var(--form-error)}#rsvp-success-msg,#rsvp-success-msg-demo,#rsvp-success-msg-doi,#rsvp-success-msg-email,#ty-success-msg{display:none;font-weight:700;line-height:1.6em;padding-top:.5em;text-align:center}#rsvp-success-msg,#rsvp-success-msg-demo,#ty-success-msg{padding:1.5em 0}#rsvp-success-msg-demo,#rsvp-success-msg-email{color:var(--form-success)}#rsvp-success-msg-doi{color:var(--form-error);padding-top:1em;font-size:.8em}.pro-form-fine{margin:.5em auto 1em}.pro-waiting{border:1px solid var(--modal-btn-border)}.pro #rsvp-sent-content{align-items:center;display:flex;flex-direction:column;gap:1.5em}#rsvp-status-group span{color:inherit}#atcb-reference.atcb-dropup{margin-top:-1px}@media (width <= 575px){.atcb-modal-box{filter:none}}"
2},Pa=["default","simple","3d","flat","round","neumorphism","text","date"],$a=function(){try{if({}.url){var e=String({}.url);if(0!==e.indexOf("data:")&&e.lastIndexOf("/")>-1)return Tt(e)}}catch(e){}try{if("undefined"!=typeof document&&document.currentScript&&document.currentScript.src)return Tt(document.currentScript.src)}catch(e){}return""}(),Ya=new Map;function Ha(e,t){Ba["".concat(e)]=t}function ja(e){if(e.styleSource&&""!==e.styleSource){var t=String(e.styleSource);return t.endsWith("/")?t:t+"/"}return""===$a?"":$a+"../styles/"}function qa(e,t){return Fa.apply(this,arguments)}function Fa(){return(Fa=F(S().mark(function e(t,n){var r,a,i;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==(r=ja(n))){e.next=4;break}return n.debug&&console.warn('Add to Calendar Button: style "'+t+'" is not registered and no style source could be resolved - import the style module or set the style-source attribute'),e.abrupt("return",null);case 4:return e.prev=4,e.next=7,fetch(r+t+".css");case 7:if((a=e.sent).ok){e.next=10;break}throw new Error("status "+a.status);case 10:return e.next=12,a.text();case 12:return i=e.sent,Ha(t,i),e.abrupt("return",i);case 17:return e.prev=17,e.t0=e.catch(4),n.debug&&console.error('Add to Calendar Button: loading style "'+t+'" from "'+r+'" failed',e.t0),e.abrupt("return",null);case 21:case"end":return e.stop()}},e,null,[[4,17]])}))).apply(this,arguments)}function Va(e){return Za.apply(this,arguments)}function Za(){return(Za=F(S().mark(function e(t){var n,r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("none"!==(n=t.buttonStyle||"default")){e.next=3;break}return e.abrupt("return",null);case 3:if(r=Ba.core){e.next=6;break}return e.abrupt("return",null);case 6:if(!Ba["".concat(n)]){e.next=8;break}return e.abrupt("return",r+Ba["".concat(n)]);case 8:if("custom"!==n){e.next=10;break}return e.abrupt("return",null);case 10:return Ya.has(n)||Ya.set(n,qa(n,t).finally(function(){Ya.delete(n)})),e.next=13,Ya.get(n);case 13:return a=e.sent,e.abrupt("return",null===a?null:r+a);case 15:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Wa(e){if(Ba.core){var t,n=W(Pa);try{for(n.s();!(t=n.n()).done;){var r=t.value;Ba["".concat(r)]||Va($e($e({},e),{},{buttonStyle:r}))}}catch(e){n.e(e)}finally{n.f()}}}function Ga(e){return Ka.apply(this,arguments)}function Ka(){return(Ka=F(S().mark(function e(t){var n,r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.name&&""!==t.name||t.dates&&0!==t.dates.length){e.next=2;break}throw new Error("Add to Calendar Button generation failed: required name information missing");case 2:if(!(t.dates&&t.dates.length>0)){e.next=11;break}if(!(!0===t.subscribe&&t.dates.length>1)){e.next=5;break}throw new Error("Add to Calendar Button generation failed: a subscription calendar cannot be a multi-date setup");case 5:return n=t.dates,r=["name","startDate"],a=["name"],e.abrupt("return",r.every(function(e){for(var r=0;r<n.length;r++)if(!a.includes("".concat(e))&&(!n["".concat(r)]["".concat(e)]||""===n["".concat(r)]["".concat(e)])||a.includes("".concat(e))&&(!n["".concat(r)]["".concat(e)]||""===n["".concat(r)]["".concat(e)])&&(!t["".concat(e)]||""===t["".concat(e)])){if(!t.subscribe||"startDate"!==e)throw new Error("Add to Calendar Button generation failed: required setting missing [dates array object #"+(r+1)+"/"+n.length+"] => ["+e+"]");n["".concat(r)].startDate="today"}return!0}));case 11:return e.abrupt("return",["startDate"].every(function(e){if(!t["".concat(e)]||""===t["".concat(e)]){if(!t.subscribe||"startDate"!==e)throw new Error("Add to Calendar Button generation failed: required setting missing ["+e+"]");t.startDate="today"}return!0}));case 12:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Ja(e){return Qa.apply(this,arguments)}function Qa(){return(Qa=F(S().mark(function e(t){var n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="Add to Calendar Button generation ("+t.identifier+")",e.prev=1,e.next=4,Xa(t,n);case 4:return e.next=6,ti(t,n);case 6:return e.next=8,ri(t,n);case 8:return e.next=10,ii(t,n);case 10:return e.next=12,ci(t,n);case 12:return e.next=14,li(t,n);case 14:return e.next=16,ui(t,n);case 16:return e.next=18,Oi(t,n);case 18:return e.next=20,Ci(t,n);case 20:if(!t.recurrence_simplified){e.next=23;break}return e.next=23,Mi(t,n);case 23:return e.abrupt("return",!0);case 26:throw e.prev=26,e.t0=e.catch(1),new Error(e.t0.message);case 29:case"end":return e.stop()}},e,null,[[1,26]])}))).apply(this,arguments)}function Xa(e,t){return ei.apply(this,arguments)}function ei(){return ei=F(S().mark(function e(t,n){var r,a,i,o,c=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=c.length>2&&void 0!==c[2]?c[2]:"",a=c.length>3&&void 0!==c[3]?c[3]:"",""===(i=function(){return""!==r&&t.dates["".concat(r)].icsFile?t.dates["".concat(r)].icsFile:""===r&&t.icsFile?t.icsFile:""}())){e.next=8;break}
2if(dt(i,!1)&&/^https:\/\//i.test(i)){e.next=6;break}throw new Error(n+" failed: explicit ics file path not valid"+a);case 6:o=i.replace(/^https:\/\//i,"https://"),""===r?t.icsFile=o:t.dates["".concat(r)].icsFile=o;case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}},e)})),ei.apply(this,arguments)}function ti(e,t){return ni.apply(this,arguments)}function ni(){return(ni=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(["default","simple","3d","flat","round","neumorphism","text","date","custom","none"].includes(t.buttonStyle)){e.next=2;break}throw new Error(n+" failed: provided buttonStyle invalid");case 2:if(!t.customCss||""===t.customCss||dt(t.customCss,!1)&&/\.css(?:$|\?)/.test(t.customCss)){e.next=4;break}throw new Error(n+" failed: customCss provided, but no valid url");case 4:if(t.customCss&&""!==t.customCss||"custom"!==t.buttonStyle){e.next=6;break}throw new Error(n+' failed: buttonStyle "custom" selected, but no customCss file provided');case 6:if(!t.rsvp||"date"!==t.buttonStyle&&"none"!==t.buttonStyle){e.next=8;break}throw new Error(n+" failed: buttonStyle "+t.buttonStyle+" is not compatible with the RSVP functionality");case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ri(e,t){return ai.apply(this,arguments)}function ai(){return(ai=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!0!==t.subscribe||t.icsFile&&""!==t.icsFile){e.next=2;break}throw new Error(n+" failed: a subscription calendar requires a valid explicit ics file as well");case 2:return e.abrupt("return",!0);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ii(e,t){return oi.apply(this,arguments)}function oi(){return(oi=F(S().mark(function e(t,n){var r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=0;case 1:if(!(r<t.dates.length)){e.next=8;break}if(a=t.dates.length>1?" [dates array object #"+(r+1)+"/"+t.dates.length+"]":"",/^\d{8}T\d{6}Z$/.test(t.dates["".concat(r)].icsCreated)){e.next=5;break}throw new Error(n+" failed: icsCreated date format not valid. Needs to be a full ISO-8601 UTC date and time string, formatted YYYYMMDDTHHMMSSZ"+a);case 5:r++,e.next=1;break;case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ci(e,t){return si.apply(this,arguments)}function si(){return(si=F(S().mark(function e(t,n){var r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=0;case 1:if(!(r<t.dates.length)){e.next=8;break}if(a=t.dates.length>1?" [dates array object #"+(r+1)+"/"+t.dates.length+"]":"",/^\d{8}T\d{6}Z$/.test(t.dates["".concat(r)].icsUpdated)){e.next=5;break}throw new Error(n+" failed: icsUpdated date format not valid. Needs to be a full ISO-8601 UTC date and time string, formatted YYYYMMDDTHHMMSSZ"+a);case 5:r++,e.next=1;break;case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function li(e,t){return di.apply(this,arguments)}function di(){return(di=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.options.every(function(e){if(!se.includes(e))throw new Error("".concat(n," failed: invalid option [").concat(e,"]"));return!0}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ui(e,t){return pi.apply(this,arguments)}function pi(){return(pi=F(S().mark(function e(t,n){var r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,r=S().mark(function e(r){var a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(){return 1===t.dates.length?"":" [dates array object #"+(r+1)+"/"+t.dates.length+"] "}(),e.next=3,Xa(t,n,r,a);case 3:return e.next=5,bi(t,n,r,a);case 5:return e.next=7,hi(t,n,r,a);case 7:return e.next=9,mi(t,n,r,a);case 9:return e.next=11,yi(t,n,r,a);case 11:return e.next=13,xi(t,n,r,a);case 13:return e.next=15,Ei(t,n,r,a);case 15:return e.next=17,Ai(t,n,r,a);case 17:return e.next=19,Ti(t,n,r,a);case 19:case"end":return e.stop()}},e)}),a=0;case 3:if(!(a<t.dates.length)){e.next=8;break}return e.delegateYield(r(a),"t0",5);case 5:a++,e.next=3;break;case 8:return e.abrupt("return",!0);case 11:throw e.prev=11,e.t1=e.catch(0),new Error(e.t1.message);case 14:case"end":return e.stop()}},e,null,[[0,11]])}))).apply(this,arguments)}function bi(e,t,n,r){return fi.apply(this,arguments)}function fi(){return fi=F(S().mark(function e(t,n,r,a){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(["tentative","confirmed","cancelled"].includes(t.dates["".concat(r)].status.toLowerCase())){e.next=2;break}throw new Error(n+" failed: event status needs to be tentative, confirmed, or cancelled"+a);case 2:return e.abrupt("return",!0);case 3:case"end":return e.stop()}},e)})),fi.apply(this,arguments)}function hi(e,t,n,r){return vi.apply(this,arguments)}function vi(){return vi=F(S().mark(function e(t,n,r,a){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.dates["".concat(r)].availability||""===t.dates["".concat(r)].availability||"free"===t.dates["".concat(r)].availability||"busy"===t.dates["".concat(r)].availability){e.next=2;break}throw new Error(n+' failed: event availability needs to be "free" or "busy"'+a);case 2:return e.abrupt("return",!0);case 3:case"end":return e.stop()}},e)})),vi.apply(this,arguments)}function mi(e,t,n,r){return gi.apply(this,arguments)}function gi(){return gi=F(S().mark(function e(t,n,r,a){var i;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.dates["".concat(r)].organizer||""===t.dates["".concat(r)].organizer){e.next=4;break}if(!(2!==(i=t.dates["".concat(r)].organizer.split("|")).length||i[0].length>50||i[1].length>100)&&Gt(i[1])){e.next=4;break}throw new Error(n+' failed: organizer needs to match the schema "NAME|EMAIL" with a valid email address, where the name is <50 and email <100 characters'+a);case 4:return e.abrupt("return",!0);case 5:case"end":return e.stop()}},e)})),gi.apply(this,arguments)}function yi(e,t,n,r){return wi.apply(this,arguments)}function wi(){return wi=F(S().mark(function e(t,n,r,a){var i;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.dates["".concat(r)].attendee||""===t.dates["".concat(r)].attendee){e.next=8;break}if(t.dates["".concat(r)].organizer&&""!==t.dates["".concat(r)].organizer){e.next=3;break}throw new Error(n+" failed: if an attendee is set, you also need to set the organizer"+a);case 3:if(1!==(i=t.dates["".concat(r)].attendee.split("|")).length||!Gt(i[0])){e.next=6;break}return e.abrupt("return",!0);case 6:if(!(2!==i.length||i[0].length>50||i[1].length>100)&&Gt(i[1])){e.next=8;break}throw new Error(n+' failed: attendee needs to be a valid email address or match the schema "NAME|EMAIL" with EMAIL being a valid email address'+a);case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}},e)})),wi.apply(this,arguments)}function xi(e,t,n,r){return ki.apply(this,arguments)}function ki(){return ki=F(S().mark(function e(t,n,r,a){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return/^(?:\w|-){1,254}$/.test(t.dates["".concat(r)].uid)||(t.debug&&console.warn(n+": UID not val
2id. May only contain alpha, digits, and dashes; and be less than 255 characters. Falling back to an automated value!"+a),t.dates["".concat(r)].uid=ft()),!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t.dates["".concat(r)].uid)&&t.debug&&console.warn(n+": UID is highly recommended to be a hex-encoded random Universally Unique Identifier (UUID)!"+a),e.abrupt("return",!0);case 3:case"end":return e.stop()}},e)})),ki.apply(this,arguments)}function Ei(e,t,n,r){return Si.apply(this,arguments)}function Si(){return Si=F(S().mark(function e(t,n,r,a){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.dates["".concat(r)].sequence&&(Number(t.dates["".concat(r)].sequence)<0||Number(t.dates["".concat(r)].sequence)%1!=0)&&(t.debug&&console.log(n+": sequence needs to be a full number >= 0. Used the default 0 instead"+a),t.dates["".concat(r)].sequence=0),e.abrupt("return",!0);case 2:case"end":return e.stop()}},e)})),Si.apply(this,arguments)}function Ai(e,t,n,r){return _i.apply(this,arguments)}function _i(){return _i=F(S().mark(function e(t,n,r,a){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((0,J.tzlib_get_timezones)().includes(t.dates["".concat(r)].timeZone)){e.next=2;break}throw new Error(n+" failed: invalid time zone given"+a);case 2:return e.abrupt("return",!0);case 3:case"end":return e.stop()}},e)})),_i.apply(this,arguments)}function Ti(e,t,n,r){return Li.apply(this,arguments)}function Li(){return Li=F(S().mark(function e(t,n,r,a){var i,o;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.dates["".concat(r)],o={},["startDate","endDate"].forEach(function(e){var t=i["".concat(e)];if(10!==t.length)throw new Error("".concat(n," failed: date misspelled [").concat(t," -> YYYY-MM-DD]").concat(a));var r=t.split("-");if(3!==r.length)throw new Error("".concat(n," failed: date misspelled [").concat(e,": ").concat(t,"]").concat(a));o["".concat(e)]=new Date(Number(r[0]),Number(r[1])-1,Number(r[2]))}),["startTime","endTime"].forEach(function(e){var t=i["".concat(e)];if(t){if(5!==t.length)throw new Error("".concat(n," failed: time misspelled [").concat(t," -> HH:MM]").concat(a));var r=t.split(":");if(2!==r.length||Number(r[0])>23||Number(r[1])>59)throw new Error("".concat(n," failed: time misspelled [").concat(e,": ").concat(t,"]").concat(a));var c="startTime"===e?"startDate":"endDate";o["".concat(c)]=new Date(o["".concat(c)].getTime()+36e5*parseInt(r[0],10)+6e4*parseInt(r[1],10))}}),!(i.startTime&&!i.endTime||!i.startTime&&i.endTime)){e.next=7;break}throw new Error("".concat(n," failed: if you set a starting or end time, the respective other one also needs to be defined").concat(a));case 7:if(!(o.endDate<o.startDate)){e.next=9;break}throw new Error("".concat(n," failed: end date before start date").concat(a));case 9:return e.abrupt("return",!0);case 10:case"end":return e.stop()}},e)})),Li.apply(this,arguments)}function Ci(e,t){return Di.apply(this,arguments)}function Di(){return(Di=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=function(e){return e?(Array.isArray(e)?e:[String(e)]).flatMap(function(e){return String(e).split(",")}).map(function(e){return e.trim()}).filter(function(e){return""!==e}):[]},a=function(e){return dt(e,!1)&&/^https?:\/\//i.test(e)},i=0;case 3:if(!(i<t.dates.length)){e.next=42;break}if(o=t.dates["".concat(i)],c=t.dates.length>1?" [dates array object #"+(i+1)+"/"+t.dates.length+"]":"",!o.icsClass||["public","private","confidential"].includes(String(o.icsClass).toLowerCase())){e.next=8;break}throw new Error(n+" failed: icsClass needs to be public, private, or confidential"+c);case 8:if(void 0===o.icsPriority||""===o.icsPriority){e.next=12;break}if(s=Number(o.icsPriority),!(!Number.isInteger(s)||s<0||s>9)){e.next=12;break}throw new Error(n+" failed: icsPriority needs to be an integer between 0 and 9"+c);case 12:if(!o.icsGeo||/^-?\d{1,2}(?:\.\d+)?\s*,\s*-?\d{1,3}(?:\.\d+)?$/.test(String(o.icsGeo).trim())){e.next=14;break}throw new Error(n+' failed: icsGeo needs to be "latitude,longitude" decimal coordinates'+c);case 14:if(!o.icsGeo){e.next=18;break}if(l=String(o.icsGeo).split(",").map(function(e){return parseFloat(e)}),d=Z(l,2),u=d[0],p=d[1],!(Math.abs(u)>90||Math.abs(p)>180)){e.next=18;break}throw new Error(n+" failed: icsGeo coordinates out of range"+c);case 18:if(void 0===o.icsReminder||""===o.icsReminder||/^\d+$/.test(String(o.icsReminder))||/^-?P(?:\d+[DW])?(?:T(?:\d+[HMS])+)?$/i.test(String(o.icsReminder))){e.next=20;break}throw new Error(n+" failed: icsReminder needs to be minutes before start (number) or an ISO 8601 duration"+c);case 20:if(!o.icsUrl||a(String(o.icsUrl))){e.next=22;break}throw new Error(n+" failed: icsUrl is no valid http(s) url"+c);case 22:b=W(r(o.icsAttach)),e.prev=23,b.s();case 25:if((f=b.n()).done){e.next=31;break}if(h=f.value,a(h)){e.next=29;break}throw new Error(n+" failed: icsAttach entries need to be valid http(s) urls"+c);case 29:e.next=25;break;case 31:e.next=36;break;case 33:e.prev=33,e.t0=e.catch(23),b.e(e.t0);case 36:return e.prev=36,b.f(),e.finish(36);case 39:i++,e.next=3;break;case 42:if(!((v=r(t.icsExdate)).length>0)){e.next=63;break}
2if(t.recurrence&&""!==t.recurrence){e.next=46;break}throw new Error(n+" failed: icsExdate requires a recurrence to exclude dates from");case 46:m=W(v),e.prev=47,m.s();case 49:if((g=m.n()).done){e.next=55;break}if(y=g.value,/^\d{4}-\d{2}-\d{2}$/.test(y)){e.next=53;break}throw new Error(n+" failed: icsExdate entries need to be formatted as YYYY-MM-DD");case 53:e.next=49;break;case 55:e.next=60;break;case 57:e.prev=57,e.t1=e.catch(47),m.e(e.t1);case 60:return e.prev=60,m.f(),e.finish(60);case 63:return e.abrupt("return",!0);case 64:case"end":return e.stop()}},e,null,[[23,33,36,39],[47,57,60,63]])}))).apply(this,arguments)}function Oi(e,t){return Ri.apply(this,arguments)}function Ri(){return(Ri=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.recurrence&&""!==t.recurrence&&t.dates.length>1)){e.next=2;break}throw new Error(n+" failed: RRULE and multi-date set at the same time");case 2:if(!t.recurrence||""===t.recurrence||/^RRULE:[\w=;,:+\-/\\]+$/i.test(t.recurrence)){e.next=4;break}throw new Error(n+" failed: RRULE data misspelled");case 4:return e.abrupt("return",!0);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Mi(e,t){return Ii.apply(this,arguments)}function Ii(){return(Ii=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.recurrence_interval||!(Number(t.recurrence_interval)<1||Number(t.recurrence_interval)%1!=0)){e.next=2;break}throw new Error(n+" failed: recurrence data (interval) misspelled");case 2:if(!t.recurrence_until||""===t.recurrence_until||/^\d{8}T\d{6}Z$/.test(t.recurrence_until)){e.next=4;break}throw new Error(n+" failed: recurrence data (until) misspelled - must be in format YYYYMMDDTHHMMSSZ");case 4:if(!t.recurrence_count||!(Number(t.recurrence_count)<1||Number(t.recurrence_count)%1!=0)){e.next=6;break}throw new Error(n+" failed: recurrence data (count) misspelled");case 6:if(!t.recurrence_byMonth||""===t.recurrence_byMonth||/^[\d,]+$/.test(t.recurrence_byMonth)){e.next=8;break}throw new Error(n+" failed: recurrence data (byMonth) misspelled");case 8:if(!t.recurrence_byMonthDay||""===t.recurrence_byMonthDay||/^[\d,]+$/.test(t.recurrence_byMonthDay)){e.next=10;break}throw new Error(n+" failed: recurrence data (byMonthDay) misspelled");case 10:if(!t.recurrence_byDay||""===t.recurrence_byDay||/^(?:[\d,-]|MO|TU|WE|TH|FR|SA|SU)+$/im.test(t.recurrence_byDay)){e.next=12;break}throw new Error(n+" failed: recurrence data (byDay) misspelled");case 12:if(!t.recurrence_weekstart||""===t.recurrence_weekstart||/^(?:MO|TU|WE|TH|FR|SA|SU)$/im.test(t.recurrence_weekstart)){e.next=14;break}throw new Error(n+" failed: recurrence data (weekstart) misspelled");case 14:return e.abrupt("return",!0);case 15:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Ni=2,Ui=function(){return H(function e(t){$(this,e)},[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AT",value:function(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}},{key:"_$AS",value:function(e,t){return this.update(e,t)}},{key:"update",value:function(e,t){return this.render.apply(this,M(t))}}])}(),zi=function(e){function t(e){var n;if($(this,t),(n=I(this,t,[e])).it=ma,e.type!==Ni)throw Error(n.constructor.directiveName+"() can only be used in child bindings");return n}return B(t,e),H(t,[{key:"render",value:function(e){if(e===ma||null==e)return this._t=void 0,this.it=e;if(e===va)return e;if("string"!=typeof e)throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;var t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}])}(Ui);zi.directiveName="unsafeHTML",zi.resultType=1;var Bi=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return{_$litDirective$:e,values:n}}}(zi),Pi=new Map;function $i(e){if(e){var t=Pi.get(e);t&&(t.forEach(function(e){return URL.revokeObjectURL(e)}),Pi.delete(e))}}function Yi(e){return!e.dates.some(function(e){return"cancelled"===e.status})&&e.dates.every(function(t){return(t.organizer||"")===(e.dates[0].organizer||"")})}function Hi(e,t,n,r,a,i,o){for(var c=document.createElement("a"),s=0,l=Array.from(n.attributes);s<l.length;s++){var d=l[s];c.setAttribute(d.name,d.value)}for(c.href=function(e,t){if(!ee()&&!e.fakeIOS||!t.content||"function"!=typeof URL.createObjectURL)return t.href;var n=URL.createObjectURL(new Blob([t.content],{type:"text/calendar;charset=utf-8"})),r=e.identifier,a=Pi.get(r)||new Set;return a.add(n),Pi.set(r,a),n}(t,o),c.target=o.target,c.rel="noopener","dynamic"===o.kind&&(c.download=o.filename+".ics"),delete c.dataset.atcbLinkPending,c.removeAttribute("disabled");n.firstChild;)c.append(n.firstChild);c.addEventListener("click",function(){return function(e,t,n,r,a,i){var o,c;Vt("singleton"===a?"openSingletonLink":"subevent"===a?"openSubEventLink":"openCalendarLink",i.id,t.identifier),"list"===a&&setTimeout(function(){return en(e,"close")},0);var s=null===(o=Object.entries(Oe(t.identifier)).find(function(e){return Z(e,1)[0]===n}))||void 0===o?void 0:o[1];if(s){if("all"===r)s.forEach(function(e,t){return s.splice(t,1,e+1)});else if("cancelled"!==(null===(c=t.dates.find(function(e,t){return t===r}))||void 0===c?void 0:c.status)){var l=s.find(function(e,t){return t===r})||0;s.splice(r,1,l+1)}var d;s.every(function(e){return e>0})&&(null===(d=e.getElementById(t.identifier))||void 0===d||d.classList.add("atcb-saved"),Zt(e,t),"subevent"===a&&setTimeout(function(){return en(e,"close")},0)),i.classList.add("atcb-saved")}}
2(e,t,r,a,i,c)});var u=n.getRootNode()instanceof ShadowRoot&&n.getRootNode().activeElement===n;return n.replaceWith(c),u&&c.focus(),c}function ji(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"all",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"list";if(function(e){return"apple"===e||"ical"===e}(r)&&!t.subscribe&&!t.blockInteraction&&!t.disabled&&(!("all"===a&&t.dates.length>1)||Yi(t))&&(t.proxy||""===sn(e,t,a))){n.dataset.atcbLinkPending="true";var o=function(e){e.preventDefault(),e.stopImmediatePropagation()};n.addEventListener("click",o,{capture:!0});var c=t.identifier;setTimeout(function(){if(n.isConnected&&t.identifier===c){var s;try{s=dn(e,t,r,a,!1,!0)}catch(e){return delete n.dataset.atcbLinkPending,void n.removeEventListener("click",o,{capture:!0})}if(!s||"static"===s.kind||"assistance"===s.kind||""===s.href)return delete n.dataset.atcbLinkPending,void n.removeEventListener("click",o,{capture:!0});Hi(e,t,n,r,a,i,s)}},0)}}function qi(e,t,n){return""!==n?n:1===e.options.length||"trigger"===t?function(e){if("none"!=e.pastDateHandling){for(var t=!0,n=0;n<e.dates.length;n++)if(!e.dates["".concat(n)].overdue){t=!1;break}if(t)return $t("expired",e)}return $t("label.addtocalendar",e)}(e):$t("close"===t?"close":t,e)}function Fi(e,t,n,r,a,i){var o,c=e.dates.length>1&&n?e.name:e.dates["".concat(t)].name,s=(o=qe(e.dates,e.formatLocale||e.language,t,!1,!1,!0)).length>0?o.join(" "):a.join(" "),l=[r.replace(/<br>/g," ").replace(/\+\s/g,"")+(i?" ("+$t(e.options[0],e)+")":"")+": "+c];return e.dates["".concat(t)].location&&""!==e.dates["".concat(t)].location&&l.push(e.dates["".concat(t)].location),""!==s&&l.push(s),e.recurrence&&""!==e.recurrence&&l.push($t("recurring",e)),l.join(", ")}function Vi(e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";"all"!==n?n=parseInt(n)-1:1===e.dates.length&&(n=0);var r=qe(e.dates,e.formatLocale||e.language,n,!1,!1,t),a="all"!==n&&"cancelled"===e.dates["".concat(n)].status||"all"===n&&e.allCancelled?$t("date.status.cancelled",e):"none"!==e.pastDateHandling&&("all"===n&&e.allOverdue||"all"!==n&&e.dates["".concat(n)].overdue)?$t("expired",e):e.label&&""!==e.label?e.label:$t("label.addtocalendar",e),i="all"!==n&&"cancelled"===e.dates["".concat(n)].status||"all"===n&&e.allCancelled?$t("date.status.cancelled",e):"",o=0===r.length?$t("recurring",e)+" ⟳":"⟳",c=!1;if("all"===n){if(n=0,!e.allOverdue)for(var s=0;s<e.dates.length;s++)if(!e.dates["".concat(s)].overdue){n=s;break}c=!0}return{subEvent:n,subEventAll:c,fullTimeInfo:r,hoverText:a,cancelledInfo:i,recurringString:o}}function Zi(e){var t=Vi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",arguments.length>2&&void 0!==arguments[2]&&arguments[2]),n=t.subEvent,r=t.subEventAll,b=t.fullTimeInfo,f=t.hoverText,h=t.cancelledInfo,v=t.recurringString,m=new Date(Ye(e.dates["".concat(n)]).start),g=Ye(e.dates["".concat(n)]).allday,y=e.dates["".concat(n)].timeZone,w=e.dates.length>1&&r?e.name:e.dates["".concat(n)].name,k=e.dates["".concat(n)].location&&""!==e.dates["".concat(n)].location&&!e.dates["".concat(n)].onlineEvent||""!==h,E=!(k||""===e.dates["".concat(n)].description||0!==b.length||e.recurrence&&""!==e.recurrence),S=!(k||E||0!=b.length||null!=e.recurrence&&""!=e.recurrence),A="".concat(k||E?"":" atcb-date-btn-headline-two-lines").concat(S?" atcb-date-btn-headline-centered":"");return ha(a||(a=x(['<div class="atcb-date-btn-left">\n <div class="atcb-date-btn-day">','</div>\n <div class="atcb-date-btn-month">','</div>\n </div>\n <div class="atcb-date-btn-right','">\n <div class="atcb-date-btn-details">\n <div class="atcb-date-btn-headline','">',"</div>\n ","\n ",'\n </div>\n <div class="atcb-date-btn-hover">',"</div>\n </div>\n ","\n ",""])),m.toLocaleString(e.formatLocale||e.language,{day:"numeric",timeZone:g?"UTC":y}),m.toLocaleString(e.formatLocale||e.language,{month:"short",timeZone:g?"UTC":y}),S?" atcb-date-btn-right-centered":"",A,w,k?""!=h?ha(i||(i=x(['<div class="atcb-date-btn-content atcb-date-btn-cancelled">',"</div>"])),h):ha(o||(o=x(['<div class="atcb-date-btn-content">
2\n <span class="atcb-date-btn-content-icon">','</span>\n <span class="atcb-date-btn-content-location">',"</span>\n </div>"])),Bi(we.pin),e.dates["".concat(n)].location):E?ha(c||(c=x(['<div class="atcb-date-btn-content atcb-date-btn-content-clamped">',"</div>"])),e.dates["".concat(n)].descriptionHtmlFree):ma,b.length>0||null!=e.recurrence&&""!=e.recurrence?ha(s||(s=x(['<div class="atcb-date-btn-content">\n <span class="atcb-date-btn-content-icon">','</span>\n <span class="atcb-date-btn-content-text">\n ',"","\n </span>\n </div>"])),Bi(we.clock),b.map(function(e){return ha(l||(l=x(["<span>","</span>"])),e)}),null!=e.recurrence&&""!=e.recurrence?ha(d||(d=x(["<span>","</span>"])),Bi(v)):ma):ma,Bi(f),e.hideCheckmark||"cancelled"===e.dates["".concat(n)].status?ma:ha(u||(u=x(['<div class="atcb-checkmark">',"</div>"])),Bi(we.checkmark)),""!==h||e.dates["".concat(n)].overdue&&"none"!==e.pastDateHandling?ma:ha(p||(p=x(['<div class="atcb-date-btn-plus">',"</div>"])),Bi(we.plus)))}function Wi(e,t){var n=!!(1===t.options.length||t.buttonsList&&"date"!=t.buttonStyle),a=n?t.options:["default"],i="date"===t.buttonStyle;return ha(b||(b=x(["",""])),a.map(function(a,o){var c,s=n&&t.buttonsList?t.identifier+"-"+a:t.identifier,l=n&&t.buttonsList&&t.options.length>1?$t("".concat(t.options["".concat(o)]),t):t.label,d=n&&t.buttonsList?a:"trigger",u=qi(t,d,null!=l?l:""),p=("trigger"===d||n)&&!t.hideTextLabelButton||!n&&"trigger"!==d&&!t.hideTextLabelList,b=n?function(e,t,n){return{click:Xt(function(){var r=F(S().mark(function r(a){var i,o;return S().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a.currentTarget,null===(i=e.querySelector("#"+o.id))||void 0===i||i.blur(),Vt("openSingletonLink",o.id,t.identifier),r.next=5,En(e,n,t);case 5:case"end":return r.stop()}},r)}));return function(e){return r.apply(this,arguments)}}()),keyup:(r=F(S().mark(function r(a){var i,o;return S().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if("Enter"!==a.key){r.next=7;break}return a.preventDefault(),o=a.currentTarget,null===(i=e.querySelector("#"+o.id))||void 0===i||i.blur(),Vt("openSingletonLink",o.id,t.identifier),r.next=7,En(e,n,t,"all",!0);case 7:case"end":return r.stop()}},r)})),function(e){return r.apply(this,arguments)})};var r}(e,t,a):function(e,t,n){var r=function(r,a){"rsvp"===n?rc(e,t,r,a):en(e,"auto",t,r,a,!0)},a=Xt(function(e){e.preventDefault(),r(e.currentTarget,!1)}),i=Xt(function(e){e.preventDefault(),r(e.currentTarget,!1)});return{keyup:function(r){"Enter"!==r.key&&"Space"!=r.code||(r.preventDefault(),"rsvp"===n?rc(e,t,r.currentTarget,!0):en(e,"auto",t,r.currentTarget,!0,!0))},touchend:a,mouseup:"click"===t.trigger||"rsvp"===n?i:void 0,mouseenter:"click"!==t.trigger&&"rsvp"!==n?function(n){en(e,"open",t,n.currentTarget,!1,!0)}:void 0}}(e,t,"trigger"),y=!t.blockInteraction,w=i?Vi(t,"all",!1):null,k=i?Fi(t,w.subEvent,w.subEventAll,w.hoverText,w.fullTimeInfo,n):function(e,t,n,r){return r?$t("label.addtocalendar",e)+" ("+$t(t,e)+"): "+e.name:"trigger"===t?n+": "+e.name:n}(t,d,u,n),E=!(i&&("trigger"===d||n));return ha(f||(f=x(['<div class="atcb-button-wrapper','" part="atcb-button-wrapper">\n <button\n type="button"\n class="atcb-button',"","","",'"\n part="atcb-button"\n id=',"\n disabled=","\n aria-haspopup=",'\n aria-expanded="false"\n aria-label=',"\n @keyup=","\n @touchend=","\n @mouseup=","\n @mouseenter=","\n @click=","\n >\n ","\n ","","\n ","\n ","\n ","\n </button>\n </div>"])),t.rtl?" atcb-rtl":"",t.hideTextLabelButton?" atcb-no-text":"","click"===t.trigger?" atcb-click":"","overlay"===t.listStyle?" atcb-dropoverlay":"",n?" atcb-single":"",s,t.disabled?"true":ma,n?ma:"true",i||E?k:ma,y?b.keyup:ma,y&&"touchend"in b?b.touchend:ma,y&&"mouseup"in b&&b.mouseup?b.mouseup:ma,y&&"mouseenter"in b&&b.mouseenter?b.mouseenter:ma,y&&"click"in b?b.click:ma,i?Zi(t,"all",!1):ma,i||t.hideIconButton?ma:(c="trigger"===d?"trigger":a,ha(r||(r=x(['<div class="atcb-icon atcb-icon-','" part=',">","</div>"])),c,"trigger"===c?"atcb-button-icon":"atcb-list-icon",Bi(we["".concat(c)]))),!i&&p?ha(h||(h=x(['<span class="atcb-text" part=',">","</span>"])),"trigger"===d?"atcb-button-text":"atcb-list-text",u):ma,i||"trigger"!==d||n||t.buttonsList||t.hideTextLabelButton?ma:ha(v||(v=x(['<div class="atcb-chevron" part="atcb-button-chevron">',"</div>"])),Bi(we.chevron)),n?ma:ha(m||(m=x(['<div class="atcb-dropdown-anchor"></div>']))),t.hideCheckmark||t.hideTextLabelButton||t.buttonsList||t.disabled||t.allCancelled?ma:ha(g||(g=x(['<div class="atcb-checkmark">',"</div>"])),Bi(we.checkmark)))}
2))}function Gi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=Vi(e,n,a);Ia(Zi(e,n,a),t),t.setAttribute("aria-label",Fi(e,i.subEvent,i.subEventAll,i.hoverText,i.fullTimeInfo,r))}function Ki(e,t,n){Ia(Wi(e,n),t),t.querySelectorAll(".atcb-button-wrapper").forEach(function(e){Ft(e,n.sizes)}),n.subscribe||n.options.forEach(function(r){if("apple"===r||"ical"===r){var a=n.buttonsList?n.identifier+"-"+r:n.identifier,i=t.querySelector("#"+a);i&&(1===n.options.length||n.buttonsList)&&ji(e,n,i,r,1===n.dates.length?0:"all","singleton")}}),n.debug&&console.log('Add to Calendar Button "'+n.identifier+'" created')}function Ji(e,t){var n=document.createElement("script");if(n.id="atcb-schema-"+e.identifier,t.hasAttribute("cspnonce")){if(/[`'"()[\]{}<>\s]/.test(t.getAttribute("cspnonce")))throw new Error("cspnonce input contains forbidden characters.");n.setAttribute("nonce",t.getAttribute("cspnonce"))}n.type="application/ld+json";var r=e.name.replace(/\s/g,""),a=[];if(e.dates.length>1){var i=[];i.push('"@context":"https://schema.org"'),i.push('"@type":"EventSeries"'),i.push('"@id":'+JSON.stringify(r)),i.push('"name":'+JSON.stringify(e.name)+","),a.push("{\r\n"+i.join(",\r\n")+"\r\n")}for(var o=[],c=0;c<e.dates.length;c++){var s=[];s.push('"@context":"https://schema.org"'),s.push('"@type":"Event"'),e.dates.length>1&&s.push('"@id":'+JSON.stringify(r+"-"+(c+1))),"cancelled"===e.dates["".concat(c)].status?s.push('"eventStatus":"https://schema.org/EventCancelled"'):s.push('"eventStatus":"https://schema.org/EventScheduled"'),s.push('"name":'+JSON.stringify(e.dates["".concat(c)].name)),e.dates["".concat(c)].descriptionHtmlFree&&s.push('"description":'+JSON.stringify(e.dates["".concat(c)].descriptionHtmlFree));var l=Ye(e.dates["".concat(c)],"delimiters","general",!0);if(s.push('"startDate":"'+l.start+'"'),"duration"in l&&l.duration&&s.push('"duration":"'+l.duration+'"'),s.push(e.dates["".concat(c)].onlineEvent?'"eventAttendanceMode":"https://schema.org/OnlineEventAttendanceMode",\r\n"location": {\r\n"@type":"VirtualLocation",\r\n"url":'+JSON.stringify(e.dates["".concat(c)].location)+"\r\n}":'"location":'+JSON.stringify(e.dates["".concat(c)].location)),e.recurrence&&""!==e.recurrence?s.push.apply(s,M(Qi(e,l))):s.push('"endDate":"'+l.end+'"'),e.dates["".concat(c)].organizer&&""!==e.dates["".concat(c)].organizer){var d=e.dates["".concat(c)].organizer.split("|");s.push('"organizer":{\r\n"@type":"Person",\r\n"name":'+JSON.stringify(d[0])+',\r\n"email":'+JSON.stringify(d[1])+"\r\n}")}var u=[];if(e.images&&Array.isArray(e.images))for(var p=0;p<e.images.length;p++)dt(e.images["".concat(p)],e.debug)&&e.images["".concat(p)].startsWith("http")&&u.push(JSON.stringify(e.images["".concat(p)]));u.length>0&&s.push('"image":[\r\n'+u.join(",\r\n")+"]"),o.push("{\r\n"+s.join(",\r\n")+"\r\n}")}e.dates.length>1?n.textContent=a.join(",\r\n")+'"subEvents":[\r\n'+o.join(",\r\n")+"\r\n]\r\n}":n.textContent=o[0],document.body.insertBefore(n,document.body.firstChild)}function Qi(e,t){var n=[];
2if(n.push('"eventSchedule": { "@type": "Schedule"'),n.push('"scheduleTimezone":"'+e.dates[0].timeZone+'"'),e.recurrence_interval&&""!==e.recurrence_interval&&e.recurrence_frequency&&""!==e.recurrence_frequency){var r="P"+e.recurrence_interval+e.recurrence_frequency.substring(0,1);n.push('"repeatFrequency":"'+r+'"')}if(e.recurrence_byDay&&""!==e.recurrence_byDay){var a=function(){if(/\d/.test(e.recurrence_byDay))return'"'+e.recurrence_byDay+'"';for(var t=e.recurrence_byDay.split(","),n={MO:"https://schema.org/Monday",TU:"https://schema.org/Tuesday",WE:"https://schema.org/Wednesday",TH:"https://schema.org/Thursday",FR:"https://schema.org/Friday",SA:"https://schema.org/Saturday",SU:"https://schema.org/Sunday"},r=[],a=0;a<t.length;a++)r.push('"'+n[t["".concat(a)]]+'"');return"["+r.join(",")+"]"}();n.push('"byDay":'+a)}if(e.recurrence_byMonth&&""!==e.recurrence_byMonth){var i=e.recurrence_byMonth.includes(",")?"["+e.recurrence_byMonth+"]":e.recurrence_byMonth;n.push('"byMonth":"'+i+'"')}if(e.recurrence_byMonthDay&&""!==e.recurrence_byMonthDay){var o=e.recurrence_byMonthDay.includes(",")?"["+e.recurrence_byMonthDay+"]":e.recurrence_byMonthDay;n.push('"byMonthDay":"'+o+'"')}return e.recurrence_count&&""!==e.recurrence_count&&n.push('"repeatCount":"'+e.recurrence_count+'"'),e.recurrence_until&&""!==e.recurrence_until&&n.push('"endDate":"'+e.recurrence_until+'"'),e.dates[0].startTime&&""!==e.dates[0].startTime&&e.dates[0].endTime&&""!==e.dates[0].endTime&&(n.push('"startTime":"'+e.dates[0].startTime+':00"'),n.push('"endTime":"'+e.dates[0].endTime+':00"'),n.push('"duration":"'+("duration"in t?t.duration:void 0)+'"')),n.push('"startDate":"'+e.dates[0].startDate+'" }'),n}function Xi(e,t){var n,r=lt(e||{}),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return"".concat(String(e).padStart(4,"0"),"-").concat(String(t).padStart(2,"0"),"-").concat(String(n).padStart(2,"0"),"T00:00:00Z")}(t.getUTCFullYear()-1),i=function(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/.test(e)&&!isNaN(Date.parse(e))},o=i(r.from)&&Date.parse(r.from)>=Date.parse(a)?r.from:a;if(void 0!==r.to){if(!i(r.to)||Date.parse(r.to)<Date.parse(o))throw new Error("group-overview-config.to must be a UTC ISO datetime at or after from.");n=r.to}var c="string"==typeof r["custom-domain"]?r["custom-domain"].toLowerCase():"",s=c.split("."),l=s.length>1&&s.every(function(e){return e.length>0&&e.length<=63&&/^[a-z0-9-]+$/.test(e)&&!e.startsWith("-")&&!e.endsWith("-")})?c:void 0;return{yearsOnly:!0===r["years-only"],type:"cards"===r.type||"compact"===r.type?r.type:"list",from:o,to:n,noDetails:!0===r["no-details"],noAdd:!0===r["no-add"],customDomain:l,addViaList:!0===r["add-via-list"]}}function eo(e){return"string"==typeof e?st(e,!1).replace(/\s+/g," ").trim():""}function to(e){return"string"!=typeof e?"":ut(st(e.replace(/<br\s*\/?>|<\/p\s*>/gi," "),!1),!0).replace(/\s+/g," ").trim()}function no(e,t){if(!Array.isArray(e))throw new Error("The group overview response is invalid.");var n,r=[],a=W(e);try{for(a.s();!(n=a.n()).done;){var i=lt(n.value);if(i&&"object"===V(i)&&"string"==typeof i.prokey&&Array.isArray(i.dates)){var o,c=W(i.dates);try{for(c.s();!(o=c.n()).done;){var s=o.value;if(s&&"string"==typeof s.startDate&&/^\d{4}-\d{2}-\d{2}$/.test(s.startDate)){var l=Number(s.startDate.slice(0,4)),d=Number(s.startDate.slice(5,7));if(!(l<t-1||d<1||d>12)){var u=$e($e({},s),{},{name:eo(s.name),description:to(s.description),location:eo(s.location),prokey:i.prokey,title:eo(s.name)||eo(i.label)||"Event",year:l,month:d,hasRsvp:!0===i.rsvp||null!==i.rsvp_block&&void 0!==i.rsvp_block&&""!==i.rsvp_block||/,\s*RSVP\s*$/i.test(eo(i.label))});if(r.push(u),s.endDate&&/^\d{4}-\d{2}-\d{2}$/.test(s.endDate)){var p=Number(s.endDate.slice(0,4));p>l&&p>=t-1&&r.push($e($e({},u),{},{year:p,month:1}))}}}}}catch(e){c.e(e)}finally{c.f()}}}}catch(e){a.e(e)}finally{a.f()}return r.sort(function(e,t){return"".concat(e.startDate||"","T").concat(e.startTime||"").localeCompare("".concat(t.startDate||"","T").concat(t.startTime||""))}),r}function ro(e,t,n,r){var a=document.createElement(t);return a.textContent=n,r&&a.setAttribute("part",r),e.append(a),a}
2function ao(e,t,n){var r=document.createElement("span");r.className="atcb-group-overview-meta-item atcb-group-overview-meta-".concat("clock"===t?"datetime":"location"),r.setAttribute("part","atcb-group-overview-".concat("clock"===t?"datetime":"location"));var a=document.createElement("span");return a.className="atcb-group-overview-meta-icon",a.setAttribute("part","atcb-group-overview-".concat("clock"===t?"datetime":"location","-icon")),a.append(document.importNode((new DOMParser).parseFromString(we["".concat(t)],"image/svg+xml").documentElement,!0)),r.append(a),ro(r,"span",n).className="atcb-group-overview-meta-text",e.append(r),r}function io(e){var t=!1;e.addEventListener("pointerdown",function(){t=!0}),e.addEventListener("change",function(){t&&e.blur(),t=!1}),e.addEventListener("blur",function(){t=!1})}function oo(e,t,n,r,a){var i=document.createElement("li");i.className="atcb-group-overview-item",t.noAdd?i.classList.add("atcb-group-overview-item-no-add"):t.noDetails&&i.classList.add("atcb-group-overview-item-no-details"),i.setAttribute("part","atcb-group-overview-event");var o=new Date("".concat(e.startDate,"T").concat(e.startTime||"00:00",":00")),c=new Intl.DateTimeFormat(n,$e({day:"numeric",month:"short"},e.startTime?{hour:"2-digit",minute:"2-digit"}:{})),s=c.format(o);if(e.endDate||e.endTime){var l=new Date("".concat(e.endDate||e.startDate,"T").concat(e.endTime||e.startTime||"00:00",":00"));s+=" â ".concat(c.format(l))}var d="https://".concat(t.customDomain||(r?"dev.caldn.net":"caldn.net"),"/").concat(encodeURIComponent(e.prokey));if("compact"===t.type){var u=document.createElement("span");u.className="atcb-group-overview-compact-row",i.append(u);var p=ro(u,t.noAdd?"span":"a","".concat(s," | ").concat(e.title),"atcb-group-overview-link");if(t.noAdd||(p.href=d,p.target="_blank",p.rel="noopener"),t.noDetails&&!t.noAdd&&p.addEventListener("click",function(t){t.preventDefault(),a(e,p)}),t.addViaList&&!t.noDetails&&!t.noAdd&&e.hasRsvp){i.classList.add("atcb-group-overview-compact-with-marker");var b=ro(u,"span","â¢","atcb-group-overview-marker");b.className="atcb-group-overview-compact-marker",b.setAttribute("aria-hidden","true"),u.prepend(b)}else if(t.addViaList&&!t.noDetails&&!t.noAdd){i.classList.add("atcb-group-overview-compact-with-add");var f=ro(u,"button","+","atcb-group-overview-add");f.className="atcb-group-overview-add",f.type="button",f.setAttribute("aria-label","Add ".concat(e.title," to calendar")),f.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation(),a(e,f)}),u.prepend(f)}return i}var h=document.createElement(t.noAdd?"div":"a");if(h.className="atcb-group-overview-event-link",h.setAttribute("part","atcb-group-overview-link"),h instanceof HTMLAnchorElement&&(h.href=d,h.target="_blank",h.rel="noopener",h.setAttribute("aria-label",e.title)),t.noDetails&&!t.noAdd&&h.addEventListener("click",function(t){t.preventDefault(),a(e,h)}),i.append(h),"list"===t.type){var v=document.createElement("span");v.className="atcb-group-overview-day",v.setAttribute("part","atcb-group-overview-day"),ro(v,"span",String(Number(e.startDate.slice(8,10))),"atcb-group-overview-day-value").className="atcb-group-overview-day-value",h.append(v)}var m=document.createElement("div");m.className="atcb-group-overview-content",h.append(m);var g=ro(m,"span",e.title,"atcb-group-overview-title");g.className="atcb-group-overview-title";var y=document.createElement("div");y.className="atcb-group-overview-meta",y.setAttribute("part","atcb-group-overview-meta");var w=ao(y,"clock",s);(e.location&&ao(y,"pin",e.location),m.append(y),"cards"===t.type&&(m.insertBefore(w,g),0===y.children.length&&y.remove()),e.description)&&(ro(m,"p",e.description,"atcb-group-overview-description").className="atcb-group-overview-description");if(t.addViaList&&!t.noAdd&&!e.hasRsvp){i.classList.add("atcb-group-overview-item-with-add");var x=ro(t.noDetails?h:i,t.noDetails?"span":"button","+","atcb-group-overview-add");x.className="atcb-group-overview-add",t.noDetails?x.setAttribute("aria-hidden","true"):(x.type="button",x.setAttribute("aria-label","Add ".concat(e.title," to calendar")),x.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation(),a(e,x)}))}return i}function co(e,t,n){return so.apply(this,arguments)}function so(){return so=F(S().mark(function e(t,n,r){var a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y,w,x,k,E,A,_,T,L;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a="string"==typeof t.prokey?t.prokey:""){e.next=3;break}throw new Error("group-overview requires a prokey.");case 3:return i=new Date,o=Xi(t.groupOverviewConfig,i),c=new URLSearchParams({group:a,dates:"true",from:o.from}),o.to&&c.set("to",o.to),e.next=9,fetch("https://api".concat(t.dev?"-dev":"",".add-to-calendar-pro.com/v1/event/all?").
2concat(c),{signal:n});case 9:if((s=e.sent).ok){e.next=12;break}throw new Error("Not possible to read the public group overview.");case 12:return e.t0=no,e.next=15,s.json();case 15:if(e.t1=e.sent,e.t2=i.getFullYear(),l=(0,e.t0)(e.t1,e.t2),!0===t.subscribe||"true"===t.subscribe||"1"===t.subscribe){d=W(l);try{for(d.s();!(u=d.n()).done;)u.value.prokey=a}catch(e){d.e(e)}finally{d.f()}}return p="string"==typeof t.language?t.language.replace("_","-"):"en",b=$e($e({},t),{},{language:p}),e.next=23,zt(b);case 23:return f=$t("group_overview.empty",b),h=i.getFullYear(),v=M(new Set(l.map(function(e){return e.year}).concat(h))).sort(function(e,t){return e-t}),e.next=28,Va(t);case 28:m=e.sent,(g=document.createElement("style")).textContent=m||"",t.cspnonce&&g.setAttribute("nonce",t.cspnonce),(y=document.createElement("div")).className="atcb-group-overview atcb-group-overview-".concat(o.type),y.setAttribute("part","atcb-group-overview"),y.setAttribute("lang",p),(w=document.createElement("div")).className="atcb-group-overview-controls",w.setAttribute("part","atcb-group-overview-controls"),(x=document.createElement("select")).className="atcb-group-overview-select",x.setAttribute("part","atcb-group-overview-year-select"),x.setAttribute("aria-label","Year"),k=W(v);try{for(k.s();!(E=k.n()).done;)A=E.value,x.add(new Option(String(A),String(A),A===h,A===h))}catch(e){k.e(e)}finally{k.f()}return v.length>1&&w.append(x),o.yearsOnly||((_=document.createElement("select")).className="atcb-group-overview-select",_.setAttribute("part","atcb-group-overview-month-select"),_.setAttribute("aria-label","Month"),w.append(_)),w.childElementCount>0&&y.append(w),(T=document.createElement("div")).className="atcb-group-overview-results",T.setAttribute("part","atcb-group-overview-results"),y.append(T),L=function(){T.replaceChildren();var e=Number(x.value),n=l.filter(function(t){return t.year===e});if(0!==n.length){var a=M(new Set(n.map(function(e){return e.month}))).sort(function(e,t){return e-t}),c=function(e,a){a&&(ro(T,"h3",new Intl.DateTimeFormat(p,{month:"long"}).format(new Date(2e3,e-1,1)),"atcb-group-overview-month-heading").className="atcb-group-overview-month");var i=document.createElement("ul");i.className="atcb-group-overview-items atcb-group-overview-".concat(o.type),i.setAttribute("part","atcb-group-overview-list");var c,s=W(n.filter(function(t){return t.month===e}));try{for(s.s();!(c=s.n()).done;){var l=c.value;i.append(oo(l,o,p,!0===t.dev||"true"===t.dev,r))}}catch(e){s.e(e)}finally{s.f()}T.append(i)};if(o.yearsOnly){var s,d=W(a);try{for(d.s();!(s=d.n()).done;){c(s.value,!0)}}catch(e){d.e(e)}finally{d.f()}}else if(_){var u,b=Number(_.value);(u=_).replaceChildren.apply(u,M(a.map(function(e){return new Option(new Intl.DateTimeFormat(p,{month:"long"}).format(new Date(2e3,e-1,1)),String(e))}))),_.value=String(a.includes(b)?b:a.includes(i.getMonth()+1)?i.getMonth()+1:a[0]),c(Number(_.value),!1)}}else{e===h&&(ro(T,"p",f,"atcb-group-overview-empty").className="atcb-group-overview-empty"),_&&_.replaceChildren()}},x.addEventListener("change",L),null==_||_.addEventListener("change",function(){T.replaceChildren();var e=l.filter(function(e){return e.year===Number(x.value)&&e.month===Number(_.value)}),n=document.createElement("ul");n.className="atcb-group-overview-items atcb-group-overview-".concat(o.type),n.setAttribute("part","atcb-group-overview-list");var a,i=W(e);try{for(i.s();!(a=i.n()).done;){var c=a.value;n.append(oo(c,o,p,!0===t.dev||"true"===t.dev,r))}}catch(e){i.e(e)}finally{i.f()}T.append(n)}),io(x),_&&io(_),L(),e.abrupt("return",{root:y,style:g});case 59:case"end":return e.stop()}},e)})),so.apply(this,arguments)}var lo={proKey:"prokey",iCalFileName:"ical-file-name",useUserTZ:"use-user-tz"};function uo(e){return lo["".concat(e)]?lo["".concat(e)]:e.replace(/_/g,"-").replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function po(e){return e.toLowerCase()}function bo(e,t){var n=uo(t);if(e.hasAttribute(n))return n;var r=po(t);return e.hasAttribute(r)?r:null}function fo(e,t){return null!==bo(e,t)}function ho(e,t){var n=bo(e,t);return null===n?null:e.getAttribute(n)}var vo=!1,mo=0,go=new Map;function yo(e,t){return!0===t.public_event_overview&&(!0!==t.subscribe||function(e){var t=ho(e,"groupOverview");return fo(e,"groupOverview")&&(!t||""===t||"true"===t||"1"===t)}(e))}if(X()){var wo=function(e){function t(){var e;return $(this,t),(e=I(this,t))._initialized=new Promise(function(t){return e._initializedResolver=t}),e.shadowRoot?(e._ssrShellNodes=Array.from(e.shadowRoot.children),e._deferLitRender=!0):(e.attachShadow({mode:"open",delegatesFocus:!0}),e._ssrShellNodes=[],e._deferLitRender=!1),e._buttonTemplate=null,e.state={initializing:!1,initialized:!1,ready:!1,updatePending:!1},e.data={},e.error=!1,e}return B(t,e),H(t,[{key:"removeSsrShell",value:function(){var e,t=W
2(this._ssrShellNodes);try{for(t.s();!(e=t.n()).done;){e.value.remove()}}catch(e){t.e(e)}finally{t.f()}this._ssrShellNodes=[]}},{key:"createRenderRoot",value:function(){return this.shadowRoot}},{key:"shouldUpdate",value:function(){return!this._deferLitRender}},{key:"render",value:function(){var e;return ha(y||(y=x(['<div class="atcb-initialized atcb-hidden">',"</div>"])),null!==(e=this._buttonTemplate)&&void 0!==e?e:ma)}},{key:"connectedCallback",value:function(){var e,n=this;(k(t,"connectedCallback",this,3)([]),0===this._ssrShellNodes.length)&&(null===(e=this.querySelector(":scope > template[shadowrootmode]"))||void 0===e||e.remove());this.initializing||(this.initializing=!0,setTimeout(function(){return n.initializeComponent()},0))}},{key:"initializeComponent",value:(o=F(S().mark(function e(){var t,n,r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this).state.ready){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,t.updateComplete;case 5:if(t.state.initializing=!0,n=ho(t,"debug"),t.debug=!(!fo(t,"debug")||n&&"true"!==n&&""!==n),fo(t,"proOverride")&&(r=ho(t,"proOverride"),t.proOverride=!r||"true"===r||""===r),e.prev=9,!(a=ho(t,"proKey"))||""===a){e.next=26;break}return e.next=14,Io(a,t);case 14:if(t.data=e.sent,t.data.proKey&&(t.prokey=t.data.proKey),!yo(t,t.data)){e.next=24;break}return e.next=19,t.initGroupOverview();case 19:return t.state.initializing=!1,t.state.initialized=!0,t.state.ready=!0,t._initializedResolver(),e.abrupt("return");case 24:e.next=30;break;case 26:return t.data.proKey="",e.next=29,xo(t,t.debug);case 29:t.data=e.sent;case 30:e.next=41;break;case 32:return e.prev=32,e.t0=e.catch(9),t.debug&&(console.error(e.t0),Oo(t.shadowRoot,e.t0)),t.removeSsrShell(),t.error=!0,t.state.initializing=!1,t.state.ready=!0,t._initializedResolver(),e.abrupt("return");case 41:return e.next=43,t.initButton();case 43:t.state.initializing=!1,t.state.initialized=!0,t.state.ready=!0,t._initializedResolver();case 47:case"end":return e.stop()}},e,this,[[9,32]])})),function(){return o.apply(this,arguments)})},{key:"whenInitialized",value:function(){return this._initialized}},{key:"disconnectedCallback",value:function(){var e;k(t,"disconnectedCallback",this,3)([]),null===(e=this._groupOverviewAbort)||void 0===e||e.abort(),So(this.shadowRoot,this.identifier),this.debug&&console.log('Add to Calendar Button "'+(this.identifier||this.getAttribute("identifier")||"not yet initialized")+'" destroyed'),0===document.querySelectorAll("add-to-calendar-button").length&&(mo=0)}},{key:"attributeChangedCallback",value:function(e,n,r){var a=this;k(t,"attributeChangedCallback",this,3)([e,n,r]),this.state.ready&&(this.debug&&this.state.initialized&&console.log("".concat(e,"'s value has been changed from ").concat(n," to ").concat(r)),this.updatePending||(this.updatePending=!0,setTimeout(function(){return a.updateComponent()},0)))}},{key:"updateComponent",value:(i=F(S().mark(function e(){var t,n,r;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=this).updatePending){e.next=3;break}return e.abrupt("return");case 3:return t.data={},t._buttonTemplate=null,e.next=7,t.updateComplete;case 7:if((n=t.shadowRoot.querySelector(".atcb-initialized:not([data-atcb-ssr])"))&&(Array.from(n.children).forEach(function(e){return e.remove()}),n.className="atcb-initialized atcb-hidden",n.removeAttribute("lang"),n.removeAttribute("style")),e.prev=9,!(r=ho(t,"proKey"))||""===r){e.next=24;break}return e.next=14,Io(r,t);case 14:if(t.data=e.sent,t.data.proKey&&(t.prokey=t.data.proKey),!yo(t,t.data)){e.next=22;break}return So(t.shadowRoot,t.identifier),e.next=20,t.initGroupOverview();case 20:return t.updatePending=!1,e.abrupt("return");case 22:e.next=27;break;case 24:return e.next=26,xo(t,t.debug);case 26:t.data=e.sent;case 27:e.next=34;break;case 29:return e.prev=29,e.t0=e.catch(9),t.debug&&(console.error(e.t0),Oo(t.shadowRoot,e.t0)),t.updatePending=!1,e.abrupt("return");case 34:return So(t.shadowRoot,t.identifier),e.next=37,t.initButton();case 37:t.updatePending=!1;case 38:case"end":return e.stop()}},e,this,[[9,29]])})),function(){return i.apply(this,arguments)})},{key:"initGroupOverview",value:(a=F(S().mark(function e(){var t,n,r,a,i,o,c;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=this).isConnected){e.next=3;break}return e.abrupt("return");case 3:return t.identifier||(t.identifier="atcb-btn-"+ ++mo),t.data.identifier=t.identifier,t.setAttribute("atcb-button-id",t.identifier),t.style.visibility="visible",t.style.opacity="1",t.style.position="relative",r=t._deferLitRender,null===(n=t._groupOverviewAbort)||void 0===n||n.abort(),a=new AbortController,t._groupOverviewAbort=a,(i=Eo(t)).prokey=t.data.proKey,i.subscribe=t.data.subscribe,e.prev=16,e.next=19,co(i,a.signal,function(){var e=F(S().mark(function e(t,n){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Sc($e($e($e({},i),t),{}
2,{prokey:t.prokey,groupOverview:!1,inlineRsvp:"false",dev:!0===i.dev||"true"===i.dev,listStyle:"modal"}),n);case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}());case 19:o=e.sent,e.next=34;break;case 22:if(e.prev=22,e.t0=e.catch(16),t.isConnected){e.next=27;break}return t.removeSsrShell(),e.abrupt("return");case 27:if(!r){e.next=33;break}return t._deferLitRender=!1,t.requestUpdate(),e.next=32,t.updateComplete;case 32:t.removeSsrShell();case 33:throw e.t0;case 34:if(t.isConnected&&!a.signal.aborted){e.next=37;break}return t.removeSsrShell(),e.abrupt("return");case 37:if(!r){e.next=42;break}return t._deferLitRender=!1,t.requestUpdate(),e.next=42,t.updateComplete;case 42:c=t.shadowRoot.querySelector(".atcb-initialized:not([data-atcb-ssr])"),t.shadowRoot.prepend(o.style),c.append(o.root),c.classList.remove("atcb-hidden"),t.removeSsrShell();case 47:case"end":return e.stop()}},e,this,[[16,22]])})),function(){return a.apply(this,arguments)})},{key:"initButton",value:(r=F(S().mark(function e(){var t,n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(t=this).state.initialized||(mo+=1),t.identifier&&""!==t.identifier?t.data.identifier=t.identifier:(t.data.identifier&&""!==t.data.identifier&&(/^[\w-]+$/.test(t.data.identifier)?t.data.identifier="atcb-btn-"+t.data.identifier:(t.data.identifier="",t.debug&&(n="Add to Calendar Button",t.data.rsvp&&Object.keys(t.data.rsvp).length>0&&(n="RSVP"),console.warn(n+" generation: identifier invalid - using auto numbers instead")))),null!=t.data.identifier&&""!=t.data.identifier||(t.data.identifier="atcb-btn-"+mo),t.identifier=t.data.identifier),t.setAttribute("atcb-button-id",t.data.identifier),e.prev=4,t.style.visibility="visible",t.style.opacity="1",t.style.position="relative",t.style.outline="none",e.next=11,t.buildButton();case 11:return e.abrupt("return",!0);case 14:return e.prev=14,e.t0=e.catch(4),t.debug&&(console.error(e.t0.message?e.t0.message:e.t0),Oo(t.shadowRoot,e.t0)),e.abrupt("return",!1);case 18:case"end":return e.stop()}},e,this,[[4,14]])})),function(){return r.apply(this,arguments)})},{key:"buildButton",value:(n=F(S().mark(function e(){var t,n,r,a,i;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this).shadowRoot,e.prev=2,n.host.classList.add("add-to-calendar"),e.next=6,fc(t.data);case 6:return r=e.sent,t.data=r,e.next=10,zt(r);case 10:return e.next=12,Ja(r);case 12:return a=t._deferLitRender,i=n.querySelector(".atcb-initialized:not([data-atcb-ssr])"),Ao(n,r),i&&i.setAttribute("lang",r.language),e.next=18,To(n,i,r);case 18:if(r.loadAllStyles&&Wa(r),Ro(r),Uo(n,r),Mo(r.proKey,r.hideBranding,r.debug),r.hidden){e.next=45;break}if(!(r.rsvp&&Object.keys(r.rsvp).length>0)){e.next=33;break}if(r.inlineRsvp){e.next=29;break}return e.next=27,ic(n,r);case 27:e.next=31;break;case 29:return e.next=31,rc(n,r,i);case 31:e.next=42;break;case 33:return t._deferLitRender=!1,t._buttonTemplate=Wi(n,r),e.next=37,t.updateComplete;case 37:i=n.querySelector(".atcb-initialized:not([data-atcb-ssr])"),a&&i&&(i.setAttribute("lang",r.language),r.inline?(i.style.display="inline-block",i.classList.add("atcb-inline")):r.buttonsList&&i.classList.add("atcb-buttons-list"),i.classList.remove("atcb-hidden")),n.querySelectorAll(".atcb-button-wrapper").forEach(function(e){Ft(e,r.sizes)}),r.subscribe||r.options.forEach(function(e){if("apple"===e||"ical"===e){var t=r.buttonsList?r.identifier+"-"+e:r.identifier,a=n.getElementById(t);a&&(1===r.options.length||r.buttonsList)&&ji(n,r,a,e,1===r.dates.length?0:"all","singleton")}}),r.debug&&console.log('Add to Calendar Button "'+r.identifier+'" created');case 42:!r.hideRichData&&!r.subscribe&&r.name&&r.dates[0].location&&r.dates[0].startDate&&Ji(r,n.host),e.next=50;break;case 45:if(!t._deferLitRender){e.next=50;break}return t._deferLitRender=!1,t.requestUpdate(),e.next=50,t.updateComplete;case 50:return t.removeSsrShell(),Vt("initialization",r.identifier,r.identifier),r.proKey||!r.hideBranding||document.getElementById("atcb-reference")||qo(document.body,!1,!1,!0),e.abrupt("return",!0);case 56:throw e.prev=56,e.t0=e.catch(2),t.removeSsrShell(),new Error(e.t0.message);case 60:case"end":return e.stop()}},e,this,[[2,56]])})),function(){return n.apply(this,arguments)})}],[{key:"observedAttributes",get:function(){var e,n=null!==(e=k(t,"observedAttributes",this))&&void 0!==e?e:[];return M(new Set([].concat(M(n),M(function(e){var t,n=new Set,r=W(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;n.add(uo(a)),n.add(po(a))}}catch(e){r.e(e)}finally{r.f()}for(var i=0,o=["instance","prokey","pro-override","prooverride"];i<o.length;i++){var c=o[i];n.add(c)}return M(n)}(be)))))}}]);var n,r,a,i,o}(Ua);wo.properties={_buttonTemplate:{state:!0,attribute:!1}},customElements.get("add-to-calendar-button")||customElements.define("add-to-calendar-button",wo)}function xo(e){return ko.apply(this,arguments)}function ko(){return ko=F(S().mark(function e(t){var n,r,a,i,o=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]&&o[1],e.prev=1,r=Eo(t),e.next=5,Ga(r);case 5:e.next=23;break;case 7:if(e.prev=7,e.t0=e.catch(1),a=t.innerHTML.trim()){e.next=12;break}throw new Error("Add to Calendar Button generation failed: No data provided.");case 12:return e.prev=12,i=lt(JSON.parse(st(a.replace(/(\r\n|\n|\r)/g,""),
2!1))),e.next=16,Ga(i);case 16:r=i,e.next=23;break;case 19:throw e.prev=19,e.t1=e.catch(12),n&&console.error(e.t1),new Error("Add to Calendar Button generation failed: no data provided or missing required fields - see console logs for details");case 23:return e.abrupt("return",r);case 24:case"end":return e.stop()}},e,null,[[1,7],[12,19]])})),ko.apply(this,arguments)}function Eo(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:be,n={},r=function(){var r=t["".concat(a)],i=bo(e,r);if(null!==i){var o,c=st(e.getAttribute(i).replace(/(\\r\\n|\\n|\\r)/g,""),!1);if(he.includes(r))o=!c||""===c||"true"===c.toLowerCase();else if(ve.includes(r)){var s=c&&""!==c?"{"!=c.substring(0,1)?"{"+c+"}":c:"{}";o=lt(JSON.parse(s))}else if(me.includes(r)){var l=c&&""!==c?"["!=c.substring(0,1)?"["+c+"]":c:"[]";o=lt(JSON.parse(l))}else if(ge.includes(r)){var d=c;c.includes("[")&&(d=d.substring(1,d.length-1)),(c.includes('"')||c.includes("'"))&&(d=d.substring(1,d.length-1)),c.includes("|")||(d=d.replace(/\s/g,"")),o=d.includes("','")?d.split("','"):d.split('","')}else o=ye.includes(r)?parseInt(c):c;if("object"===V(o)&&null!==o&&0===Object.keys(o).length||Array.isArray(o)&&(0===o.length||1===o.length&&""===o[0]))return 1;n["".concat(r)]=o}},a=0;a<t.length;a++)r();return n}function So(e,t){$i(t),rn(e),function(e){var t=go.get(e);t&&(t.disconnect(),go.delete(e))}(t);var n=document.getElementById("atcb-schema-"+t);n&&n.remove(),Array.from(e.querySelectorAll(".atcb-debug-error-msg")).concat(Array.from(e.querySelectorAll("style"))).concat(Array.from(e.querySelectorAll("link"))).concat(Array.from(e.querySelectorAll(".atcb-placeholder"))).concat(Array.from(e.querySelectorAll(".atcb-button-wrapper"))).forEach(function(e){return e.remove()}),Re("".concat(t))}function Ao(e,t){e.host.classList.remove("atcb-dark","atcb-light","atcb-bodyScheme");var n="bodyScheme"==t.lightMode?document.body.classList.contains("atcb-dark")||document.documentElement.classList.contains("atcb-dark")||document.body.classList.contains("atcp-dark")||document.documentElement.classList.contains("atcp-dark")||document.body.classList.contains("dark")||document.documentElement.classList.contains("dark")?"dark":"light":t.lightMode;e.host.classList.add("atcb-"+n)}function _o(e){if(!e.host.hasAttribute("cspnonce"))return null;if(/[`'"()[\]{}<>\s]/.test(e.host.getAttribute("cspnonce")))throw new Error("cspnonce input contains forbidden characters.");return e.host.getAttribute("cspnonce")}function To(e){return Lo.apply(this,arguments)}function Lo(){return Lo=F(S().mark(function e(t){var n,r,a,i,o,c,s,l,d,u,p,b,f=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=f.length>1&&void 0!==f[1]?f[1]:null,r=f.length>2?f[2]:void 0,a=_o(t),document.getElementById("atcb-global-style")||((i=document.createElement("style")).id="atcb-global-style",i.innerText=".atcb-modal-no-scroll{overflow-y:hidden !important;-webkit-overflow-scrolling:touch;} body.atcb-modal-no-scroll{padding-right:"+(window.innerWidth-document.documentElement.clientWidth)+"px;}.atcb-attribution{display:none;}",a&&i.setAttribute("nonce",a),document.head.append(i)),(o=document.createElement("style")).innerText=".atcb-initialized { display: block; position: relative; width: ".concat(r.inlineRsvp&&r.rsvp&&Object.keys(r.rsvp).length>0?"100%":"fit-content","; }.atcb-initialized.atcb-inline { display: inline-block; }.atcb-initialized.atcb-buttons-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--buttonslist-gap); }.atcb-hidden { display: none; }"),a&&o.setAttribute("nonce",a),t.prepend(o),c=function(){return r.styleLight?":host{"+st(r.styleLight.replace(/(\\r\\n|\\n|\\r)/g,""),!1)+"}":""}(),s=function(){return r.styleDark?":host(.atcb-dark){"+st(r.styleDark.replace(/(\\r\\n|\\n|\\r)/g,""),!1)+"}":""}(),!r.customCss||""===r.customCss){e.next=30;break}if((l=document.createElement("link")).setAttribute("rel","stylesheet"),l.setAttribute("type","text/css"),l.setAttribute("href",r.customCss),a&&l.setAttribute("nonce",a),n){e.next=21;break}return e.next=19,Co(l,t,null,a,null,!1,!1,c+s);case 19:e.next=29;break;case 21:(d=document.createElement("div")).classList.add("atcb-placeholder"),t.prepend(d),(u=document.createElement("style")).innerText=".atcb-placeholder { background-color: #777; border-radius: 200px; height: 40px; opacity: .3; width: 150px; }",a&&u.setAttribute("nonce",a),t.prepend(u),Co(l,t,n,a,d,r.inline,r.buttonsList,c+s);case 29:return e.abrupt("return");case 30:return e.next=32,Va(r);case 32:(p=e.sent)&&(b=document.createElement("style"),a&&b.setAttribute("nonce",a),b.innerText=p+c+s,t.prepend(b)),n&&(r.inline?(n.style.display="inline-block",n.classList.add("atcb-inline")):r.buttonsList&&n.classList.add("atcb-buttons-list"),n.classList.remove("atcb-hidden"));case 35:case"end":return e.stop()}},e)})),Lo.apply(this,arguments)}function Co(e,t){return Do.apply(this,arguments)}function Do(){return Do=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=d.length>2&&void 0!==d[2]?d[2]:null,a=d.length>3&&void 0!==d[3]?d[3]:null,i=d.length>4&&void 0!==d[4]?d[4]:null,o=d.length>5&&void 0!==d[5]&&d[5],c=d.length>6&&void 0!==d[6]&&d[6],""!==(s=d.length>7&&void 0!==d[7]?d[7]:"")&&((l=document.createElement("style")).innerText=s,a&&l.setAttribute("nonce",a),n.prepend(l)),e.prev=7,n.prepend(t),e.next=11,new Promise(function(e){t.onload=e});case 11:r&&(i&&i.remove(),o?(r.style.display="inline-block",r.classList.add("atcb-inline")):c&&r.classList.add("atcb-buttons-list"),r.classList.remove("atcb-hidden")),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),console.log(e.t0);case 17:case"end":return e.stop()}},e,null,[[7,14]])}
2)),Do.apply(this,arguments)}function Oo(e,t){if(!e.querySelector(".atcb-debug-error-msg")){var n=_o(e),r=document.createElement("div");r.classList.add("atcb-debug-error-msg");var a=document.createElement("style");a.innerText=".atcb-debug-error-msg { color: #bf2e2e; font-size: 12px; font-weight: bold; padding: 12px 15px; border: 2px solid #bf2e2e; max-width: 180px; border-radius: 13px; }",n&&a.setAttribute("nonce",n),e.prepend(a),r.textContent=t,e.append(r)}}function Ro(e){for(var t={},n=0;n<e.options.length;n++){t[e.options["".concat(n)]]=[];for(var r=1;r<=e.dates.length;r++)"cancelled"===e.dates[r-1].status?t[e.options["".concat(n)]].push(1):t[e.options["".concat(n)]].push(0)}!function(e,t,n){_e.set(e,{config:t,optionStates:n})}(e.identifier,e,t)}function Mo(){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!vo){var t=e?" (version 3.1.1)":"";""!==(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")?arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&!e||console.log("Add to Calendar PRO script initialized"+t+" | https://add-to-calendar-pro.com"):(console.log("%c\nAdd to Calendar Button script initialized"+t+"\nsee https://add-to-calendar-button.com for details.\n","font-weight: bold;"),console.log("%c⨠PRO version available at https://add-to-calendar-pro.com â check it out!","font-weight: bold; line-height: 60px;")),vo=!0}}function Io(e,t){return No.apply(this,arguments)}function No(){return No=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=d.length>2&&void 0!==d[2]?d[2]:{},!t||""===t){e.next=30;break}return e.prev=2,a=n?n.proOverride:r.proOverride,i=n?Eo(n,a?be:fe):r,e.next=7,fetch("https://".concat(i.dev?"event-dev.caldn.net":"event.caldn.net","/").concat(t,"/config.json"));case 7:if(!(o=e.sent).ok){e.next=23;break}return e.t0=lt,e.next=12,o.json();case 12:if(e.t1=e.sent,c=(0,e.t0)(e.t1),a?(s=(window.location.hostname||"").split(".").slice(-2).join("."),be.forEach(function(e){!Object.prototype.hasOwnProperty.call(i,e)||-1!==["hideBranding","ty","rsvp"].indexOf(e)&&"caldn.net"!==s&&"add-to-calendar-pro.com"!==s||(c["".concat(e)]=i["".concat(e)])})):fe.forEach(function(e){Object.prototype.hasOwnProperty.call(i,e)&&(c["".concat(e)]=i["".concat(e)])}),i.rsvp&&Object.prototype.hasOwnProperty.call(i.rsvp,"none")&&delete c.rsvp,c.name&&""!==c.name||c.dates&&""!==c.dates[0].name){e.next=18;break}throw new Error("Not possible to read prokey config from server...");case 18:if(c.landingpage.domain&&""!==c.landingpage.domain&&dt(c.landingpage.domain)&&(c.domain=c.landingpage.domain,delete c.landingpage),!(c.proxy&&""!==c.proxy||c.hideBranding&&""!==c.hideBranding)){for(l=0;l<c.dates.length;l++)c.dates["".concat(l)].description&&""!==c.dates["".concat(l)].description?c.dates["".concat(l)].description+="[br][br][p]Powered by add-to-calendar-pro.com[/p]":c.dates["".concat(l)].description="Powered by add-to-calendar-pro.com";c.description&&""!==c.description&&(c.description+="Powered by add-to-calendar-pro.com")}return c.proKey=t,c.identifier=t,e.abrupt("return",c);case 23:throw new Error("Not possible to read prokey config from server...");case 26:throw e.prev=26,e.t2=e.catch(2),console.error(e.t2),new Error("prokey invalid or server not responding!");case 30:return e.abrupt("return",{});case 31:case"end":return e.stop()}},e,null,[[2,26]])})),No.apply(this,arguments)}function Uo(e,t){if(X()){if("bodyScheme"==t.lightMode){var n=go.get(t.identifier);n&&n.disconnect();var r=new MutationObserver(function(n){n.forEach(function(n){"class"===n.attributeName&&Ao(e,t)})});r.observe(document.documentElement,{attributes:!0}),r.observe(document.body,{attributes:!0}),go.set(t.identifier,r)}vo||(document.addEventListener("keyup",zo),document.addEventListener("keydown",Bo),window.addEventListener("resize",Po))}}function zo(e){var t,n=(t=document.querySelector('[atcb-button-id="'+Ce()+'"]'))?t.shadowRoot:null;n&&"Escape"===e.key&&(Vt("closeList","Ecs Hit",Ce()),en(n,"close","","",!0))}function Bo(e){var t,n,r=(t=document.querySelector('[atcb-button-id="'+Ce()+'"]'),(n=document.getElementById(Ce()+"-modal-host"))?n.shadowRoot:t?t.shadowRoot:null);if(r&&!r.querySelector(".atcb-list")&&r.querySelector(".atcb-modal")&&"Tab"===e.key){e.preventDefault();var a=r.querySelectorAll(".atcb-modal[data-modal-nr]"),i=a.length>0?a[a.length-1]:r.querySelector(".atcb-modal"),o=Array.from(i.querySelectorAll('button, a[href], input, select, textarea, [tabindex]:not
2([tabindex="-1"])')).filter(function(e){return!e.hasAttribute("disabled")});if(o.length>0){var c=r.activeElement,s=o.findIndex(function(e){return e===c});o["".concat(e.shiftKey?s<=0?o.length-1:s-1:-1===s||s===o.length-1?0:s+1)].focus()}}else if(r&&r.querySelector(".atcb-list")&&("ArrowDown"===e.key||"ArrowUp"===e.key||"Tab"===e.key)){e.preventDefault();var l=0,d=r.activeElement,u=r.querySelectorAll('[role="menuitem"]').length;if("menuitem"===(null==d?void 0:d.role))"ArrowDown"===e.key&&d.dataset.optionNumber<u?l=parseInt(d.dataset.optionNumber)+1:"Tab"===e.key?l=e.shiftKey?d.dataset.optionNumber>1?parseInt(d.dataset.optionNumber)-1:u:d.dataset.optionNumber<u?parseInt(d.dataset.optionNumber)+1:1:"ArrowUp"===e.key&&d.dataset.optionNumber>=1&&(l=parseInt(d.dataset.optionNumber)-1),l>0&&r.querySelector('[role="menuitem"][data-option-number="'+l+'"]').focus();else if("ArrowUp"===e.key)r.querySelector('[role="menuitem"][data-option-number="'+u+'"]').focus();else r.querySelector('[role="menuitem"][data-option-number="1"]').focus()}}function Po(){var e,t,n=(e=document.querySelector('[atcb-button-id="'+Ce()+'"]'),(t=document.getElementById(Ce()+"-modal-host"))?t.shadowRoot:e?e.shadowRoot:null);n&&n.querySelector("#atcb-bgoverlay")&&qt(n)}function $o(e,t){var n=document.getElementById(t.identifier+"-modal-host");n&&n.shadowRoot&&n.shadowRoot.querySelector(".atcb-modal-box")||en(e,"close")}function Yo(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];switch(r){case"trigger":case"rsvp":default:n.id=t.identifier,t.blockInteraction||(n.addEventListener("keyup",function(a){"Enter"!==a.key&&"Space"!=a.code||(a.preventDefault(),"rsvp"===r?rc(e,t,n,!0):en(e,"auto",t,n,!0,!0))}),n.addEventListener("touchend",Xt(function(a){a.preventDefault(),"rsvp"===r?rc(e,t,n):en(e,"auto",t,n,!1,!0)})),"click"===t.trigger||"rsvp"===r?n.addEventListener("mouseup",Xt(function(a){a.preventDefault(),"rsvp"===r?rc(e,t,n):en(e,"auto",t,n,!1,!0)})):n.addEventListener("mouseenter",function(){en(e,"open",t,n,!1,!0)}));break;case"apple":case"google":case"ical":case"msteams":case"ms365":case"outlookcom":case"yahoo":n.id=t.identifier+"-"+r,t.blockInteraction||(n.addEventListener("click",Xt(F(S().mark(function a(){var i;return S().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return o?(null===(i=e.querySelector("#"+n.id))||void 0===i||i.blur(),Vt("openSingletonLink",n.id,t.identifier)):("modal"!==t.listStyle&&en(e,"close"),Vt("openCalendarLink",n.id,t.identifier)),a.next=3,En(e,r,t);case 3:o||"modal"!==t.listStyle||$o(e,t);case 4:case"end":return a.stop()}},a)})))),n.addEventListener("keyup",function(){var a=F(S().mark(function a(i){var c;return S().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if("Enter"!==i.key){a.next=6;break}return i.preventDefault(),o?(null===(c=e.querySelector("#"+n.id))||void 0===c||c.blur(),Vt("openSingletonLink",n.id,t.identifier)):("modal"!==t.listStyle&&en(e,"close"),Vt("openCalendarLink",n.id,t.identifier)),a.next=5,En(e,r,t,"all",!0);case 5:o||"modal"!==t.listStyle||$o(e,t);case 6:case"end":return a.stop()}},a)}));return function(e){return a.apply(this,arguments)}}()));break;case"close":n.id=t.identifier+"-close",n.addEventListener("click",Qt(function(){Vt("closeList","List Close Button",Ce()),en(e,"close",t,"all",!0)})),n.addEventListener("keyup",function(n){"Enter"===n.key&&(n.preventDefault(),Vt("closeList","List Close Button",Ce()),en(e,"close",t,"all",!0))})}!function(e,t,n,r,a,i){!e.buttonsList&&i&&(n="trigger");var o=function(){if("none"!=e.pastDateHandling){for(var t=!0,n=0;n<e.dates.length;n++)if(!e.dates["".concat(n)].overdue){t=!1;break}if(t)return $t("expired",e)}return $t("label.addtocalendar",e)}();""===a&&(a=1===e.options.length||"trigger"===n?o:$t("close"===n?"close":n,e));if("date"===e.buttonStyle&&("trigger"===n||i))return;if(t.setAttribute("aria-label",i?$t("label.addtocalendar",e)+" ("+$t(n,e)+"): "+e.name:"trigger"===n?a+": "+e.name:a),r){var c=document.createElement("div");c.classList.add("atcb-icon"),c.setAttribute("part","trigger"===n?"atcb-button-icon":"atcb-list-icon"),c.classList.add("atcb-icon-".concat(n)),c.innerHTML=we["".concat(n)],t.append(c)}if(("trigger"===n||i)&&!e.hideTextLabelButton||!i&&"trigger"!==n&&!e.hideTextLabelList){var s=document.createElement("span");s.classList.add("atcb-text"),s.setAttribute("part","trigger"===n?"atcb-button-text":"atcb-list-text"),s.textContent=a,t.append(s)}}(t,n,r,a,i,o)}function Ho(e,t){var n=document.createElement("div");n.classList.add("atcb-list"),n.setAttribute("part","atcb-list"),n.role="menu",t.rtl&&n.classList.add("atcb-rtl"),t.hideTextLabelList&&n.classList.add("atcb-no-text");var r=null;if("modal"===t.listStyle){(r=document.createElement("div")).classList.add("atcb-list-modal-header");var a=document.createElement("div");a.classList.add("atcb-list-modal-headline"),a.setAttribute("part","atcb-list-modal-headline"),a.textContent=$t("label.addtocalendar",t),r.append(a),n.append(r)}var i=0;if(t.options.forEach(function(r){var a=document.createElement("div");a.classList.add("atcb-list-item"),a.setAttribute("part","atcb-list-item"),a.role="menuitem",a.tabIndex=0,i++,a.dataset.optionNumber="".concat(i),n.append(a),Yo(e,t,a,r,!t.hideIconList),ji(e,t,a,r,1===t.dates.length?0:"all","list")}),"modal"===t.listStyle){var o=document.createElement("div");o.classList.add("atcb-list-item-close"),o.setAttribute("part","atcb-list-item-close"),o.role="menuitem",o.tabIndex=0,i++,o.dataset.optionNumber="".concat(i),r.append(o),Yo(e,t,o,"close",!0)}return n}function jo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=n?document.createElement("dialog"):document.createElement("div");if(i.id="atcb-bgoverlay",r||i.classList.add("atcb-no-bg"),n||(i.role="presentation"),i.tabIndex=-1,a){i.addEventListener("mouseup",Xt(function(t){t.target===t.currentTarget&&(Vt("closeList","Backgroun
2d Hit",Ce()),en(e,"close"))}));var o=!1;i.addEventListener("touchstart",Xt(function(){return o=!1}),{passive:!0}),i.addEventListener("touchmove",Xt(function(){return o=!0}),{passive:!0}),i.addEventListener("touchend",Qt(function(t){!1===o&&t.target===t.currentTarget&&(Vt("closeList","Background Hit",Ce()),en(e,"close"))}),{passive:!0}),"click"!==t?i.addEventListener("mousemove",Xt(function(t){t.target===t.currentTarget&&(Vt("closeList","Background Hit",Ce()),en(e,"close"))})):i.classList.add("atcb-click")}return i}function qo(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=document.createElement("div");if(a.id="atcb-reference",r)a.innerHTML='Using the <a href="https://add-to-calendar-pro.com" target="_blank" rel="noopener referrer">Add to Calendar Button</a>, licensed under the Elastic License 2.0 (ELv2).',a.style.display="none !important",a.classList.add("atcb-attribution"),e.append(a);else if(setTimeout(function(){a.innerHTML='<a href="https://add-to-calendar-pro.com" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52.916 2.8305"><path d=
vendor: 6,804 bytes, line 2
2"M51.446 1.2565c.0708-.2518.293-.4511.5555-.4783.2211-.042.4641.0128.622.18.2474.2472.3045.6146.2916.9503v.8594h-.8307l-.0027-1.0447c-.0079-.1547-.1075-.343-.2868-.3238-.2049.0128-.3115.2421-.295.4257v.9428h-.823l-.0027-1.0435c-.0076-.1569-.1131-.3412-.2918-.3252-.2069.008-.311.2351-.2939.4188v.9499h-.8307V.8237h.8307v.4019c.0906-.2264.2876-.4188.5368-.449.2878-.0533.6071.0705.7509.3331.0279.0465.0509.0959.0699.1468zm-3.9843.5228c-.0102.1874.107.3914.3024.424.1869.0419.3799-.0941.4215-.2776.0535-.1967-.0023-.4493-.2015-.5411-.1767-.0892-.4107.0032-.483.1865-.0297.0649-.0391.1374-.0392.2082zm-.7691 0c.0037-.2984.1395-.5957.3792-.7774.3035-.2327.7168-.2798 1.0829-.2005.3299.0729.6352.3018.7481.6275.1337.3797.0441.8526-.2795 1.1099-.3184.2561-.7624.3092-1.152.2184-.3379-.0788-.6426-.3312-.7369-.6717a1.092 1.092 0 0 1-.0417-.3063zm-.2351-.3308c-.1638-.0482-.3406-.0889-.5104-.0492s-.2742.2154-.2664.3837c-.0082.1705.0998.3468.2712.3876.1657.0389.3389.0016.4979-.0492l.0769.5499c-.2369.1272-.5165.1434-.7791.1149-.3236-.0401-.6353-.2311-.7805-.529-.1237-.2511-.139-.5539-.0485-.8181.108-.3075.3782-.5432.6902-.6287.2064-.058.4286-.0585.6371-.0119.1027.0253.198.0732.2884.1269l-.0769.523zm-2.6877.9806c-.003-.1221.066-.2371.1643-.3062.1303-.0934.3092-.1186.4572-.0533.132.054.2426.1752.2607.3197s-.0575.2836-.1746.3603c-.1633.1093-.3947.1063-.5517-.0135-.0951-.0715-.1577-.187-.1559-.307zm-3.046-1.0111c-.0091-.4276.1794-.8577.5181-1.1231.3714-.2958.8865-.3488 1.3384-.2477.4065.0946.7695.3811.9242.7731.2302.553.1173 1.2562-.3406 1.6606-.4021.3563-.9997.4264-1.5018.273-.4407-.1312-.7876-.5106-.8926-.9564a1.565 1.565 0 0 1-.0458-.3795zm1.4499.6961c.2631.014.4813-.2093.5326-.4557.0785-.3033.0224-.6834-.2491-.8753-.2182-.159-.5514-.1019-.704.1211-.1692.2437-.1902.5756-.088.8501.0775.2087.2816.3661.5085.3597zm-1.631.6458c-.1978.0602-.4078.0938-.6123.0464-.2697-.0443-.5044-.2371-.6009-.4927-.0701-.1852-.1026-.3819-.154-.5728h-.1846v1.0268h-.8614V.0601l1.3192.0034c.3398.0217.7177.1323.9118.434.152.2456.127.584-.0389.8163-.0979.1284-.2387.2162-.3846.2807.0316.1513.0475.3167.1461.4418.1193.1187.3064.1031.4596.0812v.6422zm-.871-1.8651c.0103-.138-.1243-.231-.25-.2384-.1427-.0193-.2871-.0088-.4307-.0115v.5422c.1905-.0038.3947.0138.5678-.0796a.234.234 0 0 0 .1128-.2126zM35.573.0603l1.1424.0047c.3439.0209.7218.1098.9446.3944.2252.2934.2163.7545-.0512 1.0195-.279.2859-.698.3701-1.0838.362-.0329.0105-.1126-.0258-.102.0281v.8987h-.8499V.0603zm1.0192 1.2345c.1672.0054.3805-.0562.4233-.2409.0425-.1434-.0225-.3102-.1619-.3724-.1328-.0705-.2859-.0537-.4306-.0559v.6615c.0561.0073.1128.0073.1692.0077zm-2.5176.2226h1.0576v.4653h-1.0576zM32.3311.8234h.8307v.4019q.0942-.2384.25-.348.1577-.1115.3615-.1115l.1154.6442q-.375 0-.5519.0808-.175.0788-.175.2538v1.023h-.8307zm-1.2257 1.5791c-.0937.2116-.2986.3716-.5319.3897-.3887.0533-.7844-.1743-.9578-.5217-.2044-.381-.1519-.892.1543-1.2049.2461-.2614.6627-.389.9973-.2285.1574.0799.2779.2236.3381.3886V.7662h.8268v2.0017h-.8268v-.3653zm0-.6345c-.0052-.2449-.2747-.4425-.5088-.3585-.217.0615-.3402.3271-.243.5316.0896.2161.3875.3078.5783.1678.1106-.0747.179-.2073.1735-.3408zM27.7118.7662c.2401-.008.4923.1021.6064.3222.0351.0816.045.0806.0397.0023V.1721l.8307-.1231v2.7189h-.8307v-.3653c-.0907.2158-.3003.3744-.5356.39-.3605.0507-.7279-.1432-.9123-.4525-.2569-.3983-.1992-.9693.1456-1.2985.173-.1702.412-.2772.6563-.2754zm.6461 1.0018c-.0048-.2526-.2909-.4519-.5276-.3518-.2324.0782-.3309.3933-.1843.5898.1239.1938.425.2285.5871.0636.0811-.0768.1287-.1897.1248-.3015zM24.139.8233h.7922v.4019c.1006-.2169.2949-.397.5347-.4408.2696-.0572.58.0085.76.2293.2045.2403.2438.5692.2358.8734v.8802h-.8268l-.0022-1.1213c-.004-.1252-.0677-.2748-.2066-.2939-.2045-.0306-.3739.1457-.4412.3226-.0292.0785-.0098.1646-.0154.2467v.8459h-.8306V.8233zm-1.0416 1.4236c.2011-.0002.3981-.0574.5807-.1384l.0961.5288c-.3198.1421-.6806.1894-1.027.145-.3369-.0473-.6587-.2545-.8007-.5699-.1588-.3469-.1132-.7886.1413-1.0788.2741-.3191.7406-.4335 1.1413-.3308.2768.0734.5008.3019.5751.5779.0429.146.0624.3015.043.453l-1.1806.1538c.0368.134.158.2311.2944.2482.0449.0082.0907.0114.1363.0114zm.1461-.7557c-.0268-.1234-.1257-.237-.2578-.244-.143-.0241-.2868.0725-.325.2111-.0103.0527-.0737.2029.0271.1552l.5558-.1223zm-1.4939 1.1721c-.2463.1208-.5356.1686-.805.1092-.227-.0527-.3993-.2481-.4518-.4712-.0545-.2125-.0296-.4333-.0353-.6502V.1714l.8307-.1231.0011 1.9292c.002.1378.1537.1938.2711.1813.0651.0169.1819-.1.162.0152l.0274.4893zm-2.5115-.2609c-.0937.2116-.2986.3716-.5319.3897-.3887.0533-.7844-.1743-.9578-.5217-.2044-.381-.1519-.892.1543-1.2049.2461-.2614.6627-.389.9973-.2285.1574.0799.2779.2236.3381.3886V.7661h.8268v2.0017h-.8268v-.3653zm0-.6345c-.0052-.2449-.2747-.4425-.5088-.3585-.217.0615-.3402.3271-.243.5316.0896.2161.3875.3078.5783.1678.1106-.0747.179-.2073.1735-.3408zm-2.3726.35c.1696.0054.3334-.0479.4884-.1115l.1077.6249c-.5137.3026-1.2229.2625-1.6732-.1399-.2959-.2444-.4693-.6191-.4819-1.0009-.0323-.4791.181-.9792.5853-1.2496.4565-.3128 1.0898-.3142 1.5659-.0438l-.1038.6115c-.2721-.1029-.5957-.168-.8667-.0274-.2291.1239-.3077.4039-.2984.6481-.0043.2465.1061.5161.3427.6212.1037.0495.2198.0676.3339.0676zm-2.923-.6005h1.0576v.4653h-1.0576zm-1.7829.2619c-.0102.1874.107.3914.3024.424.1869.0419.3799-.0941.4215-.2776.0535-.1967-.0023-.4493-.2015-.5411-.1767-.0892-.4107.0032-.4831.1865-.0297.0649-.0391.1374-.0392.2082zm-.7691 0c.0037-.2984.1395-.5957.3792-.7774.3035-.2327.7168-.2798 1.0829-.2005.33.0729.6352.3018.7481.6275.1337.3797.0441.8526-.2795 1.1099-.3184.2561-.7624.3092-1.152.2184-.3379-.0788-.6426-.3312-.7369-.6717a1.092 1.092 0 0 1-.0417-.3063zm-.1976.8841c-.2463.1208-.5356.1686-.805.1092-.227-.0527-.3993-.2481-.4518-.4712-.0557-.2169-.0286-.4422-.0334-.6635l.0019-.3551h-.25V.7943h.3115l.3653-.7461h.4v.7461h.4538v.4884h-.4538l.0011.6943c.0034.1365.1541.1943.2715.1818.0768.006.1848-.0959.1624.0301l.0265.4744zm-2.7861-1.146h1.0575v.4653H8.4068zM6.5412.7662c.2401-.008.4923.1021.6064.3223.0351.0816.045.0806.0397.0023V.172l.8307-.1231v2.7189h-.8307v-.3653c-.0907.2158-.3003.3744-.5356.39-.3605.0507-.7279-.1432-.9123-.4525-.2569-.3983-.1992-.9693.1456-1.2985.173-.1702.412-.2772.6563-.2754zm.6461 1.0018c-.0048-.2526-.2909-.4519-.5276-.3518-.2324.0782-.3308.3933-.1843.5898.1239.1938.425.2285.5871.0636.0811-.0768.1287-.1897.1248-.3015zM3.7956.7662c.2401-.008.4923.1021.6064.3222.0351.0816.045.0806.0397.0023V.172l.8307-.1231v2.7189h-.8307v-.3653c-.0907.2158-.3003.3744-.5356.39-.3605.0507-.7279-.1432-.9123-.4525-.2569-.3983-.1992-.9693.1456-1.2985.173-.1702.4119-.2772.6563-.2754zm.6461 1.0018c-.0048-.2526-.2909-.4519-.5276-.3518-.2324.0782-.3308.3933-.1843.5898.1239.1938.425.2285.5871.0636.0811-.0768.1287-.1897.1248-.3015zM.7498.0603h1.196l.7845 2.7074h-.9268l-.1038-.5192H.9997l-.1115.5192h-.8883zm.8576 1.7037L1.3497.5795 1.0843 1.764z
2"/></svg></a>'},500),t)e.querySelector(".atcb-initialized .atcb-list-wrapper").append(a);else{if(n)return a;(window.innerHeight>1e3||window.innerWidth>1e3)&&(e.append(a),a.classList.add("fixed-ref"))}if(n)return null}function Fo(e,t){var n=e.getElementById("atcb-reference");n||(n=qo(e,!1,!0)),n&&(n.classList.add("fixed-ref"),t.append(n))}function Vo(e,t){return Zo.apply(this,arguments)}function Zo(){return Zo=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y,w,x,k,E,A,_,T,L,C,D,O,R,M,I,N=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=N.length>2&&void 0!==N[2]?N[2]:"",a=N.length>3?N[3]:void 0,i=N.length>4&&void 0!==N[4]?N[4]:"",o=N.length>5&&void 0!==N[5]?N[5]:[],c=N.length>6&&void 0!==N[6]?N[6]:[],s=N.length>7&&void 0!==N[7]&&N[7],l=N.length>8&&void 0!==N[8]?N[8]:{},d=!(N.length>9&&void 0!==N[9])||N[9],!Ee()){e.next=10;break}return e.abrupt("return");case 10:return Le(n.identifier),u=!a||""===a||void 0===a,e.next=14,Wo(t,n,!1);case 14:if(p=e.sent,b=function(){var e=p.getElementById("atcb-bgoverlay");if(!e){var r=jo(t,"click",!0,!n.hideBackground,d);return p.querySelector(".atcb-modal-host-initialized").append(r),r.showModal(),r}return e}(),f=b.querySelector(".atcb-list.atcb-modal"),(h=document.createElement("div")).classList.add("atcb-modal"),h.classList.add("atcb-modal-appear"),b.append(h),v=p.querySelectorAll(".atcb-modal[data-modal-nr]").length+1,h.dataset.modalNr="".concat(v),h.tabIndex=-1,(m=function(){var e,r=t.getElementById(n.identifier);if(r)return r;var a=document.querySelector('[atcb-button-id="'+n.identifier+'"]'),i=null==a||null===(e=a.shadowRoot)||void 0===e?void 0:e.getElementById(n.identifier);return i||document.getElementById(n.identifier)}())&&m.classList.add("atcb-active-modal"),(g=document.createElement("div")).classList.add("atcb-modal-box"),""===r||n.hideIconModal||g.classList.add("atcb-modal-box-with-icon"),g.setAttribute("part","atcb-modal-box"),n.rtl&&g.classList.add("atcb-rtl"),h.append(g),Ft(g,n.sizes),(y=document.createElement("button")).type="button",y.classList.add("atcb-modal-close"),y.setAttribute("aria-label",$t("close",n)),y.innerHTML=we.close,y.addEventListener("click",Qt(function(){Vt("closeList","Modal Close Button",Ce()),rn(t)})),g.append(y),""===r||n.hideIconModal||((w=document.createElement("div")).classList.add("atcb-modal-icon"),w.innerHTML=we["".concat(r)],g.append(w)),(x=p.getElementById("atcb-bgoverlay"))&&x.setAttribute("aria-modal","true"),u?x&&n.rsvp?x.setAttribute("aria-label",$t("label.rsvp.title",n)):x&&""!==i?x.setAttribute("aria-label",i.replace(/<[^<>]+>/g," ").replace(/\s+/g," ").trim().substring(0,100)):x&&x.setAttribute("aria-label",$t("label.addtocalendar",n)):((k=document.createElement("div")).classList.add("atcb-modal-headline"),k.id="atcb-modal-headline-"+v,k.textContent=a,g.append(k),x&&x.setAttribute("aria-labelledby",k.id)),""!==i&&((E=document.createElement("div")).classList.add("atcb-modal-content"),u&&E.classList.add("no-headline"),E.innerHTML=i,g.append(E)),h.focus({preventScroll:!0}),n.hideBranding||Fo(p,b),!(c.length>1)){e.next=63;break}_=String(c.find(function(e,t){return 0===t})),T=null===(A=Object.entries(Oe(n.identifier)).find(function(e){return Z(e,1)[0]===_}))||void 0===A?void 0:A[1],(L=document.createElement("div")).classList.add("atcb-modal-content"),g.append(L),(C=document.createElement("div")).classList.add("atcb-modal-content-subevents"),L.append(C),D=S().mark(function e(r){var a,i,o,l;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=c.find(function(e,t){return t===r}),i="all"===a?0:parseInt(a)-1,o=n.dates.find(function(e,t){return t===i}),(l=document.createElement("button")).type="button",l.id=n.identifier+"-"+_+"-"+r,"all"!==a&&((null==T?void 0:T.find(function(e,t){return t===i}))||0)>0&&l.classList.add("atcb-saved"),l.classList.add("atcb-subevent-btn"),C.append(l),Gi(n,l,a,!1,!0),o.overdue&&"none"!==n.pastDateHandling?l.setAttribute("disabled",!0):(1===r&&s&&l.focus(),l.addEventListener("click",Qt(F(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return Vt("openSubEventLink",l.id,n.identifier),l.blur(),e.next=4,En(t,_,n,a,s,!0);case 4:case"end":return e.stop()}},e)})))),ji(t,n,l,_,"all"===a?"all":i,"subevent"));case 11:case"end":return e.stop()}},e)}),O=1;case 58:if(!(O<c.length)){e.next=63;break}return e.delegateYield(D(O),"t0",60);case 60:O++,e.next=58;break;case 63:0===(R=o.filter(function(e){return e.type&&"close"!==e.type})).length&&g.classList.add("atcb-modal-box-no-buttons"),(M=R.length>0?document.createElement("div"):null)&&(M.classList.add("atcb-modal-buttons"),g.append(M)),R.forEach(function(e,r){var a;switch(e.href&&""!==e.href?((a=document.createElement("a")).setAttribute("target",oe),a.setAttribute("href",e.href),a.setAttribute("rel","noopener")):(a=document.createElement("button")).type="button",e.id&&""!==e.id&&(a.id=e.id),a.classList.add("atcb-modal-btn"),e.primary&&a.classList.add("atcb-modal-btn-primary"),e.small&&a.classList.add("btn-small"),e.label&&""!==e.label||(e.label=$t("modal.button.default",n)),a.textContent=e.label,M.append(a),0===r&&c.length<2&&s&&a.focus(),e.type){default:break;case"2timeslink":a.addEventListener("click",Qt(F(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return rn(t),e.next=3,En(t,l.type,n,l.id,s,!1,!0);case 3:case"end":return e.stop()}},e)})))),a.addEventListener("keyup",function(){var e=F(S().mark(function e(r){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("Enter"!==r.key&&"Space"!=r.code){e.next=4;break}return en(t,"close","","",!0),e.next=4,En(t,l.type,n,l.id,s,!1,!0);case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());case"none":}}),s&&c.length<2&&0===R.length&&y.focus(),v>1&&(null==(I=p.querySelector('.atcb-modal[data-modal-nr="'+(v-1)+'"]'))||I.classList.add("atcb-hidden")),f&&f.remove(),qt(p,h);case 72:case"end":return e.stop()}},e)})),Zo.apply(this,arguments)}function Wo(e,t){return Go.apply(this,arguments)}function Go(){return Go=F(S().mark(function e(t,n){var r,a,i,o,c=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!(c.length>2&&void 0!==c[2])||c[2],!(a=document.getElementById(n.identifier+"-modal-host"))){e.next=6;break}if(r){e.next=5;break}return e.abrupt("return",a.shadowRoot);case 5:a.remove();case 6:return(i=document.createElement("div")).id=n.identifier+"-modal-host",t.host.hasAttribute("cspnonce")&&i.setAttribute("cspnonce",t.host.getAttribute("cspnonce")),i.setAttribute("atcb-button-id",n.identifier),i.classList.add("add-to-calendar"),i.style.visibility="visible",i.style.opacity="1",i.style.position="fixed",i.style.top="0",i.style.left="0",i.style.width="100%",i.style.height="100%",i.style.display="flex",i.style.zIndex="13999998",document.body.append(i),i.attachShadow({mode:"open",delegatesFocus:!0}),(o=document.createElement("template")).innerHTML='<div class="atcb-modal-host-initialized"></div>',i.shadowRoot.append(o.content.cloneNode(!0)),Ao(i.shadowRoot,n),e.next=28,To(i.shadowRoot,null,n);case 28:return e.abrupt("return",i.shadowRoot);case 29:case"end":return e.stop()}},e)})),Go.apply(this,arguments)}function Ko(e,t){return Jo.apply(this,arguments)}function Jo(){return(Jo=F(S().mark(function e(t,n){var r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Wo(t,n);
2case 2:return r=e.sent,Array.from(t.children).forEach(function(e){"STYLE"!=e.tagName&&r.querySelector(".atcb-modal-host-initialized").append(e.cloneNode(!0))}),(a=r.querySelector(".atcb-button")).removeAttribute("id"),a.setAttribute("aria-hidden","true"),a.setAttribute("tabindex","-1"),t.host.classList.add("atcb-shadow-hide"),t.querySelector(".atcb-initialized").style.opacity="0",Ht(t,r),window.addEventListener("scroll",jt),window.addEventListener("resize",jt),e.abrupt("return",r.querySelector(".atcb-modal-host-initialized"));case 14:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Qo(e,t){return e.classList.add("error"),e.setAttribute("aria-invalid","true"),t||e}function Xo(e){e.classList.remove("error"),e.removeAttribute("aria-invalid")}function ec(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t.textContent=n,e.classList.add("form-error"),r?r.focus():t.focus()}function tc(e,t){return nc.apply(this,arguments)}function nc(){return nc=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y,w,x;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t,a=n,t.host){e.next=7;break}return r=t.shadowRoot,e.next=6,fc(a);case 6:a=e.sent;case 7:if(i='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5A3.375 3.375 0 006.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0015 2.25h-1.5a2.251 2.251 0 00-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 00-9-9z" /></svg>',o='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75" /></svg>',c='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" /></svg>',a.proKey&&""!==a.proKey||window.location.hostname.match(/^(localhost|.*\.add-to-calendar-pro.com)$/)){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,Wo(r,a);case 14:if(s=e.sent,"link"!==(l=a.ty).type&&"form"!==l.type||l.url&&""!==l.url&&/^https?:\/\//i.test(l.url)&&dt(l.url,!1)||(l.type="text"),l.headline&&""!==l.headline||(l.headline=$t("thankyou",a)+"!"),d='<div class="pro"><p id="ty-success-msg">'+$t("form.success.title",a)+'</p><div id="ty-content">',l.text&&""!==l.text&&(d+='<div class="pro-intro">'+ct(l.text)+"</div>"),"share"===l.type&&(d+='<p class="pro-pt pro-share-buttons">\n <a href="mailto:?subject='.concat(encodeURIComponent($t("label.share.email_subject",a)),"&body=%0A➞%20").concat(encodeURIComponent(l.url),'%0A%0A" target="_blank" rel="noopener" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border btn-flex">\n ').concat(c,"\n ").concat($t("label.share.email",a),'\n </a>\n <button id="atcb-ty-share-copy" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border btn-flex">\n ').concat(i,"\n ").concat($t("label.share.copy",a),"\n </button>\n </p>")),u={},"form"===l.type){if(p=!l.text||""===l.text||void 0===l.text,b=function(){return l.button_label&&""!==l.button_label?ct(l.button_label):$t("submit",a)}(),d+='<form id="'+ot(a.identifier)+'-ty-form" class="pro-form'+(p?" no-intro":"")+'">',l.fields&&l.fields.length>0){if((f=l.fields.find(function(e){return"header"===e.name&&"hidden"===e.type}))&&f.default&&""!==f.default&&f.default.startsWith("{"))try{u=JSON.parse(f.default),0===Object.keys(u).length&&(u.atcb=!0),l.fields=l.fields.filter(function(e){return"header"!==e.name})}catch(e){}h=lc(l.fields,a.identifier+"-ty"),l.fields=h.fields,d+=h.html}d+='<p id="submit-error" role="alert" aria-live="assertive" aria-atomic="true" tabindex="-1"></p>',d+='<p class="pro-pt"><button type="submit" id="pro-form-submit" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border">
2'+b+'</button><span id="pro-form-submitting" class="pro-waiting" role="status" aria-live="polite" aria-hidden="true"><span>.</span><span>.</span><span>.</span><span class="atcb-sr-only">'+$t("submit",a)+"</span></span></p>",d+="</form>"}return"link"===l.type&&(v=function(){return l.button_label&&""!==l.button_label?ct(l.button_label):$t("continue",a)}(),d+='<p class="pro-pt"><a href="'+ot(l.url)+'" target="_blank" rel="noopener" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border">'+v+"</a></p>"),d+="</div></div>",e.next=27,Vo(s,a,"",l.headline,d);case 27:"share"===l.type&&((m=s.getElementById("atcb-ty-share-copy")).addEventListener("click",F(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Kt(l.url);case 3:m.innerHTML=o+$t("label.share.copied",a)+"!",setTimeout(function(){m.innerHTML=i+$t("label.share.copy",a)},3e3),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error("Error copying to clipboard:",e.t0);case 10:case"end":return e.stop()}},e,null,[[0,7]])}))),m.addEventListener("keyup",function(e){"Enter"===e.key&&(e.preventDefault(),m.click())})),"form"===l.type&&(g=s.getElementById(a.identifier+"-ty-form"),y=s.getElementById("submit-error"),w=s.getElementById("pro-form-submit"),x=s.getElementById("pro-form-submitting"),g.addEventListener("submit",function(){var e=F(S().mark(function e(t){var n,r,i,o;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),g.classList.remove("form-error"),y.textContent="",x.setAttribute("aria-hidden","false"),x.style.display="block",w.style.display="none",n=uc(s,l.fields),(r=n.valid)||ec(g,y,$t("form.error.required",a)+".",n.firstInvalid),!r){e.next=21;break}return i=[],o=!1,l.fields.forEach(function(e){"label"!==e.type&&("radio"===e.type?o||(s.querySelectorAll('[name="'+CSS.escape(e.name)+'"]').forEach(function(t){t.checked&&i.push({name:e.name,value:t.value})}),o=!0):"checkbox"===e.type?(i.push({name:e.name,value:s.getElementById(e.fieldId).checked}),o=!1):(i.push({name:e.name,value:s.getElementById(e.fieldId).value}),o=!1))}),e.next=15,pc(l.url,i,u);case 15:if(e.t0=e.sent,!0!==e.t0){e.next=20;break}return s.getElementById("ty-success-msg").style.display="block",s.getElementById("ty-content").style.display="none",e.abrupt("return");case 20:ec(g,y,$t("form.error.sending",a)+".");case 21:x.setAttribute("aria-hidden","true"),x.style.display="none",w.style.display="block";case 24:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));case 29:case"end":return e.stop()}},e)})),nc.apply(this,arguments)}function rc(e,t,n){return ac.apply(this,arguments)}function ac(){return ac=F(S().mark(function e(t,n,r){var a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y,w,x,k,E,A,_,T,L,C,D,O,R=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=R.length>3&&void 0!==R[3]&&R[3],o=n.rsvp,c=!o.text||""===o.text||void 0===o.text,s=!o.headline||""===o.headline||void 0===o.headline,l="",d='<div class="pro">',(u="true"===localStorage.getItem(n.proKey+"-rsvp-sent")||null)&&(d+='<div id="rsvp-sent-content">',d+="<p>"+$t("form.success.already",n)+"</p>",n.hideButton||(d+='<div id="rsvp-atcb"></div>'),n.inlineRsvp&&(d+='<button id="pro-form-restart" '+(n.disabled&&"disabled")+' class="atcb-modal-btn atcb-modal-btn btn-small atcb-modal-btn-border">'+$t("label.rsvp.restart",n)+"</button>"),d+="</div>"),d+='<div id="rsvp-success-msg"><p>'+$t("form.success.sent",n)+'</p><p id="rsvp-success-msg-email">'+$t("form.success.email",n)+'</p><p id="rsvp-success-msg-doi">'+$t("form.success.doi",n)+"</p></div>",d+='<div id="rsvp-success-msg-demo">'+$t("form.success.demo",n)+"</div>",d+='<div id="rsvp-content">',o.text&&""!==o.text&&(d+='<div class="pro-intro">'+ct(o.text)+"</div>"),d+='<form id="'+ot(n.identifier)+'-rsvp-form" class="pro-form'+(c?" no-intro":"")+(s?" no-headline":"")+'">',p=n.proKey||"demo-rsvp",!1===o.initial_confirmation?(d+='<div id="rsvp-status-group" role="radiogroup" aria-labelledby="'+ot(n.identifier)+'-rsvp-status-title">',d+='<p id="'+ot(n.identifier)+'-rsvp-status-title">'+$t("form.status.title",n)+"</p>",d+='<div class="pro-field pro-field-type-radio"><div><input type="radio" name="'+ot(p)+'-status" id="'+ot(n.identifier)+'-rsvp-status-confirmed" aria-label="'+ot($t("form.status.confirmed",n))+'" checked value="confirmed" '+(n.disabled&&"disabled")+' /><label for="'+ot(n.identifier)+'-rsvp-status-confirmed" class="status-confirmed"><span>'+$t("form.status.confirmed",n)+"</span></label></div>",!0===o.maybe_option&&(d+='<div><input type="radio" name="'+ot(p)+'-status" id="'+ot(n.identifier)+'-rsvp-status-undecided" aria-label="'+ot($t("form.status.undecided",n))+'" value="undecided" '+(n.disabled&&"disabled")+' /><label for="'+ot(n.identifier)+'-rsvp-status-undecided" class="status-undecided"><span>'+$t("form.status.undecided",n)+"</span></label></div>"),d+='<div><input type="radio" name="'+ot(p)+'-status" id="'+ot(n.identifier)+'-rsvp-status-declined" aria-label="'+ot($t("form.status.declined",n))+'" value="declined" '+(n.disabled&&"disabled")+' /><label for="'+ot(n.identifier)+'-rsvp-status-declined" class="status-declined"><span>'+$t("form.status.declined",n)+"</span></label></div></div>",d+="</div>"):l+='<input type="hidden" name="'+ot(p)+'-status" id="'+ot(n.identifier)+'-rsvp-status-confirmed" value="confirmed" />',1===(b=o.maxpp||1)?l+='<input type="hidden" name="'+ot(p)+'-amount" id="'+ot(n.identifier)+'-rsvp-amount" value="1" />':(d+='<div class="pro-field"><label for="'+ot(n.identifier)+'-rsvp-amount">'+$t("form.amount",n)+" ("+$t("form.max",n)+" "+ot(String(b))+")<span>*</span></label>",d+='<input type="number" name="'+ot(p)+'-amount" min="1" max="'+ot(String(b))+'" id="'+ot(n.identifier)+'-rsvp-amount" '+(n.disabled&&"disabled")+' required aria-required="true" aria-label="'+ot($t("form.amount",n))+'" value="1" /></div>'),f=function(){if(n.dates[0].attendee&&""!==n.dates[0].attendee){var e=n.dates[0].attendee.split("|");return e.length>1?e[1]:e[0]}return null}(),(h=null===(i=o.fields)||void 0===i?void 0:i.find(function(e){return"email"===e.name}))?o.fields=o.fields.map(function(e){return"email"===e.name?$e($e({},e),{},{required:!0,type:"email",default:""!==f?f:e.default}):e}):f?l+='<input type="hidden" name="email" id="'+ot(n.identifier)+'-rsvp-email" value="'+ot(f)+'" />':(d+='<div class="pro-field"><label for="'+ot(n.identifier)+'-rsvp-email">'+$t("form.email",n)+"<span>*</span></label>",d+='<input type="email" name="email" id="'+ot(n.identifier)+'-rsvp-email" '+(n.disabled&&"disabled")+' required aria-required="true" autocomplete="email" aria-label="'+ot($t("form.email",n))+'" value="" /></div>'),o.fields&&o.fields.length>0&&(v=lc(o.fields,n.identifier+"-rsvp",n.disabled),o.fields=v.fields,d+=v.html),d+=l,d+='<p id="submit-error" role="alert" aria-live="assertive" aria-atomic="true" tabindex="-1"></p>',d+='<p class="pro-pt"><button type="submit" id="pro-form-submit" '+(n.disabled&&"disabled")+' class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border">'+$t("submit",n)+'</button><span id="pro-form-submitting" class="pro-waiting" role="status" aria-l
2ive="polite" aria-hidden="true"><span>.</span><span>.</span><span>.</span><span class="atcb-sr-only">'+$t("submit",n)+"</span></span></p>",o.seatsLeft&&o.seatsLeft>0&&(d+='<p class="pro-form-fine">'+$t("form.seatsleft",n)+": <b>"+ot(String(o.seatsLeft))+"</b></p>"),d+="</form>",d+="</div></div>",m=null,n.inlineRsvp){e.next=36;break}return e.next=31,Wo(t,n);case 31:return m=e.sent,e.next=34,Vo(m,n,void 0,o.headline,d,[{type:"none",label:$t("label.rsvp.restart",n),small:!0,primary:!0,id:"pro-form-restart"}],[],a,{},!1);case 34:e.next=58;break;case 36:if(m=t,(g=document.createElement("div")).classList.add("atcb-modal-box","rsvp-inline-wrapper"),g.setAttribute("part","atcb-modal-box"),n.rtl&&g.classList.add("atcb-rtl"),r.append(g),o.headline&&((y=document.createElement("div")).classList.add("atcb-modal-headline"),g.append(y),y.innerHTML=ct(o.headline)),(w=document.createElement("div")).classList.add("atcb-modal-content"),g.append(w),n.hideBranding||(x=qo(m,!1,!0),g.append(x)),!o.expired){e.next=52;break}return w.innerHTML='<div class="pro"><p>'+$t("label.rsvp.expired",n)+"</p></div>",e.abrupt("return");case 52:if(!o.bookedOut){e.next=57;break}return w.innerHTML='<div class="pro"><p>'+$t("label.rsvp.bookedout",n)+"</p></div>",e.abrupt("return");case 57:w.innerHTML=d;case 58:u&&(m.getElementById("rsvp-content").style.display="none"),k=m.getElementById("pro-form-restart"),E=function(){k&&(k.style.display="none",k.parentElement&&(k.parentElement.style.display="none"))},Vt("openRSVP",n.identifier,n.identifier),n.debug&&console.log('RSVP form for "'+n.identifier+'" created'),u?(A=m.getElementById("rsvp-atcb"))&&!n.hideButton&&((_=JSON.parse(JSON.stringify(n))).hideTextLabelButton=!0,_.hideIconButton=!1,_.buttonsList=!0,Ki(t,A,_)):E(),T=m.getElementById(n.identifier+"-rsvp-form"),L=m.getElementById("submit-error"),C=m.getElementById("pro-form-submit"),D=m.getElementById("pro-form-submitting"),O=m.getElementById("pro-form-restart"),C&&T.addEventListener("submit",function(){var e=F(S().mark(function e(t){var r,a,i,c,s,l,d,u,p,b,f,v,g,y,w,x;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),T.classList.remove("form-error"),L.textContent="",D.setAttribute("aria-hidden","false"),D.style.display="block",C.style.display="none",r=[{type:"number",name:n.proKey+"-amount",fieldId:n.identifier+"-rsvp-amount",required:!0}],h||r.push({type:"email",name:"email",fieldId:n.identifier+"-rsvp-email",required:!0}),a=Array.isArray(o.fields)?o.fields:[],i=uc(m,[].concat(r,M(a))),c=i.valid,s=i.firstInvalid,l=m.getElementById(n.identifier+"-rsvp-amount"),d=parseInt(l.value)||1,o.maxpp&&o.maxpp>0&&d>o.maxpp&&(s=Qo(l,s),c=!1),c||ec(T,L,$t("form.error.required",n)+".",s),!c){e.next=46;break}if(n.proKey&&""!==n.proKey){e.next=22;break}return m.getElementById("rsvp-success-msg-demo").style.display="block",m.getElementById("rsvp-content").style.display="none",Vt("successRSVP",n.identifier,n.identifier),e.abrupt("return");case 22:return u=o.fields?JSON.parse(JSON.stringify(o.fields)):[],(p=[]).push({name:"prokey",value:n.proKey}),p.push({name:"language",value:n.language}),b=m.querySelector('[name="'+n.proKey+'-status"]:checked'),p.push({name:"status",value:b?b.value:"confirmed"}),p.push({name:"amount",value:d}),h?(v=null===(f=u.find(function(e){return"email"===e.name}))||void 0===f?void 0:f.fieldId,p.push({name:"email",value:m.getElementById(v).value}),u=u.filter(function(e){return e.fieldId!==v})):p.push({name:"email",value:m.getElementById(n.identifier+"-rsvp-email").value}),g={},y=!1,u.forEach(function(e){"label"!==e.type&&("radio"===e.type?y||(m.querySelectorAll('[name="'+CSS.escape(e.name)+'"]').forEach(function(t){t.checked&&(g[e.name]=t.value)}),y=!0):"checkbox"===e.type?(g[e.name]=m.getElementById(e.fieldId).checked,y=!1):(g[e.name]=m.getElementById(e.fieldId).value,y=!1))}),Object.keys(g).length>0&&p.push({name:"payload",value:g}),e.next=36,pc("https://api".concat(n.dev?"-dev":"",".add-to-calendar-pro.com/24586219-9910-41fe-9b59-df53de9db7af"),p,{rsvp:!0});case 36:if("doi"!==(w=e.sent)&&!0!==w){e.next=44;break}return m.getElementById("rsvp-success-msg").style.display="block","doi"===w?m.getElementById("rsvp-success-msg-doi").style.display="block":m.getElementById("rsvp-success-msg-email").style.display="block",m.getElementById("rsvp-content").style.display="none",Vt("successRSVP",n.identifier,n.identifier),localStorage.setItem(n.proKey+"-rsvp-sent",!0),e.abrupt("return");case 44:(x=w).error&&2===x.error?ec(T,L,$t("form.error.email",n)+"."):x.error&&5===x.error?ec(T,L,$t("label.rsvp.expired",n)+"."):x.error&&6===x.error?ec(T,L,d>1?$t("form.error.bookedoutmany",n)+".":$t("label.rsvp.bookedout",n)+"."):ec(T,L,$t("form.error.sending",n)+".");case 46:D.setAttribute("aria-hidden","true"),D.style.display="none",C.style.display="block";case 49:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),O&&(O.addEventListener("click",function(e){e.preventDefault(),m.getElementById("rsvp-sent-content").style.display="none",m.getElementById("rsvp-content").style.display="block",E()}),O.addEventListener("keyup",function(e){"Enter"===e.key&&(e.preventDefault(),O.click())}));case 71:case"end":return e.stop()}},e)})),ac.apply(this,arguments)}function ic(e,t){return oc.apply(this,arguments)}function oc(){return(oc=F(S().mark(function e(t,n){var r,a,i,o,c;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.querySelector(".atcb-initialized"),(a=document.createElement("div")).classList.add("atcb-button-wrapper"),n.rtl&&a.classList.add("atcb-rtl"),r.append(a),Ft(a,n.sizes),(i=document.createElement("button")).classList.add("atcb-button","atcb-click","atcb-single"),n.disabled&&i.setAttribute("disabled",!0),n.hideTextLabelButton&&i.classList.add("atcb-no-text"),i.type="button",i.setAttribute("aria-expanded",!1),a.append(i),o=n.rsvp,c=function(){return o.expired?$t("label.rsvp.expired",n):o.bookedOut?$t("label.rsvp.bookedout",n):$t("label.rsvp.title",n)}(),Yo(t,n,i,"rsvp",!n.hideIconButton,c,!0),"date"!==n.buttonStyle&&i.setAttribute("aria-label",c+": "+n.name),n.debug&&console.log('Add to Calendar RSVP Button "'+n.identifier+'" created'),e.abrupt("return",!0);case 19:case"end":return e.stop()}},e)}))).apply(this,arguments)}function cc(e){return sc.apply(this,arguments)}function sc(){return sc=F(S().mark(function e(t){var n,r,a,i=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]&&i[1],e.prev=1,e.next=4,fetch("https://api".concat(n?"-dev":"",".add-to-calendar-pro.com/dffb8bbd-ee5e-4a4f-a7ea-503af98ca468?prokey=").concat(t),{method:"GET"});case 4:if((r=e.sent).ok){e.next=7;break}throw new Error("Network response was not ok");case 7:return e.next=9,r.json();case 9:return a=e.sent,e.abrupt("return",parseInt(a.total));case 13:e.prev=13,e.t0=e.catch(1),console.error("Error:",e.t0);case 16:return e.abrupt("return",0);case 17:case"end":return e.stop()}},e,null,[[1,13]])})),sc.apply(this,arguments)}function lc(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a="",i="",o=0,c="",s=1;s<=e.length;s++){t=!1;var l=e[s-1];if("label"===l.type||l.name&&""!==l.name){("radio"===c&&"radio"!==l.type||"radio"!==c)&&(o=s),e[s-1].fieldId=n+"-"+s;var d="radio"===l.type?l.placeholder||"":l.default||"",u=l.label||"",p="radio"===l.type?"":l.placeholder||"",b="";
2"hidden"!==c&&s===o&&1!==s&&(b+="</div>"),"hidden"!==l.type&&s===o&&(b+='<div class="pro-field pro-field-type-'+ot(String(l.type))+'">'),"label"===l.type?b+="<p>"+ct(u)+"</p>":("radio"===l.type&&(b+="<div>"),"hidden"===l.type?i+='<input type="hidden" name="'+ot(l.name)+'" id="'+ot(l.fieldId)+'" value="'+ot(String(d))+'" />':b+=dc(l.type,l.name,u,l.fieldId,l.required,d,l.default,p,r),"radio"===l.type&&(b+="</div>")),a+=b,c=l.type}else t=!0}return("hidden"!==c||t)&&(a+="</div>"),{html:a+=i,fields:e}}function dc(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",s=arguments.length>8&&void 0!==arguments[8]&&arguments[8],l="",d=""!==n?n:""!==c?c:t;return"text"!==e&&"email"!==e&&"number"!==e||""===n||(l+='<label for="'+ot(r)+'">'+ct(n)+(a?"<span>*</span>":"")+"</label>"),l+='<input type="'+ot(String(e))+'"'+("number"===e?' min="0"':"")+(a?' required aria-required="true"':"")+("email"===e?' autocomplete="email"':"")+("checkbox"!==e&&"radio"!==e||!o||"true"!==o&&!0!==o?"":" checked")+' name="'+ot(t)+'" id="'+ot(r)+'" placeholder="'+ot(c)+'" '+(s&&"disabled")+' aria-label="'+ot(d)+'" value="'+ot(String(i))+'" />',"checkbox"!==e&&"radio"!==e||""===n&&!a||(l+='<label for="'+ot(r)+'">'+ct(n)+(a?"<span>*</span>":"")+"</label>"),l}function uc(e,t){var n=!0,r=null;return t.forEach(function(t){if("label"!==t.type&&"radio"!==t.type){var a=e.getElementById(t.fieldId);if("checkbox"!==t.type){if(a.value=st(a.value.trim()),"number"===t.type&&(a.value=a.value.replace(/\D/g,"")),"email"===t.type&&""!==a.value&&!Gt(a.value))return r=Qo(a,r),void(n=!1);if(t.required&&""===a.value)return r=Qo(a,r),void(n=!1);Xo(a)}else{if(t.required&&!1===a.checked)return r=Qo(a,r),void(n=!1);Xo(a)}}if("radio"===t.type){var i=e.querySelectorAll('[name="'+CSS.escape(t.name)+'"]'),o=!1;if(i.forEach(function(e){e.checked&&(o=!0)}),!1===o)return r=Qo(i[0],r),void(n=!1);Xo(i[0])}}),{valid:n,firstInvalid:r}}function pc(e,t){return bc.apply(this,arguments)}function bc(){return bc=F(S().mark(function e(t,n){var r,a,i,o,c,s,l=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>2&&void 0!==l[2]?l[2]:{},a=new FormData,i={},0===Object.keys(r).length?(n.forEach(function(e){a.append(e.name,e.value)}),o={method:"POST",body:a}):(r["Cache-Control"]="no-cache",r["Content-Type"]="application/json",r.Accept="*/*",n.forEach(function(e){i[e.name]=e.value}),o={method:"POST",headers:r,body:JSON.stringify(i)}),e.prev=4,e.next=7,fetch(t,o);case 7:return c=e.sent,e.next=10,c.json();case 10:if(s=e.sent,c.ok){e.next=16;break}if(console.error("Network response was not ok"),!s.error){e.next=15;break}return e.abrupt("return",s);case 15:return e.abrupt("return",!1);case 16:if(!s.status||"doi"!==s.status){e.next=18;break}return e.abrupt("return","doi");case 18:return e.abrupt("return",!0);case 21:return e.prev=21,e.t0=e.catch(4),console.error("Error:",e.t0),e.abrupt("return",!1);case 25:case"end":return e.stop()}},e,null,[[4,21]])})),bc.apply(this,arguments)}function fc(e){return hc.apply(this,arguments)}function hc(){return(hc=F(S().mark(function e(t){var n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(n=yc(n=Me(n=gc(n=vc(n=t))))).sizes=_t(n.size),n.lightMode=wc(n.lightMode),n=vt(n=xc(n)),e.next=11,kc(n);case 11:return n=e.sent,e.abrupt("return",n);case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}function vc(e){for(var t=0;t<he.length;t++){var n=he["".concat(t)];if(e["".concat(n)]){if("boolean"!=typeof e["".concat(n)]){var r=e["".concat(n)].toString().trim().toLowerCase()||"";e["".concat(n)]=""===r||"true"===r}}else e["".concat(n)]=!1}return e}function mc(e){e.timeZone&&""!==e.timeZone||(e.timeZone="GMT"),e.status&&""!==e.status||(e.status="confirmed"),e.sequence&&""!==e.sequence?(e.sequence=parseInt(e.sequence),(isNaN(e.sequence)||e.sequence<0)&&(e.sequence=0)):e.sequence=0}function gc(e){if(e.dates)for(var t=0;t<e.dates.length;t++)mc(e.dates["".concat(t)]);else mc(e);return e.language&&""!==e.language&&Ct.includes(String(e.language).length>2?String(e.language).substring(0,2):String(e.language))||(e.language="en"),e}function yc(e){return e.inlineRSVP&&(e.inline=!0),e.listStyle&&""!==e.listStyle||(e.listStyle="dropdown"),"modal"===e.listStyle&&(e.trigger="click"),e.buttonStyle&&""!==e.buttonStyle&&"default"!=e.buttonStyle?"simple"!=e.buttonStyle&&"round"!=e.buttonStyle&&"text"!=e.buttonStyle&&"date"!=e.buttonStyle&&"neumorphism"!=e.buttonStyle||(e.trigger="click"):e.buttonStyle="default","default"!=e.buttonStyle&&"3d"!=e.buttonStyle&&"flat"!=e.buttonStyle||e.hideTextLabelList||!e.hideTextLabelButton||"dropdown"!=e.listStyle&&"dropdown-static"!=e.listStyle&&"dropup-static"!=e.listStyle||(e.listStyle="overlay"),e.buttonsList&&"date"==e.buttonStyle&&(e.buttonsList=!1),e}function wc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"system"==e&&X()?window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2k":"light":"bodyScheme"!=e&&"dark"!=e?"light":e}function xc(e){var t=String(e.language||"en"),n="";if(t.length>2){var r=t.match(/^([a-z]{2})[-_]([a-z]{2})$/i);r&&(n=r[2].toUpperCase()),e.language=t.substring(0,2)}var a=function(){if("undefined"==typeof navigator||!navigator.language)return"";var e=navigator.language.split("-"),t=e[e.length-1]||"";return e.length>1&&/^[a-z]{2}$/i.test(t)?t.toUpperCase():""}(),i=n||a;return e.formatLocale=i?e.language+"-"+i:e.language,e.translationLocale=n?e.language+"_"+n:e.language,Lt.includes(e.language)?e.rtl=!0:e.rtl=!1,e}function kc(e){return Ec.apply(this,arguments)}function Ec(){return(Ec=F(S().mark(function e(t){var n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.rsvp&&t.proKey&&0!==Object.keys(t.rsvp).length){e.next=2;break}return e.abrupt("return",t);case 2:if(t.rsvp.expired=function(){return!!(t.rsvp&&t.rsvp.expires&&new Date(t.rsvp.expires)<new Date)}(),!t.rsvp.max){e.next=11;break}return e.next=6,cc(t.proKey,t.dev);case 6:n=e.sent,t.rsvp.seatsLeft=t.rsvp.max-n,t.rsvp.seatsLeft<1&&(t.rsvp.bookedOut=!0),(t.rsvp.expired||t.rsvp.bookedOut)&&(t.blockInteraction=!0),t.blockInteraction&&(t.disabled=!0);case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Sc(e,t){return Ac.apply(this,arguments)}function Ac(){return Ac=F(S().mark(function e(t,n){var r,a,i,o,c,s,l,d,u,p,b,f,h,v,m,g,y=arguments;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=y.length>2&&void 0!==y[2]&&y[2],a=!0===t.sink,X()||a){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,F(S().mark(function e(){var n,r;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=st(t),r=n,n.prokey&&""!==n.prokey&&(r.proKey=n.prokey),!r.proKey||""===r.proKey){e.next=15;break}return e.prev=4,e.next=7,Io(r.proKey,void 0,r);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(4),new Error(e.t0.message);case 13:e.next=16;break;case 15:return e.abrupt("return",r);case 16:case"end":return e.stop()}},e,null,[[4,10]])}))();case 7:i=e.sent,e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(4),console.error(e.t0),e.abrupt("return");case 14:return i.debug="true"===i.debug,e.prev=15,e.next=18,Ga(i);case 18:e.next=24;break;case 20:throw e.prev=20,e.t1=e.catch(15),i.debug&&console.error(e.t1),new Error("Add to Calendar Button generation failed: no data provided or missing required fields - see console logs for details");case 24:return e.next=26,fc(i);case 26:return i=e.sent,e.next=29,zt(i);case 29:if(!a){e.next=56;break}return e.next=32,Ja(i);case 32:if(i.options&&1===i.options.length){e.next=34;break}throw new Error("Add to Calendar Button generation failed: exactly one option required");case 34:if("apple"!==i.options[0]&&"ical"!==i.options[0]){e.next=42;break}if(!(i.dates.length>1)||Yi(i)){e.next=37;break}throw new Error("Add to Calendar Button generation failed: option does not resolve to a single value");case 37:if(o=1===i.dates.length?0:"all",c=dn(null,i,i.options[0],o,!1,!0)){e.next=41;break}throw new Error("Add to Calendar Button generation failed: option does not resolve to a single value");case 41:return e.abrupt("return",c.content||c.href);case 42:return ke(),e.prev=43,e.next=46,En(null,i.options[0],i,"all",!1,!1,!0);case 46:e.next=52;break;case 48:throw e.prev=48,e.t2=e.catch(43),Ae(),e.t2 instanceof Error?e.t2:new Error(String(e.t2));case 52:if(s=Ae()){e.next=55;break}throw new Error("Add to Calendar Button generation failed: option does not resolve to a single value");case 55:return e.abrupt("return",s);case 56:return l=document.body,i.trigger="click",n?(l=n,n.id&&""!==n.id?i.identifier=n.id:(i.identifier&&""!=i.identifier&&/^[\w-]+$/.test(i.identifier)?i.identifier="atcb-btn-"+i.identifier:i.identifier="atcb-btn-custom",n.id=i.identifier),"dropdown"!==i.listStyle&&"dropdown-static"!==i.listStyle&&"dropup-static"!==i.listStyle||(i.listStyle="modal")):(i.identifier="atcb-btn-custom",i.listStyle="modal"),e.prev=59,e.next=62,Ja(i);case 62:e.next=68;break;case 64:return e.prev=64,e.t3=e.catch(59),console.error(e.t3),e.abrupt("return",!1);case 68:if(d=function(){return 1===i.options.length}(),(u=document.getElementById("atcb-customTrigger-"+i.identifier+"-host"))&&($i(i.identifier),rn(u.shadowRoot,!1),De(Ce())&&Re(Ce()),u.remove()),Vt("initialization",i.identifier,i.identifier),i.blockInteraction||i.hidden){e.next=109;break}return p=document.createElement("div"),i.cspnonce&&""!==i.cspnonce&&p.setAttribute("cspnonce",i.cspnonce),p.id="atcb-customTrigger-"+i.identifier+"-host",l===document.body?document.body.append(p):l.after(p),n&&(b=n.getBoundingClientRect(),p.style.position="relative",p.style.left=-b.width+"px",p.style.top=b.height+"px"),p.setAttribute("atcb-button-id",i.identifier),p.attachShadow({mode:"open",delegatesFocus:!0}),(f=document.createElement("template")).innerHTML='<div class="atcb-initialized atcb-hidden"></div>',p.shadowRoot.append(f.content.cloneNode(!0)),h=p.shadowRoot.querySelector(".atcb-initialized"),Ro(i),Ao(p.shadowRoot,i),p.shadowRoot.querySelector(".atcb-initialized").setAttribute("lang",i.language),e.next=89,To(p.shadowRoot,h,i);case 89:if(Uo(p.shadowRoot,i),!(i.rsvp&&Object.keys(i.rsvp).length>0)){e.next=94;break}rc(p.shadowRoot,i,n,r),e.next=109;break;case 94:if(!d){e.next=108;break}if("apple"!==(v=i.options[0])&&"ical"!==v||""!==sn(p.shadowRoot,i,1===i.dates.length?0:"all")||!ee()&&!i.fakeIOS){e.next=103;break}if(m=[v],1===i.dates.length||Yi(i))m.push(1===i.dates.length?1:"all");else for(g=0;g<i.dates.length;g++)m.push(g+1);return e.next=101,Vo(p.shadowRoot,i,v,"","",[],m,r);case 101:e.next=106;break;case 103:return e.next=105,En(p.shadowRoot,v,i,"all",r);case 105:Vt("openSingletonLink",i.identifier,i.identifier);case 106:e.next=109;break;case 108:en(p.shadowRoot,"open",i,null!=n?n:null,r);case 109:return Mo(i.proKey,i.hideBranding,i.debug),i.debug&&console.log('Add to Calendar Button "'+i.identifier+'" triggered'),e.abrupt("return",i.identifier);case 112:case"end":return e.stop()}},e,null,[[4,10],[15,20],[43,48],[59,64]])})),Ac.apply(this,arguments)}t.atcb_action=Sc,t.atcb_decorate_data_dates=vt,t.atcb_generate_timestring=qe,t.atcb_generate_ty=tc,t.atcb_register_locale=Nt,t.atcb_register_style=Ha,t.cssStyles=Ba,t.i18nStrings=Ot}}]);
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.