1"use-strict";function _typeof(e){return(_typeof="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})(e)} 2function _classCallCheck(e,t){if(!(e instanceof t)) 3throw new TypeError("Cannot call a class as a function")} 4function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];(o.enumerable=o.enumerable||!1),(o.configurable=!0),"value" in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}} 5function _createClass(e,t,n){return(t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e)} 6function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""} 7function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default ");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")} 8window.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".accordion.accordion-collapse").forEach(function(e){e.addEventListener("show.bs.collapse",function(){e.closest(".accordion").classList.toggle("accordion-opened")}),e.addEventListener("hide.bs.collapse",function(){e.closest(".accordion").classList.toggle("accordion-opened")})})});var InteractiveCalendar=(()=>_createClass(function e(t){_classCallCheck(this,e),(this.container=t),(this.daysContainer=t.querySelector(".js-calendar-days")),(this.monthTitle=t.querySelector(".js-calendar-month-name")),(this.prevBtn=t.querySelectorAll(".js-calendar-prev-month")[0]),(this.nextBtn=t.querySelectorAll(".js-calendar-prev-month")[1]),(this.date=new Date()),(this.selected=new Set()),(this.today=this.formatDate(new Date())),(this.monthNames=["StyczeÅ","Luty","Marzec","KwiecieÅ","Maj","Czerwiec","Lipiec","SierpieÅ","WrzesieÅ","Październik","Listopad","GrudzieÅ",]),this.selected.add(this.today),this.init()},[{key:"init",value:function(){var e=this;this.prevBtn.addEventListener("click",function(){return e.changeMonth(-1)}),this.nextBtn.addEventListener("click",function(){return e.changeMonth(1)}),this.render()},},{key:"changeMonth",value:function(e){this.date.setMonth(this.date.getMonth()+e),this.render()},},{key:"render",value:function(){for(var o=this,e=this.date.getFullYear(),r=this.date.getMonth(),e=new Date(e,r,1),a=new Date(e),e=(e.getDay()+6)%7,i=(a.setDate(a.getDate()-e),(this.monthTitle.textContent=this.monthNames[r]),(this.daysContainer.innerHTML=""),0);i<42;i++)(()=>{var e=new Date(a),t=(e.setDate(a.getDate()+i),o.formatDate(e)),n=document.createElement("span");(n.className="custom-calendar-grid-day"),(n.textContent=e.getDate()),e.getMonth()===r&&n.classList.add("current-month"),(t!==o.today&&!o.selected.has(t))||n.classList.add("selected"),n.addEventListener("click",function(){return o.toggleSelect(t,n)}),o.daysContainer.appendChild(n)})()},},{key:"toggleSelect",value:function(e,t){this.selected.has(e)?(this.selected.delete(e),t.classList.remove("selected")):(this.selected.add(e),t.classList.add("selected"))},},{key:"isToday",value:function(e){return this.formatDate(e)===this.today},},{key:"formatDate",value:function(e){return"".concat(e.getFullYear()," - ").concat(String(e.getMonth()+1).padStart(2,"0")," - ").concat(String(e.getDate()).padStart(2,"0"))},},]))();window.addEventListener("load",function(){document.querySelectorAll(".js-calendar").forEach(function(e){new InteractiveCalendar(e)})});document.querySelectorAll('.dropdown-menu .dropdown-toggle').forEach(element=>{element.addEventListener('click',function(e){e.stopPropagation();e.preventDefault();const dropdownMenu=this.nextElementSibling;if(dropdownMenu){dropdownMenu.classList.toggle('show')}})});document.querySelectorAll('.dropdown-menu .dropdown-item').forEach(item=>{item.addEventListener('click',function(e){if(!this.classList.contains('dropdown-toggle')){document.querySelectorAll('.dropdown-menu.show').forEach(menu=>{menu.classList.remove('show')})}})});document.querySelectorAll('.dropdown-menu .dropdown-toggle').forEach(element=>{element.addEventListener('click',function(e){e.stopPropagation();e.preventDefault();const podmenu=this.nextElementSibling;if(podmenu&&podmenu.classList.contains('dropdown-menu')){podmenu.classList.toggle('show')}})})
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.