wbase 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.eot +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.svg +773 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.ttf +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.woff +0 -0
- data/app/assets/fonts/Simple-Line-Icons.eot +0 -0
- data/app/assets/fonts/Simple-Line-Icons.svg +211 -0
- data/app/assets/fonts/Simple-Line-Icons.ttf +0 -0
- data/app/assets/fonts/Simple-Line-Icons.woff +0 -0
- data/app/assets/fonts/Simple-Line-Icons.woff2 +0 -0
- data/app/assets/fonts/et-line.eot +0 -0
- data/app/assets/fonts/et-line.svg +1 -1
- data/app/assets/fonts/et-line.ttf +0 -0
- data/app/assets/fonts/et-line.woff +0 -0
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +685 -0
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +1 -1
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/fonts/ionicons.eot +0 -0
- data/app/assets/fonts/ionicons.svg +1899 -0
- data/app/assets/fonts/ionicons.ttf +0 -0
- data/app/assets/fonts/ionicons.woff +0 -0
- data/app/assets/fonts/themify.eot +0 -0
- data/app/assets/fonts/themify.svg +362 -0
- data/app/assets/fonts/themify.ttf +0 -0
- data/app/assets/fonts/themify.woff +0 -0
- data/app/assets/fonts/typicons.eot +0 -0
- data/app/assets/fonts/typicons.less +1040 -0
- data/app/assets/fonts/typicons.svg +1180 -0
- data/app/assets/fonts/typicons.ttf +0 -0
- data/app/assets/fonts/typicons.woff +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.eot +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.svg +257 -0
- data/app/assets/fonts/weathericons-regular-webfont.ttf +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.woff +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.woff2 +0 -0
- data/app/assets/javascripts/wbase/admin/animate/animate.min.css +11 -0
- data/app/assets/javascripts/wbase/admin/autoNumeric/autoNumeric.js +1465 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/autocomplete.zip +0 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/countries.js +267 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/demo.js +77 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/jquery.autocomplete.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/autocomplete/jquery.mockjax.js +601 -0
- data/app/assets/javascripts/wbase/admin/autocomplete.js +77 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.css +222 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.css.map +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css.map +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/js/bootstrap-colorpicker.js +1106 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-datepicker/css/bootstrap-datepicker.min.css +9 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-datepicker/js/bootstrap-datepicker.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/daterangepicker.css +269 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/daterangepicker.js +1618 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/drp.png +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-filestyle/js/bootstrap-filestyle.js +351 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-filestyle/js/bootstrap-filestyle.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-inputmask/bootstrap-inputmask.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-markdown/css/bootstrap-markdown.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-markdown/js/bootstrap-markdown.js +1362 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/bootstrap-maxlength.js +501 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/bootstrap-maxlength.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/src/bootstrap-maxlength.js +501 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/css/bootstrap-select.min.css +6 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.js +1735 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.js.map +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ar_AR.js +49 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ar_AR.min.js +12 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-bg_BG.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-bg_BG.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cro_CRO.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cro_CRO.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cs_CZ.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cs_CZ.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-da_DK.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-da_DK.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-de_DE.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-de_DE.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-en_US.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-en_US.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-es_CL.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-es_CL.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-eu.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-eu.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fa_IR.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fa_IR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fi_FI.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fi_FI.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fr_FR.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fr_FR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-hu_HU.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-hu_HU.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-id_ID.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-id_ID.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-it_IT.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-it_IT.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ko_KR.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ko_KR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-lt_LT.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-lt_LT.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nb_NO.js +70 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nb_NO.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nl_NL.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nl_NL.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pl_PL.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pl_PL.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_BR.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_BR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_PT.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_PT.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ro_RO.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ro_RO.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ru_RU.js +36 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ru_RU.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sk_SK.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sk_SK.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sl_SI.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sl_SI.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sv_SE.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sv_SE.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-tr_TR.js +44 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-tr_TR.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ua_UA.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ua_UA.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_CN.js +35 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_CN.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_TW.js +37 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_TW.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-slider/css/bootstrap-slider.min.css +28 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-slider/js/bootstrap-slider.min.js +29 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.css +564 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.js +745 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/thumbs-up.jpg +0 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-table/css/bootstrap-table.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-table/js/bootstrap-table.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-tagsinput/css/bootstrap-tagsinput.css +60 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-tagsinput/js/bootstrap-tagsinput.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-touchspin/css/jquery.bootstrap-touchspin.min.css +10 -0
- data/app/assets/javascripts/wbase/admin/bootstrap-touchspin/js/jquery.bootstrap-touchspin.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/bootstrap.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.css +158 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.js +7049 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/c3/c3.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/chart.js/chart.min.js +14 -0
- data/app/assets/javascripts/wbase/admin/chartist/css/chartist.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/chartist/js/chartist-plugin-tooltip.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/chartist/js/chartist.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/clockpicker/css/bootstrap-clockpicker.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/clockpicker/js/bootstrap-clockpicker.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/codemirror/css/ambiance.css +74 -0
- data/app/assets/javascripts/wbase/admin/codemirror/css/codemirror.css +347 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/codemirror.js +8935 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/formatting.js +108 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/javascript.js +638 -0
- data/app/assets/javascripts/wbase/admin/codemirror/js/xml.js +333 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/countdown.js +195 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/countdown.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/jquery.countdown.js +215 -0
- data/app/assets/javascripts/wbase/admin/countdown/dest/jquery.countdown.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/countdown/src/countdown.js +191 -0
- data/app/assets/javascripts/wbase/admin/countdown/src/jquery-wrapper.js +18 -0
- data/app/assets/javascripts/wbase/admin/counterup/jquery.counterup.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.css +315 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.js +2457 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.min.css +9 -0
- data/app/assets/javascripts/wbase/admin/cropper/cropper.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/custombox/css/custombox.css +872 -0
- data/app/assets/javascripts/wbase/admin/custombox/js/custombox.min.js +10 -0
- data/app/assets/javascripts/wbase/admin/custombox/js/legacy.min.js +18 -0
- data/app/assets/javascripts/wbase/admin/d3/d3.js +9426 -0
- data/app/assets/javascripts/wbase/admin/d3/d3.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/datatables/buttons.bootstrap.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/datatables/buttons.html5.min.js +20 -0
- data/app/assets/javascripts/wbase/admin/datatables/buttons.print.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.bootstrap.js +186 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.buttons.min.js +35 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.colVis.js +1107 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.fixedColumns.min.js +35 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.fixedHeader.min.js +16 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.keyTable.min.js +18 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.responsive.min.js +23 -0
- data/app/assets/javascripts/wbase/admin/datatables/dataTables.scroller.min.js +25 -0
- data/app/assets/javascripts/wbase/admin/datatables/jquery.dataTables.min.js +163 -0
- data/app/assets/javascripts/wbase/admin/datatables/json/scroller-demo.json +2502 -0
- data/app/assets/javascripts/wbase/admin/datatables/jszip.min.js +14 -0
- data/app/assets/javascripts/wbase/admin/datatables/pdfmake.min.js +22 -0
- data/app/assets/javascripts/wbase/admin/datatables/responsive.bootstrap.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/datatables/vfs_fonts.js +1 -0
- data/app/assets/javascripts/wbase/admin/datatables.editable.init.js +244 -0
- data/app/assets/javascripts/wbase/admin/datatables.init.js +37 -0
- data/app/assets/javascripts/wbase/admin/detect.js +7 -0
- data/app/assets/javascripts/wbase/admin/doc-ready/README.md +23 -0
- data/app/assets/javascripts/wbase/admin/doc-ready/bower.json +35 -0
- data/app/assets/javascripts/wbase/admin/doc-ready/doc-ready.js +80 -0
- data/app/assets/javascripts/wbase/admin/dropzone/basic.css +39 -0
- data/app/assets/javascripts/wbase/admin/dropzone/dropzone-amd-module.js +1743 -0
- data/app/assets/javascripts/wbase/admin/dropzone/dropzone.css +388 -0
- data/app/assets/javascripts/wbase/admin/dropzone/dropzone.js +1728 -0
- data/app/assets/javascripts/wbase/admin/dropzone/readme.md +10 -0
- data/app/assets/javascripts/wbase/admin/easy-pie-chart.init.js +63 -0
- data/app/assets/javascripts/wbase/admin/eventEmitter/EventEmitter.js +472 -0
- data/app/assets/javascripts/wbase/admin/eventEmitter/EventEmitter.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/eventie/eventie.js +82 -0
- data/app/assets/javascripts/wbase/admin/fastclick.js +841 -0
- data/app/assets/javascripts/wbase/admin/fizzy-ui-utils/utils.js +270 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.crosshair.js +176 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.orderBars.min.js +186 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.pie.js +820 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.resize.js +59 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.selection.js +360 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.stack.js +188 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.time.js +432 -0
- data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.tooltip.min.js +12 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.eot +0 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.svg +78 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.woff +0 -0
- data/app/assets/javascripts/wbase/admin/footable/css/footable.core.css +181 -0
- data/app/assets/javascripts/wbase/admin/footable/js/footable.all.min.js +14 -0
- data/app/assets/javascripts/wbase/admin/form-validation-init.js +106 -0
- data/app/assets/javascripts/wbase/admin/fullcalendar/css/fullcalendar.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/fullcalendar/js/fullcalendar.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/get-size/get-size.js +250 -0
- data/app/assets/javascripts/wbase/admin/get-style-property/get-style-property.js +55 -0
- data/app/assets/javascripts/wbase/admin/gmaps/gmaps.js +2204 -0
- data/app/assets/javascripts/wbase/admin/gmaps/gmaps.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/gmaps/gmaps.min.js.map +1 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.controls.js +83 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.core.js +488 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.events.js +54 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.geofences.js +14 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.geometry.js +205 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.layers.js +158 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.map_types.js +29 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.markers.js +210 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.native_extensions.js +121 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.overlays.js +134 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.routes.js +330 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.static.js +245 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.streetview.js +44 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.styles.js +9 -0
- data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.utils.js +42 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/css/hopscotch.css +519 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/css/hopscotch.min.css +17 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/img/sprite-green.png +0 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/img/sprite-orange.png +0 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/js/hopscotch.js +2536 -0
- data/app/assets/javascripts/wbase/admin/hopscotch/js/hopscotch.min.js +17 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.css +150 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.min.js +76 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.skinFlat.css +106 -0
- data/app/assets/javascripts/wbase/admin/ion-rangeslider/sprite-skin-flat.png +0 -0
- data/app/assets/javascripts/wbase/admin/isotope/js/isotope.pkgd.min.js +12 -0
- data/app/assets/javascripts/wbase/admin/jquery-circliful/css/jquery.circliful.css +20 -0
- data/app/assets/javascripts/wbase/admin/jquery-circliful/js/jquery.circliful.js +262 -0
- data/app/assets/javascripts/wbase/admin/jquery-circliful/js/jquery.circliful.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/dataTables.bootstrap.js +186 -0
- data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/datatables.css +333 -0
- data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/jquery.dataTables.js +14951 -0
- data/app/assets/javascripts/wbase/admin/jquery-knob/excanvas.js +924 -0
- data/app/assets/javascripts/wbase/admin/jquery-knob/jquery.knob.js +805 -0
- data/app/assets/javascripts/wbase/admin/jquery-quicksearch/jquery.quicksearch.js +181 -0
- data/app/assets/javascripts/wbase/admin/jquery-sparkline/jquery.sparkline.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/external/jquery/jquery.js +9789 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/index.html +513 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.css +1225 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.js +16617 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.structure.css +833 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.theme.css +410 -0
- data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/app/assets/javascripts/wbase/admin/jquery-validation/js/jquery.validate.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/jquery.app.js +318 -0
- data/app/assets/javascripts/wbase/admin/jquery.blockUI.js +620 -0
- data/app/assets/javascripts/wbase/admin/jquery.bs-table.js +93 -0
- data/app/assets/javascripts/wbase/admin/jquery.c3-chart.init.js +225 -0
- data/app/assets/javascripts/wbase/admin/jquery.chartist.init.js +860 -0
- data/app/assets/javascripts/wbase/admin/jquery.chartjs.init.js +231 -0
- data/app/assets/javascripts/wbase/admin/jquery.charts-sparkline.js +149 -0
- data/app/assets/javascripts/wbase/admin/jquery.chat.js +60 -0
- data/app/assets/javascripts/wbase/admin/jquery.codemirror.init.js +66 -0
- data/app/assets/javascripts/wbase/admin/jquery.core.js +323 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard.js +91 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_2.js +57 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_3.js +64 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_4.js +81 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_crm.js +104 -0
- data/app/assets/javascripts/wbase/admin/jquery.dashboard_ecommerce.js +57 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/angular.easypiechart.js +397 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/angular.easypiechart.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/easypiechart.js +351 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/easypiechart.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/jquery.easypiechart.js +360 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/angular.directive.js +48 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/easypiechart.js +134 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/jquery.plugin.js +10 -0
- data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/renderer/canvas.js +190 -0
- data/app/assets/javascripts/wbase/admin/jquery.flot.init.js +500 -0
- data/app/assets/javascripts/wbase/admin/jquery.footable.js +86 -0
- data/app/assets/javascripts/wbase/admin/jquery.form-advanced.init.js +126 -0
- data/app/assets/javascripts/wbase/admin/jquery.form-pickers.init.js +130 -0
- data/app/assets/javascripts/wbase/admin/jquery.fullcalendar.js +202 -0
- data/app/assets/javascripts/wbase/admin/jquery.gmaps.js +226 -0
- data/app/assets/javascripts/wbase/admin/jquery.jsgrid.init.js +123 -0
- data/app/assets/javascripts/wbase/admin/jquery.leads.init.js +53 -0
- data/app/assets/javascripts/wbase/admin/jquery.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/jquery.nicescroll.js +113 -0
- data/app/assets/javascripts/wbase/admin/jquery.nvd3.init.js +297 -0
- data/app/assets/javascripts/wbase/admin/jquery.opportunities.init.js +49 -0
- data/app/assets/javascripts/wbase/admin/jquery.peity.init.js +49 -0
- data/app/assets/javascripts/wbase/admin/jquery.rickshaw.chart.init.js +288 -0
- data/app/assets/javascripts/wbase/admin/jquery.scrollTo.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/jquery.slimscroll.js +474 -0
- data/app/assets/javascripts/wbase/admin/jquery.steps/css/jquery.steps.css +382 -0
- data/app/assets/javascripts/wbase/admin/jquery.steps/js/jquery.steps.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/jquery.sweet-alert.init.js +162 -0
- data/app/assets/javascripts/wbase/admin/jquery.todo.js +153 -0
- data/app/assets/javascripts/wbase/admin/jquery.tree.js +89 -0
- data/app/assets/javascripts/wbase/admin/jquery.ui-sliders.js +66 -0
- data/app/assets/javascripts/wbase/admin/jquery.widgets.js +149 -0
- data/app/assets/javascripts/wbase/admin/jquery.wizard-init.js +87 -0
- data/app/assets/javascripts/wbase/admin/jquery.xeditable.js +117 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid-theme.css +258 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid-theme.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid.css +126 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/js/jsgrid.js +2508 -0
- data/app/assets/javascripts/wbase/admin/jsgrid/js/jsgrid.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/jstree/32px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/40px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/ajax_children.json +1 -0
- data/app/assets/javascripts/wbase/admin/jstree/ajax_roots.json +8 -0
- data/app/assets/javascripts/wbase/admin/jstree/jstree.js +7988 -0
- data/app/assets/javascripts/wbase/admin/jstree/jstree.min.js +6 -0
- data/app/assets/javascripts/wbase/admin/jstree/style.css +1066 -0
- data/app/assets/javascripts/wbase/admin/jstree/style.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/32px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/40px.png +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/style.css +1110 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/style.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/jstree/themes/dark/throbber.gif +0 -0
- data/app/assets/javascripts/wbase/admin/jstree/throbber.gif +0 -0
- data/app/assets/javascripts/wbase/admin/justgage-toorshia/justgage.js +1051 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/gdp-data.js +185 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-2.0.2.css +130 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-2.0.2.min.js +3328 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-asia-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-au-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-ca-lcc.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-de-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-europe-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-in-mill.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-uk-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-us-aea-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-us-il-chicago-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
- data/app/assets/javascripts/wbase/admin/jvectormap.init.js +215 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/css/ladda-themeless.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/js/ladda.jquery.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/js/ladda.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/ladda-buttons/js/spin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/magnific-popup/css/magnific-popup.css +369 -0
- data/app/assets/javascripts/wbase/admin/magnific-popup/js/jquery.magnific-popup.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/masonry/dist/masonry.pkgd.js +3189 -0
- data/app/assets/javascripts/wbase/admin/masonry/dist/masonry.pkgd.min.js +9 -0
- data/app/assets/javascripts/wbase/admin/masonry/masonry.js +203 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/basic.html +62 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/bottom-up.html +119 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/browserify/index.html +42 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/browserify/main.js +19 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/element-sizing.html +69 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/fit-width.html +68 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/fluid.html +89 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/jquery.html +64 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/require-js/index.html +41 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/require-js/main.js +69 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/right-to-left.html +120 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/sandbox.css +33 -0
- data/app/assets/javascripts/wbase/admin/masonry/sandbox/stamps.html +124 -0
- data/app/assets/javascripts/wbase/admin/matches-selector/matches-selector.js +107 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css +251 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css +9 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/saturation.png +0 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js +1079 -0
- data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/mocha/media/logo.svg +8 -0
- data/app/assets/javascripts/wbase/admin/mocha/mocha.css +270 -0
- data/app/assets/javascripts/wbase/admin/mocha/mocha.js +5812 -0
- data/app/assets/javascripts/wbase/admin/modal-effect/css/component.css +743 -0
- data/app/assets/javascripts/wbase/admin/modal-effect/js/classie.js +80 -0
- data/app/assets/javascripts/wbase/admin/modal-effect/js/modalEffects.js +57 -0
- data/app/assets/javascripts/wbase/admin/modernizr.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/moment/moment.js +4195 -0
- data/app/assets/javascripts/wbase/admin/morris/morris.css +2 -0
- data/app/assets/javascripts/wbase/admin/morris/morris.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/morris.init.js +184 -0
- data/app/assets/javascripts/wbase/admin/morris.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/multiselect/css/multi-select.css +93 -0
- data/app/assets/javascripts/wbase/admin/multiselect/img/switch.png +0 -0
- data/app/assets/javascripts/wbase/admin/multiselect/js/jquery.multi-select.js +528 -0
- data/app/assets/javascripts/wbase/admin/nestable/jquery.nestable.css +74 -0
- data/app/assets/javascripts/wbase/admin/nestable/jquery.nestable.js +485 -0
- data/app/assets/javascripts/wbase/admin/nestable.js +59 -0
- data/app/assets/javascripts/wbase/admin/notifications/notification.css +56 -0
- data/app/assets/javascripts/wbase/admin/notifications/notify-metro.js +51 -0
- data/app/assets/javascripts/wbase/admin/notifications/notify.min.js +5 -0
- data/app/assets/javascripts/wbase/admin/notifyjs/js/notify.js +625 -0
- data/app/assets/javascripts/wbase/admin/nvd3/nv.d3.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/nvd3/nv.d3.min.js +8 -0
- data/app/assets/javascripts/wbase/admin/outlayer/item.js +586 -0
- data/app/assets/javascripts/wbase/admin/outlayer/outlayer.js +926 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/LICENSE +22 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/README.md +158 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/ajax-loader.gif +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.carousel.css +179 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.carousel.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.default.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.default.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.green.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.green.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.video.play.png +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/owl.carousel.js +3148 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/dist/owl.carousel.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.animate.css +29 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.autoheight.css +9 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.carousel.css +74 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.lazyload.css +12 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.theme.default.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.theme.green.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.video.css +51 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/img/ajax-loader.gif +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/img/owl.video.play.png +0 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.animate.js +120 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autoheight.js +96 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autoplay.js +161 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autorefresh.js +110 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.carousel.js +1654 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.hash.js +121 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.lazyload.js +134 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.navigation.js +381 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.support.js +82 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.support.modernizr.js +57 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.video.js +280 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/_mixins.scss +21 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/_theme.scss +63 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.animate.scss +40 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.autoheight.scss +9 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.carousel.scss +108 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.lazyload.scss +18 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.theme.default.scss +31 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.theme.green.scss +31 -0
- data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.video.scss +51 -0
- data/app/assets/javascripts/wbase/admin/pace.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/parsleyjs/parsley.min.js +18 -0
- data/app/assets/javascripts/wbase/admin/peity/jquery.peity.js +383 -0
- data/app/assets/javascripts/wbase/admin/peity/jquery.peity.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/radial/radial.css +736 -0
- data/app/assets/javascripts/wbase/admin/raphael/raphael-min.js +11 -0
- data/app/assets/javascripts/wbase/admin/requirejs/require.js +2103 -0
- data/app/assets/javascripts/wbase/admin/responsive-table/css/rwd-table.min.css +7 -0
- data/app/assets/javascripts/wbase/admin/responsive-table/js/rwd-table.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data.json +14 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data.jsonp +14 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data2.json +14 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/status.json +1 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/rickshaw.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/rickshaw.min.js +3 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/vendor/d3.layout.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/rickshaw-chart/vendor/d3.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/select2/css/select2.css +484 -0
- data/app/assets/javascripts/wbase/admin/select2/css/select2.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ar.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/az.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/bg.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ca.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/cs.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/da.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/de.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/el.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/en.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/es.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/et.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/eu.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/fa.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/fi.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/fr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/gl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/he.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/hi.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/hr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/hu.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/id.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/is.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/it.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ja.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/km.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ko.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/lt.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/lv.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/mk.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ms.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/nb.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/nl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/pl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/pt-BR.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/pt.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ro.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/ru.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sk.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sr-Cyrl.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/sv.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/th.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/tr.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/uk.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/vi.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/zh-CN.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/i18n/zh-TW.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.full.js +6436 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.full.min.js +3 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.js +5725 -0
- data/app/assets/javascripts/wbase/admin/select2/js/select2.min.js +3 -0
- data/app/assets/javascripts/wbase/admin/simple-text-rotator/jquery.simple-text-rotator.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/skyicons/skycons.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/css/smoothproducts.css +174 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/js/jquery-2.1.3.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/js/smoothproducts.js +265 -0
- data/app/assets/javascripts/wbase/admin/smoothproducts/js/smoothproducts.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/summernote/font/summernote.eot +0 -0
- data/app/assets/javascripts/wbase/admin/summernote/font/summernote.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/summernote/font/summernote.woff +0 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ar-AR.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ar-AR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-bg-BG.js +99 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-bg-BG.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ca-ES.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ca-ES.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-cs-CZ.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-cs-CZ.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-da-DK.js +114 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-da-DK.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-de-DE.js +110 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-de-DE.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-ES.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-ES.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-EU.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-EU.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fa-IR.js +105 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fa-IR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fi-FI.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fi-FI.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fr-FR.js +115 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fr-FR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-gl-ES.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-gl-ES.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-he-IL.js +107 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-he-IL.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hr-HR.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hr-HR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hu-HU.js +135 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hu-HU.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-id-ID.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-id-ID.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-it-IT.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-it-IT.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ja-JP.js +133 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ja-JP.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ko-KR.js +115 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ko-KR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LT.js +107 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LT.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LV.js +135 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LV.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nb-NO.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nb-NO.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nl-NL.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nl-NL.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pl-PL.js +112 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pl-PL.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-BR.js +132 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-BR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-PT.js +103 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-PT.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ro-RO.js +102 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ro-RO.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ru-RU.js +112 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ru-RU.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sk-SK.js +102 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sk-SK.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sl-SI.js +106 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sl-SI.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS-Latin.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS-Latin.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sv-SE.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sv-SE.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-th-TH.js +106 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-th-TH.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-tr-TR.js +147 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-tr-TR.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-uk-UA.js +111 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-uk-UA.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-vi-VN.js +104 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-vi-VN.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-CN.js +113 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-CN.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-TW.js +113 -0
- data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-TW.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.css +16 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.js +303 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/hello/summernote-ext-hello.js +82 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/hello/summernote-ext-hello.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/specialchars/summernote-ext-specialchars.js +315 -0
- data/app/assets/javascripts/wbase/admin/summernote/plugin/specialchars/summernote-ext-specialchars.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/summernote/summernote.css +1 -0
- data/app/assets/javascripts/wbase/admin/summernote/summernote.js +7016 -0
- data/app/assets/javascripts/wbase/admin/summernote/summernote.min.js +4 -0
- data/app/assets/javascripts/wbase/admin/switchery/css/switchery.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/switchery/js/switchery.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tablesaw/css/tablesaw.css +833 -0
- data/app/assets/javascripts/wbase/admin/tablesaw/js/tablesaw-init.js +12 -0
- data/app/assets/javascripts/wbase/admin/tablesaw/js/tablesaw.js +1266 -0
- data/app/assets/javascripts/wbase/admin/timepicker/bootstrap-timepicker.js +1177 -0
- data/app/assets/javascripts/wbase/admin/timepicker/bootstrap-timepicker.min.css +148 -0
- data/app/assets/javascripts/wbase/admin/tiny-editable/mindmup-editabletable.js +131 -0
- data/app/assets/javascripts/wbase/admin/tiny-editable/numeric-input-example.js +48 -0
- data/app/assets/javascripts/wbase/admin/tinymce/jquery.tinymce.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/langs/readme.md +3 -0
- data/app/assets/javascripts/wbase/admin/tinymce/license.txt +504 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/advlist/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/anchor/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/autolink/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/autoresize/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/autosave/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/bbcode/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/charmap/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/code/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/codesample/css/prism.css +138 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/codesample/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/colorpicker/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/contextmenu/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/directionality/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/example/dialog.html +8 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/example/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/example_dependency/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/fullpage/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/fullscreen/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/hr/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/image/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/imagetools/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/importcss/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/insertdatetime/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/layer/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/legacyoutput/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/link/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/lists/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/media/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/nonbreaking/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/noneditable/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/pagebreak/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/paste/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/preview/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/print/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/save/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/searchreplace/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/spellchecker/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/tabfocus/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/table/plugin.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/template/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/textcolor/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/textpattern/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualblocks/css/visualblocks.css +135 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualblocks/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualchars/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/plugins/wordcount/plugin.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/content.inline.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/content.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.svg +63 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.svg +129 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/object.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/skin.min.css +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/atomic.js +5 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-atomic.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-browser.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-demo.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-prod.js +1491 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/browser.js +10 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/demo.js +8 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/prod.js +5 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/dent/depend.js +21 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/compile/bootstrap.js +1526 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/compile/theme.js +1594 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/inline/theme.js +1679 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/inline/theme.raw.js +1679 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/css/demo.css +25 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/html/demo.html +69 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/js/tinymce/inlite/Demo.js +28 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/Theme.js +150 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Arr.js +22 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Bookmark.js +130 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Unlink.js +84 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Uuid.js +34 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Actions.js +106 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Convert.js +37 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/ElementMatcher.js +47 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Layout.js +95 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Matcher.js +39 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Measure.js +61 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/PredicateId.js +32 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/SelectionMatcher.js +55 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/SkinLoader.js +45 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/UrlType.js +27 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/file/Conversions.js +31 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/file/Picker.js +40 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Buttons.js +80 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Forms.js +102 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Panel.js +218 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Toolbar.js +126 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/alien/ArrTest.js +9 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/alien/UuidTest.js +10 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/ConvertTest.js +12 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/MatcherTest.js +51 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/UrlTypeTest.js +33 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/ThemeTest.js +202 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/alien/BookmarkTest.js +65 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/alien/UnlinkTest.js +38 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/ActionsTest.js +177 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/ElementMatcher.js +69 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/LayoutTest.js +118 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/MeasureTest.js +62 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/PredicateIdTest.js +26 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/SelectionMatcherTest.js +76 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/file/ConversionsTest.js +41 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/file/SelectionMatcher.js +55 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/theme.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/themes/modern/theme.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/tinymce/tinymce.min.js +13 -0
- data/app/assets/javascripts/wbase/admin/transitionize/dist/transitionize.js +275 -0
- data/app/assets/javascripts/wbase/admin/transitionize/dist/transitionize.min.js +1 -0
- data/app/assets/javascripts/wbase/admin/transitionize/examples/browserify.js +46 -0
- data/app/assets/javascripts/wbase/admin/transitionize/examples/example.html +31 -0
- data/app/assets/javascripts/wbase/admin/transitionize/transitionize.js +64 -0
- data/app/assets/javascripts/wbase/admin/waves.js +498 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/jquery.waypoints.js +647 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/jquery.waypoints.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/noframework.waypoints.js +743 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/noframework.waypoints.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/infinite.js +84 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/infinite.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/inview.js +103 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/inview.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/sticky.js +65 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/sticky.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/waypoints.debug.js +46 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/zepto.waypoints.js +690 -0
- data/app/assets/javascripts/wbase/admin/waypoints/lib/zepto.waypoints.min.js +7 -0
- data/app/assets/javascripts/wbase/admin/wow.min.js +2 -0
- data/app/assets/javascripts/wbase/admin/x-editable/css/bootstrap-editable.css +663 -0
- data/app/assets/javascripts/wbase/admin/x-editable/img/clear.png +0 -0
- data/app/assets/javascripts/wbase/admin/x-editable/img/loading.gif +0 -0
- data/app/assets/javascripts/wbase/admin/x-editable/js/bootstrap-editable.js +6807 -0
- data/app/assets/javascripts/wbase/admin/x-editable/js/bootstrap-editable.min.js +7 -0
- data/app/assets/javascripts/wbase/admin.js +50 -0
- data/app/assets/javascripts/wbase/auth/bootstrap.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/detect.js +1 -1
- data/app/assets/javascripts/wbase/auth/jquery.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/jquery.scrollTo.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/modernizr.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/pace.min.js +1 -1
- data/app/assets/javascripts/wbase/auth/wow.min.js +1 -1
- data/app/assets/javascripts/wbase/landing/bootstrap.min.js +1 -1
- data/app/assets/javascripts/wbase/landing/validator.min.js +1 -1
- data/app/assets/stylesheets/wbase/admin/components.scss +2362 -0
- data/app/assets/stylesheets/wbase/admin/core.scss +2190 -0
- data/app/assets/stylesheets/wbase/admin/datatables/buttons.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/dataTables.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/dataTables.colVis.css +185 -0
- data/app/assets/stylesheets/wbase/admin/datatables/fixedColumns.dataTables.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/fixedHeader.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/jquery.dataTables.min.css +333 -0
- data/app/assets/stylesheets/wbase/admin/datatables/responsive.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/datatables/scroller.bootstrap.min.css +1 -0
- data/app/assets/stylesheets/wbase/admin/icons.scss +9884 -0
- data/app/assets/stylesheets/wbase/admin/morris.scss +25 -0
- data/app/assets/stylesheets/wbase/admin/pages.scss +2039 -0
- data/app/assets/stylesheets/wbase/admin/responsive.scss +162 -0
- data/app/assets/stylesheets/wbase/admin/typicons.scss +1370 -0
- data/app/assets/stylesheets/wbase/admin.scss +20 -0
- data/app/assets/stylesheets/wbase/auth/components.css +77 -77
- data/app/assets/stylesheets/wbase/auth/core.css +41 -41
- data/app/assets/stylesheets/wbase/auth/pages.css +43 -43
- data/app/views/layouts/wbase/_common_foot.html.erb +42 -0
- data/app/views/layouts/wbase/_common_head.html.erb +2 -1
- data/app/views/layouts/wbase/_olark.html.erb +34 -0
- data/app/views/layouts/wbase/_sidebar.html.erb +22 -0
- data/app/views/layouts/wbase/_topbar.html.erb +48 -0
- data/app/views/layouts/wbase/admin.html.erb +42 -0
- data/app/views/layouts/wbase/auth.html.erb +2 -1
- data/app/views/layouts/wbase/landing.html.erb +1 -0
- data/app/views/shared/{_errors.html.erb → wbase/_errors.html.erb} +0 -0
- data/app/views/shared/wbase/_page_title.html.erb +26 -0
- data/config/initializers/assets.rb +1 -1
- data/lib/wbase/engine.rb +6 -1
- data/lib/wbase/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- metadata +846 -4
- data/app/views/layouts/wbase/application.html.erb +0 -14
@@ -0,0 +1,113 @@
|
|
1
|
+
/* jquery.nicescroll 3.5.0 InuYaksa*2013 MIT http://areaaperta.com/nicescroll */(function(e){var z=!1,E=!1,L=5E3,M=2E3,y=0,N=function(){var e=document.getElementsByTagName("script"),e=e[e.length-1].src.split("?")[0];return 0<e.split("/").length?e.split("/").slice(0,-1).join("/")+"/":""}(),H=["ms","moz","webkit","o"],v=window.requestAnimationFrame||!1,w=window.cancelAnimationFrame||!1;if(!v)for(var O in H){var F=H[O];v||(v=window[F+"RequestAnimationFrame"]);w||(w=window[F+"CancelAnimationFrame"]||window[F+"CancelRequestAnimationFrame"])}var A=window.MutationObserver||window.WebKitMutationObserver||
|
2
|
+
!1,I={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"5px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,
|
3
|
+
horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:0.3,rtlmode:!1,cursordragontouch:!1,oneaxismousemode:"auto"},G=!1,P=function(){if(G)return G;var e=document.createElement("DIV"),c={haspointerlock:"pointerLockElement"in document||
|
4
|
+
"mozPointerLockElement"in document||"webkitPointerLockElement"in document};c.isopera="opera"in window;c.isopera12=c.isopera&&"getUserMedia"in navigator;c.isoperamini="[object OperaMini]"===Object.prototype.toString.call(window.operamini);c.isie="all"in document&&"attachEvent"in e&&!c.isopera;c.isieold=c.isie&&!("msInterpolationMode"in e.style);c.isie7=c.isie&&!c.isieold&&(!("documentMode"in document)||7==document.documentMode);c.isie8=c.isie&&"documentMode"in document&&8==document.documentMode;c.isie9=
|
5
|
+
c.isie&&"performance"in window&&9<=document.documentMode;c.isie10=c.isie&&"performance"in window&&10<=document.documentMode;c.isie9mobile=/iemobile.9/i.test(navigator.userAgent);c.isie9mobile&&(c.isie9=!1);c.isie7mobile=!c.isie9mobile&&c.isie7&&/iemobile/i.test(navigator.userAgent);c.ismozilla="MozAppearance"in e.style;c.iswebkit="WebkitAppearance"in e.style;c.ischrome="chrome"in window;c.ischrome22=c.ischrome&&c.haspointerlock;c.ischrome26=c.ischrome&&"transition"in e.style;c.cantouch="ontouchstart"in
|
6
|
+
document.documentElement||"ontouchstart"in window;c.hasmstouch=window.navigator.msPointerEnabled||!1;c.ismac=/^mac$/i.test(navigator.platform);c.isios=c.cantouch&&/iphone|ipad|ipod/i.test(navigator.platform);c.isios4=c.isios&&!("seal"in Object);c.isandroid=/android/i.test(navigator.userAgent);c.trstyle=!1;c.hastransform=!1;c.hastranslate3d=!1;c.transitionstyle=!1;c.hastransition=!1;c.transitionend=!1;for(var k=["transform","msTransform","webkitTransform","MozTransform","OTransform"],l=0;l<k.length;l++)if("undefined"!=
|
7
|
+
typeof e.style[k[l]]){c.trstyle=k[l];break}c.hastransform=!1!=c.trstyle;c.hastransform&&(e.style[c.trstyle]="translate3d(1px,2px,3px)",c.hastranslate3d=/translate3d/.test(e.style[c.trstyle]));c.transitionstyle=!1;c.prefixstyle="";c.transitionend=!1;for(var k="transition webkitTransition MozTransition OTransition OTransition msTransition KhtmlTransition".split(" "),q=" -webkit- -moz- -o- -o -ms- -khtml-".split(" "),t="transitionend webkitTransitionEnd transitionend otransitionend oTransitionEnd msTransitionEnd KhtmlTransitionEnd".split(" "),
|
8
|
+
l=0;l<k.length;l++)if(k[l]in e.style){c.transitionstyle=k[l];c.prefixstyle=q[l];c.transitionend=t[l];break}c.ischrome26&&(c.prefixstyle=q[1]);c.hastransition=c.transitionstyle;a:{k=["-moz-grab","-webkit-grab","grab"];if(c.ischrome&&!c.ischrome22||c.isie)k=[];for(l=0;l<k.length;l++)if(q=k[l],e.style.cursor=q,e.style.cursor==q){k=q;break a}k="url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur),n-resize"}c.cursorgrabvalue=k;c.hasmousecapture="setCapture"in e;c.hasMutationObserver=!1!==A;return G=
|
9
|
+
c},Q=function(h,c){function k(){var d=b.win;if("zIndex"in d)return d.zIndex();for(;0<d.length&&9!=d[0].nodeType;){var c=d.css("zIndex");if(!isNaN(c)&&0!=c)return parseInt(c);d=d.parent()}return!1}function l(d,c,f){c=d.css(c);d=parseFloat(c);return isNaN(d)?(d=u[c]||0,f=3==d?f?b.win.outerHeight()-b.win.innerHeight():b.win.outerWidth()-b.win.innerWidth():1,b.isie8&&d&&(d+=1),f?d:0):d}function q(d,c,f,g){b._bind(d,c,function(b){b=b?b:window.event;var g={original:b,target:b.target||b.srcElement,type:"wheel",
|
10
|
+
deltaMode:"MozMousePixelScroll"==b.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){b.preventDefault?b.preventDefault():b.returnValue=!1;return!1},stopImmediatePropagation:function(){b.stopImmediatePropagation?b.stopImmediatePropagation():b.cancelBubble=!0}};"mousewheel"==c?(g.deltaY=-0.025*b.wheelDelta,b.wheelDeltaX&&(g.deltaX=-0.025*b.wheelDeltaX)):g.deltaY=b.detail;return f.call(d,g)},g)}function t(d,c,f){var g,e;0==d.deltaMode?(g=-Math.floor(d.deltaX*(b.opt.mousescrollstep/54)),e=-Math.floor(d.deltaY*
|
11
|
+
(b.opt.mousescrollstep/54))):1==d.deltaMode&&(g=-Math.floor(d.deltaX*b.opt.mousescrollstep),e=-Math.floor(d.deltaY*b.opt.mousescrollstep));c&&(b.opt.oneaxismousemode&&0==g&&e)&&(g=e,e=0);g&&(b.scrollmom&&b.scrollmom.stop(),b.lastdeltax+=g,b.debounced("mousewheelx",function(){var d=b.lastdeltax;b.lastdeltax=0;b.rail.drag||b.doScrollLeftBy(d)},120));if(e){if(b.opt.nativeparentscrolling&&f&&!b.ispage&&!b.zoomactive)if(0>e){if(b.getScrollTop()>=b.page.maxh)return!0}else if(0>=b.getScrollTop())return!0;
|
12
|
+
b.scrollmom&&b.scrollmom.stop();b.lastdeltay+=e;b.debounced("mousewheely",function(){var d=b.lastdeltay;b.lastdeltay=0;b.rail.drag||b.doScrollBy(d)},120)}d.stopImmediatePropagation();return d.preventDefault()}var b=this;this.version="3.5.0";this.name="nicescroll";this.me=c;this.opt={doc:e("body"),win:!1};e.extend(this.opt,I);this.opt.snapbackspeed=80;if(h)for(var p in b.opt)"undefined"!=typeof h[p]&&(b.opt[p]=h[p]);this.iddoc=(this.doc=b.opt.doc)&&this.doc[0]?this.doc[0].id||"":"";this.ispage=/BODY|HTML/.test(b.opt.win?
|
13
|
+
b.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=!1!==b.opt.win;this.win=b.opt.win||(this.ispage?e(window):this.doc);this.docscroll=this.ispage&&!this.haswrapper?e(window):this.win;this.body=e("body");this.iframe=this.isfixed=this.viewport=!1;this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName;this.istextarea="TEXTAREA"==this.win[0].nodeName;this.forcescreen=!1;this.canshowonmouseevent="scroll"!=b.opt.autohidemode;this.page=this.view=this.onzoomout=this.onzoomin=
|
14
|
+
this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;this.observerremover=this.observer=this.scrollmom=this.scrollrunning=this.checkrtlmode=!1;do this.id="ascrail"+M++;while(document.getElementById(this.id));this.hasmousefocus=this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=
|
15
|
+
this.cursor=this.rail=!1;this.visibility=!0;this.hidden=this.locked=!1;this.cursoractive=!0;this.overflowx=b.opt.overflowx;this.overflowy=b.opt.overflowy;this.nativescrollingarea=!1;this.checkarea=0;this.events=[];this.saved={};this.delaylist={};this.synclist={};this.lastdeltay=this.lastdeltax=0;this.detected=P();var g=e.extend({},this.detected);this.ishwscroll=(this.canhwscroll=g.hastransform&&b.opt.hwacceleration)&&b.haswrapper;this.istouchcapable=!1;g.cantouch&&(g.ischrome&&!g.isios&&!g.isandroid)&&
|
16
|
+
(this.istouchcapable=!0,g.cantouch=!1);g.cantouch&&(g.ismozilla&&!g.isios&&!g.isandroid)&&(this.istouchcapable=!0,g.cantouch=!1);b.opt.enablemouselockapi||(g.hasmousecapture=!1,g.haspointerlock=!1);this.delayed=function(d,c,f,g){var e=b.delaylist[d],k=(new Date).getTime();if(!g&&e&&e.tt)return!1;e&&e.tt&&clearTimeout(e.tt);if(e&&e.last+f>k&&!e.tt)b.delaylist[d]={last:k+f,tt:setTimeout(function(){b.delaylist[d].tt=0;c.call()},f)};else if(!e||!e.tt)b.delaylist[d]={last:k,tt:0},setTimeout(function(){c.call()},
|
17
|
+
0)};this.debounced=function(d,c,f){var g=b.delaylist[d];(new Date).getTime();b.delaylist[d]=c;g||setTimeout(function(){var c=b.delaylist[d];b.delaylist[d]=!1;c.call()},f)};this.synched=function(d,c){b.synclist[d]=c;(function(){b.onsync||(v(function(){b.onsync=!1;for(d in b.synclist){var c=b.synclist[d];c&&c.call(b);b.synclist[d]=!1}}),b.onsync=!0)})();return d};this.unsynched=function(d){b.synclist[d]&&(b.synclist[d]=!1)};this.css=function(d,c){for(var f in c)b.saved.css.push([d,f,d.css(f)]),d.css(f,
|
18
|
+
c[f])};this.scrollTop=function(d){return"undefined"==typeof d?b.getScrollTop():b.setScrollTop(d)};this.scrollLeft=function(d){return"undefined"==typeof d?b.getScrollLeft():b.setScrollLeft(d)};BezierClass=function(b,c,f,g,e,k,l){this.st=b;this.ed=c;this.spd=f;this.p1=g||0;this.p2=e||1;this.p3=k||0;this.p4=l||1;this.ts=(new Date).getTime();this.df=this.ed-this.st};BezierClass.prototype={B2:function(b){return 3*b*b*(1-b)},B3:function(b){return 3*b*(1-b)*(1-b)},B4:function(b){return(1-b)*(1-b)*(1-b)},
|
19
|
+
getNow:function(){var b=1-((new Date).getTime()-this.ts)/this.spd,c=this.B2(b)+this.B3(b)+this.B4(b);return 0>b?this.ed:this.st+Math.round(this.df*c)},update:function(b,c){this.st=this.getNow();this.ed=b;this.spd=c;this.ts=(new Date).getTime();this.df=this.ed-this.st;return this}};if(this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};g.hastranslate3d&&g.isios&&this.doc.css("-webkit-backface-visibility","hidden");var s=function(){var d=b.doc.css(g.trstyle);return d&&"matrix"==d.substr(0,
|
20
|
+
6)?d.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/):!1};this.getScrollTop=function(d){if(!d){if(d=s())return 16==d.length?-d[13]:-d[5];if(b.timerscroll&&b.timerscroll.bz)return b.timerscroll.bz.getNow()}return b.doc.translate.y};this.getScrollLeft=function(d){if(!d){if(d=s())return 16==d.length?-d[12]:-d[4];if(b.timerscroll&&b.timerscroll.bh)return b.timerscroll.bh.getNow()}return b.doc.translate.x};this.notifyScrollEvent=document.createEvent?function(b){var c=document.createEvent("UIEvents");
|
21
|
+
c.initUIEvent("scroll",!1,!0,window,1);b.dispatchEvent(c)}:document.fireEvent?function(b){var c=document.createEventObject();b.fireEvent("onscroll");c.cancelBubble=!0}:function(b,c){};g.hastranslate3d&&b.opt.enabletranslate3d?(this.setScrollTop=function(d,c){b.doc.translate.y=d;b.doc.translate.ty=-1*d+"px";b.doc.css(g.trstyle,"translate3d("+b.doc.translate.tx+","+b.doc.translate.ty+",0px)");c||b.notifyScrollEvent(b.win[0])},this.setScrollLeft=function(d,c){b.doc.translate.x=d;b.doc.translate.tx=-1*
|
22
|
+
d+"px";b.doc.css(g.trstyle,"translate3d("+b.doc.translate.tx+","+b.doc.translate.ty+",0px)");c||b.notifyScrollEvent(b.win[0])}):(this.setScrollTop=function(d,c){b.doc.translate.y=d;b.doc.translate.ty=-1*d+"px";b.doc.css(g.trstyle,"translate("+b.doc.translate.tx+","+b.doc.translate.ty+")");c||b.notifyScrollEvent(b.win[0])},this.setScrollLeft=function(d,c){b.doc.translate.x=d;b.doc.translate.tx=-1*d+"px";b.doc.css(g.trstyle,"translate("+b.doc.translate.tx+","+b.doc.translate.ty+")");c||b.notifyScrollEvent(b.win[0])})}else this.getScrollTop=
|
23
|
+
function(){return b.docscroll.scrollTop()},this.setScrollTop=function(d){return b.docscroll.scrollTop(d)},this.getScrollLeft=function(){return b.docscroll.scrollLeft()},this.setScrollLeft=function(d){return b.docscroll.scrollLeft(d)};this.getTarget=function(b){return!b?!1:b.target?b.target:b.srcElement?b.srcElement:!1};this.hasParent=function(b,c){if(!b)return!1;for(var f=b.target||b.srcElement||b||!1;f&&f.id!=c;)f=f.parentNode||!1;return!1!==f};var u={thin:1,medium:3,thick:5};this.getOffset=function(){if(b.isfixed)return{top:parseFloat(b.win.css("top")),
|
24
|
+
left:parseFloat(b.win.css("left"))};if(!b.viewport)return b.win.offset();var d=b.win.offset(),c=b.viewport.offset();return{top:d.top-c.top+b.viewport.scrollTop(),left:d.left-c.left+b.viewport.scrollLeft()}};this.updateScrollBar=function(d){if(b.ishwscroll)b.rail.css({height:b.win.innerHeight()}),b.railh&&b.railh.css({width:b.win.innerWidth()});else{var c=b.getOffset(),f=c.top,g=c.left,f=f+l(b.win,"border-top-width",!0);b.win.outerWidth();b.win.innerWidth();var g=g+(b.rail.align?b.win.outerWidth()-
|
25
|
+
l(b.win,"border-right-width")-b.rail.width:l(b.win,"border-left-width")),e=b.opt.railoffset;e&&(e.top&&(f+=e.top),b.rail.align&&e.left&&(g+=e.left));b.locked||b.rail.css({top:f,left:g,height:d?d.h:b.win.innerHeight()});b.zoom&&b.zoom.css({top:f+1,left:1==b.rail.align?g-20:g+b.rail.width+4});b.railh&&!b.locked&&(f=c.top,g=c.left,d=b.railh.align?f+l(b.win,"border-top-width",!0)+b.win.innerHeight()-b.railh.height:f+l(b.win,"border-top-width",!0),g+=l(b.win,"border-left-width"),b.railh.css({top:d,left:g,
|
26
|
+
width:b.railh.width}))}};this.doRailClick=function(d,c,f){var g;b.locked||(b.cancelEvent(d),c?(c=f?b.doScrollLeft:b.doScrollTop,g=f?(d.pageX-b.railh.offset().left-b.cursorwidth/2)*b.scrollratio.x:(d.pageY-b.rail.offset().top-b.cursorheight/2)*b.scrollratio.y,c(g)):(c=f?b.doScrollLeftBy:b.doScrollBy,g=f?b.scroll.x:b.scroll.y,d=f?d.pageX-b.railh.offset().left:d.pageY-b.rail.offset().top,f=f?b.view.w:b.view.h,g>=d?c(f):c(-f)))};b.hasanimationframe=v;b.hascancelanimationframe=w;b.hasanimationframe?b.hascancelanimationframe||
|
27
|
+
(w=function(){b.cancelAnimationFrame=!0}):(v=function(b){return setTimeout(b,15-Math.floor(+new Date/1E3)%16)},w=clearInterval);this.init=function(){b.saved.css=[];if(g.isie7mobile||g.isoperamini)return!0;g.hasmstouch&&b.css(b.ispage?e("html"):b.win,{"-ms-touch-action":"none"});b.zindex="auto";b.zindex=!b.ispage&&"auto"==b.opt.zindex?k()||"auto":b.opt.zindex;!b.ispage&&"auto"!=b.zindex&&b.zindex>y&&(y=b.zindex);b.isie&&(0==b.zindex&&"auto"==b.opt.zindex)&&(b.zindex="auto");if(!b.ispage||!g.cantouch&&
|
28
|
+
!g.isieold&&!g.isie9mobile){var d=b.docscroll;b.ispage&&(d=b.haswrapper?b.win:b.doc);g.isie9mobile||b.css(d,{"overflow-y":"hidden"});b.ispage&&g.isie7&&("BODY"==b.doc[0].nodeName?b.css(e("html"),{"overflow-y":"hidden"}):"HTML"==b.doc[0].nodeName&&b.css(e("body"),{"overflow-y":"hidden"}));g.isios&&(!b.ispage&&!b.haswrapper)&&b.css(e("body"),{"-webkit-overflow-scrolling":"touch"});var c=e(document.createElement("div"));c.css({position:"relative",top:0,"float":"right",width:b.opt.cursorwidth,height:"0px",
|
29
|
+
"background-color":b.opt.cursorcolor,border:b.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":b.opt.cursorborderradius,"-moz-border-radius":b.opt.cursorborderradius,"border-radius":b.opt.cursorborderradius});c.hborder=parseFloat(c.outerHeight()-c.innerHeight());b.cursor=c;var f=e(document.createElement("div"));f.attr("id",b.id);f.addClass("nicescroll-rails");var l,h,x=["left","right"],q;for(q in x)h=x[q],(l=b.opt.railpadding[h])?f.css("padding-"+h,l+"px"):b.opt.railpadding[h]=
|
30
|
+
0;f.append(c);f.width=Math.max(parseFloat(b.opt.cursorwidth),c.outerWidth())+b.opt.railpadding.left+b.opt.railpadding.right;f.css({width:f.width+"px",zIndex:b.zindex,background:b.opt.background,cursor:"default"});f.visibility=!0;f.scrollable=!0;f.align="left"==b.opt.railalign?0:1;b.rail=f;c=b.rail.drag=!1;b.opt.boxzoom&&(!b.ispage&&!g.isieold)&&(c=document.createElement("div"),b.bind(c,"click",b.doZoom),b.zoom=e(c),b.zoom.css({cursor:"pointer","z-index":b.zindex,backgroundImage:"url("+N+"zoomico.png)",
|
31
|
+
height:18,width:18,backgroundPosition:"0px 0px"}),b.opt.dblclickzoom&&b.bind(b.win,"dblclick",b.doZoom),g.cantouch&&b.opt.gesturezoom&&(b.ongesturezoom=function(d){1.5<d.scale&&b.doZoomIn(d);0.8>d.scale&&b.doZoomOut(d);return b.cancelEvent(d)},b.bind(b.win,"gestureend",b.ongesturezoom)));b.railh=!1;if(b.opt.horizrailenabled){b.css(d,{"overflow-x":"hidden"});c=e(document.createElement("div"));c.css({position:"relative",top:0,height:b.opt.cursorwidth,width:"0px","background-color":b.opt.cursorcolor,
|
32
|
+
border:b.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":b.opt.cursorborderradius,"-moz-border-radius":b.opt.cursorborderradius,"border-radius":b.opt.cursorborderradius});c.wborder=parseFloat(c.outerWidth()-c.innerWidth());b.cursorh=c;var m=e(document.createElement("div"));m.attr("id",b.id+"-hr");m.addClass("nicescroll-rails");m.height=Math.max(parseFloat(b.opt.cursorwidth),c.outerHeight());m.css({height:m.height+"px",zIndex:b.zindex,background:b.opt.background});m.append(c);
|
33
|
+
m.visibility=!0;m.scrollable=!0;m.align="top"==b.opt.railvalign?0:1;b.railh=m;b.railh.drag=!1}b.ispage?(f.css({position:"fixed",top:"0px",height:"100%"}),f.align?f.css({right:"0px"}):f.css({left:"0px"}),b.body.append(f),b.railh&&(m.css({position:"fixed",left:"0px",width:"100%"}),m.align?m.css({bottom:"0px"}):m.css({top:"0px"}),b.body.append(m))):(b.ishwscroll?("static"==b.win.css("position")&&b.css(b.win,{position:"relative"}),d="HTML"==b.win[0].nodeName?b.body:b.win,b.zoom&&(b.zoom.css({position:"absolute",
|
34
|
+
top:1,right:0,"margin-right":f.width+4}),d.append(b.zoom)),f.css({position:"absolute",top:0}),f.align?f.css({right:0}):f.css({left:0}),d.append(f),m&&(m.css({position:"absolute",left:0,bottom:0}),m.align?m.css({bottom:0}):m.css({top:0}),d.append(m))):(b.isfixed="fixed"==b.win.css("position"),d=b.isfixed?"fixed":"absolute",b.isfixed||(b.viewport=b.getViewport(b.win[0])),b.viewport&&(b.body=b.viewport,!1==/fixed|relative|absolute/.test(b.viewport.css("position"))&&b.css(b.viewport,{position:"relative"})),
|
35
|
+
f.css({position:d}),b.zoom&&b.zoom.css({position:d}),b.updateScrollBar(),b.body.append(f),b.zoom&&b.body.append(b.zoom),b.railh&&(m.css({position:d}),b.body.append(m))),g.isios&&b.css(b.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),g.isie&&b.opt.disableoutline&&b.win.attr("hideFocus","true"),g.iswebkit&&b.opt.disableoutline&&b.win.css({outline:"none"}));!1===b.opt.autohidemode?(b.autohidedom=!1,b.rail.css({opacity:b.opt.cursoropacitymax}),b.railh&&b.railh.css({opacity:b.opt.cursoropacitymax})):
|
36
|
+
!0===b.opt.autohidemode||"leave"===b.opt.autohidemode?(b.autohidedom=e().add(b.rail),g.isie8&&(b.autohidedom=b.autohidedom.add(b.cursor)),b.railh&&(b.autohidedom=b.autohidedom.add(b.railh)),b.railh&&g.isie8&&(b.autohidedom=b.autohidedom.add(b.cursorh))):"scroll"==b.opt.autohidemode?(b.autohidedom=e().add(b.rail),b.railh&&(b.autohidedom=b.autohidedom.add(b.railh))):"cursor"==b.opt.autohidemode?(b.autohidedom=e().add(b.cursor),b.railh&&(b.autohidedom=b.autohidedom.add(b.cursorh))):"hidden"==b.opt.autohidemode&&
|
37
|
+
(b.autohidedom=!1,b.hide(),b.locked=!1);if(g.isie9mobile)b.scrollmom=new J(b),b.onmangotouch=function(d){d=b.getScrollTop();var c=b.getScrollLeft();if(d==b.scrollmom.lastscrolly&&c==b.scrollmom.lastscrollx)return!0;var f=d-b.mangotouch.sy,g=c-b.mangotouch.sx;if(0!=Math.round(Math.sqrt(Math.pow(g,2)+Math.pow(f,2)))){var n=0>f?-1:1,e=0>g?-1:1,k=+new Date;b.mangotouch.lazy&&clearTimeout(b.mangotouch.lazy);80<k-b.mangotouch.tm||b.mangotouch.dry!=n||b.mangotouch.drx!=e?(b.scrollmom.stop(),b.scrollmom.reset(c,
|
38
|
+
d),b.mangotouch.sy=d,b.mangotouch.ly=d,b.mangotouch.sx=c,b.mangotouch.lx=c,b.mangotouch.dry=n,b.mangotouch.drx=e,b.mangotouch.tm=k):(b.scrollmom.stop(),b.scrollmom.update(b.mangotouch.sx-g,b.mangotouch.sy-f),b.mangotouch.tm=k,f=Math.max(Math.abs(b.mangotouch.ly-d),Math.abs(b.mangotouch.lx-c)),b.mangotouch.ly=d,b.mangotouch.lx=c,2<f&&(b.mangotouch.lazy=setTimeout(function(){b.mangotouch.lazy=!1;b.mangotouch.dry=0;b.mangotouch.drx=0;b.mangotouch.tm=0;b.scrollmom.doMomentum(30)},100)))}},f=b.getScrollTop(),
|
39
|
+
m=b.getScrollLeft(),b.mangotouch={sy:f,ly:f,dry:0,sx:m,lx:m,drx:0,lazy:!1,tm:0},b.bind(b.docscroll,"scroll",b.onmangotouch);else{if(g.cantouch||b.istouchcapable||b.opt.touchbehavior||g.hasmstouch){b.scrollmom=new J(b);b.ontouchstart=function(d){if(d.pointerType&&2!=d.pointerType)return!1;if(!b.locked){if(g.hasmstouch)for(var c=d.target?d.target:!1;c;){var f=e(c).getNiceScroll();if(0<f.length&&f[0].me==b.me)break;if(0<f.length)return!1;if("DIV"==c.nodeName&&c.id==b.id)break;c=c.parentNode?c.parentNode:
|
40
|
+
!1}b.cancelScroll();if((c=b.getTarget(d))&&/INPUT/i.test(c.nodeName)&&/range/i.test(c.type))return b.stopPropagation(d);!("clientX"in d)&&"changedTouches"in d&&(d.clientX=d.changedTouches[0].clientX,d.clientY=d.changedTouches[0].clientY);b.forcescreen&&(f=d,d={original:d.original?d.original:d},d.clientX=f.screenX,d.clientY=f.screenY);b.rail.drag={x:d.clientX,y:d.clientY,sx:b.scroll.x,sy:b.scroll.y,st:b.getScrollTop(),sl:b.getScrollLeft(),pt:2,dl:!1};if(b.ispage||!b.opt.directionlockdeadzone)b.rail.drag.dl=
|
41
|
+
"f";else{var f=e(window).width(),n=e(window).height(),k=Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),l=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),n=Math.max(0,l-n),f=Math.max(0,k-f);b.rail.drag.ck=!b.rail.scrollable&&b.railh.scrollable?0<n?"v":!1:b.rail.scrollable&&!b.railh.scrollable?0<f?"h":!1:!1;b.rail.drag.ck||(b.rail.drag.dl="f")}b.opt.touchbehavior&&(b.isiframe&&g.isie)&&(f=b.win.position(),b.rail.drag.x+=f.left,b.rail.drag.y+=f.top);
|
42
|
+
b.hasmoving=!1;b.lastmouseup=!1;b.scrollmom.reset(d.clientX,d.clientY);if(!g.cantouch&&!this.istouchcapable&&!g.hasmstouch){if(!c||!/INPUT|SELECT|TEXTAREA/i.test(c.nodeName))return!b.ispage&&g.hasmousecapture&&c.setCapture(),b.opt.touchbehavior?b.cancelEvent(d):b.stopPropagation(d);/SUBMIT|CANCEL|BUTTON/i.test(e(c).attr("type"))&&(pc={tg:c,click:!1},b.preventclick=pc)}}};b.ontouchend=function(d){if(d.pointerType&&2!=d.pointerType)return!1;if(b.rail.drag&&2==b.rail.drag.pt&&(b.scrollmom.doMomentum(),
|
43
|
+
b.rail.drag=!1,b.hasmoving&&(b.hasmoving=!1,b.lastmouseup=!0,b.hideCursor(),g.hasmousecapture&&document.releaseCapture(),!g.cantouch)))return b.cancelEvent(d)};var t=b.opt.touchbehavior&&b.isiframe&&!g.hasmousecapture;b.ontouchmove=function(d,c){if(d.pointerType&&2!=d.pointerType)return!1;if(b.rail.drag&&2==b.rail.drag.pt){if(g.cantouch&&"undefined"==typeof d.original)return!0;b.hasmoving=!0;b.preventclick&&!b.preventclick.click&&(b.preventclick.click=b.preventclick.tg.onclick||!1,b.preventclick.tg.onclick=
|
44
|
+
b.onpreventclick);d=e.extend({original:d},d);"changedTouches"in d&&(d.clientX=d.changedTouches[0].clientX,d.clientY=d.changedTouches[0].clientY);if(b.forcescreen){var f=d;d={original:d.original?d.original:d};d.clientX=f.screenX;d.clientY=f.screenY}f=ofy=0;if(t&&!c){var n=b.win.position(),f=-n.left;ofy=-n.top}var k=d.clientY+ofy,n=k-b.rail.drag.y,l=d.clientX+f,h=l-b.rail.drag.x,r=b.rail.drag.st-n;b.ishwscroll&&b.opt.bouncescroll?0>r?r=Math.round(r/2):r>b.page.maxh&&(r=b.page.maxh+Math.round((r-b.page.maxh)/
|
45
|
+
2)):(0>r&&(k=r=0),r>b.page.maxh&&(r=b.page.maxh,k=0));if(b.railh&&b.railh.scrollable){var m=b.rail.drag.sl-h;b.ishwscroll&&b.opt.bouncescroll?0>m?m=Math.round(m/2):m>b.page.maxw&&(m=b.page.maxw+Math.round((m-b.page.maxw)/2)):(0>m&&(l=m=0),m>b.page.maxw&&(m=b.page.maxw,l=0))}f=!1;if(b.rail.drag.dl)f=!0,"v"==b.rail.drag.dl?m=b.rail.drag.sl:"h"==b.rail.drag.dl&&(r=b.rail.drag.st);else{var n=Math.abs(n),h=Math.abs(h),x=b.opt.directionlockdeadzone;if("v"==b.rail.drag.ck){if(n>x&&h<=0.3*n)return b.rail.drag=
|
46
|
+
!1,!0;h>x&&(b.rail.drag.dl="f",e("body").scrollTop(e("body").scrollTop()))}else if("h"==b.rail.drag.ck){if(h>x&&n<=0.3*h)return b.rail.drag=!1,!0;n>x&&(b.rail.drag.dl="f",e("body").scrollLeft(e("body").scrollLeft()))}}b.synched("touchmove",function(){b.rail.drag&&2==b.rail.drag.pt&&(b.prepareTransition&&b.prepareTransition(0),b.rail.scrollable&&b.setScrollTop(r),b.scrollmom.update(l,k),b.railh&&b.railh.scrollable?(b.setScrollLeft(m),b.showCursor(r,m)):b.showCursor(r),g.isie10&&document.selection.clear())});
|
47
|
+
g.ischrome&&b.istouchcapable&&(f=!1);if(f)return b.cancelEvent(d)}}}b.onmousedown=function(d,c){if(!(b.rail.drag&&1!=b.rail.drag.pt)){if(b.locked)return b.cancelEvent(d);b.cancelScroll();b.rail.drag={x:d.clientX,y:d.clientY,sx:b.scroll.x,sy:b.scroll.y,pt:1,hr:!!c};var f=b.getTarget(d);!b.ispage&&g.hasmousecapture&&f.setCapture();b.isiframe&&!g.hasmousecapture&&(b.saved.csspointerevents=b.doc.css("pointer-events"),b.css(b.doc,{"pointer-events":"none"}));return b.cancelEvent(d)}};b.onmouseup=function(d){if(b.rail.drag&&
|
48
|
+
(g.hasmousecapture&&document.releaseCapture(),b.isiframe&&!g.hasmousecapture&&b.doc.css("pointer-events",b.saved.csspointerevents),1==b.rail.drag.pt))return b.rail.drag=!1,b.cancelEvent(d)};b.onmousemove=function(d){if(b.rail.drag&&1==b.rail.drag.pt){if(g.ischrome&&0==d.which)return b.onmouseup(d);b.cursorfreezed=!0;if(b.rail.drag.hr){b.scroll.x=b.rail.drag.sx+(d.clientX-b.rail.drag.x);0>b.scroll.x&&(b.scroll.x=0);var c=b.scrollvaluemaxw;b.scroll.x>c&&(b.scroll.x=c)}else b.scroll.y=b.rail.drag.sy+
|
49
|
+
(d.clientY-b.rail.drag.y),0>b.scroll.y&&(b.scroll.y=0),c=b.scrollvaluemax,b.scroll.y>c&&(b.scroll.y=c);b.synched("mousemove",function(){b.rail.drag&&1==b.rail.drag.pt&&(b.showCursor(),b.rail.drag.hr?b.doScrollLeft(Math.round(b.scroll.x*b.scrollratio.x),b.opt.cursordragspeed):b.doScrollTop(Math.round(b.scroll.y*b.scrollratio.y),b.opt.cursordragspeed))});return b.cancelEvent(d)}};if(g.cantouch||b.opt.touchbehavior)b.onpreventclick=function(d){if(b.preventclick)return b.preventclick.tg.onclick=b.preventclick.click,
|
50
|
+
b.preventclick=!1,b.cancelEvent(d)},b.bind(b.win,"mousedown",b.ontouchstart),b.onclick=g.isios?!1:function(d){return b.lastmouseup?(b.lastmouseup=!1,b.cancelEvent(d)):!0},b.opt.grabcursorenabled&&g.cursorgrabvalue&&(b.css(b.ispage?b.doc:b.win,{cursor:g.cursorgrabvalue}),b.css(b.rail,{cursor:g.cursorgrabvalue}));else{var p=function(d){if(b.selectiondrag){if(d){var c=b.win.outerHeight();d=d.pageY-b.selectiondrag.top;0<d&&d<c&&(d=0);d>=c&&(d-=c);b.selectiondrag.df=d}0!=b.selectiondrag.df&&(b.doScrollBy(2*
|
51
|
+
-Math.floor(b.selectiondrag.df/6)),b.debounced("doselectionscroll",function(){p()},50))}};b.hasTextSelected="getSelection"in document?function(){return 0<document.getSelection().rangeCount}:"selection"in document?function(){return"None"!=document.selection.type}:function(){return!1};b.onselectionstart=function(d){b.ispage||(b.selectiondrag=b.win.offset())};b.onselectionend=function(d){b.selectiondrag=!1};b.onselectiondrag=function(d){b.selectiondrag&&b.hasTextSelected()&&b.debounced("selectionscroll",
|
52
|
+
function(){p(d)},250)}}g.hasmstouch&&(b.css(b.rail,{"-ms-touch-action":"none"}),b.css(b.cursor,{"-ms-touch-action":"none"}),b.bind(b.win,"MSPointerDown",b.ontouchstart),b.bind(document,"MSPointerUp",b.ontouchend),b.bind(document,"MSPointerMove",b.ontouchmove),b.bind(b.cursor,"MSGestureHold",function(b){b.preventDefault()}),b.bind(b.cursor,"contextmenu",function(b){b.preventDefault()}));this.istouchcapable&&(b.bind(b.win,"touchstart",b.ontouchstart),b.bind(document,"touchend",b.ontouchend),b.bind(document,
|
53
|
+
"touchcancel",b.ontouchend),b.bind(document,"touchmove",b.ontouchmove));b.bind(b.cursor,"mousedown",b.onmousedown);b.bind(b.cursor,"mouseup",b.onmouseup);b.railh&&(b.bind(b.cursorh,"mousedown",function(d){b.onmousedown(d,!0)}),b.bind(b.cursorh,"mouseup",function(d){if(!(b.rail.drag&&2==b.rail.drag.pt))return b.rail.drag=!1,b.hasmoving=!1,b.hideCursor(),g.hasmousecapture&&document.releaseCapture(),b.cancelEvent(d)}));if(b.opt.cursordragontouch||!g.cantouch&&!b.opt.touchbehavior)b.rail.css({cursor:"default"}),
|
54
|
+
b.railh&&b.railh.css({cursor:"default"}),b.jqbind(b.rail,"mouseenter",function(){b.canshowonmouseevent&&b.showCursor();b.rail.active=!0}),b.jqbind(b.rail,"mouseleave",function(){b.rail.active=!1;b.rail.drag||b.hideCursor()}),b.opt.sensitiverail&&(b.bind(b.rail,"click",function(d){b.doRailClick(d,!1,!1)}),b.bind(b.rail,"dblclick",function(d){b.doRailClick(d,!0,!1)}),b.bind(b.cursor,"click",function(d){b.cancelEvent(d)}),b.bind(b.cursor,"dblclick",function(d){b.cancelEvent(d)})),b.railh&&(b.jqbind(b.railh,
|
55
|
+
"mouseenter",function(){b.canshowonmouseevent&&b.showCursor();b.rail.active=!0}),b.jqbind(b.railh,"mouseleave",function(){b.rail.active=!1;b.rail.drag||b.hideCursor()}),b.opt.sensitiverail&&(b.bind(b.railh,"click",function(d){b.doRailClick(d,!1,!0)}),b.bind(b.railh,"dblclick",function(d){b.doRailClick(d,!0,!0)}),b.bind(b.cursorh,"click",function(d){b.cancelEvent(d)}),b.bind(b.cursorh,"dblclick",function(d){b.cancelEvent(d)})));!g.cantouch&&!b.opt.touchbehavior?(b.bind(g.hasmousecapture?b.win:document,
|
56
|
+
"mouseup",b.onmouseup),b.bind(document,"mousemove",b.onmousemove),b.onclick&&b.bind(document,"click",b.onclick),!b.ispage&&b.opt.enablescrollonselection&&(b.bind(b.win[0],"mousedown",b.onselectionstart),b.bind(document,"mouseup",b.onselectionend),b.bind(b.cursor,"mouseup",b.onselectionend),b.cursorh&&b.bind(b.cursorh,"mouseup",b.onselectionend),b.bind(document,"mousemove",b.onselectiondrag)),b.zoom&&(b.jqbind(b.zoom,"mouseenter",function(){b.canshowonmouseevent&&b.showCursor();b.rail.active=!0}),
|
57
|
+
b.jqbind(b.zoom,"mouseleave",function(){b.rail.active=!1;b.rail.drag||b.hideCursor()}))):(b.bind(g.hasmousecapture?b.win:document,"mouseup",b.ontouchend),b.bind(document,"mousemove",b.ontouchmove),b.onclick&&b.bind(document,"click",b.onclick),b.opt.cursordragontouch&&(b.bind(b.cursor,"mousedown",b.onmousedown),b.bind(b.cursor,"mousemove",b.onmousemove),b.cursorh&&b.bind(b.cursorh,"mousedown",function(d){b.onmousedown(d,!0)}),b.cursorh&&b.bind(b.cursorh,"mousemove",b.onmousemove)));b.opt.enablemousewheel&&
|
58
|
+
(b.isiframe||b.bind(g.isie&&b.ispage?document:b.win,"mousewheel",b.onmousewheel),b.bind(b.rail,"mousewheel",b.onmousewheel),b.railh&&b.bind(b.railh,"mousewheel",b.onmousewheelhr));!b.ispage&&(!g.cantouch&&!/HTML|BODY/.test(b.win[0].nodeName))&&(b.win.attr("tabindex")||b.win.attr({tabindex:L++}),b.jqbind(b.win,"focus",function(d){z=b.getTarget(d).id||!0;b.hasfocus=!0;b.canshowonmouseevent&&b.noticeCursor()}),b.jqbind(b.win,"blur",function(d){z=!1;b.hasfocus=!1}),b.jqbind(b.win,"mouseenter",function(d){E=
|
59
|
+
b.getTarget(d).id||!0;b.hasmousefocus=!0;b.canshowonmouseevent&&b.noticeCursor()}),b.jqbind(b.win,"mouseleave",function(){E=!1;b.hasmousefocus=!1;b.rail.drag||b.hideCursor()}))}b.onkeypress=function(d){if(b.locked&&0==b.page.maxh)return!0;d=d?d:window.e;var c=b.getTarget(d);if(c&&/INPUT|TEXTAREA|SELECT|OPTION/.test(c.nodeName)&&(!c.getAttribute("type")&&!c.type||!/submit|button|cancel/i.tp))return!0;if(b.hasfocus||b.hasmousefocus&&!z||b.ispage&&!z&&!E){c=d.keyCode;if(b.locked&&27!=c)return b.cancelEvent(d);
|
60
|
+
var f=d.ctrlKey||!1,n=d.shiftKey||!1,g=!1;switch(c){case 38:case 63233:b.doScrollBy(72);g=!0;break;case 40:case 63235:b.doScrollBy(-72);g=!0;break;case 37:case 63232:b.railh&&(f?b.doScrollLeft(0):b.doScrollLeftBy(72),g=!0);break;case 39:case 63234:b.railh&&(f?b.doScrollLeft(b.page.maxw):b.doScrollLeftBy(-72),g=!0);break;case 33:case 63276:b.doScrollBy(b.view.h);g=!0;break;case 34:case 63277:b.doScrollBy(-b.view.h);g=!0;break;case 36:case 63273:b.railh&&f?b.doScrollPos(0,0):b.doScrollTo(0);g=!0;break;
|
61
|
+
case 35:case 63275:b.railh&&f?b.doScrollPos(b.page.maxw,b.page.maxh):b.doScrollTo(b.page.maxh);g=!0;break;case 32:b.opt.spacebarenabled&&(n?b.doScrollBy(b.view.h):b.doScrollBy(-b.view.h),g=!0);break;case 27:b.zoomactive&&(b.doZoom(),g=!0)}if(g)return b.cancelEvent(d)}};b.opt.enablekeyboard&&b.bind(document,g.isopera&&!g.isopera12?"keypress":"keydown",b.onkeypress);b.bind(window,"resize",b.lazyResize);b.bind(window,"orientationchange",b.lazyResize);b.bind(window,"load",b.lazyResize);if(g.ischrome&&
|
62
|
+
!b.ispage&&!b.haswrapper){var s=b.win.attr("style"),f=parseFloat(b.win.css("width"))+1;b.win.css("width",f);b.synched("chromefix",function(){b.win.attr("style",s)})}b.onAttributeChange=function(d){b.lazyResize(250)};!b.ispage&&!b.haswrapper&&(!1!==A?(b.observer=new A(function(d){d.forEach(b.onAttributeChange)}),b.observer.observe(b.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),b.observerremover=new A(function(d){d.forEach(function(d){if(0<d.removedNodes.length)for(var c in d.removedNodes)if(d.removedNodes[c]==
|
63
|
+
b.win[0])return b.remove()})}),b.observerremover.observe(b.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(b.bind(b.win,g.isie&&!g.isie9?"propertychange":"DOMAttrModified",b.onAttributeChange),g.isie9&&b.win[0].attachEvent("onpropertychange",b.onAttributeChange),b.bind(b.win,"DOMNodeRemoved",function(d){d.target==b.win[0]&&b.remove()})));!b.ispage&&b.opt.boxzoom&&b.bind(window,"resize",b.resizeZoom);b.istextarea&&b.bind(b.win,"mouseup",b.lazyResize);b.checkrtlmode=!0;
|
64
|
+
b.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var K=function(d){b.iframexd=!1;try{var c="contentDocument"in this?this.contentDocument:this.contentWindow.document}catch(f){b.iframexd=!0,c=!1}if(b.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;b.forcescreen=!0;b.isiframe&&(b.iframe={doc:e(c),html:b.doc.contents().find("html")[0],body:b.doc.contents().find("body")[0]},b.getContentSize=function(){return{w:Math.max(b.iframe.html.scrollWidth,b.iframe.body.scrollWidth),
|
65
|
+
h:Math.max(b.iframe.html.scrollHeight,b.iframe.body.scrollHeight)}},b.docscroll=e(b.iframe.body));!g.isios&&(b.opt.iframeautoresize&&!b.isiframe)&&(b.win.scrollTop(0),b.doc.height(""),d=Math.max(c.getElementsByTagName("html")[0].scrollHeight,c.body.scrollHeight),b.doc.height(d));b.lazyResize(30);g.isie7&&b.css(e(b.iframe.html),{"overflow-y":"hidden"});b.css(e(b.iframe.body),{"overflow-y":"hidden"});g.isios&&b.haswrapper&&b.css(e(c.body),{"-webkit-transform":"translate3d(0,0,0)"});"contentWindow"in
|
66
|
+
this?b.bind(this.contentWindow,"scroll",b.onscroll):b.bind(c,"scroll",b.onscroll);b.opt.enablemousewheel&&b.bind(c,"mousewheel",b.onmousewheel);b.opt.enablekeyboard&&b.bind(c,g.isopera?"keypress":"keydown",b.onkeypress);if(g.cantouch||b.opt.touchbehavior)b.bind(c,"mousedown",b.ontouchstart),b.bind(c,"mousemove",function(d){b.ontouchmove(d,!0)}),b.opt.grabcursorenabled&&g.cursorgrabvalue&&b.css(e(c.body),{cursor:g.cursorgrabvalue});b.bind(c,"mouseup",b.ontouchend);b.zoom&&(b.opt.dblclickzoom&&b.bind(c,
|
67
|
+
"dblclick",b.doZoom),b.ongesturezoom&&b.bind(c,"gestureend",b.ongesturezoom))};this.doc[0].readyState&&"complete"==this.doc[0].readyState&&setTimeout(function(){K.call(b.doc[0],!1)},500);b.bind(this.doc,"load",K)}};this.showCursor=function(d,c){b.cursortimeout&&(clearTimeout(b.cursortimeout),b.cursortimeout=0);if(b.rail){b.autohidedom&&(b.autohidedom.stop().css({opacity:b.opt.cursoropacitymax}),b.cursoractive=!0);if(!b.rail.drag||1!=b.rail.drag.pt)"undefined"!=typeof d&&!1!==d&&(b.scroll.y=Math.round(1*
|
68
|
+
d/b.scrollratio.y)),"undefined"!=typeof c&&(b.scroll.x=Math.round(1*c/b.scrollratio.x));b.cursor.css({height:b.cursorheight,top:b.scroll.y});b.cursorh&&(!b.rail.align&&b.rail.visibility?b.cursorh.css({width:b.cursorwidth,left:b.scroll.x+b.rail.width}):b.cursorh.css({width:b.cursorwidth,left:b.scroll.x}),b.cursoractive=!0);b.zoom&&b.zoom.stop().css({opacity:b.opt.cursoropacitymax})}};this.hideCursor=function(d){!b.cursortimeout&&(b.rail&&b.autohidedom&&!(b.hasmousefocus&&"leave"==b.opt.autohidemode))&&
|
69
|
+
(b.cursortimeout=setTimeout(function(){if(!b.rail.active||!b.showonmouseevent)b.autohidedom.stop().animate({opacity:b.opt.cursoropacitymin}),b.zoom&&b.zoom.stop().animate({opacity:b.opt.cursoropacitymin}),b.cursoractive=!1;b.cursortimeout=0},d||b.opt.hidecursordelay))};this.noticeCursor=function(d,c,f){b.showCursor(c,f);b.rail.active||b.hideCursor(d)};this.getContentSize=b.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,
|
70
|
+
document.documentElement.scrollHeight)}}:b.haswrapper?function(){return{w:b.doc.outerWidth()+parseInt(b.win.css("paddingLeft"))+parseInt(b.win.css("paddingRight")),h:b.doc.outerHeight()+parseInt(b.win.css("paddingTop"))+parseInt(b.win.css("paddingBottom"))}}:function(){return{w:b.docscroll[0].scrollWidth,h:b.docscroll[0].scrollHeight}};this.onResize=function(d,c){if(!b.win)return!1;if(!b.haswrapper&&!b.ispage){if("none"==b.win.css("display"))return b.visibility&&b.hideRail().hideRailHr(),!1;!b.hidden&&
|
71
|
+
!b.visibility&&b.showRail().showRailHr()}var f=b.page.maxh,g=b.page.maxw,e=b.view.w;b.view={w:b.ispage?b.win.width():parseInt(b.win[0].clientWidth),h:b.ispage?b.win.height():parseInt(b.win[0].clientHeight)};b.page=c?c:b.getContentSize();b.page.maxh=Math.max(0,b.page.h-b.view.h);b.page.maxw=Math.max(0,b.page.w-b.view.w);if(b.page.maxh==f&&b.page.maxw==g&&b.view.w==e){if(b.ispage)return b;f=b.win.offset();if(b.lastposition&&(g=b.lastposition,g.top==f.top&&g.left==f.left))return b;b.lastposition=f}0==
|
72
|
+
b.page.maxh?(b.hideRail(),b.scrollvaluemax=0,b.scroll.y=0,b.scrollratio.y=0,b.cursorheight=0,b.setScrollTop(0),b.rail.scrollable=!1):b.rail.scrollable=!0;0==b.page.maxw?(b.hideRailHr(),b.scrollvaluemaxw=0,b.scroll.x=0,b.scrollratio.x=0,b.cursorwidth=0,b.setScrollLeft(0),b.railh.scrollable=!1):b.railh.scrollable=!0;b.locked=0==b.page.maxh&&0==b.page.maxw;if(b.locked)return b.ispage||b.updateScrollBar(b.view),!1;!b.hidden&&!b.visibility?b.showRail().showRailHr():!b.hidden&&!b.railh.visibility&&b.showRailHr();
|
73
|
+
b.istextarea&&(b.win.css("resize")&&"none"!=b.win.css("resize"))&&(b.view.h-=20);b.cursorheight=Math.min(b.view.h,Math.round(b.view.h*(b.view.h/b.page.h)));b.cursorheight=b.opt.cursorfixedheight?b.opt.cursorfixedheight:Math.max(b.opt.cursorminheight,b.cursorheight);b.cursorwidth=Math.min(b.view.w,Math.round(b.view.w*(b.view.w/b.page.w)));b.cursorwidth=b.opt.cursorfixedheight?b.opt.cursorfixedheight:Math.max(b.opt.cursorminheight,b.cursorwidth);b.scrollvaluemax=b.view.h-b.cursorheight-b.cursor.hborder;
|
74
|
+
b.railh&&(b.railh.width=0<b.page.maxh?b.view.w-b.rail.width:b.view.w,b.scrollvaluemaxw=b.railh.width-b.cursorwidth-b.cursorh.wborder);b.checkrtlmode&&b.railh&&(b.checkrtlmode=!1,b.opt.rtlmode&&0==b.scroll.x&&b.setScrollLeft(b.page.maxw));b.ispage||b.updateScrollBar(b.view);b.scrollratio={x:b.page.maxw/b.scrollvaluemaxw,y:b.page.maxh/b.scrollvaluemax};b.getScrollTop()>b.page.maxh?b.doScrollTop(b.page.maxh):(b.scroll.y=Math.round(b.getScrollTop()*(1/b.scrollratio.y)),b.scroll.x=Math.round(b.getScrollLeft()*
|
75
|
+
(1/b.scrollratio.x)),b.cursoractive&&b.noticeCursor());b.scroll.y&&0==b.getScrollTop()&&b.doScrollTo(Math.floor(b.scroll.y*b.scrollratio.y));return b};this.resize=b.onResize;this.lazyResize=function(d){d=isNaN(d)?30:d;b.delayed("resize",b.resize,d);return b};this._bind=function(d,c,f,g){b.events.push({e:d,n:c,f:f,b:g,q:!1});d.addEventListener?d.addEventListener(c,f,g||!1):d.attachEvent?d.attachEvent("on"+c,f):d["on"+c]=f};this.jqbind=function(d,c,f){b.events.push({e:d,n:c,f:f,q:!0});e(d).bind(c,f)};
|
76
|
+
this.bind=function(d,c,f,e){var k="jquery"in d?d[0]:d;"mousewheel"==c?"onwheel"in b.win?b._bind(k,"wheel",f,e||!1):(d="undefined"!=typeof document.onmousewheel?"mousewheel":"DOMMouseScroll",q(k,d,f,e||!1),"DOMMouseScroll"==d&&q(k,"MozMousePixelScroll",f,e||!1)):k.addEventListener?(g.cantouch&&/mouseup|mousedown|mousemove/.test(c)&&b._bind(k,"mousedown"==c?"touchstart":"mouseup"==c?"touchend":"touchmove",function(b){if(b.touches){if(2>b.touches.length){var d=b.touches.length?b.touches[0]:b;d.original=
|
77
|
+
b;f.call(this,d)}}else b.changedTouches&&(d=b.changedTouches[0],d.original=b,f.call(this,d))},e||!1),b._bind(k,c,f,e||!1),g.cantouch&&"mouseup"==c&&b._bind(k,"touchcancel",f,e||!1)):b._bind(k,c,function(d){if((d=d||window.event||!1)&&d.srcElement)d.target=d.srcElement;"pageY"in d||(d.pageX=d.clientX+document.documentElement.scrollLeft,d.pageY=d.clientY+document.documentElement.scrollTop);return!1===f.call(k,d)||!1===e?b.cancelEvent(d):!0})};this._unbind=function(b,c,f,g){b.removeEventListener?b.removeEventListener(c,
|
78
|
+
f,g):b.detachEvent?b.detachEvent("on"+c,f):b["on"+c]=!1};this.unbindAll=function(){for(var d=0;d<b.events.length;d++){var c=b.events[d];c.q?c.e.unbind(c.n,c.f):b._unbind(c.e,c.n,c.f,c.b)}};this.cancelEvent=function(b){b=b.original?b.original:b?b:window.event||!1;if(!b)return!1;b.preventDefault&&b.preventDefault();b.stopPropagation&&b.stopPropagation();b.preventManipulation&&b.preventManipulation();b.cancelBubble=!0;b.cancel=!0;return b.returnValue=!1};this.stopPropagation=function(b){b=b.original?
|
79
|
+
b.original:b?b:window.event||!1;if(!b)return!1;if(b.stopPropagation)return b.stopPropagation();b.cancelBubble&&(b.cancelBubble=!0);return!1};this.showRail=function(){if(0!=b.page.maxh&&(b.ispage||"none"!=b.win.css("display")))b.visibility=!0,b.rail.visibility=!0,b.rail.css("display","block");return b};this.showRailHr=function(){if(!b.railh)return b;if(0!=b.page.maxw&&(b.ispage||"none"!=b.win.css("display")))b.railh.visibility=!0,b.railh.css("display","block");return b};this.hideRail=function(){b.visibility=
|
80
|
+
!1;b.rail.visibility=!1;b.rail.css("display","none");return b};this.hideRailHr=function(){if(!b.railh)return b;b.railh.visibility=!1;b.railh.css("display","none");return b};this.show=function(){b.hidden=!1;b.locked=!1;return b.showRail().showRailHr()};this.hide=function(){b.hidden=!0;b.locked=!0;return b.hideRail().hideRailHr()};this.toggle=function(){return b.hidden?b.show():b.hide()};this.remove=function(){b.stop();b.cursortimeout&&clearTimeout(b.cursortimeout);b.doZoomOut();b.unbindAll();g.isie9&&
|
81
|
+
b.win[0].detachEvent("onpropertychange",b.onAttributeChange);!1!==b.observer&&b.observer.disconnect();!1!==b.observerremover&&b.observerremover.disconnect();b.events=null;b.cursor&&b.cursor.remove();b.cursorh&&b.cursorh.remove();b.rail&&b.rail.remove();b.railh&&b.railh.remove();b.zoom&&b.zoom.remove();for(var d=0;d<b.saved.css.length;d++){var c=b.saved.css[d];c[0].css(c[1],"undefined"==typeof c[2]?"":c[2])}b.saved=!1;b.me.data("__nicescroll","");var f=e.nicescroll;f.each(function(d){if(this&&this.id===
|
82
|
+
b.id){delete f[d];for(var c=++d;c<f.length;c++,d++)f[d]=f[c];f.length--;f.length&&delete f[f.length]}});for(var k in b)b[k]=null,delete b[k];b=null};this.scrollstart=function(d){this.onscrollstart=d;return b};this.scrollend=function(d){this.onscrollend=d;return b};this.scrollcancel=function(d){this.onscrollcancel=d;return b};this.zoomin=function(d){this.onzoomin=d;return b};this.zoomout=function(d){this.onzoomout=d;return b};this.isScrollable=function(b){b=b.target?b.target:b;if("OPTION"==b.nodeName)return!0;
|
83
|
+
for(;b&&1==b.nodeType&&!/BODY|HTML/.test(b.nodeName);){var c=e(b),c=c.css("overflowY")||c.css("overflowX")||c.css("overflow")||"";if(/scroll|auto/.test(c))return b.clientHeight!=b.scrollHeight;b=b.parentNode?b.parentNode:!1}return!1};this.getViewport=function(b){for(b=b&&b.parentNode?b.parentNode:!1;b&&1==b.nodeType&&!/BODY|HTML/.test(b.nodeName);){var c=e(b);if(/fixed|absolute/.test(c.css("position")))return c;var f=c.css("overflowY")||c.css("overflowX")||c.css("overflow")||"";if(/scroll|auto/.test(f)&&
|
84
|
+
b.clientHeight!=b.scrollHeight||0<c.getNiceScroll().length)return c;b=b.parentNode?b.parentNode:!1}return!1};this.onmousewheel=function(d){if(b.locked)return b.debounced("checkunlock",b.resize,250),!0;if(b.rail.drag)return b.cancelEvent(d);"auto"==b.opt.oneaxismousemode&&0!=d.deltaX&&(b.opt.oneaxismousemode=!1);if(b.opt.oneaxismousemode&&0==d.deltaX&&!b.rail.scrollable)return b.railh&&b.railh.scrollable?b.onmousewheelhr(d):!0;var c=+new Date,f=!1;b.opt.preservenativescrolling&&b.checkarea+600<c&&
|
85
|
+
(b.nativescrollingarea=b.isScrollable(d),f=!0);b.checkarea=c;if(b.nativescrollingarea)return!0;if(d=t(d,!1,f))b.checkarea=0;return d};this.onmousewheelhr=function(d){if(b.locked||!b.railh.scrollable)return!0;if(b.rail.drag)return b.cancelEvent(d);var c=+new Date,f=!1;b.opt.preservenativescrolling&&b.checkarea+600<c&&(b.nativescrollingarea=b.isScrollable(d),f=!0);b.checkarea=c;return b.nativescrollingarea?!0:b.locked?b.cancelEvent(d):t(d,!0,f)};this.stop=function(){b.cancelScroll();b.scrollmon&&b.scrollmon.stop();
|
86
|
+
b.cursorfreezed=!1;b.scroll.y=Math.round(b.getScrollTop()*(1/b.scrollratio.y));b.noticeCursor();return b};this.getTransitionSpeed=function(d){var c=Math.round(10*b.opt.scrollspeed);d=Math.min(c,Math.round(d/20*b.opt.scrollspeed));return 20<d?d:0};b.opt.smoothscroll?b.ishwscroll&&g.hastransition&&b.opt.usetransition?(this.prepareTransition=function(d,c){var f=c?20<d?d:0:b.getTransitionSpeed(d),e=f?g.prefixstyle+"transform "+f+"ms ease-out":"";if(!b.lasttransitionstyle||b.lasttransitionstyle!=e)b.lasttransitionstyle=
|
87
|
+
e,b.doc.css(g.transitionstyle,e);return f},this.doScrollLeft=function(c,g){var f=b.scrollrunning?b.newscrolly:b.getScrollTop();b.doScrollPos(c,f,g)},this.doScrollTop=function(c,g){var f=b.scrollrunning?b.newscrollx:b.getScrollLeft();b.doScrollPos(f,c,g)},this.doScrollPos=function(c,e,f){var k=b.getScrollTop(),l=b.getScrollLeft();(0>(b.newscrolly-k)*(e-k)||0>(b.newscrollx-l)*(c-l))&&b.cancelScroll();!1==b.opt.bouncescroll&&(0>e?e=0:e>b.page.maxh&&(e=b.page.maxh),0>c?c=0:c>b.page.maxw&&(c=b.page.maxw));
|
88
|
+
if(b.scrollrunning&&c==b.newscrollx&&e==b.newscrolly)return!1;b.newscrolly=e;b.newscrollx=c;b.newscrollspeed=f||!1;if(b.timer)return!1;b.timer=setTimeout(function(){var f=b.getScrollTop(),k=b.getScrollLeft(),l,h;l=c-k;h=e-f;l=Math.round(Math.sqrt(Math.pow(l,2)+Math.pow(h,2)));l=b.newscrollspeed&&1<b.newscrollspeed?b.newscrollspeed:b.getTransitionSpeed(l);b.newscrollspeed&&1>=b.newscrollspeed&&(l*=b.newscrollspeed);b.prepareTransition(l,!0);b.timerscroll&&b.timerscroll.tm&&clearInterval(b.timerscroll.tm);
|
89
|
+
0<l&&(!b.scrollrunning&&b.onscrollstart&&b.onscrollstart.call(b,{type:"scrollstart",current:{x:k,y:f},request:{x:c,y:e},end:{x:b.newscrollx,y:b.newscrolly},speed:l}),g.transitionend?b.scrollendtrapped||(b.scrollendtrapped=!0,b.bind(b.doc,g.transitionend,b.onScrollEnd,!1)):(b.scrollendtrapped&&clearTimeout(b.scrollendtrapped),b.scrollendtrapped=setTimeout(b.onScrollEnd,l)),b.timerscroll={bz:new BezierClass(f,b.newscrolly,l,0,0,0.58,1),bh:new BezierClass(k,b.newscrollx,l,0,0,0.58,1)},b.cursorfreezed||
|
90
|
+
(b.timerscroll.tm=setInterval(function(){b.showCursor(b.getScrollTop(),b.getScrollLeft())},60)));b.synched("doScroll-set",function(){b.timer=0;b.scrollendtrapped&&(b.scrollrunning=!0);b.setScrollTop(b.newscrolly);b.setScrollLeft(b.newscrollx);if(!b.scrollendtrapped)b.onScrollEnd()})},50)},this.cancelScroll=function(){if(!b.scrollendtrapped)return!0;var c=b.getScrollTop(),e=b.getScrollLeft();b.scrollrunning=!1;g.transitionend||clearTimeout(g.transitionend);b.scrollendtrapped=!1;b._unbind(b.doc,g.transitionend,
|
91
|
+
b.onScrollEnd);b.prepareTransition(0);b.setScrollTop(c);b.railh&&b.setScrollLeft(e);b.timerscroll&&b.timerscroll.tm&&clearInterval(b.timerscroll.tm);b.timerscroll=!1;b.cursorfreezed=!1;b.showCursor(c,e);return b},this.onScrollEnd=function(){b.scrollendtrapped&&b._unbind(b.doc,g.transitionend,b.onScrollEnd);b.scrollendtrapped=!1;b.prepareTransition(0);b.timerscroll&&b.timerscroll.tm&&clearInterval(b.timerscroll.tm);b.timerscroll=!1;var c=b.getScrollTop(),e=b.getScrollLeft();b.setScrollTop(c);b.railh&&
|
92
|
+
b.setScrollLeft(e);b.noticeCursor(!1,c,e);b.cursorfreezed=!1;0>c?c=0:c>b.page.maxh&&(c=b.page.maxh);0>e?e=0:e>b.page.maxw&&(e=b.page.maxw);if(c!=b.newscrolly||e!=b.newscrollx)return b.doScrollPos(e,c,b.opt.snapbackspeed);b.onscrollend&&b.scrollrunning&&b.onscrollend.call(b,{type:"scrollend",current:{x:e,y:c},end:{x:b.newscrollx,y:b.newscrolly}});b.scrollrunning=!1}):(this.doScrollLeft=function(c,g){var f=b.scrollrunning?b.newscrolly:b.getScrollTop();b.doScrollPos(c,f,g)},this.doScrollTop=function(c,
|
93
|
+
g){var f=b.scrollrunning?b.newscrollx:b.getScrollLeft();b.doScrollPos(f,c,g)},this.doScrollPos=function(c,g,f){function e(){if(b.cancelAnimationFrame)return!0;b.scrollrunning=!0;if(p=1-p)return b.timer=v(e)||1;var c=0,d=sy=b.getScrollTop();if(b.dst.ay){var d=b.bzscroll?b.dst.py+b.bzscroll.getNow()*b.dst.ay:b.newscrolly,f=d-sy;if(0>f&&d<b.newscrolly||0<f&&d>b.newscrolly)d=b.newscrolly;b.setScrollTop(d);d==b.newscrolly&&(c=1)}else c=1;var g=sx=b.getScrollLeft();if(b.dst.ax){g=b.bzscroll?b.dst.px+b.bzscroll.getNow()*
|
94
|
+
b.dst.ax:b.newscrollx;f=g-sx;if(0>f&&g<b.newscrollx||0<f&&g>b.newscrollx)g=b.newscrollx;b.setScrollLeft(g);g==b.newscrollx&&(c+=1)}else c+=1;2==c?(b.timer=0,b.cursorfreezed=!1,b.bzscroll=!1,b.scrollrunning=!1,0>d?d=0:d>b.page.maxh&&(d=b.page.maxh),0>g?g=0:g>b.page.maxw&&(g=b.page.maxw),g!=b.newscrollx||d!=b.newscrolly?b.doScrollPos(g,d):b.onscrollend&&b.onscrollend.call(b,{type:"scrollend",current:{x:sx,y:sy},end:{x:b.newscrollx,y:b.newscrolly}})):b.timer=v(e)||1}g="undefined"==typeof g||!1===g?b.getScrollTop(!0):
|
95
|
+
g;if(b.timer&&b.newscrolly==g&&b.newscrollx==c)return!0;b.timer&&w(b.timer);b.timer=0;var k=b.getScrollTop(),l=b.getScrollLeft();(0>(b.newscrolly-k)*(g-k)||0>(b.newscrollx-l)*(c-l))&&b.cancelScroll();b.newscrolly=g;b.newscrollx=c;if(!b.bouncescroll||!b.rail.visibility)0>b.newscrolly?b.newscrolly=0:b.newscrolly>b.page.maxh&&(b.newscrolly=b.page.maxh);if(!b.bouncescroll||!b.railh.visibility)0>b.newscrollx?b.newscrollx=0:b.newscrollx>b.page.maxw&&(b.newscrollx=b.page.maxw);b.dst={};b.dst.x=c-l;b.dst.y=
|
96
|
+
g-k;b.dst.px=l;b.dst.py=k;var h=Math.round(Math.sqrt(Math.pow(b.dst.x,2)+Math.pow(b.dst.y,2)));b.dst.ax=b.dst.x/h;b.dst.ay=b.dst.y/h;var m=0,q=h;0==b.dst.x?(m=k,q=g,b.dst.ay=1,b.dst.py=0):0==b.dst.y&&(m=l,q=c,b.dst.ax=1,b.dst.px=0);h=b.getTransitionSpeed(h);f&&1>=f&&(h*=f);b.bzscroll=0<h?b.bzscroll?b.bzscroll.update(q,h):new BezierClass(m,q,h,0,1,0,1):!1;if(!b.timer){(k==b.page.maxh&&g>=b.page.maxh||l==b.page.maxw&&c>=b.page.maxw)&&b.checkContentSize();var p=1;b.cancelAnimationFrame=!1;b.timer=1;
|
97
|
+
b.onscrollstart&&!b.scrollrunning&&b.onscrollstart.call(b,{type:"scrollstart",current:{x:l,y:k},request:{x:c,y:g},end:{x:b.newscrollx,y:b.newscrolly},speed:h});e();(k==b.page.maxh&&g>=k||l==b.page.maxw&&c>=l)&&b.checkContentSize();b.noticeCursor()}},this.cancelScroll=function(){b.timer&&w(b.timer);b.timer=0;b.bzscroll=!1;b.scrollrunning=!1;return b}):(this.doScrollLeft=function(c,g){var f=b.getScrollTop();b.doScrollPos(c,f,g)},this.doScrollTop=function(c,g){var f=b.getScrollLeft();b.doScrollPos(f,
|
98
|
+
c,g)},this.doScrollPos=function(c,g,f){var e=c>b.page.maxw?b.page.maxw:c;0>e&&(e=0);var k=g>b.page.maxh?b.page.maxh:g;0>k&&(k=0);b.synched("scroll",function(){b.setScrollTop(k);b.setScrollLeft(e)})},this.cancelScroll=function(){});this.doScrollBy=function(c,g){var f=0,f=g?Math.floor((b.scroll.y-c)*b.scrollratio.y):(b.timer?b.newscrolly:b.getScrollTop(!0))-c;if(b.bouncescroll){var e=Math.round(b.view.h/2);f<-e?f=-e:f>b.page.maxh+e&&(f=b.page.maxh+e)}b.cursorfreezed=!1;py=b.getScrollTop(!0);if(0>f&&
|
99
|
+
0>=py)return b.noticeCursor();if(f>b.page.maxh&&py>=b.page.maxh)return b.checkContentSize(),b.noticeCursor();b.doScrollTop(f)};this.doScrollLeftBy=function(c,g){var f=0,f=g?Math.floor((b.scroll.x-c)*b.scrollratio.x):(b.timer?b.newscrollx:b.getScrollLeft(!0))-c;if(b.bouncescroll){var e=Math.round(b.view.w/2);f<-e?f=-e:f>b.page.maxw+e&&(f=b.page.maxw+e)}b.cursorfreezed=!1;px=b.getScrollLeft(!0);if(0>f&&0>=px||f>b.page.maxw&&px>=b.page.maxw)return b.noticeCursor();b.doScrollLeft(f)};this.doScrollTo=
|
100
|
+
function(c,g){g&&Math.round(c*b.scrollratio.y);b.cursorfreezed=!1;b.doScrollTop(c)};this.checkContentSize=function(){var c=b.getContentSize();(c.h!=b.page.h||c.w!=b.page.w)&&b.resize(!1,c)};b.onscroll=function(c){b.rail.drag||b.cursorfreezed||b.synched("scroll",function(){b.scroll.y=Math.round(b.getScrollTop()*(1/b.scrollratio.y));b.railh&&(b.scroll.x=Math.round(b.getScrollLeft()*(1/b.scrollratio.x)));b.noticeCursor()})};b.bind(b.docscroll,"scroll",b.onscroll);this.doZoomIn=function(c){if(!b.zoomactive){b.zoomactive=
|
101
|
+
!0;b.zoomrestore={style:{}};var k="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "),f=b.win[0].style,l;for(l in k){var h=k[l];b.zoomrestore.style[h]="undefined"!=typeof f[h]?f[h]:""}b.zoomrestore.style.width=b.win.css("width");b.zoomrestore.style.height=b.win.css("height");b.zoomrestore.padding={w:b.win.outerWidth()-b.win.width(),h:b.win.outerHeight()-b.win.height()};g.isios4&&(b.zoomrestore.scrollTop=e(window).scrollTop(),e(window).scrollTop(0));
|
102
|
+
b.win.css({position:g.isios4?"absolute":"fixed",top:0,left:0,"z-index":y+100,margin:"0px"});k=b.win.css("backgroundColor");(""==k||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(k))&&b.win.css("backgroundColor","#fff");b.rail.css({"z-index":y+101});b.zoom.css({"z-index":y+102});b.zoom.css("backgroundPosition","0px -18px");b.resizeZoom();b.onzoomin&&b.onzoomin.call(b);return b.cancelEvent(c)}};this.doZoomOut=function(c){if(b.zoomactive)return b.zoomactive=!1,b.win.css("margin",""),b.win.css(b.zoomrestore.style),
|
103
|
+
g.isios4&&e(window).scrollTop(b.zoomrestore.scrollTop),b.rail.css({"z-index":b.zindex}),b.zoom.css({"z-index":b.zindex}),b.zoomrestore=!1,b.zoom.css("backgroundPosition","0px 0px"),b.onResize(),b.onzoomout&&b.onzoomout.call(b),b.cancelEvent(c)};this.doZoom=function(c){return b.zoomactive?b.doZoomOut(c):b.doZoomIn(c)};this.resizeZoom=function(){if(b.zoomactive){var c=b.getScrollTop();b.win.css({width:e(window).width()-b.zoomrestore.padding.w+"px",height:e(window).height()-b.zoomrestore.padding.h+"px"});
|
104
|
+
b.onResize();b.setScrollTop(Math.min(b.page.maxh,c))}};this.init();e.nicescroll.push(this)},J=function(e){var c=this;this.nc=e;this.steptime=this.lasttime=this.speedy=this.speedx=this.lasty=this.lastx=0;this.snapy=this.snapx=!1;this.demuly=this.demulx=0;this.lastscrolly=this.lastscrollx=-1;this.timer=this.chky=this.chkx=0;this.time=function(){return+new Date};this.reset=function(e,l){c.stop();var h=c.time();c.steptime=0;c.lasttime=h;c.speedx=0;c.speedy=0;c.lastx=e;c.lasty=l;c.lastscrollx=-1;c.lastscrolly=
|
105
|
+
-1};this.update=function(e,l){var h=c.time();c.steptime=h-c.lasttime;c.lasttime=h;var h=l-c.lasty,t=e-c.lastx,b=c.nc.getScrollTop(),p=c.nc.getScrollLeft(),b=b+h,p=p+t;c.snapx=0>p||p>c.nc.page.maxw;c.snapy=0>b||b>c.nc.page.maxh;c.speedx=t;c.speedy=h;c.lastx=e;c.lasty=l};this.stop=function(){c.nc.unsynched("domomentum2d");c.timer&&clearTimeout(c.timer);c.timer=0;c.lastscrollx=-1;c.lastscrolly=-1};this.doSnapy=function(e,l){var h=!1;0>l?(l=0,h=!0):l>c.nc.page.maxh&&(l=c.nc.page.maxh,h=!0);0>e?(e=0,h=
|
106
|
+
!0):e>c.nc.page.maxw&&(e=c.nc.page.maxw,h=!0);h&&c.nc.doScrollPos(e,l,c.nc.opt.snapbackspeed)};this.doMomentum=function(e){var l=c.time(),h=e?l+e:c.lasttime;e=c.nc.getScrollLeft();var t=c.nc.getScrollTop(),b=c.nc.page.maxh,p=c.nc.page.maxw;c.speedx=0<p?Math.min(60,c.speedx):0;c.speedy=0<b?Math.min(60,c.speedy):0;h=h&&60>=l-h;if(0>t||t>b||0>e||e>p)h=!1;e=c.speedx&&h?c.speedx:!1;if(c.speedy&&h&&c.speedy||e){var g=Math.max(16,c.steptime);50<g&&(e=g/50,c.speedx*=e,c.speedy*=e,g=50);c.demulxy=0;c.lastscrollx=
|
107
|
+
c.nc.getScrollLeft();c.chkx=c.lastscrollx;c.lastscrolly=c.nc.getScrollTop();c.chky=c.lastscrolly;var s=c.lastscrollx,u=c.lastscrolly,d=function(){var e=600<c.time()-l?0.04:0.02;if(c.speedx&&(s=Math.floor(c.lastscrollx-c.speedx*(1-c.demulxy)),c.lastscrollx=s,0>s||s>p))e=0.1;if(c.speedy&&(u=Math.floor(c.lastscrolly-c.speedy*(1-c.demulxy)),c.lastscrolly=u,0>u||u>b))e=0.1;c.demulxy=Math.min(1,c.demulxy+e);c.nc.synched("domomentum2d",function(){c.speedx&&(c.nc.getScrollLeft()!=c.chkx&&c.stop(),c.chkx=
|
108
|
+
s,c.nc.setScrollLeft(s));c.speedy&&(c.nc.getScrollTop()!=c.chky&&c.stop(),c.chky=u,c.nc.setScrollTop(u));c.timer||(c.nc.hideCursor(),c.doSnapy(s,u))});1>c.demulxy?c.timer=setTimeout(d,g):(c.stop(),c.nc.hideCursor(),c.doSnapy(s,u))};d()}else c.doSnapy(c.nc.getScrollLeft(),c.nc.getScrollTop())}},B=e.fn.scrollTop;e.cssHooks.pageYOffset={get:function(h,c,k){return(c=e.data(h,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollTop():B.call(h)},set:function(h,c){var k=e.data(h,"__nicescroll")||!1;k&&k.ishwscroll?
|
109
|
+
k.setScrollTop(parseInt(c)):B.call(h,c);return this}};e.fn.scrollTop=function(h){if("undefined"==typeof h){var c=this[0]?e.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollTop():B.call(this)}return this.each(function(){var c=e.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollTop(parseInt(h)):B.call(e(this),h)})};var C=e.fn.scrollLeft;e.cssHooks.pageXOffset={get:function(h,c,k){return(c=e.data(h,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollLeft():C.call(h)},set:function(h,
|
110
|
+
c){var k=e.data(h,"__nicescroll")||!1;k&&k.ishwscroll?k.setScrollLeft(parseInt(c)):C.call(h,c);return this}};e.fn.scrollLeft=function(h){if("undefined"==typeof h){var c=this[0]?e.data(this[0],"__nicescroll")||!1:!1;return c&&c.ishwscroll?c.getScrollLeft():C.call(this)}return this.each(function(){var c=e.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollLeft(parseInt(h)):C.call(e(this),h)})};var D=function(h){var c=this;this.length=0;this.name="nicescrollarray";this.each=function(e){for(var h=
|
111
|
+
0,k=0;h<c.length;h++)e.call(c[h],k++);return c};this.push=function(e){c[c.length]=e;c.length++};this.eq=function(e){return c[e]};if(h)for(a=0;a<h.length;a++){var k=e.data(h[a],"__nicescroll")||!1;k&&(this[this.length]=k,this.length++)}return this};(function(e,c,k){for(var l=0;l<c.length;l++)k(e,c[l])})(D.prototype,"show hide toggle onResize resize remove stop doScrollPos".split(" "),function(e,c){e[c]=function(){var e=arguments;return this.each(function(){this[c].apply(this,e)})}});e.fn.getNiceScroll=
|
112
|
+
function(h){return"undefined"==typeof h?new D(this):this[h]&&e.data(this[h],"__nicescroll")||!1};e.extend(e.expr[":"],{nicescroll:function(h){return e.data(h,"__nicescroll")?!0:!1}});e.fn.niceScroll=function(h,c){"undefined"==typeof c&&("object"==typeof h&&!("jquery"in h))&&(c=h,h=!1);var k=new D;"undefined"==typeof c&&(c={});h&&(c.doc=e(h),c.win=e(this));var l=!("doc"in c);!l&&!("win"in c)&&(c.win=e(this));this.each(function(){var h=e(this).data("__nicescroll")||!1;h||(c.doc=l?e(this):c.doc,h=new Q(c,
|
113
|
+
e(this)),e(this).data("__nicescroll",h));k.push(h)});return 1==k.length?k[0]:k};window.NiceScroll={getjQuery:function(){return e}};e.nicescroll||(e.nicescroll=new D,e.nicescroll.options=I)})(jQuery);
|
@@ -0,0 +1,297 @@
|
|
1
|
+
/**
|
2
|
+
* Theme: Ubold Admin
|
3
|
+
* Author: Coderthemes
|
4
|
+
* Chart Nvd3 page
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
(function($) {
|
9
|
+
'use strict';
|
10
|
+
|
11
|
+
function sinAndCos() {
|
12
|
+
var sin = [],
|
13
|
+
sin2 = [],
|
14
|
+
cos = [];
|
15
|
+
for (var i = 0; i < 100; i++) {
|
16
|
+
sin.push({
|
17
|
+
x: i,
|
18
|
+
y: Math.sin(i / 9)
|
19
|
+
});
|
20
|
+
sin2.push({
|
21
|
+
x: i,
|
22
|
+
y: Math.sin(i / 10) * 0.25 + 0.5
|
23
|
+
});
|
24
|
+
cos.push({
|
25
|
+
x: i,
|
26
|
+
y: 0.5 * Math.cos(i / 10)
|
27
|
+
});
|
28
|
+
}
|
29
|
+
return [{
|
30
|
+
values: sin,
|
31
|
+
key: 'Sine Wave',
|
32
|
+
color: "$brand-primary"
|
33
|
+
}, {
|
34
|
+
values: cos,
|
35
|
+
key: 'Cosine Wave',
|
36
|
+
color: "#fb6d9d"
|
37
|
+
}, {
|
38
|
+
values: sin2,
|
39
|
+
key: 'Custom sine',
|
40
|
+
color: "$brand-info"
|
41
|
+
}];
|
42
|
+
}
|
43
|
+
nv.addGraph(function() {
|
44
|
+
var lineChart = nv.models.lineChart();
|
45
|
+
var height = 300;
|
46
|
+
lineChart.useInteractiveGuideline(true);
|
47
|
+
lineChart.xAxis.tickFormat(d3.format(',r'));
|
48
|
+
lineChart.yAxis.axisLabel('Voltage (v)').tickFormat(d3.format(',.2f'));
|
49
|
+
d3.select('.line-chart svg').attr('perserveAspectRatio', 'xMinYMid').datum(sinAndCos()).transition().duration(500).call(lineChart);
|
50
|
+
nv.utils.windowResize(lineChart.update);
|
51
|
+
return lineChart;
|
52
|
+
});
|
53
|
+
|
54
|
+
var historicalBarChart = [{
|
55
|
+
key: 'Cumulative Return',
|
56
|
+
values: [{
|
57
|
+
'label': 'A Label',
|
58
|
+
'value': -29.765957771107,
|
59
|
+
'color': '#5fbeaa'
|
60
|
+
}, {
|
61
|
+
'label': 'B Label',
|
62
|
+
'value': 50,
|
63
|
+
'color': '$brand-danger'
|
64
|
+
}, {
|
65
|
+
'label': 'C Label',
|
66
|
+
'value': 32.807804682612,
|
67
|
+
'color': '$brand-primary'
|
68
|
+
}, {
|
69
|
+
'label': 'D Label',
|
70
|
+
'value': 196.45946739256,
|
71
|
+
'color': '$brand-warning'
|
72
|
+
}, {
|
73
|
+
'label': 'E Label',
|
74
|
+
'value': 15.79434030906893,
|
75
|
+
'color': '$brand-success'
|
76
|
+
}, {
|
77
|
+
'label': 'F Label',
|
78
|
+
'value': -98.079782601442,
|
79
|
+
'color': '#dcdcdc'
|
80
|
+
}, {
|
81
|
+
'label': 'G Label',
|
82
|
+
'value': -13.925743130903,
|
83
|
+
'color': '#7266ba'
|
84
|
+
}, {
|
85
|
+
'label': 'H Label',
|
86
|
+
'value': -5.1387322875705,
|
87
|
+
'color': '#fb6d9d'
|
88
|
+
}]
|
89
|
+
}];
|
90
|
+
nv.addGraph(function() {
|
91
|
+
var barChart = nv.models.discreteBarChart().x(function(d) {
|
92
|
+
return d.label;
|
93
|
+
}).y(function(d) {
|
94
|
+
return d.value;
|
95
|
+
}).staggerLabels(true).tooltips(false).showValues(true).duration(250);
|
96
|
+
barChart.yAxis.axisLabel('Price change in USD');
|
97
|
+
d3.select('.bar-chart svg').datum(historicalBarChart).call(barChart);
|
98
|
+
nv.utils.windowResize(barChart.update);
|
99
|
+
return barChart;
|
100
|
+
});
|
101
|
+
var i, j;
|
102
|
+
nv.utils.symbolMap.set('thin-x', function(size) {
|
103
|
+
size = Math.sqrt(size);
|
104
|
+
return 'M' + (-size / 2) + ',' + (-size / 2) + 'l' + size + ',' + size + 'm0,' + -(size) + 'l' + (-size) + ',' + size;
|
105
|
+
});
|
106
|
+
var scatterChart;
|
107
|
+
var colors = ['#5fbeaa', '#fb6d9d','#7266ba', '$brand-warning','$brand-success', '#dcdcdc','#555555 ', '#fb6d9d','#98a6ad', '$brand-primary'];
|
108
|
+
//d3.scale.category10().range()
|
109
|
+
nv.addGraph(function() {
|
110
|
+
scatterChart = nv.models.scatterChart().useVoronoi(true).color(colors).duration(300);
|
111
|
+
scatterChart.xAxis.tickFormat(d3.format('.02f'));
|
112
|
+
scatterChart.yAxis.axisLabel('Population dynamics').tickFormat(d3.format('.02f'));
|
113
|
+
scatterChart.tooltipContent(function(obj) {
|
114
|
+
return '<p>' + obj.series[0].key + '</p>';
|
115
|
+
});
|
116
|
+
d3.select('.scatter-chart svg').datum(randomData(4, 40)).call(scatterChart);
|
117
|
+
nv.utils.windowResize(scatterChart.update);
|
118
|
+
scatterChart.dispatch.on('stateChange', function(e) {
|
119
|
+
('New State:', JSON.stringify(e));
|
120
|
+
});
|
121
|
+
return scatterChart;
|
122
|
+
});
|
123
|
+
|
124
|
+
function randomData(groups, points) {
|
125
|
+
var data = [],
|
126
|
+
shapes = ['thin-x', 'circle', 'cross', 'triangle-up', 'triangle-down', 'diamond', 'square'],
|
127
|
+
random = d3.random.normal();
|
128
|
+
for (i = 0; i < groups; i++) {
|
129
|
+
data.push({
|
130
|
+
key: 'Group ' + i,
|
131
|
+
values: []
|
132
|
+
});
|
133
|
+
for (j = 0; j < points; j++) {
|
134
|
+
data[i].values.push({
|
135
|
+
x: random(),
|
136
|
+
y: random(),
|
137
|
+
size: Math.round(Math.random() * 100) / 100,
|
138
|
+
shape: shapes[j % shapes.length]
|
139
|
+
});
|
140
|
+
}
|
141
|
+
}
|
142
|
+
return data;
|
143
|
+
}
|
144
|
+
var long_short_data = [{
|
145
|
+
'key': 'Series 1',
|
146
|
+
'color': "$brand-primary",
|
147
|
+
'values': [{
|
148
|
+
'label': 'Group A',
|
149
|
+
'value': -1.8746444827653
|
150
|
+
}, {
|
151
|
+
'label': 'Group B',
|
152
|
+
'value': -8.0961543492239
|
153
|
+
}, {
|
154
|
+
'label': 'Group C',
|
155
|
+
'value': -0.57072943117674
|
156
|
+
}, {
|
157
|
+
'label': 'Group D',
|
158
|
+
'value': -2.4174010336624
|
159
|
+
}, {
|
160
|
+
'label': 'Group E',
|
161
|
+
'value': -0.72009071426284
|
162
|
+
}, {
|
163
|
+
'label': 'Group F',
|
164
|
+
'value': -0.77154485523777
|
165
|
+
}, {
|
166
|
+
'label': 'Group G',
|
167
|
+
'value': -0.90152097798131
|
168
|
+
}, {
|
169
|
+
'label': 'Group H',
|
170
|
+
'value': -0.91445417330854
|
171
|
+
}, {
|
172
|
+
'label': 'Group I',
|
173
|
+
'value': -0.055746319141851
|
174
|
+
}]
|
175
|
+
}, {
|
176
|
+
'key': 'Series 2',
|
177
|
+
'color': "$brand-info",
|
178
|
+
'values': [{
|
179
|
+
'label': 'Group A',
|
180
|
+
'value': 25.307646510375
|
181
|
+
}, {
|
182
|
+
'label': 'Group B',
|
183
|
+
'value': 16.756779544553
|
184
|
+
}, {
|
185
|
+
'label': 'Group C',
|
186
|
+
'value': 18.451534877007
|
187
|
+
}, {
|
188
|
+
'label': 'Group D',
|
189
|
+
'value': 8.6142352811805
|
190
|
+
}, {
|
191
|
+
'label': 'Group E',
|
192
|
+
'value': 7.8082472075876
|
193
|
+
}, {
|
194
|
+
'label': 'Group F',
|
195
|
+
'value': 5.259101026956
|
196
|
+
}, {
|
197
|
+
'label': 'Group G',
|
198
|
+
'value': 0.30947953487127
|
199
|
+
}, {
|
200
|
+
'label': 'Group H',
|
201
|
+
'value': 0
|
202
|
+
}, {
|
203
|
+
'label': 'Group I',
|
204
|
+
'value': 0
|
205
|
+
}]
|
206
|
+
}];
|
207
|
+
var multiChart;
|
208
|
+
nv.addGraph(function() {
|
209
|
+
multiChart = nv.models.multiBarHorizontalChart().x(function(d) {
|
210
|
+
return d.label;
|
211
|
+
}).y(function(d) {
|
212
|
+
return d.value;
|
213
|
+
}).duration(250);
|
214
|
+
multiChart.yAxis.tickFormat(d3.format(',.2f'));
|
215
|
+
d3.select('.multi-chart svg').datum(long_short_data).call(multiChart);
|
216
|
+
nv.utils.windowResize(multiChart.update);
|
217
|
+
return multiChart;
|
218
|
+
});
|
219
|
+
|
220
|
+
|
221
|
+
//Regular pie chart example
|
222
|
+
nv.addGraph(function() {
|
223
|
+
var chart = nv.models.pieChart()
|
224
|
+
.x(function(d) { return d.label })
|
225
|
+
.y(function(d) { return d.value })
|
226
|
+
.showLabels(true);
|
227
|
+
|
228
|
+
d3.select("#chart1 svg")
|
229
|
+
.datum(exampleData)
|
230
|
+
.transition().duration(1200)
|
231
|
+
.call(chart);
|
232
|
+
|
233
|
+
return chart;
|
234
|
+
});
|
235
|
+
|
236
|
+
//Donut chart example
|
237
|
+
nv.addGraph(function() {
|
238
|
+
var chart = nv.models.pieChart()
|
239
|
+
.x(function(d) { return d.label })
|
240
|
+
.y(function(d) { return d.value })
|
241
|
+
.showLabels(true) //Display pie labels
|
242
|
+
.labelThreshold(.05) //Configure the minimum slice size for labels to show up
|
243
|
+
.labelType("percent") //Configure what type of data to show in the label. Can be "key", "value" or "percent"
|
244
|
+
.donut(true) //Turn on Donut mode. Makes pie chart look tasty!
|
245
|
+
.donutRatio(0.35) //Configure how big you want the donut hole size to be.
|
246
|
+
;
|
247
|
+
|
248
|
+
d3.select("#chart2 svg")
|
249
|
+
.datum(exampleData())
|
250
|
+
.transition().duration(350)
|
251
|
+
.call(chart);
|
252
|
+
|
253
|
+
return chart;
|
254
|
+
});
|
255
|
+
|
256
|
+
//Pie chart example data. Note how there is only a single array of key-value pairs.
|
257
|
+
function exampleData() {
|
258
|
+
return [
|
259
|
+
{
|
260
|
+
"label": "One",
|
261
|
+
"value" : 29.765957771107,
|
262
|
+
"color" : "#5fbeaa"
|
263
|
+
} ,
|
264
|
+
{
|
265
|
+
"label": "Two",
|
266
|
+
"value" : 60,
|
267
|
+
'color': '$brand-danger'
|
268
|
+
} ,
|
269
|
+
{
|
270
|
+
"label": "Three",
|
271
|
+
"value" : 39.69895,
|
272
|
+
'color': '$brand-primary'
|
273
|
+
} ,
|
274
|
+
{
|
275
|
+
"label": "Four",
|
276
|
+
"value" : 160.45946739256,
|
277
|
+
'color': '$brand-warning'
|
278
|
+
} ,
|
279
|
+
{
|
280
|
+
"label": "Five",
|
281
|
+
"value" : 89.02525,
|
282
|
+
'color': '$brand-success'
|
283
|
+
} ,
|
284
|
+
{
|
285
|
+
"label": "Six",
|
286
|
+
"value" : 98.079782601442,
|
287
|
+
'color': '#7266ba'
|
288
|
+
} ,
|
289
|
+
{
|
290
|
+
"label": "Seven",
|
291
|
+
"value" : 98.925743130903,
|
292
|
+
'color': '#fb6d9d'
|
293
|
+
}
|
294
|
+
|
295
|
+
];
|
296
|
+
}
|
297
|
+
})(jQuery);
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* Theme: Ubold Admin
|
3
|
+
* Author: Coderthemes
|
4
|
+
* Page: opportunities
|
5
|
+
*/
|
6
|
+
|
7
|
+
!function($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
var Opportunities = function() {};
|
11
|
+
|
12
|
+
Opportunities.prototype.init = function () {
|
13
|
+
|
14
|
+
//Pie Chart
|
15
|
+
c3.generate({
|
16
|
+
bindto: '#pie-chart',
|
17
|
+
data: {
|
18
|
+
columns: [
|
19
|
+
['Hot', 46],
|
20
|
+
['Cold', 24],
|
21
|
+
['In-progress', 46],
|
22
|
+
['Lost', 10],
|
23
|
+
['Won', 30]
|
24
|
+
],
|
25
|
+
type : 'pie'
|
26
|
+
},
|
27
|
+
color: {
|
28
|
+
pattern: ["$brand-info", "#7266ba", "$brand-warning", "$brand-danger", "$brand-success"]
|
29
|
+
},
|
30
|
+
pie: {
|
31
|
+
label: {
|
32
|
+
show: false
|
33
|
+
}
|
34
|
+
}
|
35
|
+
});
|
36
|
+
|
37
|
+
},
|
38
|
+
$.Opportunities = new Opportunities, $.Opportunities.Constructor = Opportunities
|
39
|
+
|
40
|
+
}(window.jQuery),
|
41
|
+
|
42
|
+
//initializing
|
43
|
+
function($) {
|
44
|
+
"use strict";
|
45
|
+
$.Opportunities.init()
|
46
|
+
}(window.jQuery);
|
47
|
+
|
48
|
+
|
49
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* Theme: Ubold Admin Template
|
4
|
+
* Author: Coderthemes
|
5
|
+
* Component: Peity Chart
|
6
|
+
*
|
7
|
+
*/
|
8
|
+
|
9
|
+
!function($) {
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var PeityChart = function() {};
|
13
|
+
|
14
|
+
//create line
|
15
|
+
PeityChart.prototype.createLine = function ($element, $strokeColor, $fillColor, $width ,$height) {
|
16
|
+
$($element).peity("line", {
|
17
|
+
fill: $strokeColor,
|
18
|
+
stroke: $fillColor,
|
19
|
+
width: $width,
|
20
|
+
height: $height
|
21
|
+
});
|
22
|
+
return $($element);
|
23
|
+
},
|
24
|
+
|
25
|
+
//init
|
26
|
+
PeityChart.prototype.init = function() {
|
27
|
+
//live graph
|
28
|
+
var updatingChart = this.createLine(".updating-chart",'#5fbeaa','#5fbeaa', 120,40);
|
29
|
+
|
30
|
+
setInterval(function() {
|
31
|
+
var random = Math.round(Math.random() * 10)
|
32
|
+
var values = updatingChart.text().split(",")
|
33
|
+
values.shift()
|
34
|
+
values.push(random)
|
35
|
+
|
36
|
+
updatingChart
|
37
|
+
.text(values.join(","))
|
38
|
+
.change()
|
39
|
+
}, 1000);
|
40
|
+
},
|
41
|
+
//init
|
42
|
+
$.PeityChart = new PeityChart, $.PeityChart.Constructor = PeityChart
|
43
|
+
}(window.jQuery),
|
44
|
+
|
45
|
+
//initializing
|
46
|
+
function($) {
|
47
|
+
"use strict";
|
48
|
+
$.PeityChart.init()
|
49
|
+
}(window.jQuery);
|