{"version":3,"sources":["webpack:///./app/javascript/packs/sidebar.js"],"names":["document","addEventListener","counter","$","click","SIDEBAR_TOGGLE_ICON_OPEN","SIDEBAR_TOGGLE_ICON_CLOSE","addClass","removeClass"],"mappings":"+EAAAA,qBAASC,iBAAiB,mBAAmB,WAMzC,IACQC,IAAU,EAEdC,EAAE,kBAAkBC,OAAM,WAEtB,IAAMC,EAA2B,yBAC3BC,EAA4B,0BAEd,IAAZJ,GACAC,EAAE,4BAA4BI,SAAS,cACvCJ,EAAE,4BAA4BI,SAAS,YAEvCJ,EAAEE,GAA0BG,YAAY,gBACxCL,EAAEE,GAA0BE,SAAS,wBACrCJ,EAAEG,GAA2BC,SAAS,gBACtCJ,EAAEG,GAA2BE,YAAY,wBAEzCN,EAAU,GAEO,IAAZA,IACLC,EAAE,4BAA4BK,YAAY,cAC1CL,EAAE,4BAA4BK,YAAY,YAE1CL,EAAEE,GAA0BE,SAAS,gBACrCJ,EAAEE,GAA0BG,YAAY,wBACxCL,EAAEG,GAA2BE,YAAY,gBACzCL,EAAEG,GAA2BC,SAAS,wBAEtCL,EAAU,EAGlB,GAMZ,G","file":"js/13-273298da0b5165593304.chunk.js","sourcesContent":["document.addEventListener(\"turbolinks:load\", function() {\n\n // Function Calls\n sidebarToggle()\n\n // Functions\n function sidebarToggle() {\n let counter = 0\n\n $('#sidebarToggle').click(function() {\n // Constants\n const SIDEBAR_TOGGLE_ICON_OPEN = \"#sidebarToggleIconOpen\"\n const SIDEBAR_TOGGLE_ICON_CLOSE = \"#sidebarToggleIconClose\"\n\n if (counter === 0) {\n $('.private-sidebar-wrapper').addClass('compressed');\n $('.private-content-wrapper').addClass('expanded');\n\n $(SIDEBAR_TOGGLE_ICON_OPEN).removeClass('display-none')\n $(SIDEBAR_TOGGLE_ICON_OPEN).addClass('display-inline-block')\n $(SIDEBAR_TOGGLE_ICON_CLOSE).addClass('display-none')\n $(SIDEBAR_TOGGLE_ICON_CLOSE).removeClass('display-inline-block')\n\n counter = 1\n }\n else if (counter === 1) {\n $('.private-sidebar-wrapper').removeClass('compressed');\n $('.private-content-wrapper').removeClass('expanded');\n\n $(SIDEBAR_TOGGLE_ICON_OPEN).addClass('display-none')\n $(SIDEBAR_TOGGLE_ICON_OPEN).removeClass('display-inline-block')\n $(SIDEBAR_TOGGLE_ICON_CLOSE).removeClass('display-none')\n $(SIDEBAR_TOGGLE_ICON_CLOSE).addClass('display-inline-block')\n\n counter = 0\n }\n\n }\n )\n\n }\n\n\n});"],"sourceRoot":""}