{"version":3,"file":"app-1d193c66.9729664bca28a8e6916d.bundle.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAIA;AAHA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;AAEA;AAEA;AAAA;AAMA;AAAA;AAAA;AAJA;AACA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AApCA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AAEA;AAoBA;AAAA;AAEA;AAAA;AACA;AAAA;AAaA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAvCA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAxQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;ACvCA;AACA;AACA;AACA;AAEA;AAeA;AAAA;AAAA;AAVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AApEA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AAEA;AAMA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhCA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AA4BA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA7HA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AAEA;AAUA;AAAA;AARA;AACA;AACA;AACA;AAEA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AACA;AApGA;;;;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AAEA;AAwBA;AAAA;AAtBA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA;AACA;AAAA;AAAA;AAGA;AAEA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;;AAEA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAhTA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AAEA;AA+BA;AAAA;AA7BA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBA;AACA;AAAA;AAAA;AAGA;AAEA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;;AAEA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AA1UA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAMA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAiBA;AAAA;AAAA;AAdA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAAA;AAOA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA/KA;AAAA;AAAA;AAAA;AAAA;AAWA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AAEA;AAWA;AAAA;AATA;AACA;AAAA;AAAA;AAKA;AAIA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlDA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;ACZA;AACA;AAEA;AAUA;AAAA;AARA;AAAA;AAAA;AAKA;AAAA;AAAA;AAAA;AAIA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AA/BA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAaA;AACA;AAAA;AAZA;AACA;AAAA;AAAA;AAAA;AAMA;AAMA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AA7GA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA","sources":["webpack://www.zeusteam.com/./src/resources/elements/loader/loader.js","webpack://www.zeusteam.com/./src/resources/elements/lob/lob-multiselect.js","webpack://www.zeusteam.com/./src/resources/elements/member-autocomplete/member-autocomplete.js","webpack://www.zeusteam.com/./src/resources/elements/member-levels/member-levels.js","webpack://www.zeusteam.com/./src/resources/elements/member-licenses/member-licenses.js","webpack://www.zeusteam.com/./src/resources/elements/member/member-name.js","webpack://www.zeusteam.com/./src/resources/elements/menus/big-button-menu.js","webpack://www.zeusteam.com/./src/resources/elements/menus/collapsed-menu.js","webpack://www.zeusteam.com/./src/resources/elements/menus/dropdown-menu.js","webpack://www.zeusteam.com/./src/resources/elements/menus/sidebar-menu.js","webpack://www.zeusteam.com/./src/resources/elements/menus/sidebar.js","webpack://www.zeusteam.com/./src/resources/elements/messages/view-messages.js","webpack://www.zeusteam.com/./src/resources/elements/metrics/metrics.js","webpack://www.zeusteam.com/./src/resources/elements/loader/loader.scss","webpack://www.zeusteam.com/./src/resources/elements/member-autocomplete/member-autocomplete.scss","webpack://www.zeusteam.com/./src/resources/elements/member-licenses/member-licenses.scss","webpack://www.zeusteam.com/./src/resources/elements/member/member-name.scss","webpack://www.zeusteam.com/./src/resources/elements/menus/big-button-menu.scss","webpack://www.zeusteam.com/./src/resources/elements/menus/collapsed-menu.scss","webpack://www.zeusteam.com/./src/resources/elements/menus/dropdown-menu.scss","webpack://www.zeusteam.com/./src/resources/elements/menus/sidebar-menu.scss","webpack://www.zeusteam.com/./src/resources/elements/menus/sidebar.scss","webpack://www.zeusteam.com/./src/resources/elements/messages/view-messages.scss","webpack://www.zeusteam.com/./src/resources/elements/loader/loader.html","webpack://www.zeusteam.com/./src/resources/elements/lob/lob-multiselect.html","webpack://www.zeusteam.com/./src/resources/elements/member-autocomplete/member-autocomplete.html","webpack://www.zeusteam.com/./src/resources/elements/member-levels/member-levels.html","webpack://www.zeusteam.com/./src/resources/elements/member-licenses/member-licenses.html","webpack://www.zeusteam.com/./src/resources/elements/member/member-name.html","webpack://www.zeusteam.com/./src/resources/elements/menus/big-button-menu.html","webpack://www.zeusteam.com/./src/resources/elements/menus/collapsed-menu.html","webpack://www.zeusteam.com/./src/resources/elements/menus/dropdown-menu.html","webpack://www.zeusteam.com/./src/resources/elements/menus/sidebar-menu.html","webpack://www.zeusteam.com/./src/resources/elements/menus/sidebar.html","webpack://www.zeusteam.com/./src/resources/elements/messages/view-messages.html","webpack://www.zeusteam.com/./src/resources/elements/metrics/metrics.html"],"sourcesContent":["import { customElement, bindable } from 'aurelia-framework';\r\n\r\n@customElement('loader')\r\nexport class Loader {\r\n @bindable size;\r\n @bindable message;\r\n @bindable cover = false;\r\n}\r\n","import { bindable, bindingMode } from 'aurelia-framework';\r\nimport { LOB } from 'common/constants';\r\nimport { c } from 'common/common';\r\n\r\nexport class LobMultiselect {\r\n static inject = [];\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) values;\r\n\r\n id;\r\n valuesChecked = {};\r\n linesOfBusiness = LOB.all();\r\n\r\n constructor() {\r\n this.id = c.Helpers.uniqueId();\r\n this.linesOfBusiness.forEach(lob => {\r\n this.valuesChecked[lob] = false;\r\n });\r\n }\r\n\r\n valuesChanged(newValue, oldValue) {\r\n if (oldValue && newValue && JSON.stringify(oldValue) !== JSON.stringify(newValue)) this._initialized = false;\r\n if (this._initialized) return;\r\n if (!this.values || !this.values.length) return;\r\n try {\r\n this.values.forEach(v => {\r\n this.valuesChecked[v] = true;\r\n });\r\n this._initialized = true;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n lobChecked(lob) {\r\n if (!this.values) return;\r\n const updatedValues = [];\r\n this.linesOfBusiness.forEach(lob => {\r\n if (this.valuesChecked[lob]) updatedValues.push(lob);\r\n });\r\n this.values = updatedValues;\r\n }\r\n}\r\n","import { customElement, computedFrom, bindable, bindingMode } from 'aurelia-framework';\r\nimport { DOM } from 'aurelia-pal';\r\nimport { Api } from 'common/server';\r\nimport { LevelNameValueConverter } from 'resources/value-converters/level-name';\r\n\r\n@customElement('member-autocomplete')\r\nexport class MemberAutocomplete {\r\n static inject = [DOM.Element, Api, LevelNameValueConverter];\r\n _api;\r\n _levelNameConverter;\r\n\r\n lastFindPromise;\r\n justSelected = false;\r\n previousValue = null;\r\n initial = true;\r\n\r\n dropdownToggle;\r\n dropdownMenu;\r\n\r\n showResults = false;\r\n\r\n @bindable name = '';\r\n @bindable minInput = 3;\r\n @bindable debounce = 500;\r\n @bindable onlyAgencies = null;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) value = '';\r\n @bindable selected;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) result = null;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) results = [];\r\n @bindable label = (result, long = false) => {\r\n if (!result) return '';\r\n if (!long) return result.fullName;\r\n return `${result.fullName}
${this._levelNameConverter.toView(result.lifeLevel)}
${result.email}${result.company ? `
${result.company}` : ''}
${result.city} ${result.state}`;\r\n };\r\n @bindable size = '';\r\n @bindable focusInput = false;\r\n @bindable includeDirectUpline = false;\r\n @bindable roleId;\r\n @bindable includeMentees = false\r\n @bindable placeholder = '';\r\n\r\n showDropdown() {\r\n if (!this.dropdownMenu.hasClass('show') && this.dropdownToggle && this.dropdownToggle.dropdown) {\r\n this.dropdownToggle.dropdown('toggle');\r\n }\r\n }\r\n\r\n constructor(element, api, levelNameConverter) {\r\n this.element = element;\r\n this._api = api;\r\n this._levelNameConverter = levelNameConverter;\r\n }\r\n\r\n bind() {\r\n this.value = this.label(this.result);\r\n this.dropdownToggle = $(this.dropdownToggle);\r\n this.dropdownMenu = $(this.dropdownToggle.parent().find('.dropdown-menu')[0]);\r\n }\r\n\r\n setFocus(value, event) {\r\n function isDescendant(parent, child) {\r\n let node = child.parentNode;\r\n\r\n while (node !== null) {\r\n if (node === parent) return true;\r\n node = node.parentNode;\r\n }\r\n return false;\r\n }\r\n\r\n // If descendant, don't toggle dropdown so that other listeners will be called.\r\n if (event && event.relatedTarget && isDescendant(this.element, event.relatedTarget)) return true;\r\n\r\n if (value) return this.valueChanged();\r\n this.showResults = value;\r\n }\r\n\r\n labelWithMatches(result) {\r\n let label = this.label(result, true);\r\n if (typeof label !== 'string') {\r\n return '';\r\n }\r\n\r\n return label.replace(this.regex, match => {\r\n return `${match}`;\r\n });\r\n }\r\n\r\n handleKeyUp(event) {\r\n if (event.keyCode !== 27) return;\r\n if (this.showResults) event.stopPropagation();\r\n this.setFocus(false);\r\n return true;\r\n }\r\n\r\n handleKeyDown(event) {\r\n if (event.keyCode === 27) return;\r\n\r\n if (event.keyCode === 40 || event.keyCode === 38) {\r\n this.selected = this.nextFoundResult(this.selected, event.keyCode === 38);\r\n return event.preventDefault();\r\n }\r\n\r\n if (event.keyCode === 9 || event.keyCode === 13) {\r\n if (this.showResults) {\r\n event.stopPropagation();\r\n event.preventDefault();\r\n }\r\n\r\n if (this.results.length !== 0 && this.showResults) {\r\n this.onSelect();\r\n }\r\n } else if (event.keyCode !== 37 && event.keyCode !== 39) {\r\n // ensure dropdown is uncollapsed when there are results while user types\r\n if (this.results.length > 0) {\r\n this.showDropdown();\r\n }\r\n this.setFocus(true);\r\n }\r\n\r\n return true;\r\n }\r\n\r\n nextFoundResult(current, reversed) {\r\n let index = (this.results.indexOf(current) + (reversed ? -1 : 1)) % (this.results.length);\r\n\r\n if (index < 0) index = this.results.length - 1;\r\n\r\n return this.results[index];\r\n }\r\n\r\n /**\r\n * Set the text in the input to that of the selected item and set the\r\n * selected item as the value. Then hide the results(dropdown)\r\n *\r\n * @param {Object} [result] when defined uses the result instead of the this.selected value\r\n *\r\n * @returns {boolean}\r\n */\r\n onSelect(result) {\r\n result = (arguments.length === 0) ? this.selected : result;\r\n this.justSelected = true;\r\n this.value = this.label(result);\r\n this.previousValue = this.value;\r\n this.selected = result;\r\n this.result = result;\r\n\r\n this.element.dispatchEvent(new CustomEvent('selected', { bubbles: true, detail: this.result }));\r\n\r\n this.setFocus(false);\r\n\r\n this.fireBlur();\r\n return true;\r\n }\r\n\r\n resultChanged() {\r\n if (this.selected !== this.result) {\r\n this.onSelect(this.result);\r\n }\r\n }\r\n\r\n sort(items) {\r\n return items;\r\n }\r\n\r\n ctr = 0;\r\n /**\r\n * when search string changes perform a request, assign it to results\r\n * and select the first result by default.\r\n *\r\n * @returns {Promise}\r\n */\r\n valueChanged() {\r\n this.ctr++;\r\n let initial = this.initial;\r\n let justSelected = this.justSelected;\r\n\r\n if (!this.shouldPerformRequest()) {\r\n this.previousValue = this.value;\r\n if (justSelected) {\r\n this.showResults = false;\r\n } else {\r\n this.showResults = !initial && !(this.results.length === 0);\r\n }\r\n\r\n return Promise.resolve();\r\n }\r\n\r\n if (!this.hasEnoughCharacters()) {\r\n this.results = [];\r\n this.previousValue = this.value;\r\n this.showResults = false;\r\n\r\n return Promise.resolve();\r\n }\r\n\r\n // this.result = null;\r\n this.showResults = true;\r\n\r\n // when resource is not defined it will not perform a request. Instead it\r\n // will search for the first items that pass the predicate\r\n if (this.items) {\r\n this.results = this.sort(this.items);\r\n\r\n return Promise.resolve();\r\n }\r\n\r\n let lastFindPromise = this.findResults(this.searchQuery(this.value))\r\n .then(results => {\r\n if (this.lastFindPromise !== lastFindPromise) {\r\n return;\r\n }\r\n\r\n this.previousValue = this.value;\r\n this.lastFindPromise = false;\r\n this.results = this.sort(results || []);\r\n\r\n if (this.results.length !== 0) {\r\n this.selected = this.results[0];\r\n }\r\n });\r\n\r\n this.lastFindPromise = lastFindPromise;\r\n }\r\n\r\n @computedFrom('value')\r\n get regex() {\r\n return new RegExp(this.value, 'gi');\r\n }\r\n\r\n /**\r\n * returns true when a request will be performed on a search change\r\n *\r\n * @returns {Boolean}\r\n */\r\n shouldPerformRequest() {\r\n if (this.justSelected === true) {\r\n this.justSelected = false;\r\n return false;\r\n }\r\n\r\n if (this.initial) {\r\n this.initial = false;\r\n return false;\r\n }\r\n\r\n return this.value !== this.previousValue;\r\n }\r\n\r\n /**\r\n * Returns whether or not value has enough characters (meets minInput).\r\n *\r\n * @returns {boolean}\r\n */\r\n hasEnoughCharacters() {\r\n return ((this.value && this.value.length) || 0) >= this.minInput;\r\n }\r\n\r\n async findResults(query) {\r\n try {\r\n return this._api.post('member/autocomplete-search', query);\r\n } catch (err) {\r\n console.log('ERROR', err);\r\n }\r\n }\r\n\r\n searchQuery(string) {\r\n return {\r\n searchOn: string,\r\n includeonlyAgencies: this.onlyAgencies,\r\n includeDirectUpline: this.includeDirectUpline,\r\n roleId: this.roleId ?? null,\r\n includeMentees: this.includeMentees === true ? true : null,\r\n };\r\n }\r\n\r\n clear() {\r\n this.value = '';\r\n this.results = [];\r\n this.onSelect(null);\r\n }\r\n\r\n fireBlur() {\r\n this.element.dispatchEvent(DOM.createCustomEvent('blur'));\r\n }\r\n}\r\n","import { customElement, bindable } from 'aurelia-framework';\r\nimport { Members } from 'services/members';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\n\r\n@customElement('member-levels')\r\nexport class MemberLevels {\r\n static inject = [Members, Notifier, Security];\r\n @bindable member;\r\n\r\n levelType = 'Life';\r\n _members;\r\n _notifier;\r\n _security\r\n requestedLevel;\r\n comments;\r\n recentLevelChanges = [];\r\n levelOptions;\r\n canSeeLevels = true;\r\n\r\n constructor(members, notifier, security) {\r\n this._members = members;\r\n this._notifier = notifier;\r\n this._security = security;\r\n }\r\n\r\n attached() {\r\n this._setCanSeeLevel();\r\n }\r\n\r\n _setCanSeeLevel() {\r\n this.canSeeLevels = true;\r\n if (!this.member) return;\r\n this.canSeeLevels = this._security.canSeeLevel(this.member.id);\r\n }\r\n\r\n requestLevelChange(levelType) {\r\n this.levelType = levelType;\r\n const levelTypeOptions = this.options[levelType.toLowerCase()];\r\n this.levelOptions = levelTypeOptions;\r\n this.showForm = true;\r\n }\r\n\r\n async memberChanged() {\r\n try {\r\n if (!this.member) return;\r\n this._setCanSeeLevel();\r\n this.options = await this._members.levelChangeOptions(this.member.id);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n if (!this.recentLevelChanges) this.recentLevelChanges = [];\r\n }\r\n }\r\n\r\n cancelLevelChange() {\r\n this.showForm = false;\r\n this.requestedLevel = undefined;\r\n this.comments = '';\r\n this.levels = undefined;\r\n }\r\n\r\n async sendLevelChange() {\r\n try {\r\n await this._members.requestLevelChange(this.member.id, this.levelType, this.requestedLevel, this.comments);\r\n this._notifier.success('request-level-change-sent');\r\n this.cancelLevelChange();\r\n this.memberChanged();\r\n } catch (err) {\r\n this._notifier.generalError();\r\n }\r\n }\r\n\r\n override() {\r\n this.levelOptions.canRequestChange = true;\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Members } from 'services/members';\r\n\r\nexport class MemberLicenses {\r\n static inject = [Members];\r\n @bindable memberId;\r\n\r\n _members;\r\n\r\n constructor(members) {\r\n this._members = members;\r\n }\r\n\r\n memberIdChanged() {\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n if (!this.memberId) return;\r\n try {\r\n this.licenses = await this._members.licenses(this.memberId);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n lettersOfAuthority(license) {\r\n try {\r\n if (!license || !license.lettersOfAuthority || !license.lettersOfAuthority.length) return '';\r\n const loaDescriptions = [];\r\n license.lettersOfAuthority.forEach(loa => loaDescriptions.push(loa.description));\r\n return loaDescriptions.join('; ');\r\n } catch (err) {\r\n console.log(err);\r\n return '';\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18n } from 'common/i18n';\r\nimport { Members } from 'services/members';\r\nimport { TextareaToHtmlValueConverter } from 'resources/value-converters/textarea-to-html';\r\nimport { AgentNumberStatusValueConverter } from 'resources/value-converters/agent-number-status';\r\nimport { DialogService } from 'aurelia-dialog';\r\nimport { LevelNameValueConverter } from 'resources/value-converters/level-name';\r\nimport { FormatPhoneValueConverter } from 'resources/value-converters/format-phone';\r\nimport { BoolToYesNoValueConverter } from 'resources/value-converters/bool-to-yesno';\r\nimport { c } from 'common/common';\r\nimport { ABOUT_TYPE, AGENT_PROPERTY } from 'common/constants';\r\nimport { EditToDo } from '../to-dos/dialogs/edit-to-do';\r\nimport { EditNote } from '../notes/dialogs/edit-note';\r\nPLATFORM.moduleName('../to-dos/dialogs/edit-to-do');\r\nPLATFORM.moduleName('../notes/dialogs/edit-note');\r\nimport moment from 'moment';\r\n\r\nexport class MemberName {\r\n static inject = [EventAggregator, DialogService, I18n, Members, TextareaToHtmlValueConverter, AgentNumberStatusValueConverter, LevelNameValueConverter, FormatPhoneValueConverter, BoolToYesNoValueConverter];\r\n @bindable member;\r\n @bindable showIcon = true;\r\n @bindable showProfilePic = false;\r\n @bindable iconSize = 'sm';\r\n @bindable showName = true;\r\n @bindable showBadges = true;\r\n @bindable canViewProfile = true;\r\n @bindable showActions = false;\r\n @bindable showProperties;\r\n @bindable carrierId = false;\r\n @bindable cardTab;\r\n @bindable nameCss;\r\n _ea;\r\n _dialogService;\r\n _i18n;\r\n _members;\r\n _textareaToHtmlValueConverter;\r\n _agentNumberStatusValueConverter;\r\n _levelNameValueConverter;\r\n _formatPhoneValueConverter;\r\n _boolToYesNoValueConverter;\r\n\r\n carrierNotes = '';\r\n elId;\r\n agentProperties = [];\r\n\r\n constructor(ea, dialogService, i18n, members, textareaToHtmlValueConverter, agentNumberStatusValueConverter, levelNameValueConverter, formatPhoneValueConverter, boolToYesNoValueConverter) {\r\n this._ea = ea;\r\n this._dialogService = dialogService;\r\n this._i18n = i18n;\r\n this._members = members;\r\n this._textareaToHtmlValueConverter = textareaToHtmlValueConverter;\r\n this._agentNumberStatusValueConverter = agentNumberStatusValueConverter;\r\n this._levelNameValueConverter = levelNameValueConverter;\r\n this._formatPhoneValueConverter = formatPhoneValueConverter;\r\n this._boolToYesNoValueConverter = boolToYesNoValueConverter;\r\n this.elId = c.Helpers.uniqueId();\r\n }\r\n\r\n nameFontSize() {\r\n switch (this.iconSize) {\r\n case 'xl': return 'fs-3 fw-bold';\r\n case 'lg': return 'fs-3 fw-bold';\r\n case 'md': return 'fs-4 fw-bold';\r\n default: return 'fs-6 fw-semibold';\r\n }\r\n }\r\n\r\n openProfile(ev) {\r\n ev.stopPropagation();\r\n ev.preventDefault();\r\n this._ea.publish(c.EventKeys.site.openProfile, { memberId: this.member.id, tab: this.cardTab });\r\n }\r\n\r\n addToDo() {\r\n const model = { type: ABOUT_TYPE.Agent, aboutId: this.member.id, aboutName: this.member.fullName, toDo: undefined };\r\n this._dialogService.open({ viewModel: EditToDo, model, ignoreTransitions: true });\r\n }\r\n\r\n addNote() {\r\n const model = { type: ABOUT_TYPE.Agent, aboutId: this.member.id, note: undefined };\r\n this._dialogService.open({ viewModel: EditNote, model, ignoreTransitions: true });\r\n }\r\n\r\n showPropertiesChanged() {\r\n try {\r\n this.agentProperties = [];\r\n if (!this.showProperties || !this.showProperties.length) return;\r\n this.showProperties.forEach(id => {\r\n const ap = AGENT_PROPERTY.find(id);\r\n if (!ap) return;\r\n this.agentProperties.push({\r\n label: ap.translationKey,\r\n value: this._agentPropertyValue(ap),\r\n });\r\n });\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n _agentPropertyValue(ap) {\r\n try {\r\n let value = this.member[ap.id];\r\n if (value === undefined || value === null || value === '') return '';\r\n let formattedValue = value;\r\n switch (ap.type) {\r\n case 'String': break;\r\n case 'Level': formattedValue = this._levelNameConverter.toView(value); break;\r\n case 'Phone': formattedValue = this._formatPhoneValueConverter.toView(value); break;\r\n case 'Date': formattedValue = moment(value).format('l'); break;\r\n case 'Boolean': formattedValue = this._boolToYesNoValueConverter.toView(value); break;\r\n default: break;\r\n }\r\n return formattedValue;\r\n } catch (err) {\r\n return this.member[ap.id];\r\n }\r\n }\r\n\r\n async loadCarrierNotes() {\r\n if (this.loadingCarrierNotes || this.carrierNotes) return;\r\n try {\r\n this.loadingCarrierNotes = true;\r\n const data = await this._members.getAgentNumber(this.member.id, this.carrierId);\r\n if (!data || data.length !== 1) return;\r\n const notes = [];\r\n data[0].agentNumbers.forEach(an => {\r\n const anNotes = []\r\n if (an.agentNumber) anNotes.push(`
${an.agentNumber}
`);\r\n if (an.status) anNotes.push(`
${this._agentNumberStatusValueConverter.toView(an.status)}
`);\r\n if (an.assignedDate) anNotes.push(`
${moment(an.assignedDate).format('llll')}
`);\r\n else if (an.commentDate) anNotes.push(`
${moment(an.commentDate).format('llll')}
`);\r\n if (an.comments) anNotes.push(`
${this._textareaToHtmlValueConverter.toView(an.comments)}
`);\r\n notes.push(anNotes.join(''));\r\n });\r\n if (notes.length === 0) notes.push(this._i18n.tr('no-carrier-numbers'));\r\n this.carrierNotes = notes.join('
');\r\n this.updateCarrierNotesTooltip = moment().valueOf();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loadingCarrierNotes = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Menus, MENU_AREA } from 'services/menus';\r\nimport { Security } from 'common/security';\r\nimport { Config } from 'services/config';\r\nimport { c } from 'common/common';\r\nimport { ROLE } from 'common/constants';\r\n\r\nexport class BigButtonMenu {\r\n static inject = [EventAggregator, Menus, Security, Config];\r\n _ea;\r\n _menus;\r\n _security;\r\n _config;\r\n\r\n menus = [];\r\n _handlers = [];\r\n\r\n constructor(ea, menus, security, config) {\r\n this._ea = ea;\r\n this._menus = menus;\r\n this._security = security;\r\n this._config = config;\r\n\r\n this.canEdit = this._security.isInRole([ROLE.Admin, ROLE.DashboardAdmin]);\r\n this.nbrUrl = this._config.value('newBusinessReportingLinkTemplate');\r\n }\r\n\r\n async attached() {\r\n this._handlers.push(this._ea.subscribe('dnd:didEnd', async() => {\r\n window.setTimeout(() => this._menuReordered(), 0);\r\n }));\r\n this._load();\r\n }\r\n\r\n async _menuReordered() {\r\n if (!this.canEdit) return;\r\n try {\r\n const orderedIds = [];\r\n this.menus.forEach(m => {\r\n orderedIds.push(m.id);\r\n });\r\n await this._menus.setMobileMenuOrdering(orderedIds);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async _reload() {\r\n this.menus = [];\r\n await this._load();\r\n }\r\n\r\n async _load() {\r\n try {\r\n this.menus = await this._menus.byArea(MENU_AREA.bigButtons);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n toggleAdminTools() {\r\n\t this.adminToolsOn = !this.adminToolsOn;\r\n\t}\r\n\r\n async addNbr() {\r\n try {\r\n await this._menus.addToMobileMenu(null, 'NBR', 'nav-big-buttons-bunny', null, null, '#', 'fa-duotone fa-rabbit', null);\r\n this._reload();\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async addShareLink() {\r\n try {\r\n await this._menus.addToMobileMenu(null, 'ShareLink', 'nav-big-buttons-share', null, null, '#', 'fa-duotone fa-share-nodes', null);\r\n this._reload();\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async removeBigButton(menu) {\r\n try {\r\n this.processing = true;\r\n await this._menus.removeFromMobileMenu(menu.id);\r\n this._reload();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.processing = false;\r\n }\r\n }\r\n\r\n bigButtonClick(type) {\r\n if (!type) return true;\r\n switch (type.toLowerCase()) {\r\n case 'nbr': this._openNbr(); return false;\r\n case 'sharelink': this._security.openShareLink(this._config); return false;\r\n }\r\n return true;\r\n }\r\n\r\n _openNbr() {\r\n const nbrLink = c.Helpers.replaceVariables(this._security, this.nbrUrl, true);\r\n this._ea.publish(c.EventKeys.site.openLightbox, { embedSrc: nbrLink });\r\n }\r\n}","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { LpfnUtil } from 'common/utils';\r\nimport { createPopper } from '@popperjs/core';\r\nimport { eventListener } from 'common/common';\r\n\r\nexport class CollapsedMenu {\r\n static inject = [Element, EventAggregator];\r\n element;\r\n _ea;\r\n\r\n @bindable trigger = 'click';\r\n @bindable options = {};\r\n @bindable close;\r\n @bindable mouseEnterDebounce = 200;\r\n @bindable menuPlacement = 'right-start';\r\n @bindable menuOverflow = false;\r\n @bindable menuOffset;\r\n @bindable menuFlip = false;\r\n\r\n _defaultOptions = {\r\n zindex: 105\r\n };\r\n\r\n @bindable triggerEl;\r\n menuEl;\r\n\r\n _handlers = [];\r\n _menuHandlers = [];\r\n\r\n constructor(element, ea) {\r\n this.element = element;\r\n this._ea = ea;\r\n this.id = LpfnUtil.getUniqueId('dropdown');\r\n this.element.id = this.id;\r\n }\r\n\r\n attached() {\r\n this._init();\r\n }\r\n\r\n detached() {\r\n this._handlers.forEach(h => h.dispose());\r\n this._handlers = [];\r\n this._menuHandlers.forEach(h => h.dispose());\r\n this._menuHandlers = [];\r\n }\r\n\r\n _init() {\r\n this.options = LpfnUtil.deepExtend({}, this._defaultOptions, this.options);\r\n this.uid = LpfnUtil.getUniqueId('menu');\r\n this.disabled = false;\r\n\r\n this.element.setAttribute('data-zeus-menu', 'true');\r\n\r\n this._update();\r\n }\r\n\r\n onTriggerMouseenter() {\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover' ) return;\r\n this._hoveringMenu = false;\r\n this._hoveringTrigger = true;\r\n this.show();\r\n }\r\n\r\n onTriggerMouseleave() {\r\n if (this._hoveringMenu) return;\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover') return;\r\n this._hoveringTrigger = false;\r\n this.hide();\r\n }\r\n\r\n onMenuMouseenter() {\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover') return;\r\n this._hoveringMenu = true;\r\n this._hoveringTrigger = false;\r\n this.show();\r\n }\r\n\r\n onMenuMouseleave() {\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover') return;\r\n if (this._hoveringTrigger) return;\r\n this._hoveringMenu = false;\r\n this.hide();\r\n }\r\n\r\n onClick() {\r\n this.toggle();\r\n }\r\n\r\n destroy() {\r\n }\r\n\r\n closeChanged() {\r\n if (!this.close) return;\r\n this.hide();\r\n }\r\n\r\n toggle() {\r\n if (this._isMenuShown() === true) {\r\n this.hide();\r\n } else {\r\n this.show();\r\n }\r\n }\r\n\r\n show() {\r\n if (this._isMenuShown() === true) return;\r\n this._showDropdown();\r\n this._menuHandlers.push(eventListener(document.body, 'click', (e) => {\r\n if (e.target === this.triggerEl\r\n || document.getElementById(this.id).isSameNode(e.target)\r\n || document.getElementById(this.id).contains(e.target)) {\r\n return true;\r\n }\r\n e.stopPropagation();\r\n this.hide();\r\n return false;\r\n }));\r\n }\r\n\r\n hide() {\r\n if (this._isMenuShown() === false) return;\r\n this._hideDropdown();\r\n this._menuHandlers.forEach(h => h.dispose());\r\n this.element.dispatchEvent(new CustomEvent('closed', { bubbles: true, detail: {} }));\r\n }\r\n\r\n _reset(item) { \r\n if (this._hasItemSub(item) === false) return;\r\n var sub = this.menuEl;\r\n LpfnUtil.removeClass(item, 'hover'); \r\n LpfnUtil.removeClass(item, 'show'); \r\n LpfnUtil.removeClass(sub, 'show'); \r\n }\r\n\r\n _update() {\r\n var items = this.element.querySelectorAll('.menu-item[data-zeus-menu-trigger]');\r\n\r\n if (items && items.length > 0) {\r\n for (var i = 0, len = items.length; i < len; i++) {\r\n this._reset(items[i]);\r\n }\r\n }\r\n }\r\n\r\n _isTriggerElement(item) {\r\n return (this.triggerElement === item) ? true : false;\r\n }\r\n\r\n _isMenuShown() {\r\n if (!this.menuEl) return false;\r\n\r\n if (LpfnUtil.hasClass(this.menuEl, 'show') === true && this.menuEl.hasAttribute('data-popper-placement') === true) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n _isItemDropdownPermanent(item) {\r\n return this._getOptionFromElementAttribute(item, 'permanent') === true ? true : false;\r\n }\r\n\r\n _isItemParentShown(item) {\r\n return LpfnUtil.parents(item, '.menu-item.show').length > 0;\r\n }\r\n\r\n _isItemSubElement(item) {\r\n return LpfnUtil.hasClass(item, 'menu-sub');\r\n }\r\n\r\n _hasItemSub(item) {\r\n return (LpfnUtil.hasClass(item, 'menu-item') && item.hasAttribute('data-zeus-menu-trigger'));\r\n }\r\n\r\n _showDropdown() {\r\n var width = this._getOptionFromElementAttribute(this.triggerEl, 'width');\r\n var height = this._getOptionFromElementAttribute(this.triggerEl, 'height');\r\n\r\n var zindex = this.options.zindex;\r\n var parentZindex = LpfnUtil.getHighestZindex(this.triggerEl);\r\n\r\n // Apply a new z-index if dropdown's toggle element or it's parent has greater z-index // update\r\n if (parentZindex !== null && parentZindex >= zindex) {\r\n zindex = parentZindex + 1;\r\n }\r\n\r\n if (zindex > 0) {\r\n LpfnUtil.css(this.menuEl, 'z-index', zindex);\r\n }\r\n\r\n if (width !== null) {\r\n LpfnUtil.css(this.menuEl, 'width', width);\r\n }\r\n\r\n if (height !== null) {\r\n LpfnUtil.css(this.menuEl, 'height', height);\r\n }\r\n\r\n LpfnUtil.css(this.menuEl, 'display', '');\r\n LpfnUtil.css(this.menuEl, 'overflow', '');\r\n\r\n // Init popper(new)\r\n this._initDropdownPopper(); \r\n\r\n LpfnUtil.addClass(this.triggerEl, 'show');\r\n LpfnUtil.addClass(this.triggerEl, 'menu-dropdown');\r\n LpfnUtil.addClass(this.menuEl, 'show');\r\n\r\n // Append the sub the the root of the menu\r\n if (this.menuOverflow) {\r\n document.body.appendChild(this.menuEl);\r\n }\r\n }\r\n\r\n _hideDropdown() {\r\n LpfnUtil.css(this.menuEl, 'z-index', '');\r\n LpfnUtil.css(this.menuEl, 'width', '');\r\n LpfnUtil.css(this.menuEl, 'height', '');\r\n\r\n LpfnUtil.removeClass(this.triggerEl, 'show');\r\n LpfnUtil.removeClass(this.triggerEl, 'menu-dropdown');\r\n LpfnUtil.removeClass(this.menuEl, 'show');\r\n\r\n // Append the sub back to it's parent\r\n if (this.menuOverflow) {\r\n if (this.triggerEl.classList.contains('menu-item')) {\r\n this.triggerEl.appendChild(this.menuEl);\r\n } else {\r\n LpfnUtil.insertAfter(this.element, this.triggerEl);\r\n }\r\n \r\n LpfnUtil.data(this.triggerEl).remove('sub');\r\n LpfnUtil.data(this.menuEl).remove('item');\r\n LpfnUtil.data(this.menuEl).remove('menu');\r\n } \r\n\r\n // Destroy popper(new)\r\n this._destroyDropdownPopper(this.triggerEl);\r\n }\r\n\r\n _initDropdownPopper() {\r\n const reference = this.triggerEl.parentNode;\r\n this._popper = createPopper(reference, this.menuEl, this._getDropdownPopperConfig()); \r\n }\r\n\r\n _destroyDropdownPopper() {\r\n if (this._popper) {\r\n this._popper.destroy();\r\n }\r\n }\r\n\r\n // Prepare popper config for dropdown(see: https://popper.js.org/docs/v2/)\r\n _getDropdownPopperConfig() {\r\n var offset = this.menuOffset ? this.menuOffset.split(',') : [];\r\n \r\n if (offset.length === 2) {\r\n offset[0] = parseInt(offset[0]);\r\n offset[1] = parseInt(offset[1]);\r\n }\r\n\r\n var strategy = this.menuOverflow ? 'absolute' : 'fixed';\r\n\r\n var altAxis = this.menuFlip !== false ? true : false;\r\n\r\n var popperConfig = {\r\n placement: this.menuPlacement,\r\n strategy: strategy,\r\n modifiers: [\r\n {\r\n name: 'offset',\r\n options: {\r\n offset: offset\r\n }\r\n }, {\r\n name: 'preventOverflow',\r\n options: {\r\n altAxis: altAxis,\r\n padding: 0\r\n }\r\n }, {\r\n name: 'flip', \r\n options: {\r\n flipVariations: false,\r\n padding: 0\r\n }\r\n }\r\n ]\r\n };\r\n\r\n return popperConfig;\r\n }\r\n\r\n _getOptionFromElementAttribute(item, name) {\r\n var attr;\r\n var value = null;\r\n\r\n if (item && item.hasAttribute('data-zeus-menu-' + name)) {\r\n attr = item.getAttribute('data-zeus-menu-' + name);\r\n value = LpfnUtil.getResponsiveValue(attr);\r\n\r\n if (value !== null && String(value) === 'true') {\r\n value = true;\r\n } else if (value !== null && String(value) === 'false') {\r\n value = false;\r\n }\r\n }\r\n\r\n return value;\r\n }\r\n}","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { LpfnUtil } from 'common/utils';\r\nimport { createPopper } from '@popperjs/core';\r\nimport { eventListener } from 'common/common';\r\n\r\nexport class DropdownMenu {\r\n static inject = [Element, EventAggregator];\r\n element;\r\n _ea;\r\n\r\n @bindable type = 'link';\r\n @bindable trigger = 'click';\r\n @bindable triggerEventKey;\r\n @bindable triggerClass;\r\n @bindable menuClass;\r\n @bindable options = {};\r\n @bindable close;\r\n @bindable mouseEnterDebounce = 200;\r\n @bindable menuPlacement = 'bottom-end';\r\n @bindable menuOverflow = false;\r\n @bindable menuAttach = 'parent';\r\n @bindable menuOffset;\r\n @bindable menuFlip = false;\r\n @bindable forceOpen;\r\n @bindable title;\r\n\r\n _defaultOptions = {\r\n zindex: 105\r\n };\r\n\r\n @bindable triggerEl;\r\n menuEl;\r\n\r\n _handlers = [];\r\n _menuHandlers = [];\r\n\r\n constructor(element, ea) {\r\n this.element = element;\r\n this._ea = ea;\r\n this.id = LpfnUtil.getUniqueId('dropdown');\r\n this.element.id = this.id;\r\n }\r\n\r\n attached() {\r\n this._init();\r\n }\r\n\r\n detached() {\r\n this._handlers.forEach(h => h.dispose());\r\n this._handlers = [];\r\n this._menuHandlers.forEach(h => h.dispose());\r\n this._menuHandlers = [];\r\n }\r\n\r\n _init() {\r\n this.options = LpfnUtil.deepExtend({}, this._defaultOptions, this.options);\r\n this.uid = LpfnUtil.getUniqueId('menu');\r\n this.disabled = false;\r\n\r\n this.element.setAttribute('data-zeus-menu', 'true');\r\n\r\n if (this.triggerEventKey) {\r\n this._handlers.push(this._ea.subscribe(this.triggerEventKey, (data) => {\r\n if (data.action === 'show') this.show();\r\n else this.hide();\r\n }));\r\n }\r\n\r\n this._update();\r\n }\r\n\r\n forceOpenChanged() {\r\n if (!this.forceOpen) return;\r\n this.show();\r\n }\r\n\r\n onTriggerMouseenter() {\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover' ) return;\r\n this._hoveringMenu = false;\r\n this._hoveringTrigger = true;\r\n this.show();\r\n }\r\n\r\n onTriggerMouseleave() {\r\n if (this._hoveringMenu) return;\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover') return;\r\n this._hoveringTrigger = false;\r\n this.hide();\r\n }\r\n\r\n onMenuMouseenter() {\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover') return;\r\n this._hoveringMenu = true;\r\n this._hoveringTrigger = false;\r\n this.show();\r\n }\r\n\r\n onMenuMouseleave() {\r\n if (this.disabled === true) return;\r\n if (this.trigger !== 'hover') return;\r\n if (this._hoveringTrigger) return;\r\n this._hoveringMenu = false;\r\n this.hide();\r\n }\r\n\r\n onClick() {\r\n this.toggle();\r\n }\r\n\r\n destroy() {\r\n }\r\n\r\n closeChanged() {\r\n if (!this.close) return;\r\n this.hide();\r\n }\r\n\r\n toggle() {\r\n if (this._isMenuShown() === true) {\r\n this.hide();\r\n } else {\r\n this.show();\r\n }\r\n }\r\n\r\n show() {\r\n if (this._isMenuShown() === true) return;\r\n this._showDropdown();\r\n this._menuHandlers.push(eventListener(document.body, 'click', (e) => {\r\n if (e.target === this.triggerEl\r\n || document.getElementById(this.id).isSameNode(e.target)\r\n || document.getElementById(this.id).contains(e.target)) {\r\n return true;\r\n }\r\n e.stopPropagation();\r\n e.preventDefault();\r\n this.hide();\r\n return false;\r\n }));\r\n this.element.dispatchEvent(new CustomEvent('opened', { bubbles: true, detail: {} }));\r\n }\r\n\r\n hide() {\r\n if (this._isMenuShown() === false) return;\r\n this._hideDropdown();\r\n this._menuHandlers.forEach(h => h.dispose());\r\n this.element.dispatchEvent(new CustomEvent('closed', { bubbles: true, detail: {} }));\r\n }\r\n\r\n _reset(item) { \r\n if (this._hasItemSub(item) === false) return;\r\n var sub = this.menuEl;\r\n LpfnUtil.removeClass(item, 'hover'); \r\n LpfnUtil.removeClass(item, 'show'); \r\n LpfnUtil.removeClass(sub, 'show'); \r\n }\r\n\r\n _update() {\r\n var items = this.element.querySelectorAll('.menu-item[data-zeus-menu-trigger]');\r\n\r\n if (items && items.length > 0) {\r\n for (var i = 0, len = items.length; i < len; i++) {\r\n this._reset(items[i]);\r\n }\r\n }\r\n }\r\n\r\n _isTriggerElement(item) {\r\n return (this.triggerElement === item) ? true : false;\r\n }\r\n\r\n _isMenuShown() {\r\n if (!this.menuEl) return false;\r\n\r\n if (LpfnUtil.hasClass(this.menuEl, 'show') === true && this.menuEl.hasAttribute('data-popper-placement') === true) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n _isItemDropdownPermanent(item) {\r\n return this._getOptionFromElementAttribute(item, 'permanent') === true ? true : false;\r\n }\r\n\r\n _isItemParentShown(item) {\r\n return LpfnUtil.parents(item, '.menu-item.show').length > 0;\r\n }\r\n\r\n _isItemSubElement(item) {\r\n return LpfnUtil.hasClass(item, 'menu-sub');\r\n }\r\n\r\n _hasItemSub(item) {\r\n return (LpfnUtil.hasClass(item, 'menu-item') && item.hasAttribute('data-zeus-menu-trigger'));\r\n }\r\n\r\n _showDropdown() {\r\n var width = this._getOptionFromElementAttribute(this.triggerEl, 'width');\r\n var height = this._getOptionFromElementAttribute(this.triggerEl, 'height');\r\n\r\n var zindex = this.options.zindex;\r\n var parentZindex = LpfnUtil.getHighestZindex(this.triggerEl);\r\n\r\n // Apply a new z-index if dropdown's toggle element or it's parent has greater z-index // update\r\n if (parentZindex !== null && parentZindex >= zindex) {\r\n zindex = parentZindex + 1;\r\n }\r\n\r\n if (zindex > 0) {\r\n LpfnUtil.css(this.menuEl, 'z-index', zindex);\r\n }\r\n\r\n if (width !== null) {\r\n LpfnUtil.css(this.menuEl, 'width', width);\r\n }\r\n\r\n if (height !== null) {\r\n LpfnUtil.css(this.menuEl, 'height', height);\r\n }\r\n\r\n LpfnUtil.css(this.menuEl, 'display', '');\r\n LpfnUtil.css(this.menuEl, 'overflow', '');\r\n\r\n // Init popper(new)\r\n this._initDropdownPopper(); \r\n\r\n LpfnUtil.addClass(this.triggerEl, 'show');\r\n LpfnUtil.addClass(this.triggerEl, 'menu-dropdown');\r\n LpfnUtil.addClass(this.menuEl, 'show');\r\n\r\n // Append the sub the the root of the menu\r\n if (this.menuOverflow) {\r\n document.body.appendChild(this.menuEl);\r\n }\r\n }\r\n\r\n _hideDropdown() {\r\n LpfnUtil.css(this.menuEl, 'z-index', '');\r\n LpfnUtil.css(this.menuEl, 'width', '');\r\n LpfnUtil.css(this.menuEl, 'height', '');\r\n\r\n LpfnUtil.removeClass(this.triggerEl, 'show');\r\n LpfnUtil.removeClass(this.triggerEl, 'menu-dropdown');\r\n LpfnUtil.removeClass(this.menuEl, 'show');\r\n\r\n // Append the sub back to it's parent\r\n if (this.menuOverflow) {\r\n if (this.triggerEl.classList.contains('menu-item')) {\r\n this.triggerEl.appendChild(this.menuEl);\r\n } else {\r\n LpfnUtil.insertAfter(this.element, this.triggerEl);\r\n }\r\n \r\n LpfnUtil.data(this.triggerEl).remove('sub');\r\n LpfnUtil.data(this.menuEl).remove('item');\r\n LpfnUtil.data(this.menuEl).remove('menu');\r\n } \r\n\r\n // Destroy popper(new)\r\n this._destroyDropdownPopper(this.triggerEl);\r\n }\r\n\r\n _initDropdownPopper() {\r\n var reference;\r\n\r\n if (this.menuAttach === 'parent') {\r\n reference = this.triggerEl.parentNode.parentNode;\r\n } else {\r\n reference = document.querySelector(this.menuAttach);\r\n }\r\n\r\n this._popper = createPopper(reference, this.menuEl, this._getDropdownPopperConfig()); \r\n }\r\n\r\n _destroyDropdownPopper() {\r\n if (this._popper) {\r\n this._popper.destroy();\r\n }\r\n }\r\n\r\n // Prepare popper config for dropdown(see: https://popper.js.org/docs/v2/)\r\n _getDropdownPopperConfig() {\r\n var offset = this.menuOffset ? this.menuOffset.split(',') : [];\r\n \r\n if (offset.length === 2) {\r\n offset[0] = parseInt(offset[0]);\r\n offset[1] = parseInt(offset[1]);\r\n }\r\n\r\n var strategy = this.menuOverflow ? 'absolute' : 'fixed';\r\n\r\n var altAxis = this.menuFlip !== false ? true : false;\r\n\r\n var popperConfig = {\r\n placement: this.menuPlacement,\r\n strategy: strategy,\r\n modifiers: [\r\n {\r\n name: 'offset',\r\n options: {\r\n offset: offset\r\n }\r\n }, {\r\n name: 'preventOverflow',\r\n options: {\r\n altAxis: altAxis\r\n }\r\n }, {\r\n name: 'flip', \r\n options: {\r\n flipVariations: false\r\n }\r\n }\r\n ]\r\n };\r\n\r\n return popperConfig;\r\n }\r\n\r\n _getOptionFromElementAttribute(item, name) {\r\n var attr;\r\n var value = null;\r\n\r\n if (item && item.hasAttribute('data-zeus-menu-' + name)) {\r\n attr = item.getAttribute('data-zeus-menu-' + name);\r\n value = LpfnUtil.getResponsiveValue(attr);\r\n\r\n if (value !== null && String(value) === 'true') {\r\n value = true;\r\n } else if (value !== null && String(value) === 'false') {\r\n value = false;\r\n }\r\n }\r\n\r\n return value;\r\n }\r\n}","import { bindable } from 'aurelia-framework';\r\nimport { LpfnUtil } from 'common/utils';\r\nimport { Router } from 'aurelia-router';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Security } from 'common/security';\r\nimport { Menus, MENU_AREA } from 'services/menus';\r\nimport { c } from 'common/common';\r\n\r\nexport class SidebarMenu {\r\n static inject = [Router, EventAggregator, Security, Menus];\r\n @bindable area;\r\n router;\r\n _ea;\r\n security;\r\n _menus;\r\n\r\n membersNavEl;\r\n\r\n menuArea;\r\n menu;\r\n\r\n @bindable collapsed = false;\r\n\r\n _handlers = [];\r\n\r\n constructor(router, ea, security, menus) {\r\n this.router = router;\r\n this._ea = ea;\r\n this.security = security;\r\n this._menus = menus;\r\n }\r\n\r\n async attached() {\r\n this._isAttached = true;\r\n if (this.area) await this.loadMenu(this.area);\r\n this._handlers.push(this._ea.subscribe(c.EventKeys.menu.changed, (data) => {\r\n this.loadMenu(data.area);\r\n }));\r\n this._handlers.push(this._ea.subscribe(c.EventKeys.menu.updated, (data) => {\r\n if (this.menuArea !== data.area) return; // Only need to load the menu if the currently displayed menu has been updated\r\n this.menuArea = undefined;\r\n this.loadMenu(data.area);\r\n }));\r\n this._handlers.push(this._ea.subscribe(c.EventKeys.navigation.changing, (data) => {\r\n this._setActiveMenu(data.fragment);\r\n }));\r\n this._handlers.push(this._ea.subscribe(c.EventKeys.loginAuthenticationUpdated, (data) => {\r\n if (data.authenticated) return;\r\n this.menuArea = undefined;\r\n }));\r\n }\r\n\r\n detached() {\r\n this._handlers.forEach(h => h.dispose());\r\n this._handlers = [];\r\n }\r\n\r\n onMenuClick(link) {\r\n if (!link.lightboxUrl) return true;\r\n const lightboxUrl = c.Helpers.replaceVariables(this.security, link.lightboxUrl, true);\r\n this._ea.publish(c.EventKeys.site.openLightbox, { embedSrc: lightboxUrl });\r\n return false;\r\n }\r\n\r\n areaChanged() {\r\n if (!this._isAttached) return;\r\n if (!this.area) return;\r\n this.loadMenu(this.area);\r\n }\r\n\r\n async loadMenu(area) {\r\n try {\r\n if (this.menuArea === area) return;\r\n this.menuArea = area;\r\n this.menus = undefined;\r\n if (!area) return;\r\n switch (area) {\r\n case MENU_AREA.members:\r\n this.menus = await this._menus.byArea(MENU_AREA.members);\r\n break;\r\n case MENU_AREA.admin:\r\n this.menus = await this._menus.byArea(MENU_AREA.admin);\r\n break;\r\n case MENU_AREA.onboarding:\r\n this.menus = await this._menus.byArea(MENU_AREA.onboarding);\r\n break;\r\n }\r\n if (this.router.currentInstruction) {\r\n const fragment = this.router.currentInstruction.parentInstruction\r\n ? this.router.currentInstruction.parentInstruction.fragment\r\n : this.router.currentInstruction.fragment;\r\n this._setActiveMenu(fragment);\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n _setActiveMenu(fragment) {\r\n if (!this.menus) return;\r\n this._clearActiveMenu();\r\n for (let menu of this.menus) {\r\n if (this._setActiveSubmenu(fragment, menu, menu)) return;\r\n }\r\n }\r\n\r\n _clearActiveMenu() {\r\n if (!this.menus) return;\r\n this.menus.forEach(m => {\r\n m.isActive = false;\r\n this._clearActiveSubmenu(m);\r\n });\r\n }\r\n\r\n _clearActiveSubmenu(subMenu) {\r\n if (!subMenu.items) return;\r\n subMenu.items.forEach(sm => {\r\n sm.isActive = false;\r\n this._clearActiveSubmenu(sm);\r\n });\r\n }\r\n\r\n _setActiveSubmenu(fragment, mainMenu, menu) {\r\n const menuFragment = menu.href ? menu.href.substr(1) : '';\r\n if (fragment === menuFragment) {\r\n mainMenu.isActive = true;\r\n menu.isActive = true;\r\n return true;\r\n }\r\n if (menu.href === 'if it is the same') return true; // no need to run through any of the sub items\r\n if (!menu.items || !menu.items.length) return false;\r\n for (let subMenu of menu.items) {\r\n if (this._setActiveSubmenu(fragment, mainMenu, subMenu)) return true;\r\n }\r\n return false;\r\n }\r\n\r\n showMenuItem(menuItem) {\r\n if (menuItem.ifNotSecurity) {\r\n return !this.security[menuItem.ifNotSecurity];\r\n } else if (menuItem.ifSecurity) {\r\n return this.security[menuItem.ifSecurity];\r\n } else if (menuItem.ifRole) {\r\n return this.security.isInRole(menuItem.ifRole);\r\n } else if (menuItem.showFor && menuItem.showFor.length) {\r\n let display = false;\r\n menuItem.showFor.forEach(sf => {\r\n switch (sf) {\r\n case 'admin': if (this.security.isAdmin) display = true; break;\r\n case 'masterAgency': if (this.security.isMasterAgency()) display = true; break;\r\n case 'agency': if (this.security.isAgency()) display = true; break;\r\n case 'team': if (this.security.isTeam()) display = true; break;\r\n case 'agent': display = true; break;\r\n }\r\n });\r\n return display;\r\n }\r\n return true;\r\n }\r\n\r\n toggleMenu(id) {\r\n try {\r\n const item = document.getElementById(`sidebar-menu-${id}`);\r\n const sub = document.getElementById(`sidebar-menu-${id}-sub`);\r\n if (LpfnUtil.hasClass(item, 'show')) {\r\n LpfnUtil.addClass(item, 'hiding');\r\n LpfnUtil.slideUp(sub, 350, () => {\r\n LpfnUtil.removeClass(item, 'hiding');\r\n LpfnUtil.removeClass(item, 'show');\r\n LpfnUtil.removeClass(sub, 'show');\r\n LpfnUtil.removeClass(item, 'hover');\r\n });\r\n } else {\r\n LpfnUtil.addClass(item, 'hover');\r\n LpfnUtil.addClass(item, 'showing');\r\n LpfnUtil.slideDown(sub, 350, () => {\r\n LpfnUtil.removeClass(item, 'showing');\r\n LpfnUtil.addClass(item, 'show');\r\n LpfnUtil.addClass(sub, 'show');\r\n });\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}","import { bindable } from 'aurelia-framework';\r\nimport { Sites } from 'services/sites';\r\nimport { Device } from 'common/ui';\r\nimport environment from './../../../../config/environment.json';\r\nimport { LpfnUtil } from 'common/utils';\r\n\r\nexport class Sidebar {\r\n static inject = [Sites, Device];\r\n _sites;\r\n _device;\r\n\r\n @bindable area;\r\n @bindable showMenu = true;\r\n\r\n KEY = 'zeus.sidebar.collapsed';\r\n collapsed = false;\r\n\r\n constructor(sites, device) {\r\n this._sites = sites;\r\n this._device = device;\r\n }\r\n\r\n async attached() {\r\n try {\r\n const collapsed = localStorage.getItem(this.KEY);\r\n this.collapsed = collapsed === 'true' ? true : false;\r\n if (this._device.isMobile()) this.collapsed = false;\r\n this._initializeMenu();\r\n this.theme = await this._sites.theme();\r\n this.lightLogo = `${environment.static}/${this.theme.light.logoPath}`;\r\n this.darkLogo = `${environment.static}/${this.theme.dark.logoPath}`;\r\n this.iconLogo = `${environment.static}/${this.theme.logoIconPath}`;\r\n\r\n LpfnUtil.addResizeHandler(() => {\r\n if (!this.collapsed) return;\r\n if (!this._device.isMobile()) return;\r\n this.collapsed = false;\r\n this._initializeMenu();\r\n });\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n toggleMenu() {\r\n this.collapsed = !this.collapsed;\r\n this._initializeMenu();\r\n }\r\n\r\n _initializeMenu() {\r\n try {\r\n localStorage.setItem(this.KEY, this.collapsed);\r\n if (this.collapsed) {\r\n document.body.setAttribute('data-kt-app-layout', 'mini-sidebar');\r\n } else {\r\n document.body.setAttribute('data-kt-app-layout', 'light-sidebar');\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}","import { bindable } from 'aurelia-framework';\r\nimport { Messages, MESSAGE_STATUS } from 'services/messages';\r\n\r\nexport class ViewMessages {\r\n static inject = [Messages];\r\n _messages;\r\n\r\n @bindable type;\r\n @bindable aboutId;\r\n\r\n messageFilters = [{ value: '', keys: ['subject', 'from.fullName', 'from.email', 'content'] }];\r\n pageSize = 25;\r\n\r\n constructor(messages) {\r\n this._messages = messages;\r\n }\r\n\r\n typeChanged() {\r\n this._load();\r\n if (this.type) this.titleKey = `${this.type.toLowerCase()}-messages`;\r\n }\r\n\r\n aboutIdChanged() {\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n if (!this.type || !this.aboutId) return;\r\n try {\r\n this.messages = await this._messages.listFor(this.type, this.aboutId);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n toggleMessage(message) {\r\n message.showFullMessage = !message.showFullMessage;\r\n }\r\n}\r\n","import { bindable, computedFrom } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Reports } from 'services/reports';\r\nimport { Products } from 'services/products';\r\nimport { WIDGET, KPI, LOB } from 'common/constants';\r\nimport { TimePeriodNavigatorBase } from 'resources/base-classes/time-period-navigator-base';\r\nimport moment from 'moment';\r\n\r\nexport class Metrics extends TimePeriodNavigatorBase {\r\n static inject = [EventAggregator, Reports, Products];\r\n _reports;\r\n _products;\r\n\r\n @bindable metric;\r\n @bindable sync = true;\r\n @bindable scroll = true;\r\n\r\n GroupBy = WIDGET.GroupBy;\r\n\r\n _reports;\r\n\r\n constructor(ea, reports, products) {\r\n super('metrics', ea);\r\n this._reports = reports;\r\n this._products = products;\r\n }\r\n\r\n attached() {\r\n this._isAttached = true;\r\n this._attached();\r\n this._loadData();\r\n this._loadProductTypes();\r\n }\r\n\r\n async metricChanged(newValue, oldValue) {\r\n if (!this._isAttached) return;\r\n this._loadData();\r\n }\r\n\r\n async _loadProductTypes() {\r\n try {\r\n const productTypes = await this._products.typesByLOB();\r\n this.totalLifeProductTypes = productTypes.find(x => x.lineOfBusiness === LOB.Life).productTypes.length;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n @computedFrom('metric')\r\n get groupByTitleKey() {\r\n if (!this.metric) return undefined;\r\n switch (this.metric.groupBy) {\r\n case WIDGET.GroupBy.Agent: return 'by-agent-metrics-title';\r\n case WIDGET.GroupBy.Team: return 'by-team-metrics-title';\r\n case WIDGET.GroupBy.Agency: return 'by-agency-metrics-title';\r\n case WIDGET.GroupBy.Carrier: return 'by-carrier-metrics-title';\r\n }\r\n }\r\n\r\n async refreshData() {\r\n this.refreshing = true;\r\n if (this.report) this.report = undefined;\r\n await this._loadData();\r\n this.refreshing = false;\r\n }\r\n\r\n async _loadData(fromSync = false) {\r\n if (!this.metric) return;\r\n try {\r\n this.loading = true;\r\n this.metrics = undefined;\r\n this.dgRecords = undefined;\r\n this.initializeTimePeriodNavigation(fromSync);\r\n\r\n this.metrics = await this._reports.metrics(this.metric, this.asOfDate.toISOString(true));\r\n\r\n this.timePeriod = WIDGET.Period.toReportTimePeriod(this.metric.period);\r\n this.currentPeriod = this.metrics.timePeriod;\r\n this.setTimePeriodNavigationDisplays();\r\n this._loadChart();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n _loadChart() {\r\n const chartData = [];\r\n this.metrics.records.forEach(r => {\r\n chartData.push(\r\n r.member\r\n ? { id: r.member.id, name: r.member.fullName, shortName: r.member.initials, value: r.value }\r\n : { id: r.carrier.id, name: r.carrier.name, shortName: r.carrier.code, value: r.value });\r\n });\r\n this.chartData = chartData;\r\n }\r\n\r\n async drilldown(drilldownDetail) {\r\n try {\r\n if (!drilldownDetail) return;\r\n this.drilldownName = drilldownDetail.name;\r\n this.loadingDetails = true;\r\n this.drilldownDetails = await this._reports.metrics(this.metric, this.asOfDate.toISOString(true), drilldownDetail.id);\r\n this.drilldownDetails.forEach(ddd => {\r\n const key = KPI.PremiumType.toPolicyPremium(this.metric.premiumType);\r\n ddd.showPremium = key ? ddd[key] ?? '' : '';\r\n });\r\n this.showDetails();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loadingDetails = false;\r\n }\r\n }\r\n\r\n async showDetails() {\r\n this.showDrawer = moment().format();\r\n }\r\n\r\n drawerClosed() {\r\n }\r\n}\r\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-loader {\\n text-align: center;\\n padding: var(--zeus-margin) 0;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n}\\n.zeus-loader .zeus-loader-message {\\n margin-left: var(--zeus-margin);\\n}\\n.zeus-loader > i {\\n margin-right: var(--zeus-margin);\\n}\\n.zeus-loader .lg {\\n font-size: 1.25em;\\n}\\n.zeus-loader .lg > i {\\n font-size: 1.75em;\\n}\\n.zeus-loader .xl {\\n font-size: 1.75em;\\n}\\n.zeus-loader .xl > i {\\n font-size: 2.5em;\\n}\\n.zeus-loader.zeus-loader-cover {\\n position: absolute;\\n left: 0;\\n right: 0;\\n top: 0;\\n bottom: 0;\\n background: rgba(255, 255, 255, 0.85);\\n z-index: 2;\\n}\\n.zeus-loader.zeus-loader-cover .zeus-loader-message {\\n display: block;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/loader/loader.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,kBAAA;EACA,6BAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;AACJ;AACI;EACI,+BAAA;AACR;AAEI;EACI,gCAAA;AAAR;AAGI;EACI,iBAAA;AADR;AAEQ;EACI,iBAAA;AAAZ;AAII;EACI,iBAAA;AAFR;AAGQ;EACI,gBAAA;AADZ;AAKI;EACI,kBAAA;EACA,OAAA;EACA,QAAA;EACA,MAAA;EACA,SAAA;EACA,qCAAA;EACA,UAAA;AAHR;AAKQ;EACI,cAAA;AAHZ\",\"sourcesContent\":[\".zeus-loader {\\r\\n text-align: center;\\r\\n padding: var(--zeus-margin) 0;\\r\\n display: flex;\\r\\n justify-content: center;\\r\\n align-items: center;\\r\\n\\r\\n .zeus-loader-message {\\r\\n margin-left: var(--zeus-margin);\\r\\n }\\r\\n\\r\\n > i {\\r\\n margin-right: var(--zeus-margin);\\r\\n }\\r\\n\\r\\n .lg {\\r\\n font-size: 1.25em;\\r\\n > i {\\r\\n font-size: 1.75em;\\r\\n }\\r\\n }\\r\\n\\r\\n .xl {\\r\\n font-size: 1.75em;\\r\\n > i {\\r\\n font-size: 2.5em;\\r\\n }\\r\\n }\\r\\n\\r\\n &.zeus-loader-cover {\\r\\n position: absolute;\\r\\n left: 0;\\r\\n right: 0;\\r\\n top: 0;\\r\\n bottom: 0;\\r\\n background: rgba(255, 255, 255, 0.85);\\r\\n z-index: 2;\\r\\n\\r\\n .zeus-loader-message {\\r\\n display: block;\\r\\n }\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"member-autocomplete .zeus-autocomplete-input-container {\\n position: relative;\\n display: inline-block;\\n width: 100%;\\n}\\nmember-autocomplete .zeus-autocomplete-input-container .zeus-autocomplete-clear {\\n position: absolute !important;\\n right: 0;\\n top: 0;\\n line-height: 100%;\\n height: 100%;\\n color: #aaa;\\n font-weight: normal;\\n}\\nmember-autocomplete .zeus-autocomplete-input {\\n min-width: 250px;\\n}\\nmember-autocomplete .zeus-autocomplete-results {\\n width: 100%;\\n max-height: 400px;\\n overflow-x: hidden;\\n overflow-y: auto;\\n background-color: white;\\n}\\nmember-autocomplete .zeus-autocomplete-no-results,\\nmember-autocomplete .zeus-autocomplete-searching {\\n padding: 5px 15px 0 15px;\\n text-align: center;\\n font-style: italic;\\n font-weight: normal;\\n}\\nmember-autocomplete .zeus-autocomplete-result {\\n padding: 0 !important;\\n}\\nmember-autocomplete .zeus-autocomplete-option {\\n font-size: 0.85em;\\n font-weight: normal;\\n padding: var(--zeus-margin-sm) !important;\\n margin: var(--zeus-margin-sm) 0 !important;\\n border-bottom: 1px solid #ccc;\\n}\\nmember-autocomplete .zeus-autocomplete-option.active {\\n background-color: var(--kt-primary-light);\\n}\\nmember-autocomplete .zeus-autocomplete-option:hover {\\n cursor: pointer;\\n background-color: #efefef;\\n}\\nmember-autocomplete .zeus-autocomplete-option > a {\\n color: black;\\n text-decoration: none;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/member-autocomplete/member-autocomplete.scss\"],\"names\":[],\"mappings\":\"AAEI;EACI,kBAAA;EACA,qBAAA;EACA,WAAA;AADR;AAGQ;EACI,6BAAA;EACA,QAAA;EACA,MAAA;EACA,iBAAA;EACA,YAAA;EACA,WAAA;EACA,mBAAA;AADZ;AAKI;EACI,gBAAA;AAHR;AAMI;EACI,WAAA;EACA,iBAAA;EACA,kBAAA;EACA,gBAAA;EACA,uBAAA;AAJR;AAOI;;EAEI,wBAAA;EACA,kBAAA;EACA,kBAAA;EACA,mBAAA;AALR;AAQI;EACI,qBAAA;AANR;AASI;EACI,iBAAA;EACA,mBAAA;EACA,yCAAA;EACA,0CAAA;EACA,6BAAA;AAPR;AASQ;EACI,yCAAA;AAPZ;AAUQ;EACI,eAAA;EACA,yBAAA;AARZ;AAWQ;EACI,YAAA;EACA,qBAAA;AATZ\",\"sourcesContent\":[\"member-autocomplete {\\r\\n\\r\\n .zeus-autocomplete-input-container {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 100%;\\r\\n\\r\\n .zeus-autocomplete-clear {\\r\\n position: absolute !important;\\r\\n right: 0;\\r\\n top: 0;\\r\\n line-height: 100%;\\r\\n height: 100%;\\r\\n color: #aaa;\\r\\n font-weight: normal;\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-autocomplete-input {\\r\\n min-width: 250px;\\r\\n }\\r\\n\\r\\n .zeus-autocomplete-results {\\r\\n width: 100%;\\r\\n max-height: 400px;\\r\\n overflow-x: hidden;\\r\\n overflow-y: auto;\\r\\n background-color: white;\\r\\n }\\r\\n\\r\\n .zeus-autocomplete-no-results,\\r\\n .zeus-autocomplete-searching {\\r\\n padding: 5px 15px 0 15px;\\r\\n text-align: center;\\r\\n font-style: italic;\\r\\n font-weight: normal;\\r\\n }\\r\\n\\r\\n .zeus-autocomplete-result {\\r\\n padding: 0 !important;\\r\\n }\\r\\n\\r\\n .zeus-autocomplete-option {\\r\\n font-size: 0.85em;\\r\\n font-weight: normal;\\r\\n padding: var(--zeus-margin-sm) !important;\\r\\n margin: var(--zeus-margin-sm) 0 !important;\\r\\n border-bottom: 1px solid #ccc;\\r\\n\\r\\n &.active {\\r\\n background-color: var(--kt-primary-light);\\r\\n }\\r\\n\\r\\n &:hover {\\r\\n cursor: pointer;\\r\\n background-color: #efefef;\\r\\n }\\r\\n\\r\\n > a {\\r\\n color: black;\\r\\n text-decoration: none;\\r\\n }\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\", \"\",{\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-member-name {\\n display: flex;\\n justify-content: flex-start;\\n position: relative;\\n align-items: center;\\n}\\n\\n.zeus-member-name-full {\\n line-height: 1em;\\n}\\n\\n.zeus-member-name-properties {\\n margin-top: var(--zeus-space-xs);\\n}\\n\\n.zeus-member-name-actions {\\n display: flex;\\n}\\n.zeus-member-name-actions button:hover,\\n.zeus-member-name-actions a:hover {\\n color: var(--kt-link-color);\\n}\\n.zeus-member-name-actions button:hover i,\\n.zeus-member-name-actions a:hover i {\\n color: var(--kt-link-color);\\n}\\n.zeus-member-name-actions i {\\n align-self: flex-end;\\n font-size: 1.25em !important;\\n}\\n\\ntooltip .zeus-tooltip {\\n max-width: 250px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/member/member-name.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,2BAAA;EACA,kBAAA;EACA,mBAAA;AACJ;;AAEA;EACI,gBAAA;AACJ;;AAEA;EACI,gCAAA;AACJ;;AAEA;EACI,aAAA;AACJ;AAGQ;;EACI,2BAAA;AAAZ;AAEY;;EACI,2BAAA;AAChB;AAII;EACI,oBAAA;EACA,4BAAA;AAFR;;AAMA;EACI,gBAAA;AAHJ\",\"sourcesContent\":[\".zeus-member-name {\\r\\n display: flex;\\r\\n justify-content: flex-start;\\r\\n position: relative;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.zeus-member-name-full {\\r\\n line-height: 1em;\\r\\n}\\r\\n\\r\\n.zeus-member-name-properties {\\r\\n margin-top: var(--zeus-space-xs);\\r\\n}\\r\\n\\r\\n.zeus-member-name-actions {\\r\\n display: flex;\\r\\n\\r\\n button,\\r\\n a {\\r\\n &:hover {\\r\\n color: var(--kt-link-color);\\r\\n\\r\\n i {\\r\\n color: var(--kt-link-color);\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n i {\\r\\n align-self: flex-end;\\r\\n font-size: 1.25em !important;\\r\\n }\\r\\n}\\r\\n\\r\\ntooltip .zeus-tooltip {\\r\\n max-width: 250px;\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-big-buttons-container {\\n box-sizing: border-box;\\n display: flex;\\n flex-wrap: wrap;\\n width: 100%;\\n}\\n.zeus-big-buttons-container .zeus-big-button {\\n width: 50%;\\n display: flex;\\n margin-bottom: 2em;\\n position: relative;\\n}\\n.zeus-big-buttons-container .zeus-big-button > a {\\n display: flex;\\n justify-content: space-between;\\n flex-direction: column;\\n flex: 1;\\n}\\n.zeus-big-buttons-container .zeus-big-button > a .zeus-big-button-icon {\\n padding-top: 1em;\\n padding-bottom: 1em;\\n}\\n.zeus-big-buttons-container .zeus-big-button > a .zeus-big-button-icon > i {\\n font-size: 2.5em;\\n color: var(--zeus-secondary);\\n}\\n.zeus-big-buttons-container .zeus-big-button .zeus-draggable-handle {\\n position: absolute;\\n top: 0px;\\n left: 0px;\\n height: 40px;\\n width: 40px;\\n}\\n.zeus-big-buttons-container .zeus-big-button .zeus-big-button-delete-button {\\n position: absolute;\\n top: 0px;\\n right: 0px;\\n height: 40px !important;\\n width: 40px !important;\\n}\\n.zeus-big-buttons-container .zeus-big-button .zeus-big-button-delete-button > i {\\n color: red !important;\\n}\\n.zeus-big-buttons-container .zeus-big-button:nth-child(odd) > a {\\n margin-right: 1em;\\n}\\n.zeus-big-buttons-container .zeus-big-button:nth-child(odd) .zeus-big-button-delete-button {\\n right: 1em;\\n}\\n.zeus-big-buttons-container .zeus-big-button:nth-child(even) > a {\\n margin-left: 1em;\\n}\\n.zeus-big-buttons-container .zeus-big-button:nth-child(even) .zeus-draggable-handle {\\n left: 1em;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/menus/big-button-menu.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,sBAAA;EACA,aAAA;EACA,eAAA;EACA,WAAA;AACJ;AACI;EACI,UAAA;EACA,aAAA;EACA,kBAAA;EACA,kBAAA;AACR;AACQ;EACI,aAAA;EACA,8BAAA;EACA,sBAAA;EACA,OAAA;AACZ;AACY;EACI,gBAAA;EACA,mBAAA;AAChB;AAAgB;EACI,gBAAA;EACA,4BAAA;AAEpB;AAGQ;EACI,kBAAA;EACA,QAAA;EACA,SAAA;EACA,YAAA;EACA,WAAA;AADZ;AAIQ;EACI,kBAAA;EACA,QAAA;EACA,UAAA;EACA,uBAAA;EACA,sBAAA;AAFZ;AAGY;EACI,qBAAA;AADhB;AAMY;EACI,iBAAA;AAJhB;AAMY;EACI,UAAA;AAJhB;AAQY;EACI,gBAAA;AANhB;AAQY;EACI,SAAA;AANhB\",\"sourcesContent\":[\".zeus-big-buttons-container {\\r\\n box-sizing: border-box;\\r\\n display: flex;\\r\\n flex-wrap: wrap;\\r\\n width: 100%;\\r\\n\\r\\n .zeus-big-button {\\r\\n width: 50%;\\r\\n display: flex;\\r\\n margin-bottom: 2em;\\r\\n position: relative;\\r\\n\\r\\n > a {\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n flex-direction: column;\\r\\n flex: 1;\\r\\n\\r\\n .zeus-big-button-icon {\\r\\n padding-top: 1em;\\r\\n padding-bottom: 1em;\\r\\n > i {\\r\\n font-size: 2.5em;\\r\\n color: var(--zeus-secondary);\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-draggable-handle {\\r\\n position: absolute;\\r\\n top: 0px;\\r\\n left: 0px;\\r\\n height: 40px;\\r\\n width: 40px;\\r\\n }\\r\\n\\r\\n .zeus-big-button-delete-button {\\r\\n position: absolute;\\r\\n top: 0px;\\r\\n right: 0px;\\r\\n height: 40px !important;\\r\\n width: 40px !important;\\r\\n > i {\\r\\n color: red !important;\\r\\n }\\r\\n }\\r\\n\\r\\n &:nth-child(odd) {\\r\\n > a {\\r\\n margin-right: 1em;\\r\\n }\\r\\n .zeus-big-button-delete-button {\\r\\n right: 1em;\\r\\n }\\r\\n }\\r\\n &:nth-child(even) {\\r\\n > a {\\r\\n margin-left: 1em;\\r\\n }\\r\\n .zeus-draggable-handle {\\r\\n left: 1em;\\r\\n }\\r\\n }\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-sidebar-collapsed .menu-link i {\\n color: var(--kt-text-gray-600) !important;\\n}\\n.zeus-sidebar-collapsed .menu-link:hover i {\\n color: var(--zeus-secondary) !important;\\n}\\n.zeus-sidebar-collapsed .zeus-collapsed-menu {\\n max-height: 500px;\\n overflow: auto;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/menus/collapsed-menu.scss\"],\"names\":[],\"mappings\":\"AAEQ;EACI,yCAAA;AADZ;AAIY;EACI,uCAAA;AAFhB;AAOI;EACI,iBAAA;EACA,cAAA;AALR\",\"sourcesContent\":[\".zeus-sidebar-collapsed {\\r\\n .menu-link {\\r\\n i {\\r\\n color: var(--kt-text-gray-600) !important;\\r\\n }\\r\\n &:hover {\\r\\n i {\\r\\n color: var(--zeus-secondary) !important;\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-collapsed-menu {\\r\\n max-height: 500px;\\r\\n overflow: auto;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\", \"\",{\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".menu .svg-icon i {\\n font-size: 1.3em;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/menus/sidebar-menu.scss\"],\"names\":[],\"mappings\":\"AACI;EACI,gBAAA;AAAR\",\"sourcesContent\":[\".menu .svg-icon {\\r\\n i {\\r\\n font-size: 1.3em;\\r\\n //color: var(--zeus-secondary) !important;\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-menu-toggler {\\n position: absolute;\\n right: -0.65rem;\\n}\\n.zeus-menu-toggler .btn i {\\n font-size: 1.3rem !important;\\n border-radius: 50%;\\n background-color: white;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/menus/sidebar.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,kBAAA;EACA,eAAA;AACJ;AACI;EACI,4BAAA;EACA,kBAAA;EACA,uBAAA;AACR\",\"sourcesContent\":[\".zeus-menu-toggler {\\r\\n position: absolute;\\r\\n right: -.65rem;\\r\\n\\r\\n .btn i {\\r\\n font-size: 1.3rem !important;\\r\\n border-radius: 50%;\\r\\n background-color: white;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-message-view-container {\\n position: relative;\\n border: var(--zeus-card-border);\\n border-bottom-width: 0;\\n border-radius: var(--zeus-margin-xs);\\n}\\n.zeus-message-view-container .zeus-message-view-row {\\n position: relative;\\n}\\n.zeus-message-view-container .zeus-message-view-row:hover {\\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.4);\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view {\\n position: relative;\\n display: flex;\\n justify-content: space-between;\\n flex-direction: column;\\n padding: var(--zeus-margin-sm) var(--zeus-margin);\\n color: black;\\n text-decoration: none;\\n border-bottom: var(--zeus-card-border);\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading {\\n position: relative;\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading .zeus-message-left {\\n display: flex;\\n justify-content: flex-start;\\n align-items: center;\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading .zeus-message-left .zeus-message-multiselect {\\n margin-right: var(--zeus-margin);\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading .zeus-message-left .zeus-message-multiselect .zeus-btn-icon {\\n color: #aaa;\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading .zeus-message-left .zeus-profile-image {\\n height: 20px;\\n width: 20px;\\n border-radius: 20px;\\n margin-right: var(--zeus-margin-sm);\\n}\\n@media screen and (min-width: 768px) {\\n .zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading .zeus-message-left .zeus-profile-image {\\n height: 30px;\\n width: 30px;\\n border-radius: 30px;\\n margin-right: var(--zeus-margin);\\n }\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-view-heading .zeus-message-left .zeus-message-from {\\n font-size: 0.7em;\\n font-style: italic;\\n color: var(--kt-text-muted);\\n}\\n.zeus-message-view-container .zeus-message-view-row .zeus-message-view .zeus-message-content {\\n max-height: none;\\n min-height: 50px;\\n white-space: inherit;\\n font-size: 0.85em;\\n color: var(--kt-text-muted);\\n padding: var(--zeus-margin-xl);\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/messages/view-messages.scss\"],\"names\":[],\"mappings\":\"AAEA;EACI,kBAAA;EACA,+BAAA;EACA,sBAAA;EACA,oCAAA;AADJ;AAGI;EACI,kBAAA;AADR;AAGQ;EACI,8CAAA;AADZ;AAIQ;EACI,kBAAA;EACA,aAAA;EACA,8BAAA;EACA,sBAAA;EACA,iDAAA;EACA,YAAA;EACA,qBAAA;EACA,sCAAA;AAFZ;AAIY;EACI,kBAAA;EACA,aAAA;EACA,8BAAA;EACA,mBAAA;AAFhB;AAIgB;EACI,aAAA;EACA,2BAAA;EACA,mBAAA;AAFpB;AAIoB;EACI,gCAAA;AAFxB;AAIwB;EACI,WAAA;AAF5B;AAMoB;EACI,YAAA;EACA,WAAA;EACA,mBAAA;EACA,mCAAA;AAJxB;AAMwB;EANJ;IAOQ,YAAA;IACA,WAAA;IACA,mBAAA;IACA,gCAAA;EAH1B;AACF;AAMoB;EACI,gBAAA;EACA,kBAAA;EACA,2BAAA;AAJxB;AASY;EACI,gBAAA;EACA,gBAAA;EACA,oBAAA;EACA,iBAAA;EACA,2BAAA;EACA,8BAAA;AAPhB\",\"sourcesContent\":[\"@import \\\"./../../../styles/responsive.scss\\\";\\r\\n\\r\\n.zeus-message-view-container {\\r\\n position: relative;\\r\\n border: var(--zeus-card-border);\\r\\n border-bottom-width: 0;\\r\\n border-radius: var(--zeus-margin-xs);\\r\\n\\r\\n .zeus-message-view-row {\\r\\n position: relative;\\r\\n\\r\\n &:hover {\\r\\n box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.4);\\r\\n }\\r\\n\\r\\n .zeus-message-view {\\r\\n position: relative;\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n flex-direction: column;\\r\\n padding: var(--zeus-margin-sm) var(--zeus-margin);\\r\\n color: black;\\r\\n text-decoration: none;\\r\\n border-bottom: var(--zeus-card-border);\\r\\n\\r\\n .zeus-message-view-heading {\\r\\n position: relative;\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n\\r\\n .zeus-message-left {\\r\\n display: flex;\\r\\n justify-content: flex-start;\\r\\n align-items: center;\\r\\n\\r\\n .zeus-message-multiselect {\\r\\n margin-right: var(--zeus-margin);\\r\\n\\r\\n .zeus-btn-icon {\\r\\n color: #aaa;\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-profile-image {\\r\\n height: 20px;\\r\\n width: 20px;\\r\\n border-radius: 20px;\\r\\n margin-right: var(--zeus-margin-sm);\\r\\n \\r\\n @media screen and (min-width: $zeus-screen-sm-min) {\\r\\n height: 30px;\\r\\n width: 30px;\\r\\n border-radius: 30px;\\r\\n margin-right: var(--zeus-margin);\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-message-from {\\r\\n font-size: 0.7em;\\r\\n font-style: italic;\\r\\n color: var(--kt-text-muted);\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-message-content {\\r\\n max-height: none;\\r\\n min-height: 50px;\\r\\n white-space: inherit;\\r\\n font-size: 0.85em;\\r\\n color: var(--kt-text-muted);\\r\\n padding: var(--zeus-margin-xl);\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}