(()=>{function e(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var n=function(){function n(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n)}var t,a,c;return t=n,(a=[{key:"init",value:function(){$("#auto-checkboxes li").tree({onCheck:{node:"expand"},onUncheck:{node:"expand"},dnd:!1,selectable:!1}),$("#mainNode .checker").change((function(e){var n=$(e.currentTarget),t=n.attr("data-set"),a=n.is(":checked");$(t).each((function(e,n){a?$(n).attr("checked",!0):$(n).attr("checked",!1)}))}))}}])&&e(t.prototype,a),c&&e(t,c),Object.defineProperty(t,"prototype",{writable:!1}),n}();$(document).ready((function(){(new n).init()}))})();