1/*! For license information please see vgm-calendar-page.f6ceaaebf56f3d40f8c4.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[558],{4797:function(t,e,r){r.r(e),r.d(e,{default:function(){return M}});r(9305),r(2733),r(1770),r(4701),r(1678),r(2623),r(4962),r(7324),r(9336),r(4754),r(1908),r(849),r(389),r(94),r(6437),r(2697),r(8557),r(76),r(3994),r(3630),r(2367);var n=r(1827),o=r(2971),i=r(3931),a=r(5760),c=r(9145),u=r(4078),s=r(8386),l=r(8377),h=r(3194),f=(r(6054),r(5021),r(3687),r(3062),r(6968),function(){function t(){}return t.extractDay=function(t,e){void 0===e&&(e=!0);var r=t.getDate();return e?("0"+r).slice(-2):r.toString()},t.extractMonth=function(t,e){void 0===e&&(e=!0);var r=t.getMonth()+1;return e?("0"+r).slice(-2):r.toString()},t.extractYear=function(t){return t.getFullYear().toString()},t.monthName=function(t,e){return new Intl.DateTimeFormat(e,{month:"long"}).format(t)},t.parseString=function(t,e,r){var n=t.trim().replace(/(\d{2})(\d{2})(\d{4})/,"$1-$2-$3").replace(/ /g,"-").replace(/\//g,"-").replace(/\./g,"-").split("-");if(3!==n.length)throw new Error("Supplied date is not valid, it does not contain all components");if(n[2].length<4)throw new Error("Supplied date is not valid, date should be in DD-MM-YYYY format");var o=parseInt(n[0],10),i=parseInt(n[1],10)-1,a=parseInt(n[2],10),c=new Date(a,i,o);if(c.getFullYear()!==a||c.getMonth()!==i||c.getDate()!==o)throw new Error("Supplied date is not valid, parsing failed because of impossible combination");return e&&c.getTime()<e.getTime()?e:r&&c.getTime()>r.getTime()?r:c},t}());function p(){p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new j(n||[]);return o(a,"_invoke",{value:E(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",y="executing",g="completed",v={};function m(){}function w(){}function b(){}var x={};s(x,a,(function(){return this}));var D=Object.getPrototypeOf,P=D&&D(D(F([])));P&&P!==r&&n.call(P,a)&&(x=P);var L=b.prototype=m.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var u=h(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function E(e,r,n){var o=f;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function F(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return w.prototype=b,o(L,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:w,configurable:!0}),w.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},k(O.prototype),s(O.prototype,c,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=F,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:F(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,g(n.key),n)}}function g(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}var m=function(t){function e(){var e;return(e=t.apply(this,arguments)||this).pageDateTime=e.dateTime,e.date="",e.month="",e.year="",e.themeStyles={arrows:"date-selector-arrows",container:"date-selector-container",bgAccentHigh:"date-selector-accent-high",bgAccentLow:"date-selector-accent-low",dayCell:"date-selector-cell",dayContent:"date-selector-date",dayContentDisabled:"date-selector-date-disabled",dayNotInMonth:"date-selector-date-not-in-month",highlightStartEndClass:"date-selector-date-selected",title:"date-selector-title",weekdays:"date-selector-weekday"},e.locale={id:u.A.getLanguagePrefix(),firstDayOfWeek:2,masks:{title:"MMMM YYYY",weekdays:"WWW"}},e.showKeyboardInfo=!1,e}var r,n;n=t,(r=e).prototype=Object.create(n.prototype),r.prototype.constructor=r,v(r,
2n);var o=e.prototype;return o.onValueChanged=function(t){t&&(this.date=f.extractDay(t),this.month=f.extractMonth(t),this.year=f.extractYear(t))},o.onValueChangedForceUpdate=function(){var t,e=(t=p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.calendar){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.$nextTick();case 4:this.calendar.adjustPageRange();case 5:case"end":return t.stop()}}),t,this)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),o.onPageMove=function(t){this.pageDateTime=new Date(t.year,t.month-1,this.value.getDate())},o.onKeyup=function(){this.showKeyboardInfo=!0},function(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"showDatePicker",get:function(){return!!CSS.supports&&(this.isTablet&&CSS.supports("display","grid"))}},{key:"dateTimeLabel",get:function(){return new Intl.DateTimeFormat(this.locale.id,{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(this.value)}},{key:"nextMonth",get:function(){var t=new Date(this.pageDateTime);return t.setMonth(t.getMonth()+1),f.monthName(t,this.locale.id)}},{key:"previousMonth",get:function(){var t=new Date(this.pageDateTime);return t.setMonth(t.getMonth()+-1),f.monthName(t,this.locale.id)}},{key:"minDate",get:function(){var t=new Date;return t.setFullYear((new Date).getFullYear()-1),t}},{key:"maxDate",get:function(){var t=new Date;return t.setFullYear((new Date).getFullYear()+1),t}},{key:"minDateInput",get:function(){return this.minDate.toISOString().split("T").shift()}},{key:"maxDateInput",get:function(){return this.maxDate.toISOString().split("T").shift()}},{key:"dateInput",get:function(){var t=f.extractDay(this.value),e=f.extractMonth(this.value);return f.extractYear(this.value)+"-"+e+"-"+t},set:function(t){var e=new Date(t),r=f.extractDay(e),n=f.extractMonth(e),o=f.extractYear(e);this.value=f.parseString(r+"-"+n+"-"+o,this.minDate,this.maxDate)}}])}((0,i.Xe)(l.A));(0,n.Cg)([(0,i.pF)("dateTime",{required:!0,type:Date})],m.prototype,"value",void 0),(0,n.Cg)([(0,i.oS)("calendar")],m.prototype,"calendar",void 0),(0,n.Cg)([(0,i.ox)("value",{immediate:!0})],m.prototype,"onValueChanged",null),(0,n.Cg)([(0,i.ox)("value")],m.prototype,"onValueChangedForceUpdate",null);var w=m=(0,n.Cg)([(0,o.Ay)({components:{calendar:function(){return r.e(294).then(r.t.bind(r,4929,23)).then((function(t){return t.DatePicker}))}}})],m);function b(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x(n.key),n)}}function x(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function D(t,e){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},D(t,e)}i.lD.component("date-selector",w);var P=function(t){function e(){var e;return(e=t.apply(this,arguments)||this).filterBarHeight=0,e.windowHeight=window.innerHeight,e.showDatePicker=!1,e.focusedBeforeOpen=null,e.focusableEls=null,e.firstFocusable=null,e.lastFocusable=null,e.reducedMotionQuery=window.matchMedia("only screen and (prefers-reduced-motion: reduce)"),e}var r,n;n=t,(r=e).prototype=Object.create(n.prototype),r.prototype.constructor=r,D(r,n);var o=e.prototype;return o.mounted=function(){window.addEventListener("resize",this.onResize),this.onResize()},o.resetHeight=function(){document.body.style.height=""},o.beforeDestroy=function(){window.addEventListener("resize",this.onResize)},o.onResize=function(){this.filterBarHeight=this.filterBar.offsetHeight,this.windowHeight=window.innerHeight},o.onScroll=function(){this.filterBar.getBoundingClientRect().top<1&&(window.removeEventListener("scroll",this.onScroll),this.expandDatePicker())},o.toggleDatePicker=function(t){this.showDatePicker?this.hide():this.show(t.target)},o.expandDatePicker=function(){this.showDatePicker=!0},o.show=function(t){this.setFocusElements(t,this.$el);var e=this.filterBar.getBoundingClientRect().top;if(document.body.style.height=window.innerHeight+.5*window.innerHeight+"px",e>1&&!this.reducedMotionQuery.matches)return window.scrollTo({top:e+window.pageYOffset,behavior:this.reducedMotionQuery.matches?"auto":"smooth"}),void window.addEventListener("scroll",this.onScroll);this.expandDatePicker()},o.hide=function(){this.showDatePicker=!1,this.focusedBeforeOpen&&this.focusedBeforeOpen.focus(),this.resetFocusElements()},o.onShowFiltersChange=function(t){document.body.classList.toggle("has-filter-overlay"),a.l.$emit(a.w.showCalendarDatePicker,t)},o.onDateTimeChange=function(){var t=this;this.showDatePicker&&this.isTablet&&setTimeout((function(){t.hide()}),500)},function(t,e,r){return e&&b(t.prototype,e),r&&b(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"dateTimeLabel",get:function(){return new Intl.DateTimeFormat(u.A.getLanguagePrefix(),{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(this.value)}},{key:"datePickerWindowStyle",get:function(){return{height:this.windowHeight-this.filterBarHeight+"px"}}}])}((0,i.Xe)(h.A,l.A));(0,n.Cg)([(0,i.pF)("dateTime",{required:!0,type:Date})],P.prototype,"value",void 0),(0,n.Cg)([(0,i.oS)("calendarListFiltersBar")],P.prototype,"filterBar",void 0),(0,n.Cg)([(0,i.ox)("showDatePicker")],P.prototype,"onShowFiltersChange",null),(0,n.Cg)([(0,i.ox)("dateTime")],P.prototype,"onDateTimeChange",null);var L=P=(0,n.Cg)([o.Ay],P);
vendor: 4,416 bytes, line 2
2function k(t,e){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},k(t,e)}var O=function(t){function e(){return t.apply(this,arguments)||this}var r,n;return n=t,(r=e).prototype=Object.create(n.prototype),r.prototype.constructor=r,k(r,n),e.prototype.goToCategoryFilter=function(){window.location.assign(this.categoryFilter)},e}(i.lD);(0,n.Cg)([(0,i.kv)({type:String})],O.prototype,"categoryFilter",void 0);var E=O=(0,n.Cg)([o.Ay],O);function S(){S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new j(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",p="suspendedYield",d="executing",y="completed",g={};function v(){}function m(){}function w(){}var b={};s(b,a,(function(){return this}));var x=Object.getPrototypeOf,D=x&&x(x(F([])));D&&D!==r&&n.call(D,a)&&(b=D);var P=w.prototype=v.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,a,c){var u=h(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=f;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=E(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?y:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function E(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function F(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=w,o(P,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},L(k.prototype),s(k.prototype,c,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
2ise);var a=new k(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(P),s(P,u,"Generator"),s(P,a,(function(){return this})),s(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=F,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:F(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function T(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))}}function j(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,F(n.key),n)}}function F(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}i.lD.component("calendar-list-filters",L),i.lD.component("calendar-item",E);var N=function(t){function e(){var e;return(e=t.apply(this,arguments)||this).lastFetchedPage=window.history.state&&window.history.state.lastFetchedPage?window.history.state.lastFetchedPage:0,e.filteredDate=window.history.state&&window.history.state.filteredDate?window.history.state.filteredDate:new Date(e.fromDateString),e.hasLoadedNewResults=!1,e.showDatePicker=!1,e.reducedMotionQuery=window.matchMedia("only screen and (prefers-reduced-motion: reduce)"),e}var r,n;n=t,(r=e).prototype=Object.create(n.prototype),r.prototype.constructor=r,_(r,n);var o=e.prototype;return o.created=function(){a.l.$on(a.w.showCalendarDatePicker,this.showCalendarDatePicker)},o.showCalendarDatePicker=function(t){this.showDatePicker=t},o.loadMoreDays=function(){var t=T(S().mark((function t(){var e,r,n;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=u.A.getLanguagePrefix(),r="page="+this.lastFetchedPage+"&fromDate="+this.fromDate+"&category="+(this.categoryFilter||"")+"&calendarPageUrl="+this.calendarPageUrl,t.next=5,c.A.handle(fetch("/"+e+"/calendardays/search?"+r));case 5:return n=t.sent,this.lastFetchedPage+=1,t.abrupt("return",n);case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0);case 13:return t.abrupt("return","");case 14:case"end":return t.stop()}}),t,this,[[0,10]])})));return function(){return t.apply(this,arguments)}}(),o.loadFilteredCalendarDays=function(){var t=T(S().mark((function t(){var e;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,this.infiniteScroller){t.next=3;break}return t.abrupt("return");case 3:return this.lastFetchedPage=0,this.infiniteScroller.components=[],this.infiniteScroller.isLoading=!0,t.next=8,this.loadMoreDays();case 8:e=t.sent,this.lastFetchedPage=1,this.hasLoadedNewResults=!0,this.infiniteScroller.isLoading=!1,this.infiniteScroller.components=[],this.infiniteScroller.setComponents(e),t.next=19;break;case 16:t.prev=16,t.t0=t.catch(0),console.error(t.t0);case 19:case"end":return t.stop()}}),t,this,[[0,16]])})));return function(){return t.apply(this,arguments)}}(),o.scrollToListTop=function(t){var e=this;t?a.l.$emit(a.w.backToTopHide):a.l.$emit(a.w.backToTopShow),!t&&this.hasLoadedNewResults&&setTimeout((function(){e.hasLoadedNewResults=!1;var t=e.$el.getBoundingClientRect().top;window.scrollTo({top:t,behavior:e.reducedMotionQuery.matches?"auto":"smooth"})}),200)},o.onFilteredDateChanged=function(t){this.loadFilteredCalendarDays(),s.A.replaceHistoryState({filteredDate:t})},o.onLastFetchedPageChanged=function(t){s.A.replaceHistoryState({lastFetchedPage:t})},function(t,e,r){return e&&j(t.prototype,e),r&&j(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"fromDate",get:function(){var t=new Date(this.filteredDate);return t.setDate(t.getDate()+this.lastFetchedPage*this.shownDays),t.toISOString()}}])}(i.lD);(0,n.Cg)([(0,i.oS)("infiniteScroller")],N.prototype,"infiniteScroller",void 0),(0,n.Cg)([(0,i.kv)()],N.prototype,"fromDateString",void 0),(0,n.Cg)([(0,i.kv)()],N.prototype,"categoryFilter",void 0),(0,n.Cg)([(0,i.kv)()],N.prototype,"shownDays",void 0),(0,n.Cg)([(0,i.kv)()],N.prototype,"calendarPageUrl",void 0),(0,n.Cg)([(0,i.ox)("showDatePicker")],N.prototype,"scrollToListTop",null),(0,n.Cg)([(0,i.ox)("filteredDate")],N.prototype,"onFilteredDateChanged",null),(0,n.Cg)([(0,i.ox)("lastFetchedPage")],N.prototype,"onLastFetchedPageChanged",null);var M=N=(0,n.Cg)([o.Ay],N)},4078:function(t,e,r){r.d(e,{A:function(){return n}});r(5021),r(3062);var n=function(){function t(){}return t.getCurrentPathName=function(){return"/"+window.location.pathname.replace(/^\/|\/$/g,"")},t.getLanguagePrefix=function(){var t=this.getCurrentPathName().split("/");if(0===t.length||!t[1])throw new Error("No valid language prefix was found.");return t[1]},t}()},3172:function(t,e,r){var n=r(2048).PROPER,o=r(8473),i=r(5870);t.exports=function(t){return o((function(){return!!i[t]()||"âÂ
á "!=="âÂ
á "[t]()||n&&i[t].name!==t}))}},6968:function(t,e,r){var n=r(8612),o=r(4544).trim;n({target:"String",proto:!0,forced:r(3172)("trim")},{trim:function(){return o(this)}})}}]);
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.