text: !function(e){function t(t){for(var n,a,u=t[0],l=t[1],i=t[2],d=0,f=[];d<u.length;d++)a=u[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(s&&s(t);f.length;)f.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,u=1;u<r.length;u++){var l=r[u];0!==o[l]&&(n=!1)}n&&(c.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={0:0},c=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/test-task-frontend/";var u=window.webpackJsonp=window.webpackJsonp||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var i=0;i<u.length;i++)t(u[i]);var s=l;c.push([3,1]),r()}([function(e,t,r){var n=r(1);"string"==typeof n&&(n=[[e.i,n,""]]);var o={insert:"head",singleton:!1};r(2)(n,o);n.locals&&(e.exports=n.locals)},function(e,t,r){},,function(e,t,r){"use strict";r.r(t);var n,o=function(){document.querySelector('[data-selector="sidebar"]').classList.toggle("-active")};document.querySelector('[data-selector="open-menu"]').addEventListener("click",o),document.querySelector('[data-selector="close-menu"]').addEventListener("click",o),document.querySelector('[data-selector="sidebar"]').querySelectorAll("a").forEach((function(e){window.location.href===e.href?e.classList.add("-current"):e.classList.remove("-current")})),function(e){if(!e)throw new Error("popupName argument is required");var t=document.querySelector('[data-popup="'.concat(e,'"]')),r=function(){t.classList.toggle("-open")};document.querySelector('[data-open-popup="'.concat(e,'"]')).addEventListener("click",r),t.querySelectorAll("[data-popup-close]").forEach((function(e){e.addEventListener("click",r)}))}("new_item"),(n=document.querySelector('[data-form="new_item"]')).querySelector("[data-input-file]").addEventListener("change",(function(){for(var e=n.querySelector("[data-file-uploaded-text]"),t=0;t<this.files.length;t++){var r=this.files[t],o=e.value;e.value="".concat(o?"".concat(o,", "):"").concat(r.name)}}));r(0)}]);