1"use strict";(self.webpackChunkmulti_kelnik_2_0=self.webpackChunkmulti_kelnik_2_0||[]).push([[74],{9229:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:String(e)}n.r(e);var l=new(n(9749).A),f=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,"globalFilterState",!0),u(this,"buttons",[]),u(this,"checkEvent",void 0),this.checkEvent=new Event("change",{bubbles:!1,cancelable:!0}),document.dispatchEvent(this.checkEvent)}var e,n,r;return e=t,(n=[{key:"init",value:function(t){this.buttons=i(t.target.querySelectorAll(".j-map-filter-item")),this._bindEvents()}},{key:"changeCheckBoxState",value:function(){var t=this,e=this.globalFilterState;this.buttons.forEach((function(n){n.checked===e&&(n.checked=!n.checked,n.dispatchEvent(t.checkEvent))}))}},{key:"_bindEvents",value:function(){var t=this;this.buttons.forEach((function(e){e.addEventListener("change",(function(n){var r=e.checked?"filterMapItem:add":"filterMapItem:remove";t._setGlobalFilterState(),l.publish(r,n.target.dataset.type),l.publish("filterMap:updated")}))}))}},{key:"_setGlobalFilterState",value:function(){this.globalFilterState=this.buttons.every((function(t){return t.checked}))}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=f}}]); 2//# sourceMappingURL=map-filter.b4f673c0635a0e03.js.map
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.