From 7cc2e65c144480962433dd4aef5ef351380dace2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?=
'
- ) + '' + lodashEscape(response) + '
'
+ + lodashEscape(response)
+ + '
';return I.each(e,function(e,t){n+="
"}},formatter:{date:function(e){return Intl.DateTimeFormat("en-GB").format(e)},datetime:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},time:function(e){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},month:function(e){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(e)},year:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(e)}},rules:{empty:function(e){return!(void 0===e||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return 0=t)},exactCount:function(e,t){return 0===(t=Number(t))?""===e:1===t?""!==e&&-1===e.search(","):e.split(",").length===t},maxCount:function(e,t){return 0!==(t=Number(t))&&(1===t?-1===e.search(","):e.split(",").length<=t)}}}}(jQuery,window,document),function(C,w){"use strict";w=void 0!==w&&w.Math===Math?w:globalThis,C.fn.accordion=function(g){var p,e=C(this),h=Date.now(),v=[],b=g,y="string"==typeof b,x=[].slice.call(arguments,1);return e.each(function(){var e,a=C.isPlainObject(g)?C.extend(!0,{},C.fn.accordion.settings,g):C.extend({},C.fn.accordion.settings),r=a.className,t=a.namespace,s=a.selector,l=a.error,n="."+t,i="module-"+t,o=C(this),c=o.find(s.title),d=o.find(s.content),u=this,f=o.data(i),m={initialize:function(){m.debug("Initializing",o),m.bind.events(),a.observeChanges&&m.observeChanges(),m.instantiate()},instantiate:function(){f=m,o.data(i,m)},destroy:function(){m.debug("Destroying previous instance",o),o.off(n).removeData(i)},refresh:function(){c=o.find(s.title),d=o.find(s.content)},observeChanges:function(){"MutationObserver"in w&&((e=new MutationObserver(function(e){m.debug("DOM tree modified, updating selector cache"),m.refresh()})).observe(u,{childList:!0,subtree:!0}),m.debug("Setting up mutation observer",e))},bind:{events:function(){m.debug("Binding delegated events"),o.on(a.on+n,s.trigger,m.event.click)}},event:{click:function(e){0===C(e.target).closest(s.ignore).length&&m.toggle.call(this)}},toggle:function(e){var e=void 0!==e?"number"==typeof e?c.eq(e):C(e).closest(s.title):C(this).closest(s.title),t=e.next(d),n=t.hasClass(r.animating),t=t.hasClass(r.active),i=t&&!n,t=!t&&n;m.debug("Toggling visibility of content",e),i||t?a.collapsible?m.close.call(e):m.debug("Cannot close accordion content collapsing is disabled"):m.open.call(e)},open:function(e){var e=void 0!==e?"number"==typeof e?c.eq(e):C(e).closest(s.title):C(this).closest(s.title),t=e.next(d),n=t.hasClass(r.animating);t.hasClass(r.active)||n?m.debug("Accordion already open, skipping",t):(m.debug("Opening accordion content",e),a.onOpening.call(t),a.onChanging.call(t),a.exclusive&&m.closeOthers.call(e),e.addClass(r.active),t.stop(!0,!0).addClass(r.animating),a.animateChildren&&(void 0!==C.fn.transition?t.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:a.debug,verbose:a.verbose,silent:a.silent,duration:a.duration,skipInlineHidden:!0,onComplete:function(){t.children().removeClass(r.transition)}}):t.children().stop(!0,!0).animate({opacity:1},a.duration,m.resetOpacity)),t.slideDown(a.duration,a.easing,function(){t.removeClass(r.animating).addClass(r.active),m.reset.display.call(this),a.onOpen.call(this),a.onChange.call(this)}))},close:function(e){var e=void 0!==e?"number"==typeof e?c.eq(e):C(e).closest(s.title):C(this).closest(s.title),t=e.next(d),n=t.hasClass(r.animating),i=t.hasClass(r.active);!i&&!(!i&&n)||i&&n||(m.debug("Closing accordion content",t),a.onClosing.call(t),a.onChanging.call(t),e.removeClass(r.active),t.stop(!0,!0).addClass(r.animating),a.animateChildren&&(void 0!==C.fn.transition?t.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:a.debug,verbose:a.verbose,silent:a.silent,duration:a.duration,skipInlineHidden:!0}):t.children().stop(!0,!0).animate({opacity:0},a.duration,m.resetOpacity)),t.slideUp(a.duration,a.easing,function(){t.removeClass(r.animating).removeClass(r.active),m.reset.display.call(this),a.onClose.call(this),a.onChange.call(this)}))},closeOthers:function(e){var t,e=void 0!==e?c.eq(e):C(this).closest(s.title),n=e.parents(s.content).prev(s.title),e=e.closest(s.accordion),i=s.title+"."+r.active+":visible",o=s.content+"."+r.active+":visible",o=a.closeNested?(t=e.find(i).not(n)).next(d):(t=e.find(i).not(n),e=e.find(o).find(i).not(n),(t=t.not(e)).next(d));0").addClass(G.table).addClass(T).addClass(oe[p]+" column").appendTo(b)),Y=(ne&&T.addClass(G.inverted),p);if(!N){var W=ae("").appendTo(T),D=ae("
").appendTo(W),A=ae(" ").attr("colspan",""+p).appendTo(D),E=r||s?new Date(g,0,1):l?new Date(g,y,1):new Date(g,y,m,f,u),P=ae("").addClass(G.link).appendTo(A),E=(P.text(ie.helper.dateFormat(J[n+"Header"],E)),s?$.disableYear?"day":"year":l?$.disableMonth?"year":"month":"day");if(P.data(_.mode,E),0===t&&((P=ae("").addClass(G.prev).appendTo(A)).data(_.focusDate,S),P.toggleClass(G.disabledCell,!ie.helper.isDateInRange(k,n)),ae("").addClass(G.prevIcon).appendTo(P)),t===h-1&&((E=ae("").addClass(G.next).appendTo(A)).data(_.focusDate,C),E.toggleClass(G.disabledCell,!ie.helper.isDateInRange(w,n)),ae("").addClass(G.nextIcon).appendTo(E)),l)for(D=ae(" ").appendTo(W),$.showWeekNumbers&&((A=ae(" ").appendTo(D)).text($.text.weekNo),A.addClass(G.weekCell),Y--),O=0;O ").appendTo(D)).text(ie.get.weekOfYear(g,y,O+1-$.firstDayOfWeek)),A.addClass(G.weekCell)),e=0;e ").appendTo(Q),(k=ae(" ").attr("colspan",""+p).addClass(G.today).appendTo(S)).text(J.today($)),k.data(_.date,i)),ie.update.focus(!1,T),$.inline&&ie.refreshTooltips()}}},update:{focus:function(e,t){t=t||te;var r=ie.get.mode(),n=ie.get.date(),s=ie.get.focusDate(),l=ie.get.startDate(),c=ie.get.endDate(),d=(e?s:null)||n||(u?null:s);t.find("td").each(function(){var e,t,n,i,o=ae(this),a=o.data(_.date);a&&(e=o.hasClass(G.disabledCell),t=o.hasClass(G.activeCell),n=o.hasClass(G.adjacentCell),i=ie.helper.dateEqual(a,s,r),a=!!d&&(!!l&&ie.helper.isDateInRange(a,r,l,d)||!!c&&ie.helper.isDateInRange(a,r,d,c)),o.toggleClass(G.focusCell,i&&(!u||f)&&(!n||$.selectAdjacentDays&&n)&&!e),ie.helper.isTodayButton(o)||o.toggleClass(G.rangeCell,a&&!t&&!e))})}},refresh:function(){ie.create.calendar()},refreshTooltips:function(){var i=ae(S).width();te.find("td[data-position]").each(function(){var e=ae(this),t=S.getComputedStyle(e[0],"::after").width.replace(/[^\d.]/g,""),n=e.attr("data-position"),t=i-e.width()-(parseInt(t,10)||250)>e.offset().left?"right":"left";-1===n.indexOf(t)&&e.attr("data-position",n.replace(/(left|right)/,t))})},bind:{events:function(){ie.debug("Binding events"),te.on("mousedown"+t,ie.event.mousedown),te.on("touchstart"+t,ie.event.mousedown),te.on("mouseup"+t,ie.event.mouseup),te.on("touchend"+t,ie.event.mouseup),te.on("mouseover"+t,ie.event.mouseover),0