// lazyload config
var MODULE_CONFIG = {
    chat:           [
                      '../static/libs/list.js/dist/list.js',
                      '../static/libs/notie/dist/notie.min.js',
                      '../static/js/plugins/notie.js',
                      '../static/js/app/chat.js'
                    ],
    mail:           [
                      '../static/libs/list.js/dist/list.js',
                      '../static/libs/notie/dist/notie.min.js',
                      '../static/js/plugins/notie.js',
                      '../static/js/app/mail.js'
                    ],
    user:           [
                      '../static/libs/list.js/dist/list.js',
                      '../static/libs/notie/dist/notie.min.js',
                      '../static/js/plugins/notie.js',
                      '../static/js/app/user.js'
                    ],
    search:         [
                      '../static/libs/list.js/dist/list.js',
                      '../static/js/app/search.js'
                    ],
    invoice:        [
                      '../static/libs/list.js/dist/list.js',
                      '../static/libs/notie/dist/notie.min.js',
                      '../static/js/app/invoice.js'
                    ],
    musicapp:       [
                      '../static/libs/list.js/dist/list.js',
                      '../static/js/plugins/musicapp.js'
                    ],
    fullscreen:     [
                      '../static/libs/jquery-fullscreen-plugin/jquery.fullscreen-min.js',
                      '../static/js/plugins/fullscreen.js'
                    ],
    jscroll:        [
                      '../static/libs/jscroll/dist/jquery.jscroll.min.js'
                    ],
    countTo:        [
                      '../static/libs/jquery-countto/jquery.countTo.js'
                    ],
    stick_in_parent:[
                      '../static/libs/sticky-kit/dist/sticky-kit.min.js'
                    ],
    stellar:        [
                      '../static/libs/jquery.stellar/jquery.stellar.min.js',
                      '../static/js/plugins/stellar.js'
                    ],
    masonry:        [
                      '../static/libs/masonry-layout/dist/masonry.pkgd.min.js'
                    ],
    slick:          [
                      '../static/libs/slick-carousel/slick/slick.css',
                      '../static/libs/slick-carousel/slick/slick-theme.css',
                      '../static/libs/slick-carousel/slick/slick.min.js'
                    ],
    sort:           [
                      '../static/libs/html5sortable/dist/html.sortable.min.js',
                      '../static/js/plugins/sort.js'
                    ],
    chartjs:        [
                      '../static/libs/moment/min/moment-with-locales.min.js',
                      '../static/libs/chart.js/dist/Chart.min.js',
                      '../static/libs/chart.js/dist/chart.ext.js',
                      '../static/js/plugins/chartjs.js'
                    ],
    chartist:       [
                      '../static/libs/chartist/dist/chartist.min.css',
                      '../static/libs/chartist/dist/chartist.min.js',
                      '../static/libs/chartist-plugin-tooltips/dist/chartist-plugin-tooltip.min.js',
                      '../static/libs/chartist/dist/chartist.ext.js',
                      '../static/js/plugins/chartist.js'
                    ],
    dataTable:      [
                      '../static/libs/datatables/media/js/jquery.dataTables.min.js',
                      '../static/libs/datatables.net-bs4/js/dataTables.bootstrap4.min.js',
                      '../static/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css',
                      '../static/js/plugins/datatable.js'
                    ],
    bootstrapTable: [
                      '../static/libs/bootstrap-table/dist/bootstrap-table.min.js',
                      '../static/libs/bootstrap-table/dist/extensions/export/bootstrap-table-export.min.js',
                      '../static/libs/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.min.js',
                      '../static/js/plugins/tableExport.min.js',
                      '../static/js/plugins/bootstrap-table.js'
                    ],
    bootstrapWizard:[
                      '../static/libs/twitter-bootstrap-wizard/jquery.bootstrap.wizard.min.js'
                    ],
    dropzone:       [
                      '../static/libs/dropzone/dist/min/dropzone.min.js',
                      '../static/libs/dropzone/dist/min/dropzone.min.css'
                    ],
    typeahead:      [
                      '../static/libs/typeahead.js/dist/typeahead.bundle.min.js',
                      '../static/js/plugins/typeahead.js'
                    ],
    datepicker:     [
                      "../static/libs/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js",
                      "../static/libs/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css",
                    ],
    daterangepicker:[
                      "../static/libs/daterangepicker/daterangepicker.css",
                      '../static/libs/moment/min/moment-with-locales.min.js',
                      "../static/libs/daterangepicker/daterangepicker.js"
                    ],
    fullCalendar:   [
                      '../static/libs/moment/min/moment-with-locales.min.js',
                      '../static/libs/fullcalendar/dist/fullcalendar.min.js',
                      '../static/libs/fullcalendar/dist/fullcalendar.min.css',
                      '../static/libs/notie/dist/notie.min.js',
                      '../static/js/plugins/notie.js',
                      '../static/js/app/calendar.js'
                    ],
    parsley:        [
                      '../static/libs/parsleyjs/dist/parsley.min.js'
                    ],
    select2:        [
                      '../static/libs/select2/dist/css/select2.min.css',
                      '../static/libs/select2/dist/js/select2.min.js',
                      '../static/js/plugins/select2.js'
                    ],
    summernote:     [
                      '../static/libs/summernote/dist/summernote.css',
                      '../static/libs/summernote/dist/summernote-bs4.css',
                      '../static/libs/summernote/dist/summernote.min.js',
                      '../static/libs/summernote/dist/summernote-bs4.min.js'
                    ],
    vectorMap:      [
                      '../static/libs/jqvmap/dist/jqvmap.min.css',
                      '../static/libs/jqvmap/dist/jquery.vmap.js',
                      '../static/libs/jqvmap/dist/maps/jquery.vmap.world.js',
                      '../static/libs/jqvmap/dist/maps/jquery.vmap.usa.js',
                      '../static/libs/jqvmap/dist/maps/jquery.vmap.france.js',
                      '../static/js/plugins/jqvmap.js'
                    ],
    plyr:           [
                      '../static/libs/plyrist/src/plyrist.css',
                      '../static/libs/plyr/dist/plyr.polyfilled.min.js',
                      '../static/libs/wavesurfer.js/dist/wavesurfer.min.js',
                      '../static/libs/plyrist/src/plyrist.js',
                      '../static/js/plugins/plyr.js'
                    ]
  };

var MODULE_OPTION_CONFIG = {
  parsley: {
    errorClass: 'is-invalid',
    successClass: 'is-valid',
    errorsWrapper: '<ul class="list-unstyled text-sm mt-1 text-muted"></ul>'
  }
}
